Commit Graph

16774 Commits

Author SHA1 Message Date
Robin Appelman 439b341e89
add method to get the used object store from the storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-21 17:18:00 +02:00
Morris Jobke ac92603014
Merge pull request #15638 from nextcloud/bugfix/7965/sharing-hide-if-empty
Only show sharing section if it has content
2019-05-21 10:33:07 +02:00
Roeland Jago Douma 50dbdeea46
Merge pull request #15104 from nextcloud/enh/remote_wipe
Remote wipe support
2019-05-21 08:36:31 +02:00
Nextcloud bot af680f285e
[tx-robot] updated from transifex 2019-05-21 02:13:28 +00:00
Roeland Jago Douma f03eb7ec3c
Remote wipe support
This allows a user to mark a token for remote wipe.
Clients that support this can then wipe the device properly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-20 20:50:27 +02:00
Julius Härtl 8f11d2a39b
Only show sharing section if it has content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-20 18:07:24 +02:00
Nextcloud bot b47be33821
[tx-robot] updated from transifex 2019-05-20 02:13:14 +00:00
Arthur Schiwon 3372bcc7fc
fixes possible override of uniqueMember by autodetection
* uniqueMember was the default so we did not know whether this setting is
  desired or the initial value
* autodetection of the user-group association attribute runs only when it
  was not set (as far as we knew)
* the default is now empty
* thus LDAPProvider might return this value as well (in exceptional cases)
* if a group base is given (edge case), use this instead of general base
* resolves #12682

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-17 16:19:23 +02:00
Morris Jobke a3b4410283
Merge pull request #15571 from nextcloud/enhancement/maintenance-mode-bundle
Migrate the maintenance script to a modern module and bundle
2019-05-17 14:08:58 +02:00
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login
Once 2FA is enforced for a user and they have no 2FA setup yet this will
now prompt them with a setup screen. Given that providers are enabled
that allow setup then.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-17 10:11:53 +02:00
Christoph Wurst 0cfcccee29
Migrate the maintenance script to a modern module and bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-16 16:45:00 +02:00
Roeland Jago Douma 1cfc59c3ad
Merge pull request #15497 from nextcloud/3rdparty/doctrine/dbal-292
[3rdparty] Doctrine dbal to 2.9.2
2019-05-15 08:57:13 +02:00
Roeland Jago Douma 9fe4d8e7a1
Merge pull request #15336 from epma01/redis-patch
Fix Redis with unix socket #730
2019-05-15 08:43:20 +02:00
Alejandro Varela f6d069ee58 Fix Redis with unix socket
Signed-off-by: Alejandro Varela <epma01@gmail.com>
2019-05-14 18:59:17 +02:00
Roeland Jago Douma d11caf1a3a
No need for platform hacks anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-14 12:24:43 +02:00
Christoph Wurst 0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 11:14:29 +02:00
Christoph Wurst 6b46d9f2e5
Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 21:30:01 +02:00
Morris Jobke 361836675c
Show supported apps in app management
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-13 13:36:02 +02:00
Morris Jobke 74ad4cce83
Merge pull request #15495 from nextcloud/feature/noid/support-app-integration
Add interfaces to interact with subscription from support app
2019-05-13 13:34:19 +02:00
Morris Jobke 83b00a99fa
Add interfaces to interact with subscription from support app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-13 11:04:47 +02:00
Nextcloud bot 5d48a20927
[tx-robot] updated from transifex 2019-05-12 00:22:01 +00:00
Nextcloud bot 4cd7900d4f
[tx-robot] updated from transifex 2019-05-10 00:13:05 +00:00
Morris Jobke d49ee41fe3
Update autoloader
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-09 15:26:43 +02:00
Christoph Wurst d3a244f9d9
Allow crash reporters to catpture any message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-09 14:06:44 +02:00
Morris Jobke f095bd1642
Use non-absolute logout URL to fix wrong URL in reverse proxy scenario
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-08 18:02:00 +02:00
Morris Jobke a2ad5d021f
Merge pull request #15308 from nextcloud/fix/13550/logging
remove setup args from logging
2019-05-08 15:50:54 +02:00
Joas Schilling a79da346b6
fix class might be undefined
Co-Authored-By: blizzz <blizzz@arthur-schiwon.de>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-08 10:04:19 +02:00
Morris Jobke 4cb66fd0b6
Merge pull request #15259 from nextcloud/bugfix/15256-wrong-column-type
Make access column a real boolean
2019-05-07 23:52:02 +02:00
Christoph Wurst 170582d4f5
Add a login chain to reduce the complexity of LoginController::tryLogin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 18:04:36 +02:00
Robin Appelman 6a30c65a32
remove extra param in cache update call
param was leftover from earlier iterations of the "update event"

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-07 14:53:02 +02:00
Christoph Wurst acf0ca1541
Move OC.appswebroots to the bundle and deprecate oc_appswebroots
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:03:14 +02:00
Arthur Schiwon d6d1666600
remove args from logging of common-spelled methods dependent on class
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-07 00:19:48 +02:00
Arthur Schiwon 4ad8d0c0d8
remove setup args from logging
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-06 23:59:45 +02:00
blizzz 0e6e2a9ac6
Merge pull request #15385 from nextcloud/bugfix/noid/broken-federated-shares
Make sure all middlewares are only registered once
2019-05-06 23:37:22 +02:00
Christoph Wurst 249a5dbdba
Move oc_webroot, OC.webroot and OC.getRootPath() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 17:55:30 +02:00
Joas Schilling 471827cb31
Make sure all middlewares are only registered once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-05-06 11:28:18 +02:00
Christoph Wurst 6095ef2235
Move oc_debug to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 10:12:47 +02:00
Nextcloud bot 403494c79e
[tx-robot] updated from transifex 2019-05-05 00:13:05 +00:00
Christoph Wurst d68be1ae4d
Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-03 15:49:49 +02:00
Daniel Kesselberg f79b0d2f75
Add second migration for addColumn
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-02 21:10:48 +02:00
Daniel Kesselberg 658edacf23
Set type for access column on cacheAccessForCollection
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-02 21:10:47 +02:00
Daniel Kesselberg 057ca15995
Migration to change column type from smallint to boolean
On pqsql true/false is no valid value for an integer column.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-02 21:10:42 +02:00
Christoph Wurst 9b79aa664d
Move oc_config to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 09:42:32 +02:00
Nextcloud bot 5e8cedab9f
[tx-robot] updated from transifex 2019-05-01 00:12:41 +00:00
Morris Jobke 4907b4e7e2
Merge pull request #15289 from nextcloud/bugfix/15229/fix-non-default-prefixes
Remove the custom prefix from the table name length when checking on …
2019-04-30 14:18:55 +02:00
Joas Schilling b3e6cbc4c5
Remove the custom prefix from the table name length when checking on the default primary index
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-30 12:08:52 +02:00
Arthur Schiwon 009c2dfbd5
take return of mkdir into account, throw exception on failure
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-29 16:45:59 +02:00
Nextcloud bot 01410491b9
[tx-robot] updated from transifex 2019-04-29 00:12:39 +00:00
Nextcloud bot 690e5beb11
[tx-robot] updated from transifex 2019-04-28 00:12:35 +00:00
Nextcloud bot 31205af3ac
[tx-robot] updated from transifex 2019-04-27 00:12:36 +00:00
Nextcloud bot afbf6ef090
[tx-robot] updated from transifex 2019-04-26 00:12:33 +00:00
Roeland Jago Douma 33946655b9
Merge pull request #15141 from nextcloud/fix/noid/regenerate-seen-users-only
fix searching all users in repair regenerate birthday cal reparir job
2019-04-24 19:58:53 +02:00
Arthur Schiwon 96bab4f969
remove obsolete use statements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-04-24 16:24:53 +02:00
Roeland Jago Douma 402930521a
Merge pull request #15168 from nextcloud/fix/13554/always_tmpfile_for_swift
Always use a temp file for swift writes
2019-04-24 09:00:17 +02:00
John Molakvoæ 0125d17b4c
Merge pull request #15165 from nextcloud/techdebt/noid/cleanup-legacy-share-code
Deprecate legacy share code and cleanup some unused methods
2019-04-23 15:57:26 +02:00
Nextcloud bot e4ce1f9fc1
[tx-robot] updated from transifex 2019-04-22 00:12:49 +00:00
Nextcloud bot 49829482c8
[tx-robot] updated from transifex 2019-04-21 00:13:10 +00:00
Nextcloud bot 1f288533f5
[tx-robot] updated from transifex 2019-04-20 00:12:52 +00:00
Nextcloud bot b566998b05
[tx-robot] updated from transifex 2019-04-19 00:12:46 +00:00
Roeland Jago Douma dedb84acb0
Always use a temp file for swift writes
Apparently the if statement doesn't work in all cases (even if I could
not reproduce it). So for the time being we will just not directly
stream to swift.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-18 21:04:27 +02:00
Morris Jobke 582b679ca9
Deprecate legacy share code and cleanup some unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-18 17:44:14 +02:00
Morris Jobke 9f9b89fcc7
Merge pull request #14572 from nextcloud/techdebt/noid/cleanup-legacy-share.php-from-unused-code
Cleanup legacy Share.php from unused code
2019-04-18 16:15:33 +02:00
Morris Jobke 049d613dba
Merge pull request #15152 from nextcloud/enhancement/noid/contactsmenu-sharing-enum-settings
Respect sharing enumeration config in contacts menu
2019-04-18 15:00:02 +02:00
Morris Jobke e55e425a59
Merge pull request #14363 from nextcloud/debt/cleanup-httpservice
Set User-Agent as header without middleware
2019-04-18 14:58:52 +02:00
Julius Härtl db17c14f80
Respect sharing enumeration config in contacts menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-18 11:39:49 +02:00
Morris Jobke c7df809465
Cleanup legacy Share.php from unused code
* the code was only used by tests and thus this reduces the code to the used paths and removes the branches that wouldn't be used anyway to reduce complexity and gain some overview while working towards completely removing this class

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-17 22:58:33 +02:00
Roeland Jago Douma 5382eeccb0
Merge pull request #15129 from nextcloud/enh/share_repair_step
Enh/share repair step
2019-04-17 10:12:32 +02:00
Daniel Kesselberg fd1d85365c
Refactor getProxyUri
Get proxyuserpwd only if proxy not empty.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-04-16 21:13:29 +02:00
Daniel Kesselberg 2708d26407
Set User-Agent as header without middleware
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-04-16 21:13:29 +02:00
Joas Schilling 093c308b58
Add return types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-16 15:42:21 +02:00
Joas Schilling fb396fe436
Use the querybuilder for the queries
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-16 15:42:21 +02:00
Joas Schilling f906913177
Allow to use Subqueries in from
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-16 15:42:21 +02:00
Roeland Jago Douma 24d6a28f80
Repair step for link shares
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-16 15:42:21 +02:00
Roeland Jago Douma 7276735eb4
Set empty CSP by default
For #14179

By default responses should have the strictest (and simplest) CSP
possible. Only template responses should require an actual CSP.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-16 14:09:39 +02:00
Morris Jobke 798b267d49
Do not use spaces in generated passwords
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-15 16:29:52 +02:00
Nextcloud bot d3332f516f
[tx-robot] updated from transifex 2019-04-14 00:13:26 +00:00
Leon Klingele 9a5ca231bf
lib/private/User: do not change user properties if value has not changed 2019-04-11 11:20:41 +02:00
Leon Klingele 3eb0d4f1a4
lib/private/User,apps/user_ldap/lib/User: always pass old value to User::triggerChange 2019-04-11 11:20:41 +02:00
Morris Jobke ccabc63a09
Merge pull request #15020 from nextcloud/bugfix/noid/fix-too-many-event-triggers
Bugfix/noid/fix too many event triggers
2019-04-11 11:19:11 +02:00
Morris Jobke 757a841d14
Merge pull request #15052 from nextcloud/fix/noid/pass-oldvalue
Pass old value to user triggerChange hook & do not update unchanged attributes
2019-04-11 11:18:41 +02:00
Leon Klingele f420647add
lib/private/User: do not change user properties if value has not changed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11 10:11:05 +02:00
Morris Jobke 36618b111f
Pass old value to user triggerChange hook
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11 10:03:38 +02:00
Roeland Jago Douma 7e7146db7f
Block install without CAN_INSTALL file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-11 09:32:33 +02:00
Nextcloud bot 7641a1589f
[tx-robot] updated from transifex 2019-04-11 00:12:59 +00:00
Morris Jobke 302c10b836
Merge pull request #14994 from nextcloud/feature/noid/pre-releases-for-beta-and-daily
Enable pre-releases for beta and daily channel
2019-04-10 23:02:05 +02:00
Maxence Lange 6684bf4570 +isAvailable()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-04-10 11:46:20 -01:00
Morris Jobke 1416ef65e4
Merge pull request #15016 from nextcloud/enh/no-eval-default-response
Forbid eval on legacy responses
2019-04-09 12:27:28 +02:00
Joas Schilling ca0b70eb2f
Remove unnecessary event dispatcher
The event is already triggered in OC\User\User::triggerChange

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-09 11:28:33 +02:00
Joas Schilling 38f8f7cbf4
Don't get the avatar when we don't operate anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-09 11:23:06 +02:00
Roeland Jago Douma 3b1e16458d
Forbid eval on legacy responses
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-09 09:58:23 +02:00
Nextcloud bot ec4b1584fe
[tx-robot] updated from transifex 2019-04-09 00:12:59 +00:00
Joas Schilling 8e278a2c38
Enable pre-releases for beta and daily channel
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-08 15:23:44 +02:00
Roeland Jago Douma 5d360bd16f
Harden appdata putcontent
If for whatever reason appdata got into a strange state this will at
least propegate up and not make it do boom the next run.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-08 13:22:00 +02:00
Nextcloud bot 845fd2dd5a
[tx-robot] updated from transifex 2019-04-04 00:13:21 +00:00
Nextcloud bot d4ba399706
[tx-robot] updated from transifex 2019-04-03 00:13:35 +00:00
Daniel Kesselberg 23d7fdeef0
Skip check if CONSTANT on real object is used
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-04-01 14:31:29 +02:00
Joas Schilling a7c0254b45
Merge pull request #14902 from nextcloud/bugfix/noid/fix-non-default-prefix
Indeces, columns and sequences don't have the table prefix
2019-04-01 09:03:30 +02:00
Nextcloud bot c55ac95e1b
[tx-robot] updated from transifex 2019-04-01 00:13:54 +00:00
Nextcloud bot 809058cb3c
[tx-robot] updated from transifex 2019-03-30 01:13:33 +00:00
Roeland Jago Douma fb5eebd33b
Merge pull request #14892 from nextcloud/bugfix/noid/collections
Bugfix/noid/collections
2019-03-29 10:25:59 +01:00