Commit graph

193 commits

Author SHA1 Message Date
cweiske
c95e4dce5b explain deleteAll() in bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@458 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:26:37 +00:00
cweiske
2444e1257f fix unfreed sql result and add deleteAll() for users
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@457 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:25:27 +00:00
cweiske
80464e45e8 test previously fixed bug: voting was updated for all bookmarks, not only the current one
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@449 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:16:37 +00:00
cweiske
bb5205053e implement rewriteVotings() and unittest the method
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@448 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:15:14 +00:00
cweiske
64a44cceb8 update only one bookmark when voting;
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@446 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:03:08 +00:00
cweiske
a3ba58dfc0 basic ajax voting support. has a bad counting bug somewhere
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@445 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:02:17 +00:00
cweiske
a63765a4ad cs
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@444 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:00:40 +00:00
cweiske
485bb8912b prevent js file to get stored in lastUrl
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@442 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:42:12 +00:00
cweiske
10f59ea771 fix user-specific tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@435 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:26:24 +00:00
cweiske
f24a387cc9 Move URL redirection from URL to session parameter
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@433 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 19:58:54 +00:00
cweiske
af157c6bb7 basic voting system works; but layout is missing
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@432 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 21:55:43 +00:00
cweiske
44fd0e29f4 introduce voting config value and provide current user voting status in getBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@431 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 18:52:02 +00:00
cweiske
0af3f228ac add docblocks to service classes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@430 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:40:39 +00:00
cweiske
8d16356f75 remove unreachable code
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@426 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:09:28 +00:00
cweiske
184099743b document attachtags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@425 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:07:54 +00:00
cweiske
f327c6a0f1 clarification
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@424 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:06:36 +00:00
cweiske
6fad03eb7a document attachlinkedtag
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@423 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:05:25 +00:00
cweiske
b4c7b1ad9a Rename categories to tags, because that is what they are
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@421 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:38:24 +00:00
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
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
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
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
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
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
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
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