Thomas Müller
b55ac514ac
no nested xml tags on dependencies
9 years ago
Thomas Müller
086ec3de15
adding command dependency
9 years ago
Thomas Müller
b028a6afac
adjust dependency analyzer to use attributes properly
9 years ago
Thomas Müller
c80ec91f28
switch to different parsing implementation to get xml attributes properly handled
9 years ago
Thomas Müller
ba52c996cf
adding supported databases
9 years ago
Thomas Müller
b469e9f6fb
introduce dependency analyzer to take care of app dependencies
some more unit tests on xml info parser
9 years ago
Thomas Müller
f74d568bda
adding new dependency for php version in apps info.xml
9 years ago
Morris Jobke
e014a18b4a
drop files_external tests from autotest - they will be executed with autotest-external.sh which is coming
9 years ago
Joas Schilling
ea4c25609d
Replace uniqid calls with $this->getUniqueID so tests pass again on windows
9 years ago
Bjoern Schiessle
bf2c9be066
concatenate queries with 'or'
9 years ago
Joas Schilling
9cfae2ed44
Skip lostcontroller sending email test on windows
9 years ago
Joas Schilling
dfde04291e
Move share interfaces to own files so they can be autoloaded
9 years ago
Robin Appelman
33b64868d7
Add storage and cache wrappers to apply a permissions mask to a storage
9 years ago
Robin Appelman
abb6e89c5d
Add storage and cache wrappers to jail a storage to a subfolder
9 years ago
Lukas Reschke
048139074d
Add functions to modify cookies to response class
Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.
This PR adds some basic functionalities to add and invalidate cookies.
Usage:
```php
$response = new TemplateResponse(...);
$response->addCookie('foo', 'bar');
$response->invalidateCookie('foo');
$response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
```
Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
9 years ago
Joas Schilling
e1f3abf7a5
Correctly namespace and autoload DatabaseException
9 years ago
Thomas Müller
5d4b7e0e2b
fix failing unit test for the temp manager - concurrently executed unit tests influence each other
9 years ago
Joas Schilling
2c39aec8cb
Replace deprecated constant with new class constant
9 years ago
Thomas Müller
a6c088a1ef
adding new config parameter for sqlite to specify the journal mode
9 years ago
Thomas Müller
5ce34fbaf6
handle invalid xml file
9 years ago
Thomas Müller
d4f107d4dd
simplify xml parser code
9 years ago
Thomas Müller
c503ecd544
Introduce app info xml parser including basic unit test - necessary for #10777
9 years ago
Lukas Reschke
216d617938
Remove OC_Migrate
This is unused legacy code. Let it die with ~~~honor~~ fire.
Fixes https://github.com/owncloud/core/issues/12346
9 years ago
Bjoern Schiessle
a7ebfe87c9
also check for the correct owner if it was submitted
9 years ago
Miguel Prokop
397f14ed86
Consolidate if statement, and update unit test
9 years ago
Lukas Reschke
5f6f54e785
Rename providers to not begin with test
Fixes https://github.com/owncloud/core/issues/12347
9 years ago
Morris Jobke
75d37b69f6
fix unit tests of mdb2scheamreader
9 years ago
Morris Jobke
593ef76e36
Revert "drop OC_Preferences::getUsers and getApps"
This reverts commit 09fd34eed9
.
9 years ago
Morris Jobke
09fd34eed9
drop OC_Preferences::getUsers and getApps
9 years ago
Joas Schilling
b842059285
Remove testcleanuplistener.php
9 years ago
Joas Schilling
84d358a761
Clean up the test data in tearDownAfterClass()
The result of the listener should then be empty and can be removed
9 years ago
Joas Schilling
6202ca33ba
Make remaining files extend the test base
9 years ago
Joas Schilling
cb3a598cdb
Make root tests extend the \Test\TestCase
9 years ago
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
9 years ago
Joas Schilling
bb540722cd
Use base class to reset the file mapper
9 years ago
Bernhard Posselt
4e90c44301
add postfix
add postfix
9 years ago
Lukas Reschke
d0a30b0e55
Ignore port for trusted domains
This lead to a lot of confusion in the past and did not really offer any value. Let's remove the port check therefore. (it's anyways not really a part of the domain)
Fixes https://github.com/owncloud/core/issues/12150 and https://github.com/owncloud/core/issues/12123 and also a problem reported by @DeepDiver1975.
Conflicts:
lib/private/request.php
9 years ago
Bjoern Schiessle
01c50d242b
use the new base class for unit tests
9 years ago
Bjoern Schiessle
5192641447
make sure that we don't find the wrong shares if a user and a group have the same ID
9 years ago
Lukas Reschke
767b08c669
Use correct route instead
THX @schiesbn
(I should setup a mail server on my local system...)
9 years ago
Lukas Reschke
60ae2894aa
Fix scrutinizer issues
9 years ago
Lukas Reschke
1b50d4f7ce
Warn for password reset when files_encryption is enabled
This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password.
Furthermore I updated the code to use our new classes and added some unit tests for it :dancers:
Fixes https://github.com/owncloud/core/issues/11438
9 years ago
Joas Schilling
ccc1001138
Add tests for absolute paths on windows
9 years ago
Joas Schilling
806284f06c
Refactor tests to use a dataProvider method
9 years ago
Joas Schilling
6625d5c88f
Correctly restore previous root mount point after testing
9 years ago
Joas Schilling
289a27778e
Correctly refresh the apps list after removing the mock
9 years ago
Joas Schilling
53318c4bb5
Fix Files\Storage\Home::testRoot()
9 years ago
Joas Schilling
39ae569c5c
Correctly close handle of directory when listing certificates
9 years ago
Joas Schilling
a3a064fe96
Skip some more tests on Windows which just can not work at all
9 years ago
Lukas Reschke
cd5925036a
Check if app is enabled for user
Fixes https://github.com/owncloud/core/issues/12188 for AppFramework apps
9 years ago