Commit graph

1176 commits

Author SHA1 Message Date
Christian Weiske
73792c5807 document template parameters and correct form action 2011-05-11 06:48:40 +02:00
Christian Weiske
9d91f1bee1 do not use links but POST form to change SSL settings. Proper web apps should never change data with GET requests 2011-05-11 06:44:49 +02:00
Christian Weiske
c13689813e prepare user interface to register and delete client certificates on the profile page 2011-05-10 15:23:58 +02:00
Christian Weiske
967ba79ece show current users certificates on profile page 2011-05-09 18:16:53 +02:00
Christian Weiske
2fba302003 automatically register SSL client cert when user registers 2011-05-09 08:13:17 +02:00
Christian Weiske
6447ca7186 move ssl client cert handling into separate service class 2011-05-09 07:52:44 +02:00
bretticvs
fc093a5fe5 Moved testDefaultPrivacyEdit() to tests/www/editTest.php.
Moved testDefaultPrivacyImportNetscape() to tests/www/importNetscapeTest.php.
Moved testDefaultPrivacyImport() to tests/www/importTest.php.
Moved testDefaultPrivacyBookmarksAddMissingTitleMissingPrivacy() to tests/www/bookmarksTest.php.
Moved testDefaultPrivacyBookmarksAdd() to tests/www/bookmarksTest.php.
Kept testDefaultPrivacyPrivate() in tests/api/PostsAddTest.php.
Kept testDefaultPrivacyPublic() in tests/api/PostsAddTest.php.
2011-05-05 16:24:21 -06:00
Christian Weiske
c7ec370b47 also match client issuer (CA) 2011-05-05 12:01:39 +02:00
Christian Weiske
b212c837f0 autofill registration form email address if user has a ssl client certificate 2011-05-04 17:13:14 +02:00
Christian Weiske
4e63a9a679 part of request #3163623: add support to login via ssl client certificate. web interface to register certificates is still missing 2011-05-04 17:08:25 +02:00
Christian Weiske
dda05f5cc7 SQL schema version table to ease future database upgrades 2011-05-04 08:02:33 +02:00
Christian Weiske
69e58d8632 Support HTTPS connections when $root is not configured 2011-05-04 07:24:52 +02:00
Christian Weiske
e2c4b53ecb update changelog; bug #3251877 has been fixed with the query switch 2011-05-03 19:21:26 +02:00
Christian Weiske
69d0ef4ff5 update changelog 2011-05-03 19:17:28 +02:00
Christian Weiske
c8a5f29677 show proper error message when url is invalid 2011-05-03 19:15:36 +02:00
Christian Weiske
4a3fdcc4dd rename test method 2011-05-03 19:10:30 +02:00
Christian Weiske
fb11021ed7 do not add bookmarks with an invalid URL 2011-05-03 19:10:12 +02:00
Christian Weiske
218ac05e71 docblock for isValidUrl method 2011-05-03 09:19:08 +02:00
Christian Weiske
2077464d46 begin bookmark model class with URL validation method 2011-05-03 09:14:32 +02:00
Christian Weiske
8be81abfe6 merge master 2011-05-02 18:07:15 +02:00
Christian Weiske
f629d081dd make privacy tests clearer 2011-05-02 09:03:35 +02:00
Christian Weiske
6b02db7920 use cookie jar instead of manually creating the cookie 2011-04-26 07:01:48 +02:00
Christian Weiske
3e5cadc764 use cookie jar instead of manually creating the cookie 2011-04-26 07:00:33 +02:00
Christian Weiske
43b6021be7 use xpath instead of manual string-search to verify test results 2011-04-26 06:59:23 +02:00
Christian Weiske
8e7138bf1f make html valid xml to be able to load it with an xml parser 2011-04-26 06:58:49 +02:00
Christian Weiske
106bdcec66 replace named html entities with their numeric name to be able to load the generated pages with an xml parser 2011-04-26 06:53:50 +02:00
Christian Weiske
da36ba7b7e replace deprecated split 2011-04-26 06:48:26 +02:00
Christian Weiske
79e3f4e121 make import test easier 2011-04-18 22:39:06 +02:00
Christian Weiske
6f04c888bf make importnetscape-test easier 2011-04-18 22:37:42 +02:00
Christian Weiske
5d5ca9efdd clarify documentation; we are returning get requests 2011-04-18 19:20:58 +02:00
Christian Weiske
87eab925e4 make edit test much easier and do not rely on manual cookie setting 2011-04-18 19:16:58 +02:00
Christian Weiske
f3fdb6ca14 start the session when we are in http unittest mode 2011-04-18 19:16:18 +02:00
Christian Weiske
b937d6ee42 fix tests that did not find the data file 2011-04-18 07:50:20 +02:00
bretticvs
3b582fd875 Moved unit tests to PostsAddTest.php in Api directory. 2011-04-17 17:42:49 -06:00
Christian Weiske
40b4674e47 exclude database layer files from coverage 2011-04-15 19:22:19 +02:00
Christian Weiske
a1989cff06 add test to search for multiple tags, which fails currently 2011-04-15 19:15:57 +02:00
Christian Weiske
0f0a95998e use correct url 2011-04-15 08:00:26 +02:00
Christian Weiske
b2c48977bb use xml parser, not html 2011-04-15 07:56:50 +02:00
Christian Weiske
a25838b267 Fix bug #3097187: Using opensearch with two tags does not work in Firefox 2011-04-15 07:55:06 +02:00
Christian Weiske
5d22905ce7 verify we get the correct search URL 2011-04-14 17:04:57 +02:00
Christian Weiske
8a87a245b8 test opensearch api content type 2011-04-14 16:58:47 +02:00
Christian Weiske
dbccc1781e remove fixme 2011-04-14 16:55:51 +02:00
Christian Weiske
f5ac88ea87 test that opensearch link is the main page HTML head 2011-04-14 16:53:46 +02:00
Christian Weiske
542824a9ba include HTTP_Request2 in api base file 2011-04-14 16:53:09 +02:00
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
200cb1d3c5 move privacy tests for api/post_add to the correct location 2011-04-06 09:52:02 +02:00
Christian Weiske
3306261b3e ignore unittest config file 2011-04-06 09:50:58 +02:00