summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Use specific privileges when creating adminOliver Salzburg2019-07-161-1/+1
| | | | | | | | | | | Using the ALL shorthand can cause problems when not all privileges are available to the user. For example, AWS RDS MariaDB/MySQL will not grant the initial user account on an instance the SUPER privilege. While the user account is still valid for pretty much any task on the DB instance, it can not use the ALL shorthand when granting privileges to new users. By supplying a specific set of privileges, we work around this limitation without sacrificing functionality. Closes #16139 Signed-off-by: Oliver Salzburg <oliver.salzburg@gmail.com>
* Merge pull request #15606 from ↵Roeland Jago Douma2019-07-161-0/+4
|\ | | | | | | | | nextcloud/fix/15605/add-catch-for-runtime-exception Add catch for RuntimeException
| * Log RuntimeException in CleanupCardDAVPhotoCacheMorris Jobke2019-07-151-1/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Add catch for RuntimeExceptionDaniel Kesselberg2019-05-171-1/+2
| | | | | | | | | | | | | | | | getDirectoryListing can throw a NotFoundException or a RuntimeException. The repair step should be skipped if the cache directory is missing so a catch for both exceptions is required. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #16334 from nextcloud/feature/noid/enterprise-logoRoeland Jago Douma2019-07-152-0/+119
|\ \ | | | | | | Add enterprise logo
| * | Add enterprise logoMorris Jobke2019-07-152-0/+119
| | | | | | | | | | | | | | | | | | Also set it as theming logo if the subscription is valid. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #16399 from ↵Morris Jobke2019-07-151-0/+188
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/improvement/noid/fulltextsearch-simple-queries [nc17] add SimpleQueries to FullTextSearch
| * | | new model to manage some simple queriesMaxence Lange2019-07-141-0/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fixing issue in addSubTag() Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fix const Signed-off-by: Maxence Lange <maxence@artificial-owl.com> autoload Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Revert "fixing issue in addSubTag()" This reverts commit a9ab2ab91b98133c69272f27ea1b51594719e241. Signed-off-by: Maxence Lange <maxence@artificial-owl.com> syntax Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | addsubtag should push to arrayMaxence Lange2019-07-141-1/+6
|/ / / | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Lock SCSS so we only run 1 job at a timeRoeland Jago Douma2019-07-122-18/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is bit hacky but a start to lock the SCSS compiler properly Retry during 10s then give up Properly get error message Do not clear locks and properly debug scss caching Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #16331 from nextcloud/feature/noid/talk-guest-mentionsRoeland Jago Douma2019-07-121-2/+7
|\ \ \ | | | | | | | | Allow guest mentions of talk to be parsed
| * | | Allow guest mentions of talk to be parsedJoas Schilling2019-07-101-2/+7
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #16361 from ↵Roeland Jago Douma2019-07-111-2/+22
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/bugfix/noid/drop-foreignkey-on-owncloud-migration Drop foreignkey on owncloud migration
| * | | Drop foreign key before trying to drop the accounts tableJoas Schilling2019-07-111-2/+22
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #15514 from nextcloud/feature/noid/add-enterprise-channelMorris Jobke2019-07-112-0/+62
|\ \ \ \ | |/ / / |/| | | Update channels for updater server
| * | | Enterprise update channelMorris Jobke2019-07-102-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Use HTTP1.1 to read S3 objectsRoeland Jago Douma2019-07-101-0/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | Some of the READs otherwise use HTTP/1.0 which is not always supported by all backends. HTTP/1.1 is there since 1999 way longer than S3 so safe to assume it is always there IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Make it possible to wipe all tokens/devices of a userChristoph Wurst2019-07-091-6/+36
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Refactor: move remote wipe token logic to RW serviceChristoph Wurst2019-07-092-1/+20
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #16307 from ↵Roeland Jago Douma2019-07-091-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/previewv1adapter-isAvailable Fix ProviderV1Adapter isAvailable wrapper
| * | | Fix ProviderV1Adapter isAvailable wrapperJulius Härtl2019-07-091-1/+1
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #15867 from nextcloud/preview-versioningRoeland Jago Douma2019-07-091-17/+29
|\ \ \ | | | | | | | | allow keeping multiple preview "versions" of the same file
| * | | allow keeping multiple preview "versions" of the same fileRobin Appelman2019-07-081-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main use case here is storage provided versioning where we dont have separate file ids for all the versions, by allowing a prefix for the version we can store separate previews for all the versions. Additionally, by keeping all the version previews in the same folder as the "normal" previews they will be cleaned up properly when the file is deleted Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #15730 from nextcloud/enh/14179/event_for_cspRoeland Jago Douma2019-07-092-4/+14
|\ \ \ \ | | | | | | | | | | Add an event to edit the CSP
| * | | | Add an event to edit the CSPRoeland Jago Douma2019-07-082-4/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces and event that can be listend to when we actually use the CSP. This means that apps no longer have to always inject their CSP but only do so when it is required. Yay for being lazy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | / / allow injecting CsrfTokenManager by classRobin Appelman2019-07-091-2/+3
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #16292 from ↵Roeland Jago Douma2019-07-085-578/+0
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/cleanup-outdated-repair-steps Remove one time repair steps that have already run when updating to 17
| * | | Remove one time repair steps that have already run when updating to 17Morris Jobke2019-07-085-578/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Try to delete the cypress folder of the viewer appMorris Jobke2019-07-082-0/+84
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Mimetype list integrity check should not fail if it's changed (#15810)John Molakvoæ2019-07-073-2/+24
|\ \ | | | | | | Mimetype list integrity check should not fail if it's changed
| * | Remove empty linesXheni Myrtaj2019-07-041-2/+0
| | | | | | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
| * | Added Tests for modified mimetypelistXheni Myrtaj2019-07-041-0/+2
| | | | | | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
| * | Update lib/private/IntegrityCheck/Checker.phpXheni Myrtaj2019-05-311-1/+1
| | | | | | | | | Co-Authored-By: Morris Jobke <hey@morrisjobke.de>
| * | Fix indentationXheni Myrtaj2019-05-291-21/+21
| | | | | | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
| * | Do not fail integrity check if mimetype list is changedXheni Myrtaj2019-05-293-23/+45
| | | | | | | | | | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* | | Allow IProviderV2 for previews as well (#16209)John Molakvoæ2019-07-073-13/+28
|\ \ \ | | | | | | | | Allow IProviderV2 for previews as well
| * | | Allow IProviderV2 for previews as wellJohn Molakvoæ (skjnldsv)2019-07-053-13/+28
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Always set the display name for user sharesJulius Härtl2019-07-031-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Unify the permission checking in one place onlyJoas Schilling2019-07-031-9/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Better check reshare permissions when creating a shareJoas Schilling2019-07-031-3/+22
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Send emails when remote wipe starts/finishesChristoph Wurst2019-07-021-0/+171
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #15775 from ↵Georg Ehrke2019-07-026-47/+269
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/refactor/decouple-remote-wipe-notifications Decouple remote wipe notifcation channels with events
| * | | Decouple remote wipe notifcation channels with eventsChristoph Wurst2019-06-276-47/+269
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Allow apps to overwrite the maximum length when reading from databaseJoas Schilling2019-07-011-6/+16
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #16107 from nextcloud/local-check-pathRoeland Jago Douma2019-06-271-0/+21
|\ \ \ \ | |/ / / |/| | | verify that paths are valid for recursive local move
| * | | verify that paths are valid for recursive local moveRobin Appelman2019-06-271-0/+21
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Allow apps to store longer messages in the comments APIJoas Schilling2019-06-261-3/+4
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #16055 from nextcloud/design/native-fontsJan-Christoph Borchardt2019-06-262-6/+6
|\ \ \ \ | | | | | | | | | | Use native font stack
| * | | | Move font from Nunito to Noto SansJan-Christoph Borchardt2019-06-222-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | | Merge pull request #16021 from ↵Roeland Jago Douma2019-06-251-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fall-back-to-black-for-non-color-values Fall back to black for non-color values