Thomas Müller
d2d99a91a0
fix swift primary object store test (#25281)
* Wait for socket to be open
* Fix call on null
* Allow DB access for MountProviderTest
Makes unit tests pass when using object store, since their FS access is
actually oc_filecache DB access. It is currently not possible to mock
or bypass the logic from "SharedMount::verifyMountPoint()" triggered by
this test.
пре 8 година
Thomas Pulzer
90b7f74da7
Changed name of default logfile from owncloud.log to nextcloud.log.
пре 8 година
Lukas Reschke
700a57d8b6
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.
пре 8 година
Morris Jobke
01829e8d7c
mysql only works with 3 byte UTF-8
пре 8 година
Thomas Müller
b55ab6d22a
Various database migration fixes (#25209)
* String columns with a length higher then 4000 are converted into a CLOB columns automagically - we have to respect this when migrating
* Adding schema migration tests to prevent unnecessary and non-sense migration steps
Fix Oracle autoincrement and unsigned handling
* Fix sqlite integer type for autoincrement
* Use lower case table names - fixes pg
* Fix postgres with default -1 - this only affect pg 9.4 servers - 9.5 seems to work fine
пре 8 година
Christoph Wurst
c9a2790893
prevent users from deleting their own session token
пре 8 година
Christoph Wurst
1710de8afb
Login hooks (#25260)
* fix login hooks
* adjust user session tests
* fix login return value of successful token logins
* trigger preLogin hook earlier; extract method 'loginWithPassword'
* call postLogin hook earlier; add PHPDoc
пре 8 година
Bjoern Schiessle
2a990a0db5
verify user password on change
пре 8 година
Bjoern Schiessle
d4989c8037
remove old hook, no longer needed
пре 8 година
Bjoern Schiessle
630e4b1b46
check password for link shares
пре 8 година
Christoph Wurst
89198e62e8
check login name when authenticating with client token
пре 8 година
Vincent Petry
0ad065cb8d
Repair step to adjust link share delete permissions
пре 8 година
Vincent Petry
955635c7aa
Add explicit delete permission to link shares
Link shares always allowed deletion, however internally the permissions
were stored as 7 which lacked delete permissions. This created an
inconsistency in the Webdav permissions.
This fix makes sure we include delete permissions in the share
permissions, which now become 15.
In case a client is still passing 7 for legacy reasons, it gets
converted automatically to 15.
пре 8 година
VicDeo
854352d9a0
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
пре 8 година
Christoph Wurst
b805908dca
update session token password on user password change
пре 8 година
Morris Jobke
62e6de5df3
fix unit tests
пре 8 година
Christoph Wurst
56199eba37
fix unit test warning/errors
пре 8 година
Christoph Wurst
fb36fd495b
fix DefaultTokenMapperTest
пре 8 година
Christoph Wurst
5c68084823
fix default token provider tests
пре 8 година
Christoph Wurst
8ef5431e7a
fix user session tests
пре 8 година
Christoph Wurst
c4149c59c2
use token last_activity instead of session value
пре 8 година
Christoph Wurst
82b50d126c
add PasswordLoginForbiddenException
пре 8 година
Christoph Wurst
3521f974db
assert app is loaded in unit tests
пре 8 година
Christoph Wurst
a40d64ff7f
load 2FA provider apps before querying classes
пре 8 година
Roeland Jago Douma
ea4c5e6e0a
Fix unit tests
пре 8 година
Joas Schilling
123bf78ca8
Clean up tags of deleted users
пре 8 година
Christoph Wurst
465807490d
create session token only for clients that support cookies
пре 8 година
Roeland Jago Douma
64471b5d4a
Remove shares of the root folder
Fixes #23265
(A possibly costly) repair job to remove cyclic shares.
пре 8 година
Christoph Wurst
5daa9a5417
fail hard if 2fa provider can not be loaded (#25061)
пре 8 година
Joas Schilling
60225284f3
Add not-null columns for oracle
пре 8 година
Roeland Jago Douma
1b66db72d9
Repair job to fix permissions for avatars
Fixes #22978
On some older installations the permissions for the userRoot and the
avatars are not correct. This breaks since we now use the Node API in
the avatar code.
This repair job makes sure that the permissions are set correctly.
* Unit tests added
пре 8 година
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
пре 8 година
Thomas Müller
232d735893
Do not leak the login name - fixes #25047
пре 8 година
Roeland Jago Douma
7d51fd0310
Add repair step to clean old calendar/contact shares
fixes #21889
пре 8 година
Bjoern Schiessle
bb54ab0db8
add hide file list option
пре 8 година
Joas Schilling
7f88645eab
Allow to cancel 2FA after login
пре 8 година
Robin Appelman
bee918693a
dissalow symlinks in local storages that point outside the datadir
пре 8 година
Joas Schilling
4f27c2c433
Allow to decrypt user '0' files only
пре 8 година
Christoph Wurst
60e15e934c
do not generate device token if 2FA is enable for user
пре 8 година
Joas Schilling
0041d89dc2
Do not allow to store boolean configs, they behave unexpected on postgres
пре 8 година
Robin Appelman
67c2c85b05
allow deleting "ghost files" trough the View and Node api
пре 8 година
Joas Schilling
e49307014c
Do not log token or challenge with exception stacktrace (#25026)
* Make the filtering better readable
* Add some more methods to the sensitive list
пре 8 година
Christoph Wurst
9997c431c3
use client login method on CORS routes
пре 8 година
Christoph Wurst
ec929f07f2
When creating a session token, make sure it's the login password and not a device token
пре 8 година
Joas Schilling
3e3b326c85
Allow to cancel 2FA after login
пре 8 година
Morris Jobke
38451c85f1
skip failing tests
пре 8 година
Robin Appelman
7b1b723e5b
dissalow symlinks in local storages that point outside the datadir
пре 8 година
Joas Schilling
d4ba982131
Allow to decrypt user '0' files only
пре 8 година
Christoph Wurst
8f7a4aaa4d
do not generate device token if 2FA is enable for user
пре 8 година
Joas Schilling
911fd3ead4
Do not allow to store boolean configs, they behave unexpected on postgres
пре 8 година