Commit graph

762 commits

Author SHA1 Message Date
cweiske
6b201d4728 move template object to own file and rename it to SemanticScuttle_Model_Template
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@474 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-30 08:57:18 +00:00
cweiske
cc2c8242c7 move user class into own file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@473 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-30 06:05:29 +00:00
cweiske
cb713ccd76 more todo
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@470 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-29 09:06:16 +00:00
cweiske
634d9572be fix bad sort= xss in bookmarks.tpl
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@469 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-29 09:05:56 +00:00
cweiske
45feef9f6b fix several XSS injection problems with page variable
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@468 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-29 09:05:37 +00:00
cweiske
5b91086b54 todo list
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@467 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-29 09:05:10 +00:00
cweiske
bf8f5152cd sort desc voting by default
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@465 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:34:49 +00:00
cweiske
39db481506 unification test was unstable, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@464 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:33:36 +00:00
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