Commit Graph

50046 Commits

Author SHA1 Message Date
Morris Jobke 94d9ebd61c
Merge pull request #16366 from nextcloud/bugfix/noid/filelist-overlap
Fix filelist overlap with header ref #16076
2019-07-18 20:55:01 +02:00
Morris Jobke baff2ccdba
Merge pull request #16452 from nextcloud/bug/noid/error-with-exception-on-ssl-error
Error with exception on SSL error
2019-07-18 20:51:30 +02:00
Roeland Jago Douma 3011449f17
Merge pull request #16455 from nextcloud/enh/noid/ldap-update-user-cmd
adds an --update flag to check-user for manual sync of the ldap record
2019-07-18 19:18:03 +02:00
Morris Jobke b291d9b5e1
Merge pull request #10842 from nextcloud/bugfix/9339/initial_collection_sync_caldav_carddav
LIMIT is no column but a SQL keyword, allow limit on initial sync
2019-07-18 19:00:56 +02:00
Morris Jobke 4ae17427c5
Error with exception on SSL error
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-18 18:50:44 +02:00
Morris Jobke ab9207827b
Merge pull request #16420 from nextcloud/bugfix/noid/settings-menu-border-top
Add border-top to settings menu when its open ref #16076
2019-07-18 18:04:44 +02:00
Greta Doci e1da99af4c
Fix filelist overlap with header ref #16076
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-07-18 15:34:39 +02:00
Roeland Jago Douma 057e88e9e7
Merge pull request #16380 from Dreamsorcerer/patch-1
Allow use of server var for CSP nonce
2019-07-18 15:33:15 +02:00
Arthur Schiwon 40c9a743fa
adds an --update flag to check-user for manual sync of the ldap record
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-07-18 14:30:43 +02:00
Roeland Jago Douma 940a3130b2
Merge pull request #15143 from nextcloud/bugfix/noid/lookup-server-connector-background-jobs-problem
Fix lookup server connector background jobs problem
2019-07-18 13:10:24 +02:00
Morris Jobke a65c00472a
Merge pull request #16451 from nextcloud/tech-debt/noid/reduce-indirection
Reduce indirection in AppManager
2019-07-18 13:03:12 +02:00
Georg Ehrke 9f6dd51912
LIMIT is no column but a SQL feature, allow limit on initial sync
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-07-18 12:42:11 +02:00
Sam Bull ea935f65fd
Add support for CSP_NONCE server variable
Allow passing a nonce from the web server, allowing the possibility to enforce a strict CSP from the web server.

Signed-off-by: Sam Bull <git@sambull.org>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-18 12:16:29 +02:00
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