-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sync remote resources in groups edit #104
Merged
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
8408d61
add remote resources from the groups view
davidcaron eb889b5
default service_url bug
davidcaron 446ca7e
groups view: add flag + button to remove a resource not on remote server
davidcaron 6106f24
add warning when there was an error fetching the data from remote server
davidcaron 487de88
Clarify how to implement a new service by using an abstract class
davidcaron 47149b0
Implement Geoserver
davidcaron 890f521
allow integers for resource_names
davidcaron 71c4649
Save remote resources in a separate table.
davidcaron 3b8e1b8
Permission checkboxes post a 'permission' value
davidcaron 4b1df51
Fix post request to edit permissions
davidcaron 11755f5
Display resources sorted alphabetically
davidcaron e4cdb3e
Cleanup and document
davidcaron aeea8aa
Display resources sorted in edit service view
davidcaron fb2c6c2
ui color change
davidcaron d9b58c7
last sync info and clean all button
davidcaron 49ddb13
also write resource type to database
davidcaron dad9f72
rename
davidcaron bd08cae
add resource_type attribute to resources
davidcaron 0b076b1
reformat
davidcaron 23f03d1
basic housekeeping function
davidcaron a7de1da
use service type instead of service name
davidcaron 20bda2c
show message if sync is not implemented
davidcaron 52a82b7
implement project-api
davidcaron 94889cd
refactoring
davidcaron 3e49695
services are uniquely identified using both their type and resource_name
davidcaron 23c52ba
fix adding a nested resource
davidcaron f014586
don't add remote_path if it doesn't match remote resource
davidcaron 11c7c16
fix 'Clean' button for a single resource
davidcaron e239217
fix housekeeping algorithm
davidcaron 00eed72
add logging
davidcaron 5f87d28
cron service to fetch remote resources
davidcaron 05cd07f
Merge branch 'master' into sync-remote-resources-in-groups-edit
davidcaron c386a32
add note about accessing the database from the UI
davidcaron 162fd2c
Merge remote-tracking branch 'origin/sync-remote-resources-in-groups-…
davidcaron 614bfb4
edit user view: show remote and local resources
davidcaron 0002a9c
edit user view: clean single resource
davidcaron b9c367b
edit user view: add a resource that is stored in the remote table
davidcaron 4e46a2d
edit user view: display sync information and add 'Sync now' button
davidcaron caa9f9f
edit user view: add 'Clean all' button
davidcaron 0701285
start cron from makefile
davidcaron 0877e75
mark todos
davidcaron a5c8033
actually inherit abstract base class _SyncServiceInterface
davidcaron 0f48f02
remove housekeeping script
davidcaron 61ed291
handle single service failure in cron script
davidcaron f377717
refactoring
davidcaron 3dfad47
ensure there was a successful synchronization done before offering to…
davidcaron e3e5258
don't modify directly the array given as argument
davidcaron f5fe862
display error message if resources are 'out of sync'
davidcaron b64f7a6
fix get_ids_to_clean
davidcaron 5b22b29
identify resource by last id term instead of by name
davidcaron de84197
setup cron to use docker and docker-compose environment variables
davidcaron 5570b5a
load env files before running cron job
davidcaron 2936d34
don't flag a resource as absent from remote server if it's deeper...
davidcaron 02d37d3
add max_depth property and simplify interface
davidcaron 344ace6
Only push remote resource id to UI.
davidcaron bd30ee1
ignore generated docs + single service api
fmigneault e32719a
alembic upgrade db service types
fmigneault ef7d596
fix empty strings in mako templates
davidcaron be920d4
iteritems -> items
davidcaron 92fd215
adjust api providers
fmigneault f52ffb0
identify a service by its id instead of its name and type
davidcaron 3f71d52
get services sooner so that the cur_svc_type is not "default"
davidcaron ea05900
ui syntax
davidcaron 73580a9
related to #107, prepare for new table column
davidcaron 4c79982
Merge branch 'master' of https://github.com/ouranosinc/magpie into sy…
davidcaron 6e799e1
update 'api' in db + add sync_type
fmigneault 1f68d5a
remove init that messes up import alembic in magpie
fmigneault 1b2ae70
Merge remote-tracking branch 'origin/service-api-ponctual-permissions…
davidcaron 70117d6
fix migrations
davidcaron 0a07acd
[api change] add service_sync_type to services
davidcaron 19ff48f
edit user and edit group views handle multiple services of same type
davidcaron f881f44
fix register_services function to be nice with migrations and ...
davidcaron f60344a
Revert: these files shouldn't have been commited
davidcaron 7e5bc28
add sync_type to providers
davidcaron 8023f4c
don't crash when sync_type is absent from providers.cfg
davidcaron f93d97a
fix update sync_type when force updating providers
davidcaron 06ba6b0
let sync_type be None when passed to json renderer
davidcaron 33d576b
fix migrations
davidcaron 3bcfa22
fix error message issue
davidcaron 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of 'title', let's default to None or other value reflecting not-implemented?