aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/Bookmark.php
AgeCommit message (Collapse)Author
2011-02-09rename $range to $status as it is used in all other methods; add privacy to ↵Christian Weiske
the parameter description so we find it again next time
2010-09-28rewrite api/posts/delete to be more secure and add unit tests for itcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@769 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23Fix CS, fix docblockscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@748 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23Move user IP resolution into own class methodcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@747 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-23Fix bug #3073215: Updating bookmark time does not workcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@745 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18fix bad bug that was introduced due to performance optimizationscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@693 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-18unify hashing code in a separate methodcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@692 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-17fix bug #2953732 and make corresponding test work.cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@688 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20re-fix isAdmin() sql optimizationcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@682 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20add SemanticScuttle_Service_Bookmark::bookmarksExist() method to check for ↵cweiske
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-20reformat querycweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@679 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20fix tests after last commitcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@678 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20save another querycweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@677 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20sql optimization: fetch all tags at oncecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@668 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20make countOthers() accept an array of addressescweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@659 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16reformat countOthers()cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@658 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16do not return numbers < 0cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@653 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-16do not return numbers < 0cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@652 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07fix countBookmarks() for mysqlicweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@640 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-07fix bookmarkExists() for mysqlicweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@639 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16Part of request #2928950: Add config option to allow sorting by bookmark ↵cweiske
creation date instead of modification date git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@594 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16tell people about privacy settings and a TOODcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@576 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-26add documentation for _getbookmark() and dependent methodscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@573 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-23part of request #2830224: prepare API for short url servicecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@570 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20test deleteBookmarksForUsercweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@565 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-20remove superfluous returns after die messagescweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@562 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19test bookmarkExists() in all variationscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@561 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-19fix notice when passing an invalid array to editAllowed()cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@558 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02hide bookmarks below a configurable thresholdcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@507 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31fix unfreed sql resultcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@486 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-30move user class into own filecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@473 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28unification test was unstable, toocweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@464 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28explain deleteAll() in bookmarkscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@458 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28test previously fixed bug: voting was updated for all bookmarks, not only ↵cweiske
the current one git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@449 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28basic ajax voting support. has a bad counting bug somewherecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@445 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27fix user-specific tagscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@435 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26introduce voting config value and provide current user voting status in ↵cweiske
getBookmarks() git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@431 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26add docblocks to service classescweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@430 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25clarificationcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@424 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25Rename categories to tags, because that is what they arecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@421 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25test if deleting bookmarks works. to do this, we need a new testbase method ↵cweiske
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-25delete votes when deleting bookmarkcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@409 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25delete votes when deleting bookmarkcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@408 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24convert tabs to spacescweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@407 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24document getBookmarks()cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@404 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24introduce dbservice, a service base class that has a database variable, ↵cweiske
table variable and getter/setter for table git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@400 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24tabs to spaces, document and format addBookmark()cweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@397 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23rename ServiceFactory::getServiceInstance() to get() - much easier to writecweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03make the application work againcweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@388 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03more file renamingscweiske
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@387 b3834d28-1941-0410-a4f8-b48e95affb8f