-
-
Notifications
You must be signed in to change notification settings - Fork 6
Allow admins (site or org) to download projects by code #1829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
9283a52
Backend now knows if user can download any project
rmunn ff9c540
Slightly more sensible type for ServerProjects API
rmunn fbb5c0b
Add placeholder UI
rmunn c9de80e
Add placeholder "download any project" dialog
rmunn 270ffb9
Add ability to download project by code
rmunn d1ae300
Catch case where lexbox project not yet CRDT
rmunn ebff86a
Much improved download-by-code dialog
rmunn cf58f05
Include role when downloading project by code
rmunn 5368620
Improve UI a little
rmunn eb727a2
Add new file missed in earlier commit
rmunn 0fd53e7
Dialog checks to see if project already downloaded
rmunn 13704f1
Don't log newlines if we receive them
rmunn 1dd0577
Fix up in-memory-api-service to match new interface
rmunn 8bf48b5
Remove redundant null check
rmunn 12882ce
Fix variable name typo
rmunn 8b2a4ec
Fix grammar mistake in one error message
rmunn be0583c
Fix another typo
rmunn 2d92326
Add backend check for already-downloaded project
rmunn 8105c8d
Use UserProjectRole enum rather than string
rmunn d5eeaf4
Switch to radio buttons for user roles
rmunn f89d7e6
Switch back to Select rather than RadioGroup
rmunn 1ce3f3c
Don't allow closing dialog during download
rmunn a22793b
Handle dialog closing correctly if exception thrown
rmunn bec1f6b
Remove accidentally-kept debug line
rmunn 337cd4d
Don't cache IsCrdtProject results
rmunn 0497687
Move extension method into LexAuthUser
rmunn fd72b6a
Rename CanDownload... property to something shorter
rmunn 00e9b88
Move ListProjectsResult record into Project.cs
rmunn 4646946
Restore listProjects endpoint, add listProjectsV2
rmunn ee097a2
Also display error if user may not download project
rmunn 836465d
Merge remote-tracking branch 'origin/develop' into feat/admins-can-do…
rmunn 09067d4
Fix lint error
rmunn d4e2643
Consolidate three API endpoints into one
rmunn e5080cd
Merge remote-tracking branch 'origin/develop' into feat/admins-can-do…
rmunn f6d517b
Better name for lookupProjectIdForDownload endpoint
rmunn 2affd43
fix modal size
hahn-kev 5fdb142
prevent closing download dialog when download is in progress
hahn-kev cef859b
Update /download/crdt/(server)/code API
rmunn 3af11cb
Address review comments
rmunn b988203
simplify empty list state
hahn-kev 1acf66e
Fix mistaken logic inversion from previous commit
rmunn 20ef246
Merge branch 'develop' into feat/admins-can-download-any-crdt-project
rmunn 75b8f70
Merge branch 'develop' into feat/admins-can-download-any-crdt-project
rmunn d3283ea
Run i18n:extract after develop merge
rmunn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.