Commit graph

79 commits

Author SHA1 Message Date
Andrew Dolgov
4afcf63563 api host: add session validation 2016-07-20 13:55:51 +03:00
Andrew Dolgov
5d97019d5d api: load user plugins properly 2016-07-20 13:52:22 +03:00
Raphaël Rochet
cd839c9812 Enable translation of strings returned by API 2015-07-29 17:26:47 +02:00
Rasmus Lerdorf
6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov
4a70edea1a api: remove db_connect stuff 2013-04-17 18:58:30 +04:00
Andrew Dolgov
404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov
ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov
9ce7a5546c implement some tweaks to session handling; properly remove session cookie if invalid/login failed 2013-04-04 15:33:14 +04:00
Andrew Dolgov
0bb5833beb api: add getFeedTree 2013-03-28 11:04:27 +04:00
Andrew Dolgov
3f0094189c api: lower maximum lifetime of api sessions 2013-03-28 09:48:14 +04:00
Andrew Dolgov
5160620c8a only autostart session if login cookie exists 2013-03-28 08:06:21 +04:00
Andrew Dolgov
acfbab375d mute warnings caused by session_start() to deal with potential ps_files_cleanup_dir stuff 2013-02-19 16:56:43 +04:00
Andrew Dolgov
88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov
839b065860 api: remove unneeded stuff, add special header for android httpurlconnection which seems to be retarded 2012-09-19 15:54:55 +04:00
Andrew Dolgov
964f153371 api: use tt-rss session storage 2012-09-19 12:45:01 +04:00
Andrew Dolgov
02cd6de128 api: add workaround to disable OTP 2012-09-03 22:32:24 +04:00
Andrew Dolgov
6eaf319320 api: disable deprecated HTTP parameter support by default 2012-08-17 15:16:13 +04:00
Andrew Dolgov
f1d65e5089 remove api-specific _autoload 2012-08-16 18:33:08 +04:00
Andrew Dolgov
6a79e8afeb only enable ob_gzhandler if it exists 2012-03-20 14:45:43 +04:00
Andrew Dolgov
de8260cb10 move API to classes/ 2011-12-13 15:40:42 +04:00
Andrew Dolgov
4a0500fbc8 fix API includes 2011-12-12 00:13:14 +04:00
Andrew Dolgov
46d60592ad api: implement setting article note through updateArticle 2011-11-29 09:54:21 +04:00
Andrew Dolgov
75b901d929 api/getCategories: return virtual categories and Uncategorized 2011-11-29 09:22:38 +04:00
Andrew Dolgov
e9ed9ec844 api/getCategories: add TODO 2011-11-28 19:41:04 +04:00
Andrew Dolgov
582f41e2c1 implement getApiLevel 2011-11-28 09:35:13 +04:00
Andrew Dolgov
4044a5fa52 remove pointless escaping of the password (refs #392) 2011-11-22 11:05:12 +04:00
Andrew Dolgov
8ad4bac0fd api: always chdir() to base directory (refs #375) 2011-11-07 10:21:18 +04:00
Andrew Dolgov
823da71a10 api/getArticle: validate id list 2011-11-07 10:18:24 +04:00
Andrew Dolgov
52ebaf93e9 api/updateArticle: validate article_ids parameter (refs #375) 2011-11-05 15:00:30 +04:00
Andrew Dolgov
97e5dbb2e7 api: add getHeadlines since_id 2011-09-09 12:11:56 +04:00
Andrew Dolgov
9a98fd9bc7 api: set content-type 2011-09-08 15:11:16 +04:00
Andrew Dolgov
90e71380ba api: support passing input parameters using JSON in HTTP POST data 2011-04-14 21:22:55 +04:00
Andrew Dolgov
a0e580b0ca api/getHeadlines: add include_attachments parameter 2011-04-14 21:00:36 +04:00
Andrew Dolgov
9fc34a36f1 api: remove obsolete getArticles/getNewArticles previously added for tt-rss reader 2011-04-13 15:52:31 +04:00
Andrew Dolgov
bdea432bbb api/login: properly return LOGIN_ERROR when passed an invalid username 2011-04-13 14:18:33 +04:00
Andrew Dolgov
dbaa4e4aac config: remove option ENABLE_UPDATE_DAEMON 2011-04-12 19:33:12 +04:00
Andrew Dolgov
fbd40f5dd8 api: default to admin username when logging in in single user mode (fixed) 2011-02-07 16:25:37 +03:00
Andrew Dolgov
4909f981ce api: default to admin username when logging in in single user mode 2011-02-07 13:38:03 +03:00
Andrew Dolgov
35aa08bbc0 api/getFeeds: add hack to properly find feed icons in relative ICONS_DIR (closes #283) 2010-12-28 11:53:21 +03:00
Andrew Dolgov
ee273da6fa api: use is_cat in getArticles and catchupFeed for consistency with other methods 2010-12-16 09:47:12 +03:00
Andrew Dolgov
3acc0da647 api: support sequence numbers, status codes 2010-11-09 11:59:48 +03:00
Andrew Dolgov
b4fdbcf4b7 api: updateArticle: update ccache when necessary 2010-11-07 11:18:41 +03:00
Andrew Dolgov
9798b2b4c6 api: rewrite getCounters to use getAllCounters() 2010-11-05 18:04:07 +03:00
Andrew Dolgov
48317f5abb api: updateArticle: mention need to update ccache 2010-11-03 22:09:50 +03:00
Andrew Dolgov
70543b6a40 merge API changes from nilsbraden@github 2010-10-25 13:31:37 +04:00
Andrew Dolgov
f95ac2755a api: getArticle: allow comma-separated list of ids 2010-10-15 19:04:09 +04:00
Andrew Dolgov
911d4c0836 add experimental digest thingie 2010-09-09 16:49:06 +04:00
Andrew Dolgov
a7a9968684 api: properly handle incorrect UID passed to login 2010-07-28 14:32:09 +04:00
Andrew Dolgov
423e6e55d7 api: fix catchupFeed 2010-07-21 19:12:32 +04:00
Andrew Dolgov
ca75c2e2fd api: add catchupFeed 2010-07-19 00:00:37 +04:00