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
Stefan Weil
ee5f5eebe5
misc: Fix some typos
Some of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Thomas Müller
fdee771aca
Add unit testing capabilities for templates (#23708)
Add unit testing capabilities for templates
8 years ago
Roeland Douma
495a964ca2
Migrate post_groupDelete hook to share manager (#23841)
The hook now calls the share manager that will call the responsible
shareProvider to do the proper cleanup.
* Unit tests added
Again nothing should change it is just to cleanup old code
8 years ago
Roeland Jago Douma
2a0244df27
Fix mappertest
8 years ago
Roeland Jago Douma
f9ade49c7e
Fix notification tests
8 years ago
Roeland Jago Douma
b9b19cef41
Fix avatar controller tests
8 years ago
Roeland Jago Douma
e65e7a5ad7
Fix ShareManager tests
8 years ago
Roeland Jago Douma
bd3bde2f3b
Set proper permissions on link share
If we do not allow public upload we should limit the permissions on
links shares upon retrieval.
* Added unit test
* Allow fetching federated shares by token as well
8 years ago
Roeland Jago Douma
3fae4c82d2
Remove pre/post_addToGroup hooks for shares
There is no need to perform the checks for unique targets on add to
group as we have to do this all when mounting the shares anyway.
8 years ago
Robin Appelman
cdedda99e4
Make lock ttl configurable
8 years ago
Stefan Weil
02e226a6b3
tests: Fix typos (found by codespell)
Fix also a small grammar issue.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Thomas Müller
e515061ee7
Drop JS based acceptance tests - we have our behat based integration tests which are activly maintained
8 years ago