Christoph Wurst
f0f8bdd495
PHPDoc and other minor fixes
пре 8 година
Christoph Wurst
dff108e97b
fix mock builder for old phpunit versions
пре 8 година
Christoph Wurst
fbb5768587
add unit tests for all new classes
пре 8 година
Christoph Wurst
aa85edd224
increase token column width
add some range to time() assertions
пре 8 година
Christoph Wurst
8cc5f6036f
Fix existing tests
пре 8 година
Christoph Wurst
aafd660b97
fix LoginController unit tests
пре 8 година
Roeland Jago Douma
f6ee738ba8
Add \OC\User\Backend
Since some apps (ldap et al) still depend on OC_User_Backend this seemed
like the cleanest approach.
пре 8 година
Roeland Jago Douma
9e1d9871a8
Move OC_User_Database to \OC\User\Database
пре 8 година
Lukas Reschke
8b428d84c0
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.
пре 8 година
Roeland Jago Douma
108bd26856
Fix unit tests broken after #24457
Timeout was increased but tests were not updated.
пре 8 година
Vincent Petry
caefe23bb6
Send permalink in internal share notification emails
пре 8 година
Joas Schilling
9fbb8ce302
Do not save the language as request lang for apps when we didn't find any
пре 8 година
Thomas Müller
71fa0a75bf
Allow declaration of background jobs in info.xml
пре 8 година
Roeland Jago Douma
fc82047e26
Move OC_Log_xx to \OC\Log namespace
пре 8 година
Roeland Jago Douma
0cb434686c
Move OC_Archive_XX to PSR-4
* Fix code
* Fix tests
пре 8 година
Joas Schilling
7bfc617b03
Move activity manager to the namespace
пре 8 година
Joas Schilling
3397e27657
Remove the password from the validateUserPass() method as well
пре 8 година
Thomas Müller
9c9fec36dd
Add occ commands to enable and disable a user + a disabled user can no longer login - fixes #23838
пре 8 година
Thomas Müller
e049953d1a
OC_Installer -> \OC\Installer
пре 8 година
Thomas Müller
54f45f95f5
Adding repair steps for install and uninstall - fixes #24306
пре 8 година
Joas Schilling
a85be14b62
Add the DB group for tests that require the database
пре 8 година
Bernhard Posselt
4c1b55be92
allow app developers to specify the minimum int size
simplify comparison
remove additional null
fix off by 1 error
пре 8 година
Thomas Müller
bbd2a07525
Remove emitter from class Repair
пре 8 година
Robin McCorkell
77cec29b10
Prevent concurrent availability checks
пре 8 година
Robin Appelman
2f01c83a01
add tests
пре 8 година
Christoph Wurst
e93bf80b29
throw SessionNotAvailableException if session_id returns empty string
пре 8 година
Thomas Müller
2ee7d2485c
Introduce background repair steps
пре 8 година
Robin Appelman
61054df36d
triger the propagator from the command line scanner
пре 8 година
Thomas Müller
c7542c02db
Introduce OCP\Migration\IRepairStep and adopt all repair steps to this new interface - refs #24198
пре 8 година
Christoph Wurst
0d53e86421
add ISession::getId() wrapper for session_id
пре 8 година
Roeland Jago Douma
4eebccd81f
Fix inconsistent nameing of AppFramework
пре 8 година
Vincent Petry
13c01e62cf
Mark $usersSetup only if user was found in initMountPoints
initMountPoints is marking a user as successfully initialized too
early. If the user was not found an NoUserException was thrown, the
second time initMountPoints is called would not rethrow the exception
and happily continue.
This fix makes sure that we consistently throw NoUserException when
initMountPoints is called repeatedly with invalid users.
пре 8 година
Vincent Petry
085bcd7da2
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.
пре 8 година
Joas Schilling
04cee6a7db
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.
пре 8 година
Thomas Müller
d0030aad6c
Remove deprecated HTTPHelper from InfoParser
пре 8 година
Lukas Reschke
06a4da43ec
[master] Ignore certificate file if it starts with file://
пре 8 година
Roeland Jago Douma
0dbcbc4cae
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
пре 8 година
Roeland Jago Douma
dd7e0d13e5
Move the group dummy backend to test
The dummy backend is only used for testing and should thus reside in
tests.
пре 8 година
Roeland Jago Douma
92abb5f23d
Fix tests
пре 8 година
Lukas Reschke
8222ad5157
Move logout to controller
Testable code. Yay.
пре 8 година
Thomas Müller
1626850fc9
Remove deprecated HTTPHelper
пре 8 година
Thomas Müller
5c3183cedd
Move version check code out of class Updater
пре 8 година
Roeland Jago Douma
a2c8597b00
Add occ command for updating the data-fingerprint
пре 8 година
Lukas Reschke
fee95084ae
Rename `username` to `loginName`
UID and login name are two different things.
пре 8 година
Lukas Reschke
8a650a51be
Use !== instead of empty
Users can be named null
пре 8 година
Lukas Reschke
331e4efacb
Move login form into controller
First step on getting the authorisation stuff cleaned up. This is only for the login form, all other stuff is still where it is.
пре 8 година
Thomas Müller
50e20e531e
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786
пре 8 година
Robin McCorkell
4717605d22
Fix storage backend class namespaces and move to subdir
All classes that were previously \OC\Files\Storage\FooBar are now
\OCA\Files_External\Lib\Storage\FooBar
пре 8 година
Roeland Jago Douma
6144ced7a0
Move post_removeFromGroup to shareManager
The last sharing hook to be moved over.
* Added unit tests
* Removed old tests that relied on old behaviour
* Removed old hooks.php
пре 8 година
Lukas Reschke
ef93ec8bc2
Add test
пре 8 година