Commit graph

50032 commits

Author SHA1 Message Date
Morris Jobke
55d8c3db3e
Reduce indirection in AppManager
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-18 11:33:58 +02:00
Morris Jobke
605d0874a4
Removes unused OC_API::register
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-18 11:27:09 +02:00
Joas Schilling
30051e786b
Make the RetryJob work on the userId only
To ensure there is only 1 background job per user

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Joas Schilling
e1e1d4df62
Yay for null coalescing operator
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Joas Schilling
006151604b
Use public interfaces
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Joas Schilling
9927909a0d
Always use a background job for the update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Joas Schilling
3a4f6302ca
Also send a delete like on the syncronous action
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Joas Schilling
3930b91511
Use an application class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-18 11:24:35 +02:00
Nextcloud bot
3d0e0f2353
[tx-robot] updated from transifex 2019-07-18 02:14:53 +00:00
Morris Jobke
48653d1a27
Merge pull request #16440 from marcelklehr/fix/objectstorage-put-contents
Fix File#putContents(string) on ObjectStorage
2019-07-17 22:38:41 +02:00
Morris Jobke
5b604eaeab
Merge pull request #15040 from nextcloud/feature/13980/push-for-deleted-notifications
Notifications overhaul
2019-07-17 20:22:03 +02:00
Morris Jobke
782554d2ac
Merge pull request #16075 from nextcloud/bugfix/15823/app-restricted-groups
Remove deleted groups from app restrictions fixes #15823
2019-07-17 17:36:00 +02:00
Greta Doci
8e4b5d02f4 Add border-top to settings menu when its open ref #16076
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-07-17 15:58:03 +02:00
Marcel Klehr
d46744e2f1 Fix File#putContents(string) on ObjectStorage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-07-17 14:58:56 +02:00
Morris Jobke
223a91d5ef
Merge pull request #16416 from nextcloud/enh/log-details
Move log detail aggregation and reuse it in syslog/systemd logger
2019-07-17 11:43:32 +02:00
Julius Härtl
07bbec3355
Move log detail aggregation to separate class and reuse it in syslog/systemd logger
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-17 08:45:55 +02:00
Roeland Jago Douma
4a52d933b6
Merge pull request #16424 from nextcloud/fix/do_not_keep_searching
Do not keep searching for recent
2019-07-17 07:46:47 +02:00
Nextcloud bot
63276cd0ea
[tx-robot] updated from transifex 2019-07-17 02:15:32 +00:00
Morris Jobke
99f2c82222
Properly inject the logger
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-16 22:38:14 +02:00
Roeland Jago Douma
79eb5de0be
Merge pull request #16422 from nextcloud/feature/noid/complement-search-string-inrequest-
set and complete the searched string
2019-07-16 22:13:42 +02:00
Roeland Jago Douma
b73ef3dd44
Merge pull request #16423 from nextcloud/bugfix/16410/allow-to-enable-encryption-in-the-UI
Only prevent disabling encrytion via the API
2019-07-16 19:43:04 +02:00
Roeland Jago Douma
8ca2b31804
Do not keep searching for recent
If userA has a lot of recent files. But only shares 1 file with userB
(that has no files at all). We could keep searching until we run out of
recent files for userA.

Now assume the inactive userB has 20 incomming shares like that from
different users. getRecent then basically keeps consuming huge amounts
of resources and with each iteration the load on the DB increases
(because of the offset).

This makes sure we do not get more than 3 times the limit we search for
or more than 5 queries.

This means we might miss some recent entries but we should fix that
separatly. This is just to make sure the load on the DB stays sane.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-16 19:14:55 +02:00
Joas Schilling
594efca1e3
Update since to the correct version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 16:58:38 +02:00
Maxence Lange
462c293111 fix phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-16 13:47:58 -01:00
Joas Schilling
f8592e5e79
Only prevent disabling encrytion via the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 14:24:47 +02:00
Maxence Lange
8bafd67c1f set and complete the searched string
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-16 11:22:33 -01:00
Joas Schilling
565838da9c
Update unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 13:32:44 +02:00
Morris Jobke
f877176fed
Merge pull request #16180 from oliversalzburg/fix/grant-all
Use specific privileges when creating admin
2019-07-16 13:32:39 +02:00
Morris Jobke
86a399d82b
Merge pull request #16417 from nextcloud/design/backupcodes-notification
Backupcodes notification design details
2019-07-16 13:20:56 +02:00
Joas Schilling
c3ef1cd90d
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 13:17:51 +02:00
Jan-Christoph Borchardt
51517d3a36
Add icon to twofactor_backupcodes notification
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-07-16 12:35:20 +02:00
Joas Schilling
55f5bc79a1
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 11:36:32 +02:00
Oliver Salzburg
392a4dd68a
Use specific privileges when creating admin
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>
2019-07-16 10:26:25 +02:00
Jan-Christoph Borchardt
d94d42f089
Fix wording of backupcodes notification
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-07-16 10:23:12 +02:00
Roeland Jago Douma
84a1712d99
Merge pull request #16387 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-0.11.5
Bump nextcloud-vue from 0.11.4 to 0.11.5
2019-07-16 08:59:21 +02:00
Roeland Jago Douma
d0e1bcc1d0
Merge pull request #15606 from nextcloud/fix/15605/add-catch-for-runtime-exception
Add catch for RuntimeException
2019-07-16 08:05:11 +02:00
Nextcloud bot
8b31dbc5a4
[tx-robot] updated from transifex 2019-07-16 02:14:48 +00:00
Morris Jobke
cbecc1f8cf
Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-15 22:26:08 +02:00
Morris Jobke
cd3f5e48de
Merge pull request #16151 from jameslao/master
Update operationprogressbar.js
2019-07-15 22:09:25 +02:00
Morris Jobke
03ad858841
Merge pull request #14228 from nextcloud/feature/noid/add-metadata-etag
Add DB table to extend filecache with metadata etag, creation  and upload time
2019-07-15 21:37:25 +02:00
dependabot-preview[bot]
86fcf1db54 Bump nextcloud-vue from 0.11.4 to 0.11.5
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.11.4...v0.11.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-15 18:34:35 +00:00
Roeland Jago Douma
a3deb21bf4
Merge pull request #16334 from nextcloud/feature/noid/enterprise-logo
Add enterprise logo
2019-07-15 20:31:06 +02:00
Roeland Jago Douma
89e8b29aad
Merge pull request #16390 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.5.4
Bump nextcloud-vue-collections from 0.5.2 to 0.5.4
2019-07-15 20:27:12 +02:00
Roeland Jago Douma
1e5d0fd3a9
Merge pull request #16404 from nextcloud/dependabot/npm_and_yarn/babel/core-7.5.4
Bump @babel/core from 7.5.0 to 7.5.4
2019-07-15 20:26:20 +02:00
Morris Jobke
60dcb1800c
Add DB table to extend filecache with metadata etag, creation time and upload time
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-15 16:58:44 +02:00
Morris Jobke
b732f51c10
Add enterprise logo
Also set it as theming logo if the subscription is valid.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-15 16:45:53 +02:00
dependabot-preview[bot]
e3b96a3db3 Bump @babel/core from 7.5.0 to 7.5.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.5.0 to 7.5.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.0...v7.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-15 13:31:39 +00:00
Joas Schilling
6d71e471e1
Update shipped implementations of the INotifier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-15 15:15:00 +02:00
Joas Schilling
64f67818bc
Fix new core notifier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-15 15:14:58 +02:00
Joas Schilling
865c12aa0e
Fix detection of Notifiers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-15 15:12:43 +02:00