-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Integrate with file storages such as Nextcloud #10052
Merged
Merged
Conversation
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
Kharonus
force-pushed
the
feature/file-links
branch
from
January 18, 2022 09:40
a9fb9da
to
19ac1eb
Compare
wielinde
force-pushed
the
feature/file-links
branch
2 times, most recently
from
January 26, 2022 12:23
7abd016
to
c8ef199
Compare
wielinde
force-pushed
the
feature/file-links
branch
2 times, most recently
from
January 31, 2022 08:49
91f6ea1
to
21ae30a
Compare
https://community.openproject.org/work_packages/40203 TODO: - [ ] Create admin interface for adding file storages - [ ] Create - [ ] [#40228] API to CRUD links between files (i.e. Nextcloud) and work packages in OpenProject https://community.openproject.org/work_packages/40228
- fixed request test for DELETE - added request test for storages endpoint
wielinde
force-pushed
the
feature/file-links
branch
from
January 31, 2022 16:14
a410834
to
2b2cc24
Compare
- added implementation for get storage by id - amended request tests - added test factories - added permissions for storages
200 (the default) is too few to be able to read rspec expected/got messages sometimes
+ display more information in test if there are contract errors
cbliard
force-pushed
the
feature/file-links
branch
from
March 23, 2022 10:04
7194baa
to
2ec5db6
Compare
and make rubocop happier
…lt ParseResourceParamsService implementation
it was done both in FileLinks::before_destroy callback and DeleteService
… one file link record creation
One thing left: add some logs when connection to storage server fails because it can be a user issue and ops will need more information to assist user. |
cbliard
force-pushed
the
feature/file-links
branch
from
March 25, 2022 08:45
826741d
to
8801804
Compare
ulferts
reviewed
Mar 25, 2022
…n DeleteService instead of model callback Doing it in model is cumbersome as deleting associated records is not always the inteded behavior.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://community.openproject.org/work_packages/40203
TODO: