Christoph Wurst
f0f8bdd495
PHPDoc and other minor fixes
8 years ago
Christoph Wurst
dff108e97b
fix mock builder for old phpunit versions
8 years ago
Christoph Wurst
fbb5768587
add unit tests for all new classes
8 years ago
Christoph Wurst
aa85edd224
increase token column width
add some range to time() assertions
8 years ago
Christoph Wurst
8cc5f6036f
Fix existing tests
8 years ago
Christoph Wurst
aafd660b97
fix LoginController unit tests
8 years ago
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 years ago
Roeland Jago Douma
9e1d9871a8
Move OC_User_Database to \OC\User\Database
8 years ago
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 years ago
Roeland Jago Douma
108bd26856
Fix unit tests broken after #24457
Timeout was increased but tests were not updated.
8 years ago
Vincent Petry
caefe23bb6
Send permalink in internal share notification emails
8 years ago
Joas Schilling
9fbb8ce302
Do not save the language as request lang for apps when we didn't find any
8 years ago
Thomas Müller
71fa0a75bf
Allow declaration of background jobs in info.xml
8 years ago
Roeland Jago Douma
fc82047e26
Move OC_Log_xx to \OC\Log namespace
8 years ago
Roeland Jago Douma
0cb434686c
Move OC_Archive_XX to PSR-4
* Fix code
* Fix tests
8 years ago
Joas Schilling
7bfc617b03
Move activity manager to the namespace
8 years ago
Joas Schilling
3397e27657
Remove the password from the validateUserPass() method as well
8 years ago
Thomas Müller
9c9fec36dd
Add occ commands to enable and disable a user + a disabled user can no longer login - fixes #23838
8 years ago
Thomas Müller
e049953d1a
OC_Installer -> \OC\Installer
8 years ago
Thomas Müller
54f45f95f5
Adding repair steps for install and uninstall - fixes #24306
8 years ago
Joas Schilling
a85be14b62
Add the DB group for tests that require the database
8 years ago
Bernhard Posselt
4c1b55be92
allow app developers to specify the minimum int size
simplify comparison
remove additional null
fix off by 1 error
8 years ago
Thomas Müller
bbd2a07525
Remove emitter from class Repair
8 years ago
Robin McCorkell
77cec29b10
Prevent concurrent availability checks
8 years ago
Robin Appelman
2f01c83a01
add tests
8 years ago
Christoph Wurst
e93bf80b29
throw SessionNotAvailableException if session_id returns empty string
8 years ago
Thomas Müller
2ee7d2485c
Introduce background repair steps
8 years ago
Robin Appelman
61054df36d
triger the propagator from the command line scanner
8 years ago
Thomas Müller
c7542c02db
Introduce OCP\Migration\IRepairStep and adopt all repair steps to this new interface - refs #24198
8 years ago
Christoph Wurst
0d53e86421
add ISession::getId() wrapper for session_id
8 years ago
Roeland Jago Douma
4eebccd81f
Fix inconsistent nameing of AppFramework
8 years ago
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 years ago
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 years ago
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 years ago
Thomas Müller
d0030aad6c
Remove deprecated HTTPHelper from InfoParser
8 years ago
Lukas Reschke
06a4da43ec
[master] Ignore certificate file if it starts with file://
8 years ago
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 years ago
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 years ago
Roeland Jago Douma
92abb5f23d
Fix tests
8 years ago
Lukas Reschke
8222ad5157
Move logout to controller
Testable code. Yay.
8 years ago
Thomas Müller
1626850fc9
Remove deprecated HTTPHelper
8 years ago
Thomas Müller
5c3183cedd
Move version check code out of class Updater
8 years ago
Roeland Jago Douma
a2c8597b00
Add occ command for updating the data-fingerprint
8 years ago
Lukas Reschke
fee95084ae
Rename `username` to `loginName`
UID and login name are two different things.
8 years ago
Lukas Reschke
8a650a51be
Use !== instead of empty
Users can be named null
8 years ago
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 years ago
Thomas Müller
50e20e531e
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786
8 years ago
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 years ago
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 years ago
Lukas Reschke
ef93ec8bc2
Add test
8 years ago