Commit Graph

654 Commits

Author SHA1 Message Date
Christian Weiske
a14192b372 re-fix isAdmin() sql optimization 2010-02-20 11:07:35 +01:00
Christian Weiske
1fd4d4d9fc sql optimization: reduce by 9 sql queries when logged in and looking at bookmarks 2010-02-20 10:57:52 +01:00
Christian Weiske
10c6863b9e add SemanticScuttle_Service_Bookmark::bookmarksExist() method to check for existance of multiple bookmarks at once for future sql optimization 2010-02-20 10:50:29 +01:00
Christian Weiske
f968870c83 reformat query 2010-02-20 09:54:46 +01:00
Christian Weiske
9a2f4df186 fix tests after last commit 2010-02-20 09:53:39 +01:00
Christian Weiske
e851f195ec save another query 2010-02-20 09:39:37 +01:00
Christian Weiske
686e9269ac save another query 2010-02-20 09:35:04 +01:00
Christian Weiske
e904ae29bc reformat _getuser and add docblock 2010-02-20 09:20:51 +01:00
Christian Weiske
41a57d2c81 header docblock 2010-02-20 09:06:01 +01:00
Christian Weiske
65a24bf243 docblock 2010-02-20 09:04:50 +01:00
Christian Weiske
3b3d427483 remove end date condition since it seems unneccessary to me 2010-02-20 08:55:21 +01:00
Christian Weiske
8bb4c7d318 new config option to disable "SET NAMES UTF8" sql call 2010-02-18 11:10:03 +01:00
Christian Weiske
4408598f07 sql optimization: 9 queries less! 2010-02-18 10:51:01 +01:00
Christian Weiske
254449cb9c make isAdmin accept a user name, too 2010-02-18 10:48:57 +01:00
Christian Weiske
f0e57da5f8 sql optimization: fetch all tags at once 2010-02-18 00:06:20 +01:00
Christian Weiske
55839da10a add new method for better sql performance: Bookmark2Tag::getTagsForBookmarks() 2010-02-17 23:55:21 +01:00
Christian Weiske
08b88d9586 reformat and CS 2010-02-17 23:42:35 +01:00
Christian Weiske
486cf8b172 make tests better 2010-02-17 23:42:24 +01:00
Christian Weiske
179e40c36b add bookmark2tagtest to alltests 2010-02-17 19:20:50 +01:00
Christian Weiske
da245bee56 add test for Bookmark2Tag::getTagsForBookmark() 2010-02-17 19:17:35 +01:00
Christian Weiske
a951a40f98 test getBookmarks() with tag loading functionality 2010-02-17 19:06:58 +01:00
Christian Weiske
57cafb6d79 first sql optimization: fetch countOthers() for all bookmarks at once instead of each single 2010-02-17 08:30:58 +01:00
Christian Weiske
aca27618d0 replace some strange foreach constructs with the proper variant 2010-02-17 08:14:39 +01:00
Christian Weiske
414818318c make countOthers() accept an array of addresses 2010-02-17 08:02:25 +01:00
Christian Weiske
094564a9a9 reformat countOthers() 2010-02-16 22:47:16 +01:00
Christian Weiske
35496e95ce test complex combination of watches, publics and private bookmarks with countOthers() 2010-02-16 22:41:37 +01:00
Christian Weiske
38f9812f37 allow setting of status during addBookmark in tests 2010-02-16 22:41:04 +01:00
Christian Weiske
d4b7d32c77 multiple tests for SemanticScuttle_Service_Bookmark::countOthers() 2010-02-16 22:12:59 +01:00
Christian Weiske
0160d2847b allow adding of certain addresses 2010-02-16 22:08:19 +01:00
Christian Weiske
152bfa736b do not return numbers < 0 2010-02-16 22:07:44 +01:00
Christian Weiske
b89b4acbf5 do not return numbers < 0 2010-02-16 22:07:31 +01:00
cweiske
7a8c92ff1a prepare 0.96.1
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@650 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-09 15:55:01 +00:00
cweiske
8a3e745378 Fix bug #2948410: API is broken in 0.96.0
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@649 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-09 15:54:42 +00:00
cweiske
c5c5710829 prepare release of version 0.96.0
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@647 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 19:01:34 +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
d7e5050eff Fix bug #2899515: Bookmarklet broken when site title contains quote
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@645 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 18:59:05 +00:00
cweiske
96fe64e393 explain people how to setup their installation to get rid of www/ in URLs.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@644 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 07:32:53 +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
99160a8850 reorganize changelog
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@642 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-08 07:30:49 +00:00
cweiske
13df0d47fb update changelog
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@641 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:56:36 +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
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
df7a591570 tell people how to run unit tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@637 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:49:18 +00:00
cweiske
14bde531dd remove completed todo items
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@636 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07 16:47:42 +00:00
cweiske
f44df83db5 example for ldap authentification
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@635 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-06 14:37:03 +00:00
cweiske
928ab39333 documentation for external authentication
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@634 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-06 11:53:55 +00:00
cweiske
7f4d678b9b reorganize changelog entry for 0.96
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@633 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-05 18:47:17 +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