Andrew Dolgov
96ac72bc12
api: getHeadlines: cast feed_it to int if needed
2015-07-12 13:18:03 +03:00
Andrew Dolgov
b0ce3d33c3
api: initialize headlines header
2015-07-12 12:37:19 +03:00
Andrew Dolgov
491f69c7e3
bump api level
2015-07-12 12:27:18 +03:00
Andrew Dolgov
5c784e701c
api: add top id stuff, optionally return header w/ status information in getHeadlines (currently only top_id_changed)
2015-07-12 12:26:09 +03:00
Andrew Dolgov
3444020100
report top id changed in headlines buffer
2015-07-12 12:01:34 +03:00
Andrew Dolgov
f5a0fb8b64
queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating
2015-07-12 01:29:36 +03:00
Andrew Dolgov
9090b874ab
simplify search, remove search_mode as useless
...
remove dialog to select by tags, simplify browsing by tag query
2015-07-07 15:59:32 +03:00
Andrew Dolgov
3194a70a03
api: getHeadlines: add configurable excerpt_length (bump api version)
2014-11-29 20:16:09 +03:00
Andrew Dolgov
9997b38e3e
api: allow requesting headlines as if client supports iframe sandboxing
2014-11-25 13:45:21 +03:00
Andrew Dolgov
f71a669b7d
api: handle uncached labels the way main headlines function does it
2014-10-27 22:07:20 +03:00
Andrew Dolgov
4baa1afa43
add force_update to api getHeadlines; bump api version to 9
2014-10-16 09:53:54 +04:00
Dave Zaikos
a2108ee96d
Added syslog reporting for failed API login attempts.
2014-01-24 19:19:10 -05:00
Andrew Dolgov
1d3cbe31c3
api: fix getFeeds returning some ids in string format
2014-01-24 15:33:16 +04:00
Andrew Dolgov
429ff9afb0
api: add article language to getArticle/getHeadlines
2013-12-04 01:30:54 +04:00
Andrew Dolgov
bf5bcb8e27
queryFeedHeadlines: remove obsolete content_preview
2013-11-29 13:54:30 +04:00
Andrew Dolgov
25237aea43
api: fix getLabels never returning existing checked labels correctly
2013-11-27 21:54:27 +04:00
Andrew Dolgov
21bb3c064a
api: add note support for getHeadlines/getArticle (bump api version)
2013-11-23 20:22:02 +04:00
Andrew Dolgov
273c33e512
api: allow sorting headlines by title
2013-11-09 16:42:41 +04:00
Andrew Dolgov
788cf0a1b1
api: fix setArticleLabel expecting wrong format for label_id
2013-10-12 09:55:35 +04:00
Matt Haley
64595782ff
API should return excerpt when asked
2013-08-04 10:41:29 -07:00
Andrew Dolgov
d208abc933
api: pass article id to sanitize
2013-08-02 14:41:01 +04:00
Andrew Dolgov
891d033c97
api: getLabels: return converted label ids
2013-07-28 23:37:19 +04:00
Andrew Dolgov
c052e25a8b
remove unused cached_content
2013-07-10 16:55:55 +04:00
Andrew Dolgov
4f2a2ca945
api: fix typo
2013-07-10 16:44:36 +04:00
justauser
3b96b0ed7c
Merge branch 'master' into hookhead
...
Conflicts:
include/functions.php
changes for conflicts with master
2013-07-07 13:57:06 -04:00
Andrew Dolgov
e9687f67e0
date_reverse view mode: take scoring into account
2013-07-06 12:03:01 +04:00
justauser
6763143835
Changed the implementation of HOOK_QUERY_HEADLINES to deal with issue Fox raised
2013-06-28 10:46:45 -04:00
justauser
891e36f57e
Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided.
2013-06-27 11:18:23 -04:00
Andrew Dolgov
6f81395d73
api, getArticle: check for article_id being present
2013-05-15 22:29:31 +04:00
Andrew Dolgov
bd3c672320
api, add sanitize to getHeadlines (defaults to true)
2013-05-15 18:07:35 +04:00
Rasmus Lerdorf
6f7798b643
Fixing bugs found by static analysis
2013-05-07 00:35:10 -07:00
Andrew Dolgov
38a8c22b9e
getHeadlines: return feed title for non-virtual feeds
2013-04-27 12:29:42 +04:00
Andrew Dolgov
2c8eed5395
api: add feed_title to getArticle
2013-04-27 12:25:40 +04:00
Andrew Dolgov
6421b42963
api/getHeadlines: increase limit to 200
2013-04-18 12:36:27 +04:00
Andrew Dolgov
1ffe3391f9
make pluginhost a singleton
2013-04-18 12:27:34 +04:00
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
2013-04-17 20:12:14 +04:00
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
2013-04-17 18:34:18 +04:00
Andrew Dolgov
6322ac79a0
remove $link
2013-04-17 16:48:41 +04:00
Andrew Dolgov
5aaae215e8
api: add score to getHeadlines/getArticle
2013-04-13 10:59:26 +04:00
Andrew Dolgov
79f9bef767
add support for plugins adding API methods
2013-04-12 08:18:43 +04:00
Andrew Dolgov
8096a20a95
Revert "Add new API method: `getFeedStats'"
...
This reverts commit 0192ffe5a5
.
2013-04-12 07:53:14 +04:00
Andrew Dolgov
b91a1e4deb
bump api level
2013-04-11 20:06:07 +04:00
Pedro Silva
0192ffe5a5
Add new API method: `getFeedStats'
...
`getFeedStats' calls the new static function `api_get_feed_stats' to
return an array of real feeds of the following form:
[{
"first" : 1127,
"unread" : 873,
"last" : 15460,
"title" : "Some feed",
"id" : 31,
"total" : 1513
}]
where "first", "last", "total" are the first, last and total number of
articles in the feed.
This adds the ability to nntp-oriented clients to efficiently retrieve
an "active file" without having to resort to `getHeadlines(limit=-1)'
2013-04-11 16:25:37 +01:00
Andrew Dolgov
0db61af841
api: add article api hook to getArticle, change parameters passed
2013-04-02 23:02:52 +04:00
Andrew Dolgov
ffd0786416
api: add a few logical spaces
2013-04-02 09:34:32 +04:00
j0nson
0bbd14146a
adds sort order to API
...
Allows sort by feed date or by reverse order
api Params:
order_by (string = feed_dates, date_reverse)
2013-04-01 22:21:36 -03:00
Andrew Dolgov
dc5a8a21a8
api, also hide uncategorized if empty
2013-04-01 14:08:17 +04:00
Andrew Dolgov
c0a08063d6
api: do not return Labels category when there are no labels ( closes #651 )
2013-04-01 14:04:56 +04:00
Andrew Dolgov
583dbc5695
api: add author to getHeadlines
2013-03-30 18:24:32 +04:00
Andrew Dolgov
b3575bd8e4
fix include_empty to use bool type
2013-03-28 15:31:39 +04:00