Commit graph

708 commits

Author SHA1 Message Date
cweiske
09fffebffe test if deleting bookmarks works. to do this, we need a new testbase method to create users, plus we need to return the uid when creating a new user. registration process needs to be adopted to that.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@417 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:32:48 +00:00
cweiske
b38d876fad correct indentation and visibility modifier
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@416 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:30:16 +00:00
cweiske
c4ce5438a8 make bookmark tests work again
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@415 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:28:23 +00:00
cweiske
ae8ca8442e Fix *all* unfreed results in unit tests - this was a hard task, but worth it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@414 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:42:09 +00:00
cweiske
21db3ef6da fix unit test runs for direct phpunit calls
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@413 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:39:36 +00:00
cweiske
59025b501c no braces needed
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@412 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:37:17 +00:00
cweiske
ef16c76ce6 free some results in commondescription service
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@411 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:34:13 +00:00
cweiske
05defe72d8 introduce testbase class and make all tests runnable standalone
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@410 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:31:31 +00:00
cweiske
9a0aefc28b delete votes when deleting bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@409 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:26:48 +00:00
cweiske
da3c422d65 delete votes when deleting bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@408 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:24:35 +00:00
cweiske
9f53c3325c convert tabs to spaces
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@407 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:12:10 +00:00
cweiske
5d11ae2fd5 use dbservice in all services that need a db
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@406 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:10:05 +00:00
cweiske
cc1a0b1e9c fix notice
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@405 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:07:46 +00:00
cweiske
55b86f75e7 document getBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@404 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:06:33 +00:00
cweiske
1cf1374627 clear votes table before testing votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@403 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:05:05 +00:00
cweiske
ffa24d7fa5 Add VoteTest to AllTests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@402 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:03:43 +00:00
cweiske
f3c36ee5c9 Implement voting service and unit tests for it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@401 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 08:07:55 +00:00
cweiske
00ba74e0c4 introduce dbservice, a service base class that has a database variable, table variable and getter/setter for table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@400 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 08:05:00 +00:00
cweiske
60bb032d75 print full backtrace on error
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@399 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 08:02:47 +00:00
cweiske
73b11a40be make it possible to run other tests standalone, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@398 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 08:01:07 +00:00
cweiske
eb914d4a7f tabs to spaces, document and format addBookmark()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@397 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 07:59:31 +00:00
cweiske
68c01cda10 rename ServiceFactory::getServiceInstance() to get() - much easier to write
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 17:13:16 +00:00
cweiske
3df99a0aec make the file PEAR CS compliant
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@395 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 16:56:59 +00:00
cweiske
3bbf5f3c55 tell what you need
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@394 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 16:55:48 +00:00
cweiske
91eb43bec6 revamp service factory
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@393 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 16:54:51 +00:00
cweiske
3350658545 voting table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@392 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 16:53:18 +00:00
cweiske
97e702d088 Begin work on voting system
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@391 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 06:50:08 +00:00
cweiske
dfeeae38a9 get rid of headers-already-sent-errors when running unit tests on cli
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@390 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 23:25:07 +00:00
cweiske
de031f043f make tests run again (though they do not pass)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@389 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 23:18:49 +00:00
cweiske
d5f09b7e4d make the application work again
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@388 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 21:52:30 +00:00
cweiske
b7345f833d more file renamings
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@387 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 14:08:25 +00:00
cweiske
29422fa553 move files to new locations
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 14:00:33 +00:00
cweiske
b8b1d06b2d prepare new directory structure (see: http://wiki.php.net/pear/rfc/pear2_standards#directory_structure )
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@385 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 12:33:33 +00:00
cweiske
3725316ea3 re-add home link; requested by benjamin
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@383 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-01 22:22:00 +00:00
cweiske
edeb2bb4e5 write ChangeLog for 0.94, more UPGRADE details
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@382 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-29 10:57:05 +00:00
cweiske
f1575fe38a prepare 0.94
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@381 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-29 10:37:12 +00:00
cweiske
d9fd0a05f5 add authors to AUTHORS file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@380 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-29 07:05:55 +00:00
cweiske
a53c9bf3bf fix problem: "api/posts/all not found"
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@379 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-29 06:57:24 +00:00
cweiske
063403b58d fix unfreed result on watchlist page
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@378 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-29 06:50:23 +00:00
cweiske
5b88a41dd6 Make german translation pretty
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@377 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-25 12:20:21 +00:00
cweiske
a689565903 move de_AT to de_DE since it is not specific to austria and better than the original de_DE translation
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@376 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-25 11:26:19 +00:00
cweiske
0804ec092c remote de_DE since I will move de_AT over it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@375 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-25 11:23:53 +00:00
cweiske
ec3214bbf2 do not use path_info when it is not defined
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@374 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 07:01:05 +00:00
cweiske
33c3ff7e12 use proper html entities - ; was missing
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@373 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:58:18 +00:00
cweiske
50205d36e0 use proper php tags, no the short tag syntax that does not work on 50% of all hosts
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@372 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:37:29 +00:00
cweiske
9371dd23eb make login html valid
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@371 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:32:02 +00:00
cweiske
554fcbb3ec make registration page valid
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@370 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:29:15 +00:00
cweiske
1b1da05f20 make about page valid
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@369 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:25:42 +00:00
cweiske
f781b49e10 Remove "home" link in menu toolbar since the logo/title is linked anyway
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@368 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:22:59 +00:00
cweiske
972ac7bbd6 Fix bug #2674961: editAllowed optimization - make less queries for each bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@367 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-09-22 06:21:45 +00:00