Commit graph

866 commits

Author SHA1 Message Date
Christian Weiske
bdebe6598c use bootstrap file declared in phpunit.xml and do not include it in every single test file. also get rid of the PHPUnit_MAIN_METHOD declarations since using phpunit directly is preferred 2011-04-12 09:29:59 +02:00
Christian Weiske
90f29d6e67 first test for service factory 2011-04-12 08:47:44 +02:00
Christian Weiske
36ff61b38e fix E_NOTICE in rss when calling i.e. http://bm.bogo/rss.php/test?sort=date_desc 2011-04-07 19:04:32 +02:00
Christian Weiske
12c77161ac move doc-todo to doc-todo file 2011-04-06 19:03:52 +02:00
Christian Weiske
599ac400f2 update changelog with jquery merge 2011-04-05 19:05:31 +02:00
Christian Weiske
cbf36891ae set width of autocomplete dropdown 2011-04-05 19:02:52 +02:00
Christian Weiske
705d016301 move bookmarklet code to own template file 2011-04-05 18:56:51 +02:00
Christian Weiske
1527555a96 restructure opera bookmarklet popup code (doesnt work currently :)) and make normal opera bookmarklet code a bit easier to read 2011-04-04 23:11:05 +02:00
Christian Weiske
361c94895d explain opera button commands 2011-04-04 22:26:19 +02:00
Christian Weiske
28460d52cb end user docs todo 2011-04-04 22:26:00 +02:00
Christian Weiske
51763183e0 FINALLY get the first opera bookmarklet working, with cleaner code now 2011-04-04 22:07:39 +02:00
Christian Weiske
43974a15f2 make popup bookmarklet work in firefox when the title contains double and single quotes. opera still broken, though 2011-04-01 08:17:01 +02:00
Christian Weiske
7a45f330a7 re-enable browser bookmarklets after fixing some naaaaaaaaaaaaaasty bugs with site titles that have special chars in them 2011-03-31 19:13:07 +02:00
Christian Weiske
28c8cdaf58 make dynamictags (tagcloud) work again 2011-03-30 19:20:26 +02:00
Christian Weiske
c7c702f544 begin to fix dynamictags for xhtml compatibility 2011-03-29 18:04:26 +02:00
Christian Weiske
407daf0bfa work around minLength problem in jquery-ui-autocomplete 2011-03-29 08:05:15 +02:00
Christian Weiske
24bb9eea92 do not load all css files 2011-03-29 08:02:37 +02:00
Christian Weiske
13fb8739db split words also by =, < and > 2011-03-29 07:57:35 +02:00
Christian Weiske
3f6bf4a5eb update from 1.8.5 to jquery-ui 1.8.11 2011-03-29 07:54:47 +02:00
Christian Weiske
5c1d75ae65 use getadmintags.php if configured so 2011-03-28 19:24:44 +02:00
Christian Weiske
833dde3f53 jquey-autocomplete works! 2011-03-28 19:17:51 +02:00
Christian Weiske
a5bd778929 introduce assertResponseJson200 for API/ajax tests and use it 2011-03-28 08:34:12 +02:00
Christian Weiske
1dfff5d3d8 add tests for getadmintags beginsWith and limit parameters 2011-03-28 08:01:02 +02:00
Christian Weiske
a1545004f2 rewrite ajax/getadmintags.php 2011-03-26 17:04:21 +01:00
Christian Weiske
a756799ef4 move setUnittestConfig to TestBaseApi since it makes only sense to use it there 2011-03-26 17:04:00 +01:00
Christian Weiske
361c18469a add new feature: allow unit test mode enabling via HTTP GET parameter 2011-03-26 15:09:22 +01:00
Christian Weiske
0935c98499 test the limit parameter 2011-03-26 13:55:46 +01:00
Christian Weiske
78654369e9 test for beginsWith parameter and a bugfix :) 2011-03-26 11:54:47 +01:00
Christian Weiske
0f9d06c664 first working unittest for ajax/getcontacttags with login! 2011-03-26 10:00:18 +01:00
Christian Weiske
6d49b0622d begin modifying ajax/getcontacttags 2011-03-25 19:26:42 +01:00
Christian Weiske
db71e63467 begin with ajax unittests - but they do not work yet 2011-03-25 19:26:21 +01:00
Christian Weiske
d6e99db40d do not generate invalid SQL when called with a not-so valid array 2011-03-25 08:00:32 +01:00
Christian Weiske
e667feb0ca beginsWith-parameter for getPopulartags, getContactTags and getAdminTags 2011-03-25 07:44:07 +01:00
Christian Weiske
d761abb05e docblock for deleteAll 2011-03-24 19:11:06 +01:00
Christian Weiske
e1370d949c update changelog 2011-03-24 19:09:19 +01:00
Christian Weiske
30f84b3ca3 fix privacy protection issue when fetching tags of several users 2011-03-24 19:07:50 +01:00
Christian Weiske
3f57237b88 make getPopularTags a tiny bit easier 2011-03-24 08:50:18 +01:00
Christian Weiske
0f481a99ea fix docblock 2011-03-24 08:45:03 +01:00
Christian Weiske
3828cfe6d6 replace assertType with assertInternalType to please phpunit 2011-03-24 08:41:02 +01:00
Christian Weiske
637e276ac7 unittest for Bookmark2Tag::getContactTags, CS and docblock 2011-03-24 08:36:54 +01:00
Christian Weiske
cb28cd3371 unittest for getAdminTags as well as CS and docblock fixes on it 2011-03-23 19:11:38 +01:00
Christian Weiske
66c60880d2 rename three to thr to make the code look nicer 2011-03-23 19:00:25 +01:00
Christian Weiske
5c480c9bab format getPopularTags and add docblock 2011-03-23 18:52:01 +01:00
Christian Weiske
9f46e9f3ff getPopularTags is fully covered now 2011-03-23 08:58:20 +01:00
Christian Weiske
821c17d9e3 exclude tests directory from coverage 2011-03-23 08:54:40 +01:00
Christian Weiske
7d31d9d165 test for the days parameter 2011-03-23 08:33:49 +01:00
Christian Weiske
d4ccb1d3d3 first unit tests for Bookmark2Tag::getPopularTags 2011-03-23 08:23:36 +01:00
Christian Weiske
f67250a720 do not error out when the bookmark cannot be saved 2011-03-22 21:08:17 +01:00
Christian Weiske
21c583a4cd autocomplete with jquery (hardcoded tag list for now) 2011-03-22 18:20:37 +01:00
Christian Weiske
abc2ca6f79 add jquery-ui with autocomplete 2011-03-22 18:06:43 +01:00