1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-07 13:40:53 +02:00
Commit Graph

1078 Commits

Author SHA1 Message Date
Andrew Dolgov
24e2bb3a92 move print_label_select to functions.php 2010-11-09 18:10:22 +03:00
Andrew Dolgov
e75df19d50 update_rss_feed: properly define 2010-11-09 16:31:15 +03:00
Andrew Dolgov
c3fc5e470e allow filtering by article tags (bump schema) 2010-11-09 14:49:41 +03:00
Andrew Dolgov
c00907f2ed properly handle on-the-fly adding of categories 2010-11-09 13:28:10 +03:00
Andrew Dolgov
10249c41b7 properly handle on-the-fly adding of labels 2010-11-09 13:15:26 +03:00
Christian Weiske
ec16da866b part of #276: if the html page has only one single feed, we subscribe to that one directly without asking 2010-11-08 23:33:04 +03:00
Christian Weiske
f33479dab8 part of #276: determine if the url contents are html 2010-11-08 23:30:10 +03:00
Christian Weiske
2b8290cd5b docblock for subscribe_to_feed 2010-11-08 23:12:25 +03:00
Christian Weiske
f0266f51ab add "extractfeedurls" rpc action that extracts the feed URLs from a HTML page 2010-11-08 23:10:22 +03:00
Christian Weiske
f2c6c0088b part of feature request #276: automatically prepend http:// if feed URL is incomplete 2010-11-08 23:09:45 +03:00
Andrew Dolgov
2e7f046f65 make published OPML use common secret key code 2010-11-08 19:36:24 +03:00
Andrew Dolgov
aa1c2aa4f9 subtoolbar: remove adaptive/all_articles view modes from generated feed urls by default 2010-11-08 14:37:19 +03:00
Andrew Dolgov
019dd98d05 send digest: mark digest sent attempt even if there were no headlines 2010-11-08 13:58:50 +03:00
Andrew Dolgov
7d4dba8fc3 subtoolbar: properly link to generatedFeed dialog 2010-11-08 13:53:04 +03:00
Andrew Dolgov
c0105d4e57 headlines subtoolbar: align feed icon 2010-11-08 13:48:00 +03:00
Andrew Dolgov
e5208bac87 generate_syndicated_feed: use CDATA section for item title 2010-11-08 13:36:12 +03:00
Andrew Dolgov
8801fb017c replace old-style published feed with universal secretkey-based approach used for all feeds; do not allow user/pass handling in generated feed urls; bump schema 2010-11-08 13:15:00 +03:00
Andrew Dolgov
811bea0522 remove get_script_dt_add() 2010-11-08 11:42:05 +03:00
Andrew Dolgov
2a5c136e96 smart_date_time: properly support local TZ; use user-defined date formats 2010-11-08 00:31:43 +03:00
Andrew Dolgov
5c7c7da9e1 allow adding cats from feed editor 2010-11-07 23:30:05 +03:00
Andrew Dolgov
324944f332 implement per-user timezone support; store dates in UTC internally (closes #254) 2010-11-07 18:14:48 +03:00
Andrew Dolgov
50eefedbfd js: code cleanup 2010-11-07 12:11:05 +03:00
Andrew Dolgov
9ed0b90f63 outputArticleXML: markup cleanup 2010-11-06 22:24:43 +03:00
Andrew Dolgov
ffbe082dd0 headlines: use JSON instead of separate helper xml objects like headlines-unread 2010-11-06 22:19:08 +03:00
Andrew Dolgov
f72a7b6696 allow forwarding multiple articles by email 2010-11-06 11:13:07 +03:00
Andrew Dolgov
31a53903e6 add article forwarding by email (closes #271) 2010-11-06 00:47:02 +03:00
Andrew Dolgov
f0855b88af slightly better prompt when no feeds are subscribed 2010-11-05 18:48:55 +03:00
Andrew Dolgov
9798b2b4c6 api: rewrite getCounters to use getAllCounters() 2010-11-05 18:04:07 +03:00
Andrew Dolgov
8945282432 remove obsolete init-params 2010-11-05 17:44:59 +03:00
Andrew Dolgov
e325d70075 fix category display 2010-11-05 17:41:21 +03:00
Andrew Dolgov
c3fddd057f do some warning housekeeping 2010-11-05 17:16:29 +03:00
Andrew Dolgov
1ea20897a2 remove read_stampfile() 2010-11-05 16:49:23 +03:00
Andrew Dolgov
8acc449c6b change counter.cat and counter.tag to counter.kind 2010-11-05 16:38:55 +03:00
Andrew Dolgov
2abc7af064 getVirtCounters: remove description 2010-11-05 16:34:37 +03:00
Andrew Dolgov
1123270361 api: fix getFeeds usage of getLabelCounters 2010-11-05 16:32:52 +03:00
Andrew Dolgov
c7adf76040 fix sign_progress_tiny init-param 2010-11-05 16:28:05 +03:00
Andrew Dolgov
d822130165 rename print_init_params() to make_init_params() 2010-11-05 16:25:33 +03:00
Andrew Dolgov
f1f3a642d6 use JSON for init-params 2010-11-05 16:16:30 +03:00
Andrew Dolgov
2188495806 counters: fix feed.update attribute 2010-11-05 10:43:19 +03:00
Andrew Dolgov
6a7817c1ad handle counters using JSON instead of XML 2010-11-04 22:38:03 +03:00
Andrew Dolgov
9fdeb07e6c add one more tooltip to subtoolbar 2010-11-04 20:58:42 +03:00
Andrew Dolgov
5d128c9589 dashboard: show last feed update time 2010-11-04 20:49:49 +03:00
Andrew Dolgov
fe1087fbb7 implement a simple pseudo-dashboard feed; display feeds having update errors there instead of client-based 'no feed selected' whiteBox plug (closes #189) 2010-11-04 19:11:54 +03:00
Andrew Dolgov
85a922895f prefs: disable option ENABLE_FEED_ICONS 2010-11-04 18:11:15 +03:00
Andrew Dolgov
f0361de20b add subtoolbar dropdown action to view generated feed 2010-11-04 17:28:38 +03:00
Andrew Dolgov
c784546704 generated feeds: support enclosures 2010-11-04 14:40:55 +03:00
Andrew Dolgov
fb8d17f3fb api: getFeeds: fix cat_id handling, allow access to Uncategorized category, reserve -3 and -4 cat_ids for getting flat feed lists 2010-11-04 13:52:16 +03:00
Andrew Dolgov
9c5b98adaa update op=rss tooltip 2010-11-04 11:57:52 +03:00
Andrew Dolgov
23d72f3999 allow generated feeds to use view_mode 2010-11-04 00:24:18 +03:00
Andrew Dolgov
db2443846c fix the syndicated feeds being broken on postgresql 2010-11-03 23:50:45 +03:00
Andrew Dolgov
f9b2d27c70 default headline sort order by date_entered instead of updated 2010-10-27 12:10:14 +04:00
Andrew Dolgov
25ea280502 add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema) 2010-10-27 12:05:20 +04:00
Andrew Dolgov
6a69b6ad44 revert to sorting by updated instead of date_entering unless Date sorting is requested 2010-10-19 09:36:16 +04:00
Andrew Dolgov
8872d5f022 queryFeedHeadlines: fix select bug 2010-10-18 18:41:15 +04:00
Andrew Dolgov
9c57be20a2 Merge branch 'master' of madoka.volgo-balt.ru:public_html/testbox/tt-rss 2010-10-18 18:32:57 +04:00
Andrew Dolgov
7b20c97780 order feed output by date_entered instead of updated to properly keep new stuff topmost; support REVERSE_HEADLINES in more headline output modes 2010-10-18 18:32:26 +04:00
Andrew Dolgov
cd9c29de80 Merge branch 'digest-experimental' 2010-10-15 18:58:15 +04:00
Andrew Dolgov
a16a62c02d outputHeadlinesList: properly handle always_display_enclosures when feed_id is null 2010-10-11 11:24:29 +04:00
Andrew Dolgov
98d684f99b Merge branch 'master' of madoka.volgo-balt.ru:public_html/testbox/tt-rss 2010-10-03 12:21:46 +04:00
Andrew Dolgov
a2d799815a remove unnecessary mentions of global_purge_old_posts; add debugging to purge_orphans() 2010-10-03 12:19:09 +04:00
Andrew Dolgov
9a4dd417c4 Merge branch 'master' into digest-experimental 2010-09-13 18:23:37 +04:00
Andrew Dolgov
66438f2922 init params: add fresh article age 2010-09-13 18:23:24 +04:00
Andrew Dolgov
1284402268 Merge branch 'master' into digest-experimental 2010-09-13 16:08:47 +04:00
Andrew Dolgov
91c5f22946 skip new version checking right after login to speed up startup 2010-09-13 16:00:05 +04:00
Andrew Dolgov
63def06ca8 check_for_update: fix typo which caused incorrect output of print_runtime_error() which caused RPC errors when DEFAULT_UPDATE_METHOD was set to SimplePie 2010-09-13 15:54:24 +04:00
Andrew Dolgov
78ac6caf00 digest: support tags 2010-09-12 14:37:47 +04:00
Andrew Dolgov
9ed133e7a9 api: support published status in getHeadlines; digest: code cleanup 2010-09-12 13:38:57 +04:00
Andrew Dolgov
d5d5632952 code cleanup 2010-09-11 15:25:47 +04:00
Andrew Dolgov
432c64cace Merge branch 'master' into digest-experimental 2010-09-09 22:08:55 +04:00
Andrew Dolgov
bfe5ddfc82 queryFeedHeadlines: properly handle Uncategorized category 2010-09-09 22:08:17 +04:00
Andrew Dolgov
b41c254984 small digest page improvements 2010-09-09 19:02:12 +04:00
Andrew Dolgov
911d4c0836 add experimental digest thingie 2010-09-09 16:49:06 +04:00
Andrew Dolgov
c5701e70a4 getFeedArticles: properly escape tags 2010-08-31 11:30:28 +04:00
Andrew Dolgov
cce9822a53 daemon2: make sure daemon actually updates feeds, duh 2010-08-26 13:06:01 +04:00
Andrew Dolgov
c90a028cdc daemon2: properly abort stuck children 2010-08-25 18:16:07 +04:00
Andrew Dolgov
2f0903a625 add author info to generated feeds 2010-07-19 15:18:43 +04:00
Andrew Dolgov
78a5c296ae config: replace confusing option ENABLE_SIMPLEPIE with DEFAULT_UPDATE_METHOD; bump config version 2010-06-30 12:57:11 +04:00
Andrew Dolgov
e955834551 support import and export of tt-rss preferences in OPML with DOMDocument OPML path 2010-06-29 14:26:10 +04:00
Andrew Dolgov
a1af157410 Fix several problems with image download
Fix fetch_file_contents, so that it returns the contents even if the data isn't
an image. This is needed because the get_favicon_url function tries to download
the webpage using this function, to see if there is a favicon in the page.

The function now takes an optional $type parameter. This parameter control if
the calling function cares about the content-type, or if the function should
just return everything. If the $type parameter is set, the content-type should
contain the string contained in $type, otherwise the function returns false.

The second problem solved with this patch, is that the temporary file that
should contain the image was empty in some cases. I never found out why this
happended, but as curl_exec is capable of returning the fetched data, thus
eliminating the need for the temporary file all together, the function have
been changed to use this way of obtaining the data.

The last problem fixed by this patch is that curl will now follow redirects.

Author: Klaus S. Madsen <ksm@42.dk>
2010-04-22 10:10:49 +04:00
Matt Katz
e0dc56d466 added function for publish_opml 2010-04-09 19:48:31 -04:00
Andrew Dolgov
e656b9f7db update_rss_feed: properly handle enginge changes when using memcached 2010-03-29 11:26:39 +04:00
Andrew Dolgov
ed41f171cb catchupArticlesById: return when there are no ids to catchup 2010-03-24 13:28:20 +03:00
Andrew Dolgov
fa3317be48 allow filtering by article author (bump schema) 2010-03-23 14:38:58 +03:00
Andrew Dolgov
02b289d661 feedlist: replace a elements with spans 2010-02-15 14:18:31 +03:00
Andrew Dolgov
4c59adb1de make_lockfile: only call posix_getpid() if it actually exists (hello, win32) 2010-02-09 17:05:02 +03:00
Andrew Dolgov
82acc36dba make_lockfile: save current PID 2010-02-05 15:01:36 +03:00
Andrew Dolgov
44cfa02554 better image attachment detection for inlining 2010-02-05 13:13:51 +03:00
Andrew Dolgov
b92fbcd8a5 only check for themes when there is a logged-in user 2010-01-28 18:54:45 +03:00
Andrew Dolgov
a522a76734 Revert "theme_image: do not display themed image if noone is logged in"
bad patch

This reverts commit 0b9751cd65.
2010-01-28 18:52:46 +03:00
Andrew Dolgov
e8f2df110d Merge branch 'master' of bah.org.ru:public_html/testbox/tt-rss 2010-01-28 18:49:54 +03:00
Andrew Dolgov
0b9751cd65 theme_image: do not display themed image if noone is logged in 2010-01-28 18:49:17 +03:00
Andrew Dolgov
4d50f419ee fix multiple TAG filters not being applied properly 2010-01-27 18:28:37 +03:00
Andrew Dolgov
2712bcea09 unbreak published feed when not logged in 2010-01-26 12:21:06 +03:00
Andrew Dolgov
c633e370ec update_rss_feed: handle multiple feeds with the same URL at once 2010-01-20 13:55:26 +03:00
Andrew Dolgov
6e4f0519b7 update_rss_feed: remove memcache support 2010-01-20 13:28:30 +03:00
Andrew Dolgov
2bef21a79f update_rss_feed: compress memcache data 2010-01-20 12:58:50 +03:00
Andrew Dolgov
602690e577 update_rss_feed: use memcache 2010-01-20 12:50:19 +03:00
Andrew Dolgov
c517f9b7e5 load_filters: use memcache (2) 2010-01-20 12:39:53 +03:00
Andrew Dolgov
1f01132802 load_filters: use memcache (fix obj_id) 2010-01-20 12:33:09 +03:00
Andrew Dolgov
b8ffa322a8 load_filters: use memcache 2010-01-20 12:29:28 +03:00
Andrew Dolgov
eb6c7f4240 getSearchSql: support excluding keywords with - 2010-01-18 16:03:45 +03:00
Andrew Dolgov
d721a5471f support memcached in label ops 2010-01-18 14:07:05 +03:00
Andrew Dolgov
bd3f2ade87 editTagsSave: invalidate article cache 2010-01-18 13:55:28 +03:00
Andrew Dolgov
99857ae330 get_article_enclosures: remove debugging 2010-01-17 20:09:53 +03:00
Andrew Dolgov
be35798b84 add get_article_enclosures(); initial support for memcached 2010-01-17 20:08:23 +03:00
Andrew Dolgov
3809b27874 remove config option SMART_RPC_COUNTERS 2010-01-15 17:34:17 +03:00
Andrew Dolgov
e71f261009 replace some theme-specific frontend hooks with theme options 2010-01-15 11:46:20 +03:00
Andrew Dolgov
ba5698285b display proper loading indicator for categories 2010-01-14 23:23:25 +03:00
Andrew Dolgov
883fee8df0 neon updates; make more icons themeable; misc fixes 2010-01-14 23:09:23 +03:00
Andrew Dolgov
e982360967 do not require themed images to be overridden 2010-01-14 19:02:45 +03:00
Andrew Dolgov
b97e6e0267 reorganize theme support; add some themeable icons; add neon theme 2010-01-14 16:11:54 +03:00
Andrew Dolgov
dce46cade3 query themes from filesystem; obsolete ttrss_themes 2010-01-14 13:39:05 +03:00
Andrew Dolgov
6ba506224e get_user_theme_path: cache data 2010-01-14 12:04:38 +03:00
Andrew Dolgov
cd039c0473 get_user_theme_path: fix typecasting 2010-01-13 22:55:29 +03:00
Andrew Dolgov
05044a59d7 validate_session: check for schema version 2010-01-13 22:25:03 +03:00
Andrew Dolgov
199db684f3 get_schema_version: add nocache parameter 2010-01-13 22:03:42 +03:00
Andrew Dolgov
f9aa6a898f updating issue fix for schema 63 (2) 2010-01-13 21:30:17 +03:00
Andrew Dolgov
e4c51a6ce9 probable fix for schema 63 updating problem 2010-01-13 21:25:44 +03:00
Andrew Dolgov
f0c33497b1 remove _DEBUG_USER_SWITCH 2010-01-13 20:08:18 +03:00
Andrew Dolgov
d9084cf220 implement settings profiles (bump schema) 2010-01-13 18:31:51 +03:00
Andrew Dolgov
a5819bb35d code cleanup; remove unnecessary callbacks; rework subscribtion dialog 2010-01-13 12:48:49 +03:00
Andrew Dolgov
7514749de7 rewrite links to open in new window in sanitize_rss(); css tweaks 2010-01-13 10:11:13 +03:00
Andrew Dolgov
2ae691263f some more button-related fixes; code cleanup 2010-01-12 16:19:53 +03:00
Andrew Dolgov
698776460d move feed browser to subscribe to feed dialog 2010-01-11 16:42:11 +03:00
Andrew Dolgov
84d7198a10 only allow delete action for articles from archived feed 2010-01-11 15:57:47 +03:00
Andrew Dolgov
117335bfcb obsolete and disable use of ttrss_feeds.hidden 2010-01-11 15:54:14 +03:00
Andrew Dolgov
74d22f0c30 remove_feed: properly save orig_feed_id when moving articles to archive 2010-01-11 14:51:05 +03:00
Andrew Dolgov
80db11136e getFeedTitle: fix for tag vfeeds (2) 2010-01-11 14:46:23 +03:00
Andrew Dolgov
d5e7166533 getFeedTitle: fix for tag vfeeds 2010-01-11 14:45:51 +03:00
Andrew Dolgov
fbaca24658 do not display image attachments inline when STRIP_IMAGES is enabled 2010-01-11 13:47:15 +03:00
Andrew Dolgov
938052bac8 add catchup button to main toolbar 2010-01-04 11:40:19 +03:00
Andrew Dolgov
0a6e5382cf move virt feeds counter display to getVirtCounters() 2009-12-30 10:07:00 +03:00
Andrew Dolgov
22fdebff47 misc code cleanup around queryFeedHeadlines() 2009-12-29 23:35:31 +03:00
Andrew Dolgov
326469fcb5 getFeedArticles/getFeedUnread: add support for tag feeds 2009-12-29 22:57:52 +03:00
Andrew Dolgov
b4e75b2a25 use POST parameters for frontend requests 2009-12-29 18:49:27 +03:00
Andrew Dolgov
59e15af458 getCategoryUnread: properly calculate counts for cat -1 2009-12-29 16:28:10 +03:00
Andrew Dolgov
a545dc31a4 properly check for article ownership in getArticleFeed() 2009-12-29 16:19:53 +03:00
Andrew Dolgov
ab197ae1de update ccache in catchupArticleById(); misc counter-related tweaks; add getArticleFeed() 2009-12-29 16:10:40 +03:00
Andrew Dolgov
e1050aec22 reorder virtual feeds 2009-12-29 00:03:44 +03:00
Andrew Dolgov
f65ffc2d74 various icon tweaks 2009-12-28 23:57:14 +03:00
Andrew Dolgov
4bee8b5f9d assorted fixes 2009-12-28 21:42:04 +03:00
Andrew Dolgov
494a64eaac show originating feed info in CDM 2009-12-28 20:46:11 +03:00
Andrew Dolgov
ef83538d2e show originating feed info when viewing archived article 2009-12-28 20:25:16 +03:00
Andrew Dolgov
8056ec5011 properly initialize archived_feed info when removing feed 2009-12-28 19:34:05 +03:00
Andrew Dolgov
16fdac16c0 add archive_article() 2009-12-28 19:30:34 +03:00
Andrew Dolgov
dbfc436519 getFeedUnread: fix incorrect counters being returned 2009-12-28 18:43:16 +03:00
Andrew Dolgov
e04c18a2c2 implement archived articles feed; bump schema 2009-12-28 17:23:01 +03:00
Andrew Dolgov
7e329f13ab add remove_feed() and remove_feed_category() 2009-12-28 12:04:21 +03:00
Andrew Dolgov
5163fc709e display label colors in headlines subtoolbar 2009-12-25 16:10:14 +03:00
Andrew Dolgov
7f969260c1 add toggle_collapse_cat() 2009-12-24 15:36:02 +03:00