Commit graph

233 commits

Author SHA1 Message Date
Mark Pemberton
f9dbdc6645 Fixed issue with storing RSS login in session 2011-06-15 08:47:50 -04:00
Mark Pemberton
74bab13f05 Fixed auth issue with private RSS feed 2011-06-14 22:39:47 -04:00
Mark Pemberton
b628e63e01 Merge branch 'master' into privatekey2
Conflicts:

	data/templates/default/bookmarks.tpl.php
2011-06-04 00:38:07 -04:00
Mark Pemberton
84e603aa91 Reverted changes of date() to gdate(), added tests to confirm existence of private RSS feed, and finalized changes to the user session usage with rss.php 2011-06-04 00:29:04 -04:00
Christian Weiske
5ba53394fc implement request #1989987: theme support. merge themes branch with --squash 2011-05-25 19:43:36 +02:00
Mark Pemberton
342d1c3205 Altered tests to be more timezone friendly 2011-05-21 22:06:44 -04:00
Mark Pemberton
b105867e75 Merge branch 'master' into privatekey2 2011-05-21 21:38:25 -04:00
Christian Weiske
97bba97049 no need for that anymore 2011-05-20 17:11:45 +02:00
Mark Pemberton
5203848b12 revert getBookmarks() back to original 2011-05-19 19:40:22 -04:00
Christian Weiske
ef23f01eba begin supporting a different database for unit tests 2011-05-19 07:38:35 +02:00
Mark Pemberton
920f7fc623 Updated PrivateKey to include Tag searches 2011-05-17 00:24:43 -04:00
Mark Pemberton
10214c43b5 Updated 'Generate New Key' button to use ajax if javascript enabled. 2011-05-16 00:35:31 -04:00
Mark Pemberton
6ed90e647a Fixed sql commands where resources were not freed 2011-05-14 21:46:35 -04:00
Mark Pemberton
ec345f7a13 new privatekey2 branch with privatekey changes 2011-05-13 14:26:51 -04:00
Christian Weiske
62afb01482 allow ssl client login with other authentication sources 2011-05-13 18:11:14 +02:00
Christian Weiske
ccb6d8a513 fix ssl client cert login process 2011-05-13 18:10:25 +02:00
Christian Weiske
803b83fb7d Merge branch 'master' into ssl-client-certs 2011-05-13 06:57:54 +02:00
Christian Weiske
88d7b9631b Merge branch 'master' into configurable-privacy2 2011-05-12 19:25:03 +02:00
Christian Weiske
fbfbd8d5ca Merge branch 'master' into ssl-client-certs 2011-05-12 19:24:34 +02:00
Christian Weiske
b57c8d4581 do not automatically store user id in session 2011-05-12 19:23:53 +02:00
Christian Weiske
f647c48477 reformat userservice::getWatchNames 2011-05-12 09:22:04 +02:00
Christian Weiske
d5c73cd864 seems I actually forget to use the methods only parameter 2011-05-11 08:00:07 +02:00
Christian Weiske
1c415919cb deleting ssl client certificates from profile page works now 2011-05-11 07:33:15 +02:00
Christian Weiske
c13689813e prepare user interface to register and delete client certificates on the profile page 2011-05-10 15:23:58 +02:00
Christian Weiske
967ba79ece show current users certificates on profile page 2011-05-09 18:16:53 +02:00
Christian Weiske
2fba302003 automatically register SSL client cert when user registers 2011-05-09 08:13:17 +02:00
Christian Weiske
6447ca7186 move ssl client cert handling into separate service class 2011-05-09 07:52:44 +02:00
Christian Weiske
c7ec370b47 also match client issuer (CA) 2011-05-05 12:01:39 +02:00
Christian Weiske
4e63a9a679 part of request #3163623: add support to login via ssl client certificate. web interface to register certificates is still missing 2011-05-04 17:08:25 +02:00
Christian Weiske
69e58d8632 Support HTTPS connections when $root is not configured 2011-05-04 07:24:52 +02:00
Christian Weiske
fb11021ed7 do not add bookmarks with an invalid URL 2011-05-03 19:10:12 +02:00
Christian Weiske
218ac05e71 docblock for isValidUrl method 2011-05-03 09:19:08 +02:00
Christian Weiske
2077464d46 begin bookmark model class with URL validation method 2011-05-03 09:14:32 +02:00
Christian Weiske
8be81abfe6 merge master 2011-05-02 18:07:15 +02:00
Christian Weiske
da36ba7b7e replace deprecated split 2011-04-26 06:48:26 +02:00
Christian Weiske
f3fdb6ca14 start the session when we are in http unittest mode 2011-04-18 19:16:18 +02:00
Christian Weiske
90f29d6e67 first test for service factory 2011-04-12 08:47:44 +02:00
Christian Weiske
c81566f5d8 cherry-pick:
add new feature: allow unit test mode enabling via HTTP GET parameter
2011-04-06 08:42:26 +02:00
Christian Weiske
361c18469a add new feature: allow unit test mode enabling via HTTP GET parameter 2011-03-26 15:09:22 +01:00
Christian Weiske
d6e99db40d do not generate invalid SQL when called with a not-so valid array 2011-03-25 08:00:32 +01:00
Christian Weiske
e667feb0ca beginsWith-parameter for getPopulartags, getContactTags and getAdminTags 2011-03-25 07:44:07 +01:00
Christian Weiske
d761abb05e docblock for deleteAll 2011-03-24 19:11:06 +01:00
Christian Weiske
30f84b3ca3 fix privacy protection issue when fetching tags of several users 2011-03-24 19:07:50 +01:00
Christian Weiske
3f57237b88 make getPopularTags a tiny bit easier 2011-03-24 08:50:18 +01:00
Christian Weiske
0f481a99ea fix docblock 2011-03-24 08:45:03 +01:00
Christian Weiske
637e276ac7 unittest for Bookmark2Tag::getContactTags, CS and docblock 2011-03-24 08:36:54 +01:00
Christian Weiske
cb28cd3371 unittest for getAdminTags as well as CS and docblock fixes on it 2011-03-23 19:11:38 +01:00
Christian Weiske
5c480c9bab format getPopularTags and add docblock 2011-03-23 18:52:01 +01:00
Christian Weiske
bc178983b3 Merge branch 'master' into jquery
Conflicts:
	doc/ChangeLog
2011-03-20 22:15:34 +01:00
Christian Weiske
82ada0d75f Implement request #3054906: Show user's full name instead of nickname 2011-03-15 19:13:14 +01:00
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