Commit Graph

904 Commits

Author SHA1 Message Date
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