Commit Graph

875 Commits

Author SHA1 Message Date
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
78bac4580c add unittest url parameter
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@698 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:03:52 +00:00
cweiske
3981208405 note fixation of bug #2960663 in changelog
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@697 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-19 07:44:21 +00:00
cweiske
b18869f6d7 remove another 9 queries for logged in users!
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@696 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-19 07:43:42 +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
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
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
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
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
db7a46b235 note fixing of bug #2953732 in the changelog
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@689 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:08:20 +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
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
46c13c46f2 remove unneeded ampersand
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@685 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17 20:03:49 +00:00
cweiske
d665bb742e Do not highlight admin bookmarks when $enableAdminColors is disabled
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@684 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-22 19:41:21 +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
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
53f0a57de0 sql optimization: reduce by 9 sql queries when logged in and looking at bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@681 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:41:01 +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
edfd04698a remove end date condition since it seems unneccessary to me
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@672 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:24:47 +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
40ca013e42 sql optimization: 9 queries less!
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@670 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:20:32 +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
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
fe522e5719 first sql optimization: fetch countOthers() for all bookmarks at once instead of each single
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@661 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:06:12 +00:00
cweiske
05c2369507 replace some strange foreach constructs with the proper variant
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@660 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:04: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
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
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