Commit Graph

1062 Commits (ee4c4602726a1d1064c96414a8e4df0308f3be62)

Author SHA1 Message Date
Dave Zaikos 2bb11658a8 Added HOOK_FORMAT_ENCLOSURES plugin hook.
Runs HTML and enclosures array through a plugin hook when rendering an article's enclosures in format_article_enclosures(). Allows plugins to override handling of how enclosures are presented by either filtering the array of enclosures, or generating the HTML to add to the article content.
11 years ago
Andrew Dolgov 1fd733c8ff fetch_file_contents: do not set referrer when using curl 11 years ago
Andrew Dolgov 15d0528a9f rssfuncs: mention local cache filename for easier debugging 11 years ago
Rob Hoelz 9a6456fa12 Stop after first search plugin
The sanity check should have caught any extra ones, but it doesn't
hurt to be careful
11 years ago
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
11 years ago
Andrew Dolgov 8067dc8ca5 bump schema version to fix resetpass_token created as a wrong type in 124 11 years ago
Andrew Dolgov 50e04efdc8 expand filtertree display to make filters easier to distinguish 11 years ago
Andrew Dolgov 1c776ade2a add pt_PT language 11 years ago
Andrew Dolgov ff5cc7d763 Revert "Update functions.php"
This reverts commit d8cdb08f78.
11 years ago
Duarte Velez Grilo d8cdb08f78 Update functions.php
Added new entry for pt_PT as requested. Thanks!
11 years ago
Andrew Dolgov a983a827a3 release 1.12 11 years ago
Andrew Dolgov 84e36b61a3 make_init_params: add plugins 11 years ago
Andrew Dolgov 3e8a79be6d make_init_params: add theme 11 years ago
Andrew Dolgov 31460f84fe make_init_params: add some additional information useful for reporting 11 years ago
Roland Angerer f77c72038f deactivated FeedParser re-use as it is not multiuser safe
different users may have different fetch feed and feed fetched hooks
11 years ago
Roland Angerer 95beaa1471 fixed feed caching logic for multiuser scenario
only vanilla feed data may be cached as every user may have different
fetched feed hooks to apply
11 years ago
Andrew Dolgov ad593e4393 disable headlines grouping for recently read vfeed 11 years ago
Andrew Dolgov 99c19e1dcb start_ts for feeds: use date_entered for consistency 11 years ago
Andrew Dolgov d1e631f301 generated feeds, add ts= (strtotime) start timestamp 11 years ago
Andrew Dolgov 3b19a53acf schema: add resetpass_token (bump schema) 11 years ago
Andrew Dolgov e95bb179a8 fix for article language breaking sql insert 11 years ago
Andrew Dolgov 16c4803251 Revert "get_feeds_from_html: add rel='alternate feed'"
This reverts commit 526e1d80be.
11 years ago
Andrew Dolgov 526e1d80be get_feeds_from_html: add rel='alternate feed' 11 years ago
Andrew Dolgov cacc187732 sanity_check: ERRORS was not imported from global scope 11 years ago
Andrew Dolgov 97b7d5c038 split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
11 years ago
Andrew Dolgov f97b56a3c9 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 11 years ago
Andrew Dolgov 4a80c57c50 remove some unused code reported by phpmd 11 years ago
Andrew Dolgov 5ba1ddd409 rssfuncs: remove unused variables 11 years ago
元兒~ 8dc5e7f000 Add Traditional Chinese Option 11 years ago
Andrew Dolgov f826070c56 af_comics: add happyjar 11 years ago
Andrew Dolgov 878a0083ff revert max ui feed title length, tweak truncate_string a bit 11 years ago
Andrew Dolgov 5a801bd6f0 load stylesheets/scripts using helper functions in a few more places 11 years ago
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
11 years ago
Andrew Dolgov 5b319e8be2 sanitize: reinstate rel=noreferrer on article links 11 years ago
Andrew Dolgov 4c63934bac increase randomness of shared url keys a bit 11 years ago
Georg Göri ac617ebc01 Fixed get_ssl_certificate_id
Fixed in a way that it also retrieves client certificates as they are supplied by Apache
11 years ago
Andrew Dolgov 76d78eb2e7 remove unnecessary wrapping from share uniqid() keys 11 years ago
Andrew Dolgov 416a9b1c9c Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 11 years ago
Andrew Dolgov c04fbe3711 release 1.11 11 years ago
Andrew Dolgov 537eca4000 rssfuncs: fix typo 11 years ago
Andrew Dolgov f08426e3d3 when checking feeds to update, respect only default update setting stored in default profile 11 years ago
akapar 42a5abdce2 Added Turkish translation
Modified functions.php to include Turkish language
11 years ago
Andrew Dolgov bf5bcb8e27 queryFeedHeadlines: remove obsolete content_preview 11 years ago
Andrew Dolgov 15d8bd7dbf fix catchup older than X for labels category 11 years ago
Andrew Dolgov c6d970b857 search to sql: use str_getcsv instead of explode to support quoted long string tokens 11 years ago
Andrew Dolgov 5a450b8760 add workaround for languagedetect idiotic shit of some kind 11 years ago
Robert Wetzlmayr 60168a8d9a getFeedArticles(): Use valid query to get count of matching articles. 11 years ago
Andrew Dolgov d8179cb9d9 pubsubhubbub: use atom rel=self link (when available) when subscribing
to push-enabled feeds
11 years ago
Andrew Dolgov 4ad04ee227 report all libxml errors in updater debug output
force utf8 encoding if devforceupdate is on
parser: try to convert non-unicode feeds with specified encoding to utf8
before trying to remove dangling utf8 characters in case of utf8-related
libxml errors because doing so produces garbage content
11 years ago
Andrew Dolgov 88edaa9344 daemon: cache parser object while processing a batch of feeds withsame url on first success 11 years ago
Andrew Dolgov 0f6b926393 only try to set fucking cookie jar if open_basedir restriction is not in effect 11 years ago
aedrin 68349f55df Add missing translations in SINGLE_USER_MODE
In SINGLE_USER_MODE, some strings were untranslated.
For instance "Loading, please wait..." and all strings in the "Actions" Menu ("Preferences...", "Search..." and so on)
11 years ago
Andrew Dolgov 0a08d1b246 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 11 years ago
Andrew Dolgov b66be03a48 add experimental hack to speed up ccache category calculation 11 years ago
Andrew Dolgov 6d45a15286 do not try to load user plugins on schema < 100 11 years ago
Andrew Dolgov e198cca75b Revert "sanitize: remove doctype properly, add experimental workaround against unnecessary html elements in sanitized data"
This reverts commit f44d59992e.
11 years ago
Andrew Dolgov 29a57cdc4d Merge pull request #311 from fsateler/curl-cookie-jar
Enable cookies when fetching feeds with curl
11 years ago
Andrew Dolgov 924a89ebf3 getFeedArticles: use date_entered for fresh feed same as queryFeedHeadlines (closes #780) 11 years ago
Andrew Dolgov f44d59992e sanitize: remove doctype properly, add experimental workaround against unnecessary html elements in sanitized data 11 years ago
Felipe Sateler d9eacf54a0 Enable cookies when fetching feeds with curl
If a feed requires cookies, curl needs to have them active in order to
access it. This is done by setting the COOKIE_JAR option.
Since we do not need the actual cookie jar, send it to /dev/null, curl
will still have a valid in-memory cookie jar.
11 years ago
Andrew Dolgov 05f14a7d19 add (undocumented) _CURL_HTTP_PROXY 11 years ago
Andrew Dolgov d0ee0f52b7 use favicon in some auxiliar dialogs 11 years ago
Andrew Dolgov 5ddd2705ca make language detection optional (closes #779) 11 years ago
Andrew Dolgov 02b0d14a18 release 1.10 11 years ago
Andrew Dolgov e596b5a9dd add update script to convert myisam tables to innodb (bump version) 11 years ago
Roland Angerer 4d8f4c5989 optimized query for label counters 11 years ago
Andrew Dolgov 1357a263be include title when detecting article language 11 years ago
Andrew Dolgov 4f71d7431c replace suppress debugging kludge with a more flexible function (fixes
logging with update.php --feeds being stopped after first feed)
11 years ago
Andrew Dolgov d3b0e3487e fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettext(), rebase translations 11 years ago
Andrew Dolgov ff04fe0625 use plurals for comment/comments link in article, properly translate comments string, add feed title to article in zoom mode 11 years ago
Andrew Dolgov a33558a61e pass logfile to child tasks if locking is possible, lock logfile before writing, add kludge to prevent update_rss_feed unneeded debugging go into master logfile 11 years ago
Andrew Dolgov f73e03e000 pass feed information to article filters 11 years ago
Andrew Dolgov 34e55fe8d9 fix cat filters always applying if set to uncategorized 11 years ago
Andrew Dolgov 5d4d591826 filter testing: exclude archived articles because filtering on them makes no sense 11 years ago
Andrew Dolgov 3eb55333c6 do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove sanity check for iconv because parser does not use it 11 years ago
Andrew Dolgov 5c54e68388 support media:description for media: enclosures 11 years ago
Andrew Dolgov edba269b6f fix entries not inserted properly when no languages are detected 11 years ago
Andrew Dolgov 00f22824d7 rss: force language to 2 characters; run house keeping hooks properly 11 years ago
Andrew Dolgov 8e47022036 add hook_house_keeping 11 years ago
Andrew Dolgov 910592b49a add plugin to cache images in starred articles; pass article_id to
sanitize
11 years ago
Andrew Dolgov 2fc4d981d1 remove unused old-style image rewritign 11 years ago
Andrew Dolgov 1bdbffcf11 highlight: remove unnecessary test for DomText 11 years ago
Andrew Dolgov 79834eda77 experimentally simplify highlight searching 11 years ago
wltb 28f92d28d8 Highlighting search results: Added heuristic approach for common capitalizations, fixed indentions 11 years ago
Andrew Dolgov a447f4e40a term highlighting in content: use mb functions 11 years ago
Andrew Dolgov 87721123b7 remove plaintext url rewriting for twitter posts 11 years ago
Andrew Dolgov d41ad03712 note the source of highlighting routine 11 years ago
Andrew Dolgov dd90eb2c7a search keyword highlighting (combined mode only) 11 years ago
Andrew Dolgov 07eb36583c lang: default to 'en' 11 years ago
Andrew Dolgov 6b4617970f add text_languagedetect to guess article language for better hyphenation
(bump schema)
11 years ago
Andrew Dolgov f035e6dc82 tweak the zoomed article a little bit 11 years ago
Andrew Dolgov cdfc41149d get_article_labels: cache converted label ids 11 years ago
Andrew Dolgov ac57b9dd19 add experimental css hyphens support for english language 12 years ago
Andrew Dolgov 8d47635919 fix yet another typo with the 2week catchup thing (closes #737) 12 years ago
Andrew Dolgov 7543f05612 release 1.9 12 years ago
Andrew Dolgov 893960b039 previous patch: fix copy-paste typo 12 years ago
Andrew Dolgov d86945c7ef add openssl version hack to fetch_file_contents() 12 years ago
gsomgsomgsom be5e469d65 Fix plural forms localization in js. Updated russian locale 12 years ago
Andrew Dolgov aefed7f75c add workaround for openssl 0.9 bug (http://tt-rss.org/forum/viewtopic.php?t=2420&p=13734#p13734) 12 years ago
Andrew Dolgov 55c773e893 add a sanity check for system sphinx client which conflicts with the bundled one 12 years ago
Andrew Dolgov 030b2a31c1 Revert "do not include sphinxclient if the class already exists"
This reverts commit 63edc5c631.
12 years ago
Andrew Dolgov 63edc5c631 do not include sphinxclient if the class already exists 12 years ago
Andrew Dolgov 0997c2bd62 Revert "add temporary hack to store original unhashed guid into cached_content for debugging"
This reverts commit 8096e309a5.
12 years ago
Andrew Dolgov fde0b96f6d Merge pull request #263 from yak1ex/messages_in_plural_form_in_js
Create message table entries for plural forms and lookup them in JS.
12 years ago
Frederik Holden 39de69406b Change default SELF_URL_PATH for RFC 2602 12 years ago
Yak! da07af65d5 Create table entries for plural forms and lookup them. 12 years ago
Andrew Dolgov 761af552d9 zoomed article: support opening attachments 12 years ago
Andrew Dolgov 8096e309a5 add temporary hack to store original unhashed guid into cached_content for debugging 12 years ago
Andrew Dolgov abb04b76a5 share: indicate whether article is shared or not using the icon 12 years ago
Andrew Dolgov a6a61a8cb1 add plugin to show all shared articles 12 years ago
Andrew Dolgov fe61dc1823 geturl: limit amount of redirects 12 years ago
Andrew Dolgov c052e25a8b remove unused cached_content 12 years ago
Andrew Dolgov f48d89fd58 Merge branch 'hookhead' of git://github.com/justauserx/Tiny-Tiny-RSS into justauserx-hookhead 12 years ago
Andrew Dolgov 2f20dd58d2 integrate silk icons by Mark James 12 years ago
justauser 3b96b0ed7c Merge branch 'master' into hookhead
Conflicts:
	include/functions.php

changes for conflicts with master
12 years ago
justauser e4e9ac1fc2 Merge branch 'master' of http://github.com/gothfox/Tiny-Tiny-RSS
updating from github]
12 years ago
justauser 47fecba235 changes to add hook_query_headlines 12 years ago
Andrew Dolgov c722c0be17 rewrite_relative_url: don't touch stuff which has sheme in it (closes #738) 12 years ago
Andrew Dolgov 04a8c2065f better error reporting in session validation 12 years ago
Joakim 4cb2c55025 Filter test from web interface now replicates behaviour from pull #167 12 years ago
justauser 7171f32dc5 Merge remote-tracking branch 'origin' into hookhead
Conflicts:
	classes/feeds.php

fix for merging up to the origin
12 years ago
justauser 891e36f57e Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided. 12 years ago
craywolf 3cda9e2a40 Fix version in preferences footer 12 years ago
Andrew Dolgov a8572a7182 login page: remove version 12 years ago
Andrew Dolgov 420940fa90 do not catchup newly subscribed feeds 12 years ago
Andrew Dolgov b627f574f8 fix 2week catchup parameter 12 years ago
Andrew Dolgov 202a81e7ba add rel=noreferrer to article links 12 years ago
Andrew Dolgov 84acb0b711 Merge pull request #227 from whyparkc/master
Pull request for localization for Korean
12 years ago
Andrew Dolgov 30d2d8a6ef Merge pull request #226 from mhaley/patches-no-preload
Don't preload audio attachments.
12 years ago
Andrew Dolgov a586afa37d do no try to pass MS icon files to GD 12 years ago
Andrew Dolgov 8d1cfe8020 colorPalette: try checking imagesize before invoking GD 12 years ago
whyparkc d349eb8f88 adding Korean in the language list 12 years ago
Matt Haley afd0849e30 Don't preload audio attachments. 12 years ago
Andrew Dolgov b684a2e665 fix crash on feedlist collapse, do not use _COLLAPSED_FEEDLIST pref 12 years ago
Andrew Dolgov b5a9ef5ebc release 1.8 12 years ago
Andrew Dolgov 1fcebfb3c7 make_lockfile: don't do inode checking on windows 12 years ago
Andrew Dolgov 58fc7095ed make_lockfile: check ino and dev fields for lock file (refs #703) 12 years ago
Luc Didry c4db796fc7 Fix automatic language detection for registered users
If you do not choose a language, the db pref record for your language is an empty string, but if you choose "automatic detection" and save your prefs, it's "auto".
"auto" in startup_gettext function prevents ttrss to choose the appropriate language.
12 years ago
Andrew Dolgov 53a49ff82a properly handle per-feed hide_images setting in three panel mode (closes #706) 12 years ago
Andrew Dolgov 67f4fe1780 format_tags_string: fix typo 12 years ago
Andrew Dolgov 7c01db43ef sphinx: type cast port to integer 12 years ago
Andrew Dolgov 2457679aed switch AUTO_ASSIGN_LABELS to off by default (bump schema) 12 years ago
Andrew Dolgov 80d8d2d026 update config checks for SMTP_SECURE 12 years ago
Andrew Dolgov 102a36c233 Merge pull request #212 from hoelzro/master
Fix self-signed certificate issue (issue 698)
12 years ago
Rob Hoelz 40a35a628d Don't verify SSL peers in geturl 12 years ago
Rob Hoelz e2b4c0b70c Pass error code along if geturl fails 12 years ago
Andrew Dolgov 67e0cf9a37 add startup_gettext() calls to several endpoints for unregistered users so the output would be translated based on accept-language header 12 years ago
Andrew Dolgov 8ff2a86cf3 fix file_is_locked 12 years ago
gitawego 44bf49d414 @FIXED dijit modules aren't cached even all the js files are compressed
@CHANGED use require to load all the dependencies
@FIXED dojo.parser isn't loaded in cached mode, it has to be loaded via require.
12 years ago
Andrew Dolgov 4077f72ced Revert "@FIXED dijit modules aren't cached even all the js files are compressed"
This reverts commit 4f70f13f26.
12 years ago
gitawego 4f70f13f26 @FIXED dijit modules aren't cached even all the js files are compressed 12 years ago
Andrew Dolgov 1d76589693 file_is_locked: check if file exists before trying to flock it 12 years ago
Andrew Dolgov d7b5a9e7f5 labels: add auxcounters 12 years ago
Heiko Adams 9717d5de9d fixed wrong path for css files in function calculate_dep_timestamp 12 years ago
Andrew Dolgov 6791af0cfd pass feed it to feed_fetched and fetch_feed hooks 12 years ago
Andrew Dolgov ee65bef405 add HOOK_FETCH_FEED 12 years ago
Andrew Dolgov 0ad2013bd2 update_rss_feed: remove unused override_url parameter 12 years ago
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
12 years ago
Andrew Dolgov a5eca88750 add a placeholder where floicon might be added if needed, still keep it
off trunk re: author being a shitlord
12 years ago
Andrew Dolgov 82852ecd33 Revert "remove floicon because its author is a colossal shitlord (http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822)"
This reverts commit dce5037888.
12 years ago
Andrew Dolgov cc0e24ba90 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 12 years ago
Andrew Dolgov 7711086b9a when checking filter expression for validity, do not include ttrss_feed_categories (closes #689) 12 years ago
Steven Hiscocks 13db181d10 Fix password field missing on login form when auth_internal not used 12 years ago
Andrew Dolgov dce5037888 remove floicon because its author is a colossal shitlord (http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822) 12 years ago
Andrew Dolgov 47673e6611 add fetch_url and owner_uid to HOOK_FEED_FETCHED 12 years ago
Andrew Dolgov d1f3fa9791 try to force-convert feed data to utf8 12 years ago
Andrew Dolgov 6a51939ee6 db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users 12 years ago
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 12 years ago
Andrew Dolgov 32011b9b66 get_minified_js: use basename() on cached file 12 years ago
Andrew Dolgov d1c977bfbb release 1.7.9 12 years ago
Andrew Dolgov 15d52d5152 errorhandler: check for Logger class existing 12 years ago
Andrew Dolgov fd687300bf Revert "subscribe_to_feed: use already fetched data when updating initially"
This reverts commit 23923fb29b.
12 years ago
Andrew Dolgov 74a8b2f6f1 check_for_update: compare against VERSION_STATIC 12 years ago
Andrew Dolgov 14c53e4e60 tweak visual for headlines 12 years ago
Andrew Dolgov 23923fb29b subscribe_to_feed: use already fetched data when updating initially 12 years ago
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 12 years ago
Andrew Dolgov f4ae0f053b update: remove debugging block 12 years ago
Andrew Dolgov 54b7590c7f format_article_tags: improve performance 12 years ago
Andrew Dolgov f8a25082b3 make tag cache processing faster in cdm 12 years ago
Andrew Dolgov 566417c4e7 restore updstart threshold 12 years ago
Andrew Dolgov 5d3e5a1bb2 simplify feed cache age handling (reduce caching to sequential updates) 12 years ago
Andrew Dolgov 5de4010487 disable marking for the time being 12 years ago
Andrew Dolgov 5ef8409700 move the precautionary timestamp bumping 12 years ago
Andrew Dolgov d0e9c40a5a Revert "ccache: do not force recalculate child counters on category upgrade because this is handled elsewhere"
http://tt-rss.org/forum/viewtopic.php?f=10&t=1964

This reverts commit d571740b33.
12 years ago
Andrew Dolgov 5d0d3887af add _DISABLE_HTTP_304 12 years ago
Andrew Dolgov 15c762beda updater: show owner_uid for checked feeds 12 years ago
Andrew Dolgov 52637d3b30 remove cache valid bailout clause 12 years ago
Andrew Dolgov 865a3ed6a0 change feed cache file extension 12 years ago
Andrew Dolgov d4992d6b48 add support for dc:subject and slash:comments 12 years ago
Andrew Dolgov ee78f81ccd update: better tag-related debugging info 12 years ago
Andrew Dolgov 852d4ac890 support RDF-XML feeds 12 years ago
Andrew Dolgov fd0daa9b55 remove simplepie 12 years ago
Andrew Dolgov 431e27851b actually save feed xml in the cache 12 years ago
Andrew Dolgov 99429e57e4 remove simplepie entity decode hacks 12 years ago
Andrew Dolgov b8f316dc28 change caching to save xml data, remove RDF init section 12 years ago
Andrew Dolgov 04d2f9c831 add basic rss support 12 years ago
Andrew Dolgov cd07592c29 add basic tinyparser/atom 12 years ago
Andrew Dolgov 65c8d5e76d update: set last_updated to now() when process starts 12 years ago
Andrew Dolgov d571740b33 ccache: do not force recalculate child counters on category upgrade because this is handled elsewhere 12 years ago
Andrew Dolgov b18d109f22 only get USER_LANGUAGE on schema 120 and up 12 years ago