Commit graph

233 commits

Author SHA1 Message Date
Christian Weiske
966fdf808c rename $range to $status as it is used in all other methods; add privacy to the parameter description so we find it again next time 2011-02-09 07:15:56 +01:00
Christian Weiske
5a8327be1d Fix bug #3111254: Search in my_watchlist results in error 2010-11-19 07:06:08 +01:00
Christian Weiske
29e7cf1aa5 Fix bug #3111254: Search in my_watchlist results in error 2010-11-19 06:51:01 +01:00
Christian Weiske
5e1b9533ee load minified javascript if debug mode is off; add minified version (generated with "yuicompressor --nomunge") of jstree 2010-10-13 18:58:46 +02:00
Christian Weiske
efdcf11bb0 activate strict xhtml mode only on debug mode 2010-10-09 13:09:46 +02:00
Christian Weiske
f359fd685f make the page valid and keep chromium happy 2010-10-09 12:09:39 +02:00
Christian Weiske
be126cc958 tests for getadminlinkedtags 2010-10-08 17:43:05 +02:00
Christian Weiske
aa6b6863b8 CS on constants 2010-10-07 19:02:06 +02:00
Christian Weiske
b812deefa1 give admin tags a link href :) 2010-10-07 18:59:27 +02:00
Christian Weiske
04d360dadb CS, docblocks 2010-10-01 18:21:16 +02:00
Christian Weiske
95c05e49a7 remove deprecate split() 2010-09-30 07:58:07 +02:00
cweiske
22c9a01ee8 rewrite api/posts/delete to be more secure and add unit tests for it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@769 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:14:31 +00:00
cweiske
da20b90bba update php-gettext to 1.0.10
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@763 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:08:02 +00:00
cweiske
15b8b6ab23 now we have tests for all history all methods
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@762 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-27 20:49:01 +00:00
cweiske
84224c3294 explain $sizeSearchHistory
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@755 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-26 22:28:54 +00:00
cweiske
5c65da5bff fix nasty bug with $withResults in getAllSearches()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@753 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-26 22:09:55 +00:00
cweiske
daee83fd2c reformat the code (CS)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@752 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-26 22:08:44 +00:00
cweiske
a62dfd6d70 Fix CS, fix docblocks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@748 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:35:11 +00:00
cweiske
647a13499e Move user IP resolution into own class method
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@747 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:34:47 +00:00
cweiske
6fb9201996 update description
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@746 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:34:25 +00:00
cweiske
b17e8f940c Fix bug #3073215: Updating bookmark time does not work
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@745 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:34:05 +00:00
cweiske
b5eee3e761 finally fix the problem that watchlist count tests failed every second alltests run
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@737 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23 07:31:10 +00:00
cweiske
7fefe84b2e allow debugging of connection errors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@734 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-14 19:20:31 +00:00
Christian Weiske
8fd5efb7c7 make test running on installed pear package work: pear run-tests -pu __uri/semanticscuttle 2010-08-22 01:32:14 +02:00
Christian Weiske
f93aa6c7ac make files use pear directories 2010-08-22 01:26:30 +02:00
cweiske
31570df64c Fix bug getTagsForBookmarks() that fetched all tags, see http://sourceforge.net/projects/semanticscuttle/forums/forum/759510/topic/3752670 for details
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@715 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-07-09 10:04:35 +00:00
cweiske
0f3c51ef7e fix notice
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@695 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-19 07:43:21 +00:00
cweiske
d249a8ad19 fix bad bug that was introduced due to performance optimizations
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@693 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18 19:26:09 +00:00
cweiske
602ec95bbb unify hashing code in a separate method
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@692 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18 19:24:21 +00:00
cweiske
4d3d00ade2 Fix bug #2960663: do not send content-type headers twice for ajax/api scripts
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@690 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:11:21 +00:00
cweiske
5a93096431 fix bug #2953732 and make corresponding test work.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@688 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:07:04 +00:00
cweiske
e993e994bb re-fix isAdmin() sql optimization
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@682 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:42:44 +00:00
cweiske
17374001b8 add SemanticScuttle_Service_Bookmark::bookmarksExist() method to check for existance of multiple bookmarks at once for future sql optimization
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@680 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:39:03 +00:00
cweiske
6a2f1f4f57 reformat query
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@679 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:37:03 +00:00
cweiske
cae9f4de38 fix tests after last commit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@678 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:35:16 +00:00
cweiske
41a29f49ee save another query
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@677 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:33:11 +00:00
cweiske
51e844e17e save another query
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@676 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:31:18 +00:00
cweiske
35058ddd07 reformat _getuser and add docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@675 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:29:31 +00:00
cweiske
74614e0f99 header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@674 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:27:57 +00:00
cweiske
ab75c7ff44 docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@673 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:26:16 +00:00
cweiske
01c792a789 new config option to disable "SET NAMES UTF8" sql call
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@671 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:23:07 +00:00
cweiske
6c9542f24b make isAdmin accept a user name, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@669 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:18:49 +00:00
cweiske
6a6cba1a4d sql optimization: fetch all tags at once
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@668 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:16:34 +00:00
cweiske
3e9c2cd0a5 add new method for better sql performance: Bookmark2Tag::getTagsForBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@667 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:14:39 +00:00
cweiske
c4b8719b5b reformat and CS
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@666 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:12:51 +00:00
cweiske
6b7217daf2 make countOthers() accept an array of addresses
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@659 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:03:20 +00:00
cweiske
91da444e76 reformat countOthers()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@658 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:59:39 +00:00
cweiske
7f2e347217 do not return numbers < 0
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@653 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:52:45 +00:00
cweiske
0c930607f0 do not return numbers < 0
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@652 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:50:49 +00:00
cweiske
ca5ca1d1c9 Send HTTP status code 500 when site has not been configured yet.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@646 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 19:00:24 +00:00
cweiske
6c2fa2f020 allow people to move www/ folder where they want it, now one just has to change www/www-header.php
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@643 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 07:32:34 +00:00
cweiske
980181fef0 fix countBookmarks() for mysqli
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@640 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:53:22 +00:00
cweiske
3d135f47e9 fix bookmarkExists() for mysqli
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@639 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:51:31 +00:00
cweiske
132fe726a8 fix some docblocks in userservice
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@632 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:46:16 +00:00
cweiske
d385ce8641 do not use service overrides when running unit tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@631 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:45:05 +00:00
cweiske
983e4666c4 use configurable password field instead of the hardcoded one
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@630 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:43:56 +00:00
cweiske
3bdc88e374 make external login work when user changed password externally
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@629 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:42:38 +00:00
cweiske
b8fbabe965 make external auth login work. one thing left is when the user changes his password
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@628 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:41:43 +00:00
cweiske
b74c17f1b5 nearly there with auth integration
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@627 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-02 19:27:03 +00:00
cweiske
6f7316e421 make serviceoverrides user-configurable
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@626 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-02 19:25:35 +00:00
cweiske
a2b518b1b3 special header file for standalone scripts
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@618 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-19 22:58:19 +00:00
cweiske
71506db48c fix several sql injection possibilities
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@599 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 12:20:53 +00:00
cweiske
180e5a0fc6 Fix bug #2887063: Common tag combination description feels broken
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@598 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 11:16:43 +00:00
cweiske
991ef5c1bf Part of request #2928950: Add config option to allow sorting by bookmark creation date instead of modification date
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@594 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:20:45 +00:00
cweiske
60f66c3ce7 Coding standards changes, add header to some files
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@582 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:01:37 +00:00
cweiske
300b829705 cleanup login()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@581 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:17:35 +00:00
cweiske
a4431ddc7d tell people about privacy settings and a TOOD
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@576 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:09:58 +00:00
cweiske
a8e9aa4d0d add documentation for _getbookmark() and dependent methods
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@573 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-26 08:17:21 +00:00
cweiske
82b17be346 part of request #2830224: prepare API for short url service
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@570 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-23 19:11:33 +00:00
cweiske
cc5b3d0b5e replace regex email validation with PHP filter function and remove DNS checking functions that were not used anymore and do even had a security issue since they did not escape shell parameters
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@568 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 17:41:31 +00:00
cweiske
1256489fa7 test deleteBookmarksForUser
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@565 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 17:38:15 +00:00
cweiske
48e00e8e18 remove superfluous returns after die messages
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@562 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 07:32:51 +00:00
cweiske
7a9bf6772d test bookmarkExists() in all variations
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@561 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:44:04 +00:00
cweiske
563df90c75 fix notice when passing an invalid array to editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@558 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:22:21 +00:00
mensonge
45aad57c4d Delete unuseful scripts.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@552 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-16 20:24:32 +00:00
mensonge
2a548fc0b3 Clarify where config files are situated.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@551 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-16 19:48:28 +00:00
cweiske
078c88fdff index file is not necessary anymore
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@536 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-10 17:53:48 +00:00
cweiske
5976acf7d1 tell people how to debug database queries
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@525 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-05 08:58:08 +00:00
cweiske
bfaa111fa1 fix php-gettext on 64 bit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@514 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-04 21:34:08 +00:00
cweiske
1b11e826fb use data dir for locales
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@513 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-04 21:33:03 +00:00
cweiske
b80df612d5 add new "votes" field in bookmarks database with the total sum of votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@509 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-03 09:14:30 +00:00
cweiske
79b28ed45c hide bookmarks below a configurable threshold
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@507 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:42:53 +00:00
cweiske
d05aebe54e allow changing of votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@493 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:38 +00:00
cweiske
c412f4fcc8 fix unfreed sql result
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@486 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:21:11 +00:00
cweiske
d1c4ef5043 test getObjectUsers() and fix a bug found by the tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@484 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:17:55 +00:00
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
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
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
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
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