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 години