Commit Graph

119 Commits

Author SHA1 Message Date
cweiske
3ff661c0e0 send 400 status code if a parameter is missing
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@775 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:55:14 +00:00
cweiske
2f3b23f96a first tests for api/posts/add
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@772 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:52:01 +00:00
cweiske
20ec8b4958 test for api/posts/update
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@771 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:50:38 +00:00
cweiske
70c39a8eea delicious returns a proper error message when deleting non-existant items, which we do now, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@770 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:49:14 +00: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
b9256b1437 add header to httpauth.inc.php
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@765 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:09:58 +00:00
Christian Weiske
f93aa6c7ac make files use pear directories 2010-08-22 01:26:30 +02:00
cweiske
ea0527fc83 make export_html follow the "specs" a bit more and add format documentation url
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@705 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:11:56 +00:00
cweiske
7e6de50232 fix multiple tags in html export
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@704 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-03-28 18:10:57 +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
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
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
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
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
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
560ea7c372 add delicious api documentation link
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@622 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-22 12:10:39 +00:00
cweiske
d2a214968c Fix bug #2936833: api fix: shared=no
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@621 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-22 08:51:56 +00:00
cweiske
ef3a73a215 Fix E_NOTICE when calling alltags.php without any parameter
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@619 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-19 22:59:26 +00:00
cweiske
5fd780c8a9 fix E_NOTICE in rss
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@616 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-19 20:30:44 +00:00
cweiske
50f41d57f7 make common description editor work even when no referer is set
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@597 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 11:15:06 +00:00
cweiske
9340fde0fa fix E_NOTICE
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@596 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 11:13:35 +00:00
cweiske
655f60843c Coding standards changes, add header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@595 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 11:12:19 +00:00
cweiske
d5bb000998 Part of bug #2928950: add support for "count" parameter in rss feed and add config options for default and maximum rss feed entries
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@591 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:15:19 +00:00
cweiske
7d3de4e01e add pubdate and latest change date to rss feed
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@589 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:12:25 +00:00
cweiske
bacc8ecb70 part of bug #2928950: fix RSS content-type header
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@588 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:10:48 +00:00
cweiske
c96ef230b1 Coding standards changes, add header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@587 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:09:32 +00:00
cweiske
569e3e3d43 Coding standards changes, add header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@586 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:08:25 +00:00
cweiske
14db736105 Coding standards changes, add header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@585 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:06:41 +00:00
cweiske
fd332eb5d1 fix E_NOTICE in post_dates.php and show the last date, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@584 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:05:10 +00:00
cweiske
81c10ea65b Coding standards changes, add header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@583 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:03:30 +00:00
cweiske
60f66c3ce7 Coding standards changes, add header to some files
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@582 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 10:01:37 +00:00
cweiske
f1fcaaae0e Fix bug #2928905: API was broken when no user was logged in
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@580 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:16:10 +00:00
cweiske
09538ab147 Fix bug #2928905: API was broken when no user was logged in
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@579 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:14:39 +00:00
cweiske
a5065ebd63 more explanation
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@578 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:12:55 +00:00
cweiske
88088f6d0f respect $shorturl configuration setting
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@577 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:11:39 +00:00
cweiske
70e233b7de first shorturl redirection implementation
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@575 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-01-16 08:08:24 +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
a09a6b9cd2 move .htaccess to web dir
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@535 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-10 17:52:33 +00:00
cweiske
57930bd8dc fix opensearch file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@528 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-05 22:11:45 +00:00
cweiske
1077d6b244 mark bookmarks with votes < threshold with red dotted border
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@526 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-05 20:23:55 +00:00
cweiske
00cffa7b09 remove lowercase css rules since they remove sense from german words
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@524 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-05 08:57:44 +00:00
cweiske
ed1636cb51 Implement request #2874049: "Feeling lucky" button
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@506 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:42:18 +00:00
cweiske
53319932bd make it a bit easier
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@505 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:41:51 +00:00
cweiske
064c45d77e tab2spaces
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@503 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:41:09 +00:00
cweiske
4a7d7ced9b add configuration option to disable registration
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@501 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:40:00 +00:00
cweiske
65b1963d16 enable vote changes on voting badge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@500 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:39:07 +00:00
cweiske
c2c4f0aaa8 original voting thumb picture
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@499 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:38:25 +00:00
cweiske
cee739e627 add horizontal voting links and switch config setting
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@498 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:38:02 +00:00
cweiske
b622fda3ad add horizontal voting styles
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@497 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:37:14 +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
aad2b79f14 CS
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@487 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:22:29 +00:00
cweiske
adc00b25bb fix E_NOTICE on common description edit page
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@481 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-31 10:10:27 +00:00
cweiske
45feef9f6b fix several XSS injection problems with page variable
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@468 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-29 09:05:37 +00:00
cweiske
7e0f6a3132 show own voting as background color
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@452 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:19:50 +00:00
cweiske
a3ba58dfc0 basic ajax voting support. has a bad counting bug somewhere
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@445 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:02:17 +00:00
cweiske
806d85f387 do not use new css3 values since nobody understands them yet
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@443 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 08:00:15 +00:00
cweiske
485bb8912b prevent js file to get stored in lastUrl
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@442 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:42:12 +00:00
cweiske
b9e269b595 style voting badge
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@440 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:38:24 +00:00
cweiske
190d0e92db fix jsScuttle include
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@438 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:35:11 +00:00
cweiske
c90e6d2263 img.thumbnail is defined later on
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@437 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 20:32:27 +00:00
cweiske
f24a387cc9 Move URL redirection from URL to session parameter
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@433 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-27 19:58:54 +00:00
cweiske
af157c6bb7 basic voting system works; but layout is missing
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@432 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 21:55:43 +00:00
cweiske
1a4a027226 rename config.inc.php to config.php throughout the code
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@428 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:39:23 +00:00
cweiske
09fffebffe test if deleting bookmarks works. to do this, we need a new testbase method 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-25 19:32:48 +00:00
cweiske
68c01cda10 rename ServiceFactory::getServiceInstance() to get() - much easier to write
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-23 17:13:16 +00:00
cweiske
d5f09b7e4d make the application work again
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@388 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 21:52:30 +00:00
cweiske
29422fa553 move files to new locations
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-03 14:00:33 +00:00