Commit Graph

212 Commits

Author SHA1 Message Date
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
7a495ede9d fully test editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@560 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:24:34 +00:00
cweiske
9710ede432 fix notice when passing an invalid array to editAllowed()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@559 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:23:26 +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
cweiske
c93455201a test getBookmark() a bit more, and test "all" parameter with countBookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@557 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19 19:20:48 +00:00
cweiske
3edc7cf8bb update unit test instructions
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@534 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-10 17:51:31 +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
73212d6e3f allow vote changes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@495 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:36:23 +00:00
cweiske
1b6f516bbb test vote() when voting is deactivated
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@494 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:58 +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
b569921136 enable voting in voting tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@492 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:12 +00:00
cweiske
ac4e66c360 enable voting when testing voting, test countBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@485 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:19:38 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mensonge
1917aeaab2 Minor Fix: improve cache test
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@205 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-12-18 11:29:43 +00:00
mensonge
d8a5adc285 Major refactoring: improve tests process. add a main file called allTests.php.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@203 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-12-18 10:59:43 +00:00
mensonge
3b79d6b9cc New feature: private descriptions for tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@117 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-04-21 15:43:00 +00:00
mensonge
4de56ed662 Refactoring: rename sc_tags into sc_bookmarks2tags (and services, codes...)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@116 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-04-21 08:44:44 +00:00
mensonge
3e2854611b New feature: menu box which displays tags included into the special tag menu [Config modified]
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@105 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-04-17 08:02:09 +00:00
mensonge
146c63e90c Feature improvement: make rename tags more consistent (with regards to linked tags)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@85 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-03-14 15:18:01 +00:00
mensonge
219888d489 New Feature: save searches (and display a searchhistory box)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@80 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-03-14 10:32:00 +00:00
mensonge
9de80c6d84 Bug fix: correct counting for unified bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@77 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-03-13 10:07:22 +00:00
mensonge
7428a3467c New feature: website thumbnail
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@62 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-03-11 12:36:23 +00:00
mensonge
6f312b54db Bug fixes: prevent from adding special characters into tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@44 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-19 13:51:18 +00:00
mensonge
e3327d5803 tests: add tests for search insensible to accents (but feature not implemented yet)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@41 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-19 08:07:23 +00:00
mensonge
484de2408f new feature: collaborative description for tags and bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@36 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-13 17:34:18 +00:00
ericdane
e8e5209d51 bug fix: bug when inserting a relation already into the base
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@35 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-08 09:21:26 +00:00
mensonge
76ba36093f tests fix: enable tests for getLinks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@34 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-05 13:34:26 +00:00
mensonge
73e20c2ff5 fix interface: make easier the management of tag links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@33 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-02-05 13:30:33 +00:00
mensonge
3ef7b27643 new feature: structured tags, add synonym link
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@29 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-28 14:55:07 +00:00
mensonge
e740849d4c New feature: structured tags, add synonym links (in backend)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@28 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-25 07:24:38 +00:00
mensonge
5db4bfe3c4 Test: improve readibility of test of bookmark unicity (url)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@25 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-23 17:13:45 +00:00
mensonge
c385dc6342 Interface design: merging of bookmarks with same URLs
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@24 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-23 16:58:00 +00:00
mensonge
2aed4f1f9f add stats to tags relation and use them to display tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@21 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-22 16:16:06 +00:00
mensonge
0bfd4e4d3f Interface design: structured tags on frontpage and tag pages + permission control added to add and delete tag links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@10 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-11 09:34:32 +00:00
mensonge
ef9143907f Structured tags '>' for each user
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@3 b3834d28-1941-0410-a4f8-b48e95affb8f
2008-01-09 15:51:35 +00:00