Commit graph

504 commits

Author SHA1 Message Date
cweiske
63f82a4101 test was unstable and did not work with empty users table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@463 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:32:15 +00:00
cweiske
483e9f0747 loosen strictness of sorting xss fix a bit - did not work anymore
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@462 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:31:15 +00:00
cweiske
cadcca8d6a add sort-by-voting to frontend
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@461 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:30:12 +00:00
cweiske
55554bc0f1 fix XSS vulnerability
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@460 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:29:08 +00:00
cweiske
066085535d fix short open tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@459 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:28:04 +00:00
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
0fcbe3158d rename vote table columns
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@456 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:24:06 +00:00
cweiske
4645da9521 fix E_NOTICE in tag list
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@455 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:23:08 +00:00
cweiske
ac1fd6d086 entity missed semicolon
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@454 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:22:04 +00:00
cweiske
92228dc9e0 add label for "keep password 2 weeks" text
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@453 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:21:00 +00:00
cweiske
7e0f6a3132 show own voting as background color
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@452 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:19:50 +00:00
cweiske
ee21c9e47a add usertest to alltests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@451 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:18:38 +00:00
cweiske
b6880a1011 add usertest and check if setting a new user id also changes the user array
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@450 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:17:40 +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
03bc498eff test that voting for other bookmarks does not change when voting for one bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@447 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:13:57 +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
806d85f387 do not use new css3 values since nobody understands them yet
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@443 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:00:15 +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
4bf8c2fff9 search engines should not follow voting links (not that they are visible to them)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@441 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:40:12 +00:00
cweiske
b9e269b595 style voting badge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@440 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:38:24 +00:00
cweiske
a5dae49520 do not error out when user is not logged in
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@439 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:36:43 +00:00
cweiske
190d0e92db fix jsScuttle include
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@438 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:35:11 +00:00
cweiske
c90e6d2263 img.thumbnail is defined later on
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@437 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:32:27 +00:00
cweiske
f01fb13622 move bookmark thumbnail code in separate template file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@436 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:30:33 +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
1ea488babe move thumbnail code in own file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@434 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:04:12 +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
3f340acd2b add eric and ben as authors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@429 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:39:59 +00:00
cweiske
1a4a027226 rename config.inc.php to config.php throughout the code
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@428 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:39:23 +00:00
cweiske
12ff7497fa add bVoting to table definition file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@427 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:38:42 +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
edfefe3eeb fix tagtest
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@422 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:04:16 +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
6c7dc7a20b fix one tag2tag test and make the other one report the real error
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@420 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:37:04 +00:00
cweiske
1bffdc3696 tab 2 spaces in test files
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@419 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:35:48 +00:00
cweiske
f0ec32d89b fix testRename() tag2tag test
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@418 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 19:34:10 +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
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