Commit graph

100 commits

Author SHA1 Message Date
Robin Appelman
13515effc9 add Cache::getStatus 2012-10-08 14:58:21 +02:00
Robin Appelman
d9aa17d3f3 Merge branch 'phpunit' into filesystem 2012-10-08 14:28:08 +02:00
Robin Appelman
07eb1c159d load test cases from enabled apps 2012-10-08 14:26:51 +02:00
Robin Appelman
e7899e17de merge phpunit into filesystem 2012-10-08 13:53:53 +02:00
Robin Appelman
2de94f9c85 merge master into phpunit 2012-10-08 13:39:01 +02:00
Robin Appelman
671c8b94b1 better detect if we need to init the filesystem for the hooks test 2012-10-07 00:56:59 +02:00
Robin Appelman
4cdfc72d58 fix hook test when not logged in 2012-10-07 00:19:58 +02:00
Robin Appelman
f5b62fb2eb skip some test for storage backends that don't support touch 2012-10-06 13:45:46 +02:00
Robin Appelman
c4c8dd4e3a make archive test cases work again 2012-10-05 22:24:36 +02:00
Robin Appelman
30c2c2c5cd remove cache ttl tests, take a lot of time and don't work correctly for most backends anyway 2012-10-03 21:31:56 +02:00
Robin Appelman
22f8f50e05 initual phpunit support 2012-10-03 21:29:50 +02:00
Robin Appelman
b9b9fd9dba more tests and fixes for the filesystem scanner 2012-10-03 13:07:19 +02:00
Robin Appelman
85be00be65 add some more test cases for the scanner 2012-10-03 11:40:09 +02:00
Robin Appelman
e415e90c6d make filestorage scanner non-static and add a simple test case 2012-10-03 11:24:49 +02:00
Robin Appelman
1ed89760be dont need this anymore 2012-10-02 23:35:51 +02:00
Robin Appelman
b7eb3f3dff merge master into filesystem 2012-10-01 14:21:49 +02:00
Robin Appelman
804372947a fix test case for when a user is logged in 2012-10-01 14:07:34 +02:00
Robin Appelman
f77dc9b30f add test to make sure filepaths that are passed to filesystems hooks are normalized 2012-10-01 14:00:14 +02:00
Robin Appelman
a61c820369 code style 2012-10-01 12:57:13 +02:00
Robin Appelman
522d7df860 convert Cache to a non-static class that handles the cache for a single storage backend 2012-09-26 17:52:02 +02:00
Robin Appelman
dcf995fff3 add Cache::getFolderContent 2012-09-23 15:25:03 +02:00
Robin Appelman
73eedd8fc8 some simple test cases for the new filecache 2012-09-22 15:43:10 +02:00
Robin Appelman
96b798a59f move storage backend test cases to their own namespace 2012-09-22 14:51:15 +02:00
Robin Appelman
93292516d9 Merge branch 'master' into filesystem 2012-09-22 14:28:14 +02:00
Michael Gapczynski
f23f719d99 Fix unsharing from self for group shares and add test for it 2012-09-08 20:15:47 -04:00
Robin Appelman
bd83422095 put filestorages in a namespace 2012-09-07 18:30:48 +02:00
Thomas Mueller
3829460ab8 adding space between) and { 2012-09-07 15:22:01 +02:00
Thomas Mueller
ebb28412ca no more require_once() 2012-09-05 23:28:59 +02:00
Robin Appelman
9f1c76beef fix running test cases in multiply app dirs 2012-09-05 19:42:26 +02:00
Michael Gapczynski
4c065deb55 Listen to post_deleteGroup hook in Share API 2012-09-02 20:01:09 -04:00
Michael Gapczynski
f0f2d93908 Restructure generateTarget for the post_addToGroup hook 2012-09-02 18:23:19 -04:00
Michael Gapczynski
95cd48dea8 Fix sharing test case 2012-08-28 14:00:46 -04:00
Thomas Mueller
07df52c998 assert array length and individual content instead of assertEqual on arrays 2012-08-28 00:35:10 +02:00
Thomas Mueller
2abb63de70 assert array length and individual content instead of assertEqual on arrays 2012-08-28 00:12:01 +02:00
Jörn Friedrich Dreyer
fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 2012-08-25 01:52:27 +02:00
Michael Gapczynski
9699ff03bd Revert using item name, no longer allowing the same item source exist for a user 2012-08-22 11:57:58 -04:00
Michael Gapczynski
82d81e8d39 Merge branch 'share_api'
Conflicts:
	apps/contacts/lib/vcard.php
	apps/files/index.php
	lib/files.php
2012-08-19 22:29:01 -04:00
Michael Gapczynski
5eca531f99 Refactor again so we can tell what item is being reshared in case the same source shows up. This is the end of the share_api branch, moving to master. 2012-08-19 22:14:38 -04:00
Michael Gapczynski
f987e22d85 Large refactoring to allow for the same item to be shared to a group and again with a user in the group with different permissions 2012-08-19 16:30:38 -04:00
Robin Appelman
9b44d0cb32 add OC_FileStorage::getLocalFolder 2012-08-19 02:30:33 +02:00
Robin Appelman
5962469892 add OC_Archive::addRecursive 2012-08-18 22:42:35 +02:00
Lukas Reschke
d54390b1a0 Optimized image size 2012-08-18 13:56:04 +02:00
Robin Appelman
53a888cc81 more path normalization 2012-08-17 01:22:54 +02:00
Michael Gapczynski
df8a2e5361 File sharing cleanup, works perfectly I think :) 2012-08-16 12:20:14 -04:00
Michael Gapczynski
137e4cb342 Add tests for Share API, all tests passing :) 2012-08-15 11:55:54 -04:00
Michael Gapczynski
4c7fd8cd01 Merge branch 'master' into share_api
Conflicts:
	lib/group.php
	lib/group/backend.php
	lib/group/database.php
	lib/group/interface.php
	lib/public/user.php
	lib/user.php
	lib/user/backend.php
	lib/user/database.php
	lib/user/interface.php
2012-08-14 10:22:13 -04:00
Robin Appelman
0c8ce0bb32 some basic path normalization 2012-08-14 02:44:45 +02:00
Michael Gapczynski
30b58f5677 Merge branch 'master' into share_api
Conflicts:
	apps/calendar/js/loader.js
	apps/contacts/index.php
	apps/contacts/js/loader.js
	apps/files/js/files.js
	apps/files_sharing/sharedstorage.php
	lib/filesystemview.php
2012-07-25 17:08:18 -04:00
Robin Appelman
59364366d8 use dummy user backend for oc_cache_file tests 2012-07-23 22:32:07 +02:00
Thomas Mueller
ab7a2d43e8 create a user for Test_Cache_File to allow unit tesing within ci 2012-07-23 22:07:42 +02:00