Commit graph

92 commits

Author SHA1 Message Date
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
ccbc63aec4 test that public bookmarks of other people are not exported via csv
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@703 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:09:59 +00:00
cweiske
74dc9ea6a4 make export_csv support filtering to multiple tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@702 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:08:38 +00:00
cweiske
90f7d528d3 more tests for csv export api
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@701 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:07:18 +00:00
cweiske
a518928796 add test for api/export_csv.php
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@700 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:06:07 +00:00
cweiske
ccabc1cdfa support username and password change
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@699 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:04:53 +00:00
cweiske
a42a6eb2ba test for the failure we fixed one commit ago
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@694 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18 19:28:42 +00:00
cweiske
8c213f0e6e fix typo
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@691 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18 19:22:26 +00:00
cweiske
f9e0714350 write failing test for bug #2953732
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@687 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:05:43 +00:00
cweiske
e0dff57cbb remove part of broken merge :/
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@686 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:04:47 +00:00
cweiske
858b188f87 add missing piece of faulty merge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@683 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:44:06 +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
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
0685081d46 make tests better
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@665 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:11:26 +00:00
cweiske
512e3a6811 add bookmark2tagtest to alltests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@664 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:10:08 +00:00
cweiske
97c3d1ed63 add test for Bookmark2Tag::getTagsForBookmark()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@663 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:08:52 +00:00
cweiske
46b96044fb test getBookmarks() with tag loading functionality
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@662 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:07:37 +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
2f13a1c819 test complex combination of watches, publics and private bookmarks with countOthers()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@657 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:58:00 +00:00
cweiske
57d4892eb3 allow setting of status during addBookmark in tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@656 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:57:03 +00:00
cweiske
157adfd7eb multiple tests for SemanticScuttle_Service_Bookmark::countOthers()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@655 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:55:50 +00:00
cweiske
e5dab0a740 allow adding of certain addresses
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@654 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16 21:54:31 +00:00
cweiske
3b656954e0 tell people that debugmode and mysql4 will break some tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@638 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:50:17 +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
fdaee8f05d test email validation
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@567 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 17:40:20 +00:00
cweiske
cd925c3067 add base test files to phpunit blacklist
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@566 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 17:39:17 +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
258fc8edc5 test bookmark updating
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@564 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 07:33:48 +00:00
cweiske
7431f632a4 test normalizing an address
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@563 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20 07:33:22 +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
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