Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-18Use a per folder davUrlHannah von Reth
2021-12-03Use the refcounted AccountStatePtr as much as possibleErik Verbruggen
The AccountManager creates AccountState objects, and stores them in a shared pointer. Previously, the raw pointer was given out, and stored in other objects. That made removal very tricky: when an account gets removed, the underlying object gets deleted, and then all classes that listen get notified of the deletion. Those classes would sometimes put a nullptr into the AccountState pointer they stored, and in each usage would (hopefully) check for a nullptr. The problem was that a number of checks were missing, which the clang static analyser pointed out. This patch changes nearly all uses of a raw pointer into the shared pointer, thereby making sure all usages have a valid reference, even when account deletion happens. The two places where a raw pointer is still used, now put it into a refcounted pointer as soon as possible.
2021-08-24Sharedialog preview be more resilientHannah von Reth
Fixes: #8938
2021-08-16No need to save the geometry if we don't restoreHannah von Reth
2021-08-12Limit window size to 2/3Hannah von Reth
Fixes: #8366
2021-04-26Unify PropfindJob and LsColJobHannah von Reth
2020-09-22Remove support for legacy private linksHannah von Reth
2020-09-07Make the share dialog modalHannah von Reth
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2020-02-10Run clang-tidy with modernize-use-overrideOlivier Goffart
And also replace all remaining Q_DECL_OVERRIDE to just override
2018-04-16SocketApi/Sharing: Add "copy public link" to menu #6356Christian Kamm
* The new menu option will fetch shares and create a new link share if no "context menu share" currently exists. * Various cleanup of common operations in socketapi happened as well, in particular there's now FileData::get() that calculates all the relevant paths that are useful for most socketapi actions.
2017-09-19Private links: Retrieve link through propfind property #6020Christian Kamm
* The sharing ui does a propfind anyway: use that to query the new property as well! * For the socket api, asynchronously query the server for the right url when an action that needs it is triggered. The old, manually generated URL will be used as fallback in case the server doesn't support the new property or the property can't be retrieved for some reason. Depends on owncloud/core#29021
2017-07-07Introduce private link sharing #5023Christian Kamm
* SocketAPI has COPL_LOCAL_LINK / EMAIL_LOCAL_LINK commands * The nautilus and dolphing shell integrations show a submenu from which one can share as well as access the private link. * The SocketAPI provides a new GET_STRINGS command to access localized strings. * The private link can also be accessed from the user/group sharing dialog. * The numeric file id is extracted from the full id to create the private link url.
2017-05-17Apply clang-formatChristian Kamm
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180
2016-04-14Disable unavailable sharing permissions #4383Christian Kamm
Users can't reshare with more permissions than they have themselves.
2016-03-01Disable sharing dialog if account state is not connectedRoeland Jago Douma
Fixes #4185
2015-11-05[Sharing] Reorganized sharedialog codeRoeland Jago Douma
Now we have 1 simple dialog that includes 2 widgets. * ShareLinkWidget (for link shares) * ShareUserGroupWidget (for user/group shares) The ShareUserGroupWidget is only included if the server version is >= 8.2.0 For <8.2.0 the old behavior is preserved
2015-10-29Use proper QFlagsRoeland Jago Douma
Now the ShareTypes and Permissions are part of the Share class (which is a bit better abstracted away).
2015-10-29Act properly if OCS endpoint returned an error (OCS error)Roeland Jago Douma
For now pass it on to the gui. So at least they know something is wrong.
2015-10-29Shares do not have parentsRoeland Jago Douma
Also some pointer cleanups
2015-10-29Add share manager and the share objectsRoeland Jago Douma
2015-10-15Split sharing codeRoeland Jago Douma
There is now a generic OCSJob which must be inherited by other jobs. This is in prepartion for the other OCS job that will come (for the Sharee API endpoint for example). More logic is moved from the sharedialog to the OcsShareJob. So in the GUI code we now only say what we want (a new share, set the password etc). And the code in libsync will make that happen. Error handling is for now still done in the GUI part. For now the ocsjob and ocssharejob live in gui but probabaly we should create a libshare or libocs at some point.
2015-10-14Allow setting op public upload on link sharesRoeland Jago Douma
2015-07-15Sharedialog show thumbnail of file (if available)Roeland Jago Douma
2015-06-29Use doxygen style everywhereDaniel Molkentin
2015-06-29Structure developer documentationDaniel Molkentin
- rename target "doc-dev" - group into modules - move to doc/dev
2015-05-12Merge remote-tracking branch 'origin/1.9'Daniel Molkentin
Conflicts: VERSION.cmake src/libsync/propagatedownload.cpp src/libsync/propagateupload.cpp
2015-05-07ShareDialog: Improve error reporting for share API fails.Christian Kamm
This would have made debugging #3204 and #3136 easier.
2015-04-27Merge remote-tracking branch 'origin/1.8'Olivier Goffart
2015-04-21ShareDialog: Unused/invalid forward declarationMarkus Goetz
2015-04-09Merge remote-tracking branch 'origin/1.8'Olivier Goffart
2015-04-07More GUI refinements.Klaas Freitag
2015-04-07ShareDialog: handle resize properly with elided textKlaas Freitag
2015-03-13Merge remote-tracking branch 'origin/1.8'Daniel Molkentin
Conflicts: src/gui/sharedialog.cpp src/gui/sharedialog.h
2015-03-11ShareDialog: If the password is empty, disable buttonKlaas Freitag
2015-03-11ShareDialog: Consider if resharing is not allowed on a share.Klaas Freitag
If a file or directory is shared without resharing permission, the share dialog displays an error. This is not the optimal solution, but best for now, as we do not have the permissions available for the file manager plugin. This fixes #2923
2015-03-09ShareDialog: Made it less "webbish" for better usability.Klaas Freitag
- Check the share checkbox automatically on open of the dialog - Use the date picker with popping up calendar - Proper initial size - no resizing and appearing and disappearing. Fixes probably #2917, also #2764
2015-02-25Added copyright headerRoeland Jago Douma
2015-02-25Add proper copyright headers to some files, fixes #2869Klaas Freitag
2015-02-25ShareDialog: Improve some GUI, fix #2850Klaas Freitag
This improves some wording and fixes some show/hide issues with password setting.
2015-02-12Sharedialog: Removed Thumbnail retrieval.Klaas Freitag
It uses an unstable API that the server does not really support. We need to postpone that. Removed for now.
2015-02-10Sharedialog: retrive thumbnail from server for sharesRoeland Jago Douma
Initial patch for #2726. Request a thumbnail from the server if files are to be shared.
2015-02-03Sharedialog: add copy button text and actually connect the buttonRoeland Jago Douma
2015-01-29ShareDialog: Disable sharing of external files.Klaas Freitag
See https://github.com/owncloud/client/issues/2732 for discussion.
2015-01-28Fix for non C++11 compilersDaniel Molkentin
2015-01-28Merge branch 'sharedialog_fixes' of git://github.com/rullzer/clientChristian Kamm
Fix missing OcsShareJob constructor. Conflicts: src/gui/sharedialog.cpp
2015-01-28ShareDialog: Prepare for multiaccount. #43Christian Kamm
Also fix a possible bug with the share dialog when no account is configured.
2015-01-23Sharedialog: Moved more logic to OcsShareJobRoeland Jago Douma
To make the Sharedialog a bit cleaner and to only have the logic in one place. The postdata is now passed as a QList<QPair<QString, QString>> to the OcsShareJob.
2015-01-21Sharedialog: Some more refinements after the merge of the branch.Klaas Freitag
- Some dialog changes: Made it less vertical space comsuming - Some variable cleanups - Allow to share files that are not within the synced dir by copying them to the root of a sync dir first.