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-05-25Use ocis productversionHannah von Reth
2022-05-17Remove version checks for < 10.0Hannah von Reth
2022-04-13Use the folder object directly instead of looking it up by its name (#9583)Hannah von Reth
2022-02-04Replace ocsjob with JsonApiJobHannah von Reth
2021-06-16Remove possible qt containers detach (#8727)Aleksey Lysenko
* Replaced obsolete foreach-loops with for-loops * Added a copy of queries into SqlDatabase::close * Used const reference to avoid unneeded copying * Fixed Qt containers possible detach within for-loop * Removed unneeded copies before for-loops
2019-07-09Merge remote-tracking branch 'origin/2.5' into 2.6Christian Kamm
2019-07-09Sharing: Create shares with appropriate permissions #7275Christian Kamm
If user A shares something with user B and allows resharing but removes some other permission then user B should be able to share the item or any of its contents with user C and the new share permissions should automatically be <= the permissions of the original share. Currently this works correctly when resharing the original item but fails for any subitem, preventing the reshare entirely. With this patch the reshare will always be created with appropriately limited permissions.
2019-04-23Link shares: Adjust creation flowChristian Kamm
The important thing is that, similar to the web link share creation flow, the share properties can be set before creation is done. This allows better handling of error conditions. One such condition is the password policy app restricting valid expire dates. See owncloud/enterprise#3271
2019-02-14Ensure local discovery on selective sync changesloai_docsChristian Kamm
As far as I'm aware local discovery can be skipped on folders that are selective-sync blacklisted, so a local discovery is required when an entry is removed from the blacklist. Also rename avoidReadFromDbOnNextSync() -> schedulePathForRemoteDiscovery() since the old name might also imply it's not read from db in the local discovery - which is not the case. Use Folder:: schedulePathForLocalDiscovery() for that.
2019-02-11Folder: Add remoteFolderTrailingSlash()Christian Kamm
There were cases where the "/" exception wasn't handled correctly and there'd be extra slashes in generated paths.
2018-05-14ShareLink: Preserve password when unrelated ui changes #6512Christian Kamm
2018-02-16Merge remote-tracking branch 'origin/2.4'Christian Kamm
2018-02-15Sharing: Use maximum allowed permissions for new share #6346Christian Kamm
The client already computed the valid permissions, there was just a typo that meant we didn't end up using them.
2017-12-08Utility: use QUrlQueryOlivier Goffart
For QUrl::setQuery is deprecated in Qt5
2017-10-24ShareDialog: trigger a sync for folder affected by a change of sharingOlivier Goffart
This allow the sync engine to query the new metadata and update the overlay icons. Note: we also need to invalidate the etags because the server does not change the etag of parent directories that see their share-types changed. Issue #6098
2017-10-24Sharing: remove the ShareManager::_jobContinuationOlivier Goffart
It is growing indefinitively in case of error, causing a leak. Use a labda instead to pass the capture
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-07-07Link shares: Add "show file listing" option #5837Christian Kamm
2017-05-22Share link: Fix parsing integer ids #5777Christian Kamm
Older ownCloud servers like 8.2.0 used to use integer ids. This broke when switching to QJson because toString() on JSON values is strict and returns "" for integers.
2017-05-17Apply clang-formatChristian Kamm
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-08Sharing: Switch from QtJson to Qt5's QJson #5710Christian Kamm
2017-05-03Share dialog: Add option to copy/email direct links #5627Christian Kamm
2017-04-21ShareDialog: Review fixesChristian Kamm
* Allow creating nameless shares * Display token as name for nameless shares (both to be consistent with server) * Allow changing a share's name by editing it in the table * Minor adjustments
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-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.
2017-02-23Verify that all strings are properly escaped (#5558)Olivier Goffart
- I checked every occurence of a '%2' and make correct use of the QString::arg overload that takes several argument instead of chaining them, because the first argument can contains a '%1' - I tried to look for every label that they either use plain text or richtext and escape the user provided strings in there.
2016-11-18Merge pull request #5272 from owncloud/licensefix-pendingckamm
License: Adjust license of GPLv2 source files to GPLv2+
2016-10-25Move concatUrl and settingsWithGroup to UtilityChristian Kamm
There was little reason to keep them cluttering Account.
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180
2016-09-16Fix the MSVC buildJocelyn Turcotte
- Replace functions that are provided by MinGW with a Win32-based implementation - Explicitly export needed symbols from ocsync.dll - Rename share.h to sharemanager.h since the name clashes with one of the Windows headers and get included from there - Remove the timestamp from the fallback csync stderr logging, it's not used since we always provide a log callback