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
Andrew Dolgov
57937c42b9
obsolete cookie storage for collapsed status of feedlist and special categories (bump schema)
2009-12-24 15:25:06 +03:00
Andrew Dolgov
5de668eddc
move some aux files to lib/
2009-12-21 21:28:18 +03:00
Andrew Dolgov
afb12ed0d0
prepare login redirect for mobile/classic
2009-12-21 16:33:27 +03:00
Andrew Dolgov
af88c48a3a
mobile: misc fixes; add getFeedIcon()
2009-12-21 13:42:02 +03:00
Andrew Dolgov
95004daf9d
mobile: implement WIP pagination for flat feedlist
2009-12-18 15:19:34 +03:00
Andrew Dolgov
c6dbeedc44
printCategoryHeader: unbreak Konqueror
2009-12-18 13:44:52 +03:00
Andrew Dolgov
2a41fc9790
only accept favicons which are actual images while using CURL ( closes #261 )
2009-12-15 14:40:36 +03:00
Andrew Dolgov
24ecbcae50
outputArticleXML: display tags in zoom mode
2009-12-15 13:36:53 +03:00
Andrew Dolgov
a3162add37
add ca_CA translation
2009-11-22 23:18:54 +03:00
Andrew Dolgov
ceb0cab568
generate_syndicated_feed: properly pass owner_uid to sanitize_rss() ( closes #256 )
2009-11-22 22:56:05 +03:00
Andrew Dolgov
36d0510ced
add es_ES translation
2009-11-09 14:07:24 +03:00
Andrew Dolgov
b171066641
misc dialog tweaks
2009-10-08 12:36:38 +04:00
Andrew Dolgov
6e35a862dd
fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines
2009-10-07 14:22:44 +04:00
Andrew Dolgov
54e61a6809
add option to force display attachments in feeds (implementation)
2009-10-06 14:15:29 +04:00
Andrew Dolgov
275a0af23d
format_tags_string: improve detection of layout breaking extra-long tag strings
2009-10-06 13:08:37 +04:00
Andrew Dolgov
51682b2330
move inline player generation code into separate function; disable support for native html5 player due to unsolved usability reasons ( closes #246 )
2009-10-06 12:58:57 +04:00
Andrew Dolgov
7d939be751
fix width/height for static img tags (excludes selected dynamic content) ( closes #245 )
2009-10-06 12:44:53 +04:00
Andrew Dolgov
db54143e88
rework article note appearance
2009-10-06 12:36:31 +04:00
Andrew Dolgov
c9efd838a9
properly allow article to be expanded in CDM mode when article excerpt is blank
2009-09-01 14:30:51 +04:00
Andrew Dolgov
784ac51f88
add separate indicator for fresh articles
2009-08-21 15:24:18 +04:00
Andrew Dolgov
9324c2c24f
rework appearance of audio/video tags patch
2009-06-22 16:50:17 +04:00
Andrew Dolgov
99ea1043da
http_authenticate_user: remove unnecessary logging
2009-06-22 16:15:07 +04:00
Andrew Dolgov
bc03c563de
call sanitize_rss() when generating syndicated feeds
2009-06-22 16:09:04 +04:00
Andrew Dolgov
f45a286b8d
strip_tags_long: use htmlpurifier to properly reformat html content
2009-06-22 13:56:49 +04:00
Andrew Dolgov
95f67d2ebc
add support for HTML5 way of playing audio/video enclosures ( closes #246 )
2009-06-17 11:16:44 +04:00
Andrew Dolgov
70c9b17314
feedlist: htmlspecialchars() feed title
2009-06-12 11:40:29 +04:00
Andrew Dolgov
41f7498af3
tag_is_valid: add length checking
2009-06-01 11:29:13 +04:00
Andrew Dolgov
2d969845f9
authenticate_user: properly escape input
2009-05-12 00:33:40 +04:00
Andrew Dolgov
849b382582
getFeedTitle: properly return title for tag vfeed
2009-04-30 01:23:30 +04:00
Andrew Dolgov
af163b8520
update translations
2009-04-28 12:24:39 +04:00
Andrew Dolgov
a927fe7b2d
add german translation (de_DE)
2009-04-26 16:42:33 +04:00
Andrew Dolgov
32d2181b92
ccache: do not override owner_uid fetching for virtual feeds
2009-04-02 11:25:23 +04:00
Andrew Dolgov
2e93b64cca
ccache: possible workaround against misowned entries
2009-04-01 18:36:50 +04:00
Andrew Dolgov
5c42194978
better check for img tags to skip inlining image attachments
2009-03-26 13:56:52 +03:00
Andrew Dolgov
c7e51de137
Revert "update translations"
...
This reverts commit 2b38f79c86
.
Wrong commit from wrong branch.
2009-03-21 23:11:58 +03:00
Andrew Dolgov
2b38f79c86
update translations
2009-03-21 22:58:32 +03:00
Andrew Dolgov
f6fed1b26b
ccache: remove obsolete data on feed/category removal
2009-03-11 16:22:32 +03:00
Andrew Dolgov
dee887d102
daemon: properly pass owner_uid to catchup_feed when catching up a newly subscribed feed (2)
2009-03-06 18:25:49 +03:00
Andrew Dolgov
44503b4673
daemon: properly pass owner_uid to catchup_feed when catching up a newly subscribed feed
2009-03-06 18:21:54 +03:00
Andrew Dolgov
c205bb8d15
ccache_update: protect insert with transaction block
2009-03-06 18:09:55 +03:00
Andrew Dolgov
5161564f3d
add support for adding syndicated notes to published articles
2009-03-06 13:40:59 +03:00
Andrew Dolgov
107008cb15
add patch for better favicon fetching ( closes #231 )
2009-03-04 14:06:15 +03:00
Andrew Dolgov
206d496762
rework gears offline/online interaction the way it probably should be done (also remove redirecting login system)
2009-02-12 20:16:10 +03:00
Andrew Dolgov
338c238d93
catchup_feed: set article last_read when catching up a label
2009-02-12 15:04:05 +03:00
Andrew Dolgov
6f69764ccf
implement catchup for labels vfeed
2009-02-12 15:01:42 +03:00
Andrew Dolgov
5fe4848b5a
reinstate redirecting login system (problems with Gears)
2009-02-12 10:29:19 +03:00
Andrew Dolgov
5de926d8cc
new option: ENABLE_OFFLINE_READING (bump schema)
2009-02-10 11:50:39 +03:00
Andrew Dolgov
59b223d74d
offline: disable using init-param
2009-02-10 11:31:53 +03:00
Andrew Dolgov
badac687b0
synchronize unread status from offline to online DB
2009-02-07 13:40:43 +03:00
Andrew Dolgov
1c98068144
offline: disable categories in feedlist when not enabled in tt-rss main
2009-02-06 09:36:46 +03:00
Andrew Dolgov
3ac60b765a
get_script_dt_add: always force refresh of scripts
2009-02-04 13:57:24 +03:00
Andrew Dolgov
9b7ecc0ac7
update amount of subscribed feeds in runtime-info (to invalidate feedlist cache)
2009-02-02 15:24:32 +03:00
Andrew Dolgov
72a2f4f57f
fix typo
2009-01-28 11:09:05 +01:00
Andrew Dolgov
f9fca8cb99
add catchup fixme for all_labels feed
2009-01-28 11:08:01 +01:00
Andrew Dolgov
2eb9c95c97
support colored labels
2009-01-26 11:07:53 +01:00
Andrew Dolgov
5c432ba490
ccache: skip non-numeric feeds (e.g. tags)
2009-01-23 14:49:31 +01:00
Andrew Dolgov
307d187c6c
rework assigning articles to tags
2009-01-23 14:20:05 +01:00
Andrew Dolgov
0ef68e6fc9
headline subtoolbar: code cleanup
2009-01-23 09:07:54 +01:00
Andrew Dolgov
6b2ee18def
new function: label_create
2009-01-23 07:42:37 +01:00
Andrew Dolgov
79c88e11a0
move labels subtoolbar section into a function
2009-01-23 07:39:29 +01:00
Andrew Dolgov
73495fd16f
tweak new version notification stuff
2009-01-23 06:53:31 +01:00
Andrew Dolgov
9e97b64e48
update_all_feeds: remove function
2009-01-22 16:31:19 +01:00
Andrew Dolgov
fe7537b5dd
move MiniTemplator and prototype to lib/
2009-01-22 14:41:34 +01:00
Andrew Dolgov
0ba3a1274d
move gettext/ to lib
2009-01-22 14:38:21 +01:00
Andrew Dolgov
816cdfb7ee
move magpie to lib/
2009-01-22 14:33:02 +01:00
Andrew Dolgov
5ef03f1541
move simplepie/ to lib
2009-01-22 14:31:24 +01:00
Andrew Dolgov
d134e3a313
move phpmailer to lib/
2009-01-22 14:28:15 +01:00
Andrew Dolgov
8742de78bd
new_version_check: add timestamp randomize
2009-01-22 09:04:45 +01:00
Andrew Dolgov
50b2db9632
catchup feed on first update after adding
2009-01-22 08:40:16 +01:00
Andrew Dolgov
ab954dffad
purge_feed: properly pass owner_uid to ccache_update
2009-01-22 08:22:57 +01:00
Andrew Dolgov
01299231d8
purge_feed: stop when purging is disabled for the feed (2)
2009-01-22 08:11:50 +01:00
Andrew Dolgov
2610b6fc8b
purge_feed: stop when purging is disabled for the feed
2009-01-22 08:09:18 +01:00
Andrew Dolgov
d75ed3eba5
headlines toolbar: code cleanup
2009-01-21 05:04:57 +01:00
Andrew Dolgov
4f570f569f
dropdown: add create label entry
2009-01-20 18:54:40 +01:00
Andrew Dolgov
1be62a6855
more actions tweaks
2009-01-20 18:51:14 +01:00
Andrew Dolgov
bf3c98384d
rework subtoolbar actions dropdown
2009-01-20 18:46:21 +01:00