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-06-30Don't query private links if disabled on the serverHannah von Reth
Fixes: #8998
2022-05-17Remove version checks for < 10.0Hannah von Reth
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-11-25Use some more std::chronoHannah von Reth
2021-11-25Use std::chrono for timeoutsHannah von Reth
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-16Fix the resizing of the windgetsHannah von Reth
2021-08-12Don't play with the font sizeHannah von Reth
2021-08-12Limit window size to 2/3Hannah von Reth
Fixes: #8366
2021-04-26Remove leftovers from the removal of legacy private linksHannah von Reth
2021-04-26Unify PropfindJob and LsColJobHannah von Reth
2020-09-22Remove support for legacy private linksHannah von Reth
2020-09-07Change initial ShareDialog sizeHannah von Reth
2020-07-06Gui: Remove usage of grid layout from src/gui/sharedialog.*Hannah von Reth
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2018-05-30Share dialog: use the original name and not the virtual file nameOlivier Goffart
When sharing a virtual file, we should actually use the original file name not the virtual file name Issue: #6461
2018-04-25ShareDialog: macOS grey odditiy #5774Markus Goetz
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-11-14Private links: Retrieve numeric file id property #6146Christian Kamm
Some servers have non-compliant instance ids (that start with a number) and thereby make deducing the numeric file id from the full id unreliable. To circumvent this problem we retrieve the fileid property from the server with a PROPFIND.
2017-09-21Use the Qt5 connection syntax (automated with clazy)Olivier Goffart
This is motivated by the fact that QMetaObject::noralizeSignature takes 7.35% CPU of the LargeSyncBench. (Mostly from ABstractNetworkJob::setupConnections and PropagateUploadFileV1::startNextChunk). It could be fixed by using normalized signature in the connection statement, but i tought it was a good oportunity to modernize the code. This commit only contains calls that were automatically converted with clazy.
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-22Share dialog: Use default icon if available #5781Christian Kamm
2017-05-22Share Dialog: Remove unused hlineChristian Kamm
2017-05-22Sharing dialog: Ensure error labels are expanding #5774Christian Kamm
2017-05-22Share dialog: Hide the icon when unusedChristian Kamm
Previously this used up some space when there was no icon, leading to an oddly indented header.
2017-05-17Apply clang-formatChristian Kamm
2017-05-11Upgrade some qCDebug to qCInfo or qCWarningJocelyn Turcotte
Use qCInfo for anything that has general value for support and development. Use qCWarning for any recoverable error and qCCritical for anything that could result in data loss or would identify a serious issue with the code. Issue #5647
2017-05-11Use Qt logging categories for loggingJocelyn Turcotte
This gives more insight about the logs and allow setting fine-tuned logging rules. The categories are set to only output Info by default so this allows us to provide more concise logging while keeping the ability to extract more information for a specific category when developping or debugging customer issues. Issue #5647
2017-05-10Sharing: Fix UI glitch when sharing is disabledMarkus Goetz
2017-04-21ShareDialog: Add support for multiple public link shares #5655Christian Kamm
Starting from oC 10.0.0 having several public link shares with different attributes for a path will be supported. This adds functionality to create, edit and delete these public link shares. The behavior is currently gated by server version, but should be adapted to use a capability as soon as one is introduced, see owncloud/core#27622. The UI reduces to a single-share version when talking to older servers. Testing scenarios: * Link sharing is disabled (by capability, not by theme) * Required passwords * Required expiry * Forbidden 'allow upload' for folders * New and old servers
2017-04-21ShareDialog: Use a tab widget #5655Christian Kamm
2017-04-04ShareDialog: Fix thumbnail size #5654Christian Kamm
2017-03-15Account server version: Helper to create versionsChristian Kamm
Hex literals don't work well with version 10: 0x100000 doesn't do the right thing.
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180
2016-09-28ShareDialog: Remove context help buttonChristian Kamm
Ticket #5203
2016-04-22Only 1 : between namespace and propertyRoeland Jago Douma
2016-04-15The share-permissions namespace was movedRoeland Jago Douma
See https://github.com/owncloud/core/pull/24017 This was done since other services we want to intergrate with don't use the ownCloud namespace.
2016-04-14ShareDialog: Tell a user early if resharing is impossible #4679Christian Kamm
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
2016-02-22Add theming options control sharing operationsRoeland Jago Douma
Fixes #4325
2015-11-24Share dialog: Adjust layout #4119Christian Kamm
2015-11-24Share dialog: Don't close on enterChristian Kamm
Setting default=false was not enough.
2015-11-19ShareDialog: show an error if the sharing API is disabled (#4126)Olivier Goffart
2015-11-17ShareDialog: softer line separator (#3737)Olivier Goffart
2015-11-17ShareDialog: remove the search button (#3737)Olivier Goffart
2015-11-16ShareDialog: add a QScrollArea (issue #4125 )Olivier Goffart