Joas Schilling
5a7dfcacc5
Make sure we don't scan files that can not be accessed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02 11:14:47 +01:00
Joas Schilling
1d9738006a
Only trigger postDelete hooks when the user was deleted...
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 14:18:01 +02:00
Joas Schilling
203c5f745e
Make sure that comments, notifications and preferences are deleted
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 14:18:01 +02:00
Joas Schilling
40ad62306d
Use the same URL everywhere
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 15:19:39 +02:00
Joas Schilling
182f6ec6c6
Return the autoupdater value from the server
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 15:06:59 +02:00
Joas Schilling
4071982454
Change updater URL
2016-09-08 12:28:32 +02:00
Bjoern Schiessle
6f3d9ec024
getJailedPath expects to have a trailing /
2016-08-10 11:35:38 +02:00
Morris Jobke
f593a09360
Revert "occ web executor ( #24957 )"
...
This reverts commit 9fcb26910e .
2016-07-07 12:08:10 +02:00
Morris Jobke
11e834ea74
Merge branch 'stable9' into sync-stable9
2016-07-07 12:03:34 +02:00
Björn Schießle
756b0c05b6
Merge pull request #282 from nextcloud/fix-tests
...
Fix unit test compatibility issues with phpunit 5.2+
2016-07-01 17:11:19 +02:00
Joas Schilling
ce6009e475
Fix Single execution of preview tests
2016-07-01 16:41:46 +02:00
Joas Schilling
75c172a062
Fix Share Manager tests with phpunit 5.2+
2016-07-01 16:08:26 +02:00
Joas Schilling
777dbec369
Fix Notification tests with phpunit 5.2+
2016-07-01 16:05:16 +02:00
Joas Schilling
ea9c79b7c0
Fix Appframework tests with phpunit 5.2+
2016-07-01 16:05:00 +02:00
Joas Schilling
197e94457f
Fix AvatarControllerTest with phpunit 5.2+
2016-07-01 16:04:25 +02:00
Joas Schilling
8ab26381a4
Clear the storage wrappers after clearing the hooks
2016-07-01 15:42:19 +02:00
VicDeo
9fcb26910e
occ web executor ( #24957 )
...
* Initial web executor
* Fix PHPDoc
Fix broken integration test
OccControllerTests do not require database access - moch them all!
Kill unused sprintf
2016-07-01 11:31:57 +02:00
Thomas Müller
4ac256ea6c
[stable9] Fix decrypt message stable9 ( #25188 )
...
* Fix Decrypt message via occ
* Comments fixed
* Fixed reviews
* Originally:
commit 2304e4bda027e61ff1302c55c2f70f8e4c8f47d0
Author: Joas Schilling <nickvergessen@owncloud.com>
Date: Tue Jun 7 09:13:11 2016 +0200
Allow to decrypt user '0' files only
* Fix uid comparison
2016-07-01 11:30:39 +02:00
Lukas Reschke
29929c9728
Merge pull request #240 from nextcloud/password_policy_events_stable9
...
[stable9] add events to check passwords with the password policy app
2016-06-30 15:06:40 +02:00
Lukas Reschke
94975af6db
[stable9] Set content-type to "application/octet-stream"
...
Some browsers such as Firefox on Microsoft Windows otherwise do offer to open the file directly which is kinda silly.
Backport of https://github.com/nextcloud/server/pull/258
2016-06-30 13:04:54 +02:00
Bjoern Schiessle
27059107f8
add events to check passwords with the password policy app
2016-06-28 11:43:23 +02:00
Morris Jobke
8abf6e0ed1
fixed code
2016-06-20 18:50:56 +02:00
Vincent Petry
7aa825f7dc
Revert "[stable9] Remove shares of the root folder" ( #25157 )
2016-06-17 11:08:26 +02:00
Vincent Petry
b5d3e877f1
Remove shares of the root folder ( #25138 )
2016-06-17 10:06:08 +02:00
Lukas Reschke
202530f4f3
Soften the cookie check if no cookies are sent
...
When no cookies are sent it is not required to perform any check for the strict or lax cookie, it does not provide any significant security advantage.
It does however interfer with the Android client which requests thumbnails from the unofficial API at `/index.php/apps/files/api/v1/thumbnail/256/256/{filename}`. This endpoint expects the strict cookie to be existent to not leak the existence of files. The Android client authenticates against this endpoint using Basic Auth and without cookies in some cases at least. This will make these endpoints work again with such cases.
To test this issue the following cURL command once without the patch and once with:
> curl http://localhost/index.php/apps/files/api/v1/thumbnail/256/256/welcome.txt -u admin -v
Without the patch the request is redirected (which the client does not obey) and with the patch the preview is returned.
2016-06-15 11:50:26 +02:00
Arthur Schiwon
a761fd65f0
Merge branch 'stable9' of https://github.com/owncloud/core into downstream-160613
2016-06-13 23:45:21 +02:00
Roeland Douma
7863987b19
Repair job to fix permissions for avatars ( #25068 )
...
Backport of #24898
Cherry-picked:
1b66db72d9
60225284f3
28d9ad2817
But manually since we renamed stuff and the repair procedures changed
2016-06-13 12:47:02 +02:00
Lukas Reschke
470f23c8b9
Merge pull request #54 from nextcloud/backport-upload-only-shares
...
[stable9] Backport files drop feature
2016-06-13 00:26:47 +02:00
Lukas Reschke
eb7ed2356f
[stable9] Use custom updater URL
2016-06-12 23:49:23 +02:00
Lukas Reschke
68c38ae8c2
[stable9] Backport files drop feature
2016-06-11 11:38:16 +02:00
Lukas Reschke
2c6a5fcf91
Add Same Site Cookie protection
2016-06-10 17:15:43 +02:00
Morris Jobke
34727f26d0
skip failing tests
2016-06-07 19:24:56 +02:00
Vincent Petry
8f04bf3793
Backport of share id as string fix
2016-06-01 17:48:35 +02:00
Joas Schilling
5da9f10af2
Remove the password from the validateUserPass() method as well
2016-05-19 12:11:31 +02:00
Vincent Petry
de97110f58
Merge pull request #24441 from owncloud/backport-24432-never-save-app-language-into-request-lang
...
[9.0] Do not save the language as request lang for apps when we didn't find…
2016-05-17 16:15:05 +02:00
Lukas Reschke
3505776b6e
Make update server URL configurable
...
Currently testing the updates is a big problem and not really super easy possible. Since we now have a new updater server we should also make this configurable so that people can properly test updates.
2016-05-11 14:37:53 +02:00
Joas Schilling
f7f9ef55b6
Do not save the language as request lang for apps when we didn't find any
2016-05-04 14:07:07 +02:00
C. Montero Luque
fe753fe722
Merge branch 'stable9' into local-invalid-9
2016-04-26 16:46:23 -04:00
Robin Appelman
884c8215f8
add tests
2016-04-26 20:17:17 +02:00
Robin Appelman
1397d9a93c
triger the propagator from the command line scanner
2016-04-25 18:29:57 +02:00
Thomas Müller
57b9ae18f0
Merge pull request #24196 from owncloud/backport-24183-change-background-job-sort-order
...
[9.0] Change the sort order of background jobs to be DESC instead of ASC
2016-04-22 17:26:26 +02:00
Joas Schilling
3e1dc64737
Change the sort order of background jobs to be DESC instead of ASC
...
In theory, if your instance ever creates more jobs then your system cron can
handle, the default background jobs get never executed anymore. Because
everytime when the joblist returns the next job it looks for the next ID,
however there is always a new next ID, so it will never wrap back to execute
the low IDs. But when we change the sort order to be DESC, we make sure that
these low IDs are always executed, before the system jumps back up to
execute the new IDs.
2016-04-22 14:11:26 +02:00
Vincent Petry
27d12f7a99
Throw NoUserException when attempting to init mount point for null user
...
In some scenarios initMountPoints is called with an empty user, and
also there is no user in the session.
In such cases, it is unsafe to let the code move on with an empty user.
2016-04-22 14:02:55 +02:00
Thomas Müller
27d6852b3e
Merge pull request #24131 from owncloud/dont-transfer-files-to-not-ready-user-stable9
...
[9.0] Introduce isReadyForUser and verify in file transfer ownership
2016-04-22 10:33:18 +02:00
Lukas Reschke
830a080f0e
[stable9] Ignore certificate file if it starts with file://
2016-04-21 19:00:27 +02:00
Thomas Müller
df544e8dbe
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786
2016-04-20 20:25:22 +02:00
Roeland Jago Douma
2296552104
When the scanner detects a file is changed clear checksum
...
Fixes #23782 and #23783
If the file scanner detects a changed file we clear the checksum while
we update the cache.
* Unit test added
2016-04-20 19:09:26 +02:00
Joas Schilling
c43713515b
Remove duplicated message
2016-04-06 15:51:25 +02:00
Victor Dubiniuk
b87b27cbd9
Show hint in CLI
2016-04-06 15:34:16 +02:00
Victor Dubiniuk
118c39d472
Show cli notice for big installations
2016-04-05 17:13:31 +03:00