Commit Graph

3833 Commits

Author SHA1 Message Date
Andrew Dolgov 335565ac7d fix various actions failing when tried on an empty (e.g. no articles) headlines buffer 2010-05-27 16:10:35 +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
Andrew Dolgov 83573d3118 update it_IT translation 2010-04-22 10:05:19 +04:00
Andrew Dolgov de1b5f9e5d api: fix wrong sql syntax in getFeeds 2010-04-19 09:50:43 +04:00
Andrew Dolgov 4c93bf06b6 remove custom hardcoded cache destinations in various daemon scripts 2010-04-14 14:18:13 +04:00
Matthew Katz fee909d5aa adding text attribute to categories
fixed query for enable_feed_cats to actually query for the user instead of overall.
2010-04-12 22:38:51 -04:00
Matthew Katz a423423956 fixed so that login is only required for import and export of OPML, not for publish 2010-04-10 18:36:26 -04:00
Matthew Katz ab53d2034a oh, you have to end braces? fascinating. 2010-04-10 08:32:37 -04:00
Matt Katz 86e26f1a74 added filtering for private feeds to opml, and key lookup 2010-04-09 21:31:51 -04:00
Matt Katz ef7b7bbd55 adding in the backend connection bits so that the dialog works 2010-04-09 20:04:57 -04:00
Matt Katz c8640edadb Added a new dialog section yes this is all copypasta 2010-04-09 19:56:44 -04:00
Matt Katz e0dc56d466 added function for publish_opml 2010-04-09 19:48:31 -04:00
Matt Katz 03b7473df4 adding a dialog for revealing the OPML url 2010-04-09 19:21:34 -04:00
Andrew Dolgov b2a653c37f properly check for entry id array being present before iterating it in mobile/classic (closes #267) 2010-04-07 11:46:39 +04:00
Andrew Dolgov 7a293008b6 remove unused variable references 2010-03-29 11:26:51 +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 bf9b87b5bb release 1.4.1 2010-03-22 22:16:21 +03:00
Andrew Dolgov 1695664646 daemon: fallback automatically when pcntl_signal() is not present 2010-03-22 11:17:58 +03:00
Andrew Dolgov 36d146f8e2 notifier: fix icons; support single-user mode 2010-02-19 23:33:15 +03:00
Andrew Dolgov 8182e64788 update translations 2010-02-18 16:07:49 +03:00
Andrew Dolgov 8a3e0b1aa6 add hotkey (f x) to reverse headlines order (closes #262) 2010-02-18 16:05:35 +03:00
Andrew Dolgov fdf47b9d1c notifier: mention license 2010-02-18 15:42:40 +03:00
Andrew Dolgov fa7c9e65f1 notifier: support showing fresh articles in the badge 2010-02-17 16:38:51 +03:00
Andrew Dolgov 1f7b77d168 backend: if fresh=1 parameter to getUnread is present, append output of fresh feed 2010-02-17 16:22:36 +03:00
Andrew Dolgov 01701654eb notifier: add badge; bump version 2010-02-17 15:53:38 +03:00
Andrew Dolgov f0ea2da594 add google chrome notifier 2010-02-17 14:26:25 +03:00
Andrew Dolgov 4336531d78 add updated triple-pane theme 2010-02-16 13:28:31 +03:00
Andrew Dolgov 78bcd2c44c fix unsubscribeFeed behaving improperly in preferences 2010-02-15 15:16:53 +03:00
Andrew Dolgov 02b289d661 feedlist: replace a elements with spans 2010-02-15 14:18:31 +03:00
Andrew Dolgov e258bceb68 increase maximum custom icon size 2010-02-10 18:32:35 +03:00
Andrew Dolgov d43f783775 pref-prefs: properly update session pwd hash when changing password 2010-02-10 15:16:52 +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 3393238de2 more input focusing improvements in popup dialogs 2010-02-03 16:54:17 +03:00
Andrew Dolgov f2a648e1b2 code cleanup 2010-02-03 16:35:16 +03:00
Andrew Dolgov d002edc715 code cleanup 2010-02-03 16:06:24 +03:00
Andrew Dolgov d1277c7be5 db: remove obsolete _2 functions 2010-02-03 15:07:21 +03:00
Andrew Dolgov a6d0014d7b quickAddFilter/Feed focus improvements 2010-02-03 15:06:25 +03:00
Andrew Dolgov 55132a454f closeInfoBox: properly cleanup contents 2010-02-03 15:01:33 +03:00
Andrew Dolgov a44049f661 focus query field in search dialog automatically 2010-02-03 12:35:27 +03:00
Andrew Dolgov f885ff6e4b do not strip magicquote stuff twice from 2010-02-02 22:54:40 +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