summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2022-03-142-0/+20
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #30966 from nextcloud/backport/30235/stable22blizzz2022-03-103-3/+4
|\ | | | | [stable22] Add primary key for ratelimit table
| * Update autoloaderJoas Schilling2022-03-102-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Make the DB query simpler (as we just deleted all other entries)Joas Schilling2022-03-101-3/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31122 from nextcloud/backport/30945/stable22blizzz2022-03-107-5/+62
|\ \ | | | | | | [stable22] Background job time windows
| * | Adjust since versionJoas Schilling2022-03-103-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Use the new option to signaling insensitivityJoas Schilling2022-02-221-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-226-5/+60
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #29565 from nextcloud/backport/25332/stable22blizzz2022-03-101-4/+10
|\ \ \ | |_|/ |/| | [stable22] Fix removing remote shares when the remote server is unreachable
| * | Update lib/private/Files/Storage/Wrapper/Availability.php add void Vincent Petry2021-11-051-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
| * | Return false in hasUpdated when storage is not availableVincent Petry2021-11-051-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Technically, saying that a storage has no updates when it's not available is correct. This makes it possible to retrieve the cache entry for the mount point and also to list and remove unavailable federated shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | use persistent connections when connecting to redisRobin Appelman2022-03-041-4/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix avatar file return typeChristopher Ng2022-03-041-2/+2
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #31243 from nextcloud/backport/31141/stable22Carl Schwan2022-03-021-2/+2
|\ \ \ | | | | | | | | [stable22] Improve caching policy use immutable when loading versionned assets
| * | | Improve caching policyCarl Schwan2022-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #31400 from nextcloud/backport/31390/stable22blizzz2022-03-022-0/+24
|\ \ \ \ | | | | | | | | | | [stable22] Censor more configs
| * | | | Censor more configsJoas Schilling2022-03-022-0/+24
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Also use hashed/indexed column on deleteJoas Schilling2022-03-021-2/+2
|/ / / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-02-242-0/+36
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-02-23134-136/+2
| |_|/ |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #31298 from nextcloud/backport/31217/stable22Joas Schilling2022-02-221-0/+5
|\ \ \ | | | | | | | | [stable22] Also cache non-existing to reuse it
| * | | Also cache non-existing to reuse itJoas Schilling2022-02-211-0/+5
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-02-224-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Use the unjailed-path in OC_Helper::getStorageInfo() for files located in ↵Claus-Justus Heine2022-02-181-1/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SharedStorage. The current implementation already switches the storage-backend to $storage->getSourceStorage(). However, it then calls $rootInfo->getInternalPath() which returns the internal path relative to the storage where the share is mounted. This is wrong, we need also to unjail the path. Compare, e.g., with OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the "logic". Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | | Merge pull request #30958 from nextcloud/backport/30949/stable22Vincent Petry2022-02-183-1/+104
|\ \ \ | | | | | | | | [stable22] Allow to disable AuthToken v1
| * | | Allow to disable AuthToken v1Joas Schilling2022-02-013-1/+104
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #31060 from nextcloud/backport/30973/stable22Vincent Petry2022-02-181-6/+7
|\ \ \ \ | | | | | | | | | | [stable22] Allow specify a config prefix for another database connection
| * | | | Allow specify a config prefix for another database connectionJoas Schilling2022-02-071-6/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-02-165-9/+40
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-02-162-2/+78
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-02-052-0/+36
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-02-032-2/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix preview generation for office documentsJonas Meurer2022-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `new \imagick()` returns an object, but we need the image blob (binary string) from this object. This is a partial backport of #26531, which brings a lot of refactoring but also contains the fix. Fixes: #29956 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | Fix psalm warning related to registerEventListenerCarl Schwan2022-01-291-1/+1
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30826 from nextcloud/backport/stable22/psalm-fixJohn Molakvoæ2022-01-2726-345/+497
|\ \ \
| * | | Psalm fixingCarl Schwan2022-01-273-4/+5
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Fix psalmCarl Schwan2022-01-2423-341/+492
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #30741 from nextcloud/backport22John Molakvoæ2022-01-271-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | [stable22] Increase email main buttons width for non-english languagesacsfer2022-01-181-2/+2
| | | | | | | | | | | | Manual backport of https://github.com/nextcloud/server/pull/30653
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-242-220/+318
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #30774 from nextcloud/backport/30769/stable22John Molakvoæ2022-01-221-21/+2
|\ \ \ \
| * | | | Always call flush() as getAllKeys() is brokenCôme Chilliet2022-01-201-21/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2022-01-222-2/+40
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-203-2/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Revert "[stable22] Hash job argument"John Molakvoæ2022-01-204-107/+13
|/ / / /
* | | | Merge pull request #30727 from nextcloud/backport/30614/stable22John Molakvoæ2022-01-201-1/+1
|\ \ \ \
| * | | | Update Session.phpMarek-Wojtowicz2022-01-171-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header. Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
* | | | Merge pull request #30760 from nextcloud/backport/30731/stable22John Molakvoæ2022-01-201-0/+11
|\ \ \ \
| * | | | Log bruteforce throttle and blockingJoas Schilling2022-01-191-0/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #29799 from nextcloud/stable22-diskJohn Molakvoæ2022-01-201-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |