summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixing ctor callThomas Müller2016-10-193-5/+5
|
* Add config option to update charset of mysql to utf8mb4Morris Jobke2016-10-197-8/+36
| | | | | * fully optional * requires additional options set in the database
* Merge pull request #1734 from nextcloud/setvalue_optLukas Reschke2016-10-181-0/+19
|\ | | | | AllConfig setUserValue opt
| * Use cache to determine if value need to be updatedRoeland Jago Douma2016-10-131-0/+19
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #1722 from nextcloud/hide-storage-warningsMorris Jobke2016-10-181-1/+1
|\ \ | | | | | | hide storage wrapper warning for the readonly storage
| * | hide storage wrapper warning for the readonly storageMorris Jobke2016-10-131-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | [tx-robot] updated from transifexNextcloud bot2016-10-182-0/+20
| | |
* | | Merge pull request #1449 from nextcloud/comments-user-mentionMorris Jobke2016-10-177-24/+122
|\ \ \ | | | | | | | | Notifications for simple @-mentioning in comments
| * | | emit pre-update event for commentsArthur Schiwon2016-10-122-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * notifications can be cleaned up, no polluted DB * updating comments will re-notify users or remove notifications, depending on the message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | update autoloading mapArthur Schiwon2016-10-072-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | Notificacations for simple @-mentioning in commentsArthur Schiwon2016-10-074-21/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (WIP) notify user when mentioned in comments Fix doc, and create absolute URL for as notification link. PSR-4 compatibility changes also move notification creation to comments app Do not notify yourself unit test for controller and application smaller fixes - translatable app name - remove doubles in mention array - micro perf optimization - display name: special label for deleted users, keep user id for users that could not be fetched from userManager Comment Notification-Listener Unit Test fix email adresses remove notification when triggering comment was deleted add and adjust tests add missing @license tags simplify NotificationsController registration appinfo simplification, php docs make string easier to translate adjust test replace dispatcher-based listeners with a registration method and interface safer to not pass optional data parameter to setSubject for marking as processed. ID and mention suffices Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> update comment Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | [tx-robot] updated from transifexNextcloud bot2016-10-152-4/+4
| | | |
* | | | Merge pull request #1441 from nextcloud/getby-id-less-queriesLukas Reschke2016-10-149-41/+109
|\ \ \ \ | | | | | | | | | | optimize Folder::getById to use less queries
| * | | | explicitly cast to intRobin Appelman2016-10-121-2/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | reuse share node when creating a shareRobin Appelman2016-10-121-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | Always unlock node after trying to create a shareRobin Appelman2016-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | optimize Folder::getById to use less queriesRobin Appelman2016-10-127-40/+102
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #1037 from nextcloud/no-double-token-updateChristoph Wurst2016-10-141-2/+0
|\ \ \ \ | |_|_|/ |/| | | dont update the auth token twice
| * | | dont update the auth token twiceRobin Appelman2016-10-111-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | [tx-robot] updated from transifexNextcloud bot2016-10-132-6/+22
| |/ / |/| |
* | | [9.2] Register commands in info.xml (#26248)Thomas Müller2016-10-113-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use DI to load console commands from the apps - class name to be defined in the info.xml * Load commands from info.xml * Fix unit test * Allow Di magic for IMountManager Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add app name to the callJoas Schilling2016-10-101-1/+1
|/ / | | | | | | | | | | Regression from 69b063f4c614a46bbe5f0ffcab11ddb08c183f04 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #1672 from nextcloud/cache_non_exisiting_db_userRoeland Jago Douma2016-10-101-2/+7
|\ \ | | | | | | Cache non existing DB user
| * | Cache non existing DB userRoeland Jago Douma2016-10-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | We always query the database backend. Even if we use a different one (ldap for example). Now we do this everytime we try to get a user object so caching that a user is not in the DB safes some queries on each request then (at least 2 what I found). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #1660 from nextcloud/add-notification-icon-to-apiChristoph Wurst2016-10-102-12/+48
|\ \ \ | | | | | | | | Add an icon to the notification API
| * | | Add an icon to the notification APIJoas Schilling2016-10-072-12/+48
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #1640 from nextcloud/less_queries_group_shareMorris Jobke2016-10-101-30/+49
|\ \ \ | | | | | | | | More efficient group share resolving
| * | | More efficient group share resolvingRoeland Jago Douma2016-10-061-30/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When resolving a group share to the user group share we used to do this on a per share basis. Now we try to do this for all group shares at once. Of course still chunked. Before: N incomming group shares this would mean 1 + N queries Now: N incomming roups shares this would mean 1 + 1 queries Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #1663 from nextcloud/dont-reparse-info-xmlMorris Jobke2016-10-103-41/+42
|\ \ \ \ | |_|_|/ |/| | | Dont reparse info xml + cache AppInfo XML
| * | | Cache AppInfo in Memory Cache if configuredLukas Reschke2016-10-072-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves around 20ms on a bare-bone instance, on bigger ones more (depending on the number of installed apps). See https://blackfire.io/profiles/compare/fc326ad3-100d-49b8-8ea9-8343240f53f3/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)Thomas Müller2016-10-073-46/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | * Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
* | | Merge pull request #1658 from nextcloud/fix-log.conditionMorris Jobke2016-10-091-1/+1
|\ \ \ | | | | | | | | Default to empty string
| * | | Default to empty stringLukas Reschke2016-10-071-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | Otherwise `null` is returned which leads to a ton of similar error messages if the log condition setting is enabled.: ``` {"reqId":"3wVBarnDfOV3qkI1bVCU","remoteAddr":"89.98.78.41","app":"PHP","message":"hash_equals(): Expected user_string to be a string, null given at \/var\/www\/html\/lib\/private\/Log.php#275","level":3,"time":"2016-10-07T14:22:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"icewind"} ```
* | | Merge pull request #1665 from nextcloud/speed-up-is-subdirectory-testMorris Jobke2016-10-092-30/+26
|\ \ \ | | | | | | | | Simplify isSubDirectory check
| * | | Simplify isSubDirectory checkLukas Reschke2016-10-072-30/+26
| |/ / | | | | | | | | | | | | | | | Shaves off another 9ms per request as can be seen at https://blackfire.io/profiles/compare/dd54cef3-e58d-4a22-b8f4-c7c4b70697be/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / / [tx-robot] updated from transifexNextcloud bot2016-10-082-6/+6
|/ /
* | Merge pull request #1514 from nextcloud/integration-tests-orphaned-sharesMorris Jobke2016-10-061-8/+38
|\ \ | |/ |/| Integration tests orphaned shares + Prefilter inaccessible shares
| * Prefilter inaccessible shares in DefaultShareProvider::getSharedWith()Vincent Petry2016-10-061-8/+38
| | | | | | | | | | | | | | | | | | | | | | The DefaultShareProvider now does a DB-level check to find out whether file_source is accessible at all (deleted file) or whether it's in the trashbin of a home storage. One small corner case where the home storage id is in md5 form cannot be covered properly with this approach. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #1629 from nextcloud/cleanup-settings-applicationJoas Schilling2016-10-061-0/+3
|\ \ | | | | | | Cleanup settings Application class
| * | When we can not create the class, try if the variable is a registered serviceJoas Schilling2016-10-051-0/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | log version number in each log lineMorris Jobke2016-10-061-2/+4
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #1306 from nextcloud/simplefsLukas Reschke2016-10-0620-36/+926
|\ \ | | | | | | Introducing AppData
| * | add proper exception documentation for ISimpleFS interfaceMorris Jobke2016-10-051-0/+6
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | DI fails for bg jobRoeland Jago Douma2016-10-051-10/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix repairRoeland Jago Douma2016-10-051-3/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Update autoloaderRoeland Jago Douma2016-10-052-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Use a backgroundjob to move avatarsRoeland Jago Douma2016-10-052-78/+118
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Deprecate old app folderRoeland Jago Douma2016-10-052-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Update autoloaderRoeland Jago Douma2016-10-052-0/+18
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Kill users with the reserved name on loginRoeland Jago Douma2016-10-051-1/+11
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>