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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-07If askForOptionalPassword is enabled preset a random passwordKevin Ottens
This is the same approach used on the server side. Turns out I quite like it, this avoids popping up a dialog to the user and since she won't know the password she'll have to set a new one anyway or disable it. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-01Enable bugprone-narrowing-conversions clang-tidy checkKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-03Do not declare local variables without an initial value.Camila San
Signed-off-by: Camila San <hello@camila.codes>
2020-05-29ShareDialog: Pointer cosmeticsMichael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-05-29ShareDialog: Add further checks for the _manager member ptrMichael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-05-29ShareDialog: Fix crash, properly init member pointersMichael Schuster
_manager ptr only got initialized in the constructor when sharingPossible was set to true Changes: - Move member ptr inits from constructor to the header file's class definition - Init _manager: set to nullptr too - Add check for _manager to avoid crash in showSharingUi() Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-05-20Use auto to avoiding repeating type namesKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-01-09Ask for password on password protected link sharesRoeland Jago Douma
Fixes #1485 This was missed when creating the new share dialog. Now it pops up with a nice share password dialog to enter for your link share. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-09Make the ShareDialog background-aware (Dark-/Light-Mode switching)Michael Schuster
Use customizeStyle() to change link colours, icons and pixmaps in the ShareDialog and notify it's widgets via slots. TODO - known issue (macOS): - The background and font colours in the ShareUserLine widget still stay the same. Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-09-18Finishing PR #1154 adding note when sharingDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-06-21Displays the uid_owner of a shared file.Camila San
Also displays the sharees that reshared it via share link. Signed-off-by: Camila San <hello@camila.codes>
2019-05-27Display error when current user is not allowed to reshare file/folder.Camila San
Signed-off-by: Camila San <hello@camila.codes>
2019-04-12Disable options in share dialog if account state changes.Camila San
Signed-off-by: Camila San <hello@camila.codes>
2019-04-12Refactores sharing link to support multiple share links.Camila San
Signed-off-by: Camila San <hello@camila.codes>
2018-08-02Fix include orderRoeland Jago Douma
Because why not :S Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-02Inserts ShareDialogStartPage in the correct position in the share dialog.Camila San
- With the new UI this had to be adapted. Signed-off-by: Camila San <hello@camila.codes>
2018-08-02Adjustes sizes and margins in the share dialog and its widgets.Camila San
- Adds TODO's in commented out code. Signed-off-by: Camila San <hello@camila.codes>
2018-08-02Changes share link layout so it looks like the UI on the server.Camila San
- Adds icons to Share link and to save password on share dialog. - Changes wording of the menu options for sharing link. - Adds functionality to the new menu (mostly permissions). - More widget size and size policy adjustments. Signed-off-by: Camila San <hello@camila.codes>
2018-08-02Changes size, size policy, content and margins of the share dialog and its ↵Camila San
widgets. - Adds select with permissions to share dialog on the user/group search. - Changes order of widgets, removes excess of text and do not display empty widgets. - Share user/group widget: replaces combo box for tool button with permissions. - Using Fixed as size policy it gives a much smoother user experience when windows size dinamically changes. Signed-off-by: Camila San <hello@camila.codes>
2018-08-02Improves share dialog.Camila San
- Removes the tabs: adds items to a vertical layout. - Fix spacing and alignment. - Removes extra text. Signed-off-by: Camila San <hello@camila.codes>
2018-06-06SocketApi/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.
2018-06-01ShareDialog: macOS grey odditiy #5774Markus Goetz
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