Commit Graph

7955 Commits

Author SHA1 Message Date
Andrew Dolgov af973646d6 Merge pull request #433 from hybner/master
fix parse atom feed
2015-02-02 13:11:26 +03:00
Lukas Hybner 4834ad5639 fix parse atom feed 2015-02-02 10:57:32 +01:00
Andrew Dolgov d498b60c6d do not subscribe new users to now obsolete releases feed 2015-02-01 22:11:06 +03:00
Andrew Dolgov ffc3a1e579 session: don't try to validate session schema version on empty sessions 2015-01-31 18:48:11 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
Andrew Dolgov fbea9eaad2 Merge pull request #432 from andersk/floating
Make the floating title transition smoother
2015-01-31 10:33:53 +03:00
Anders Kaseorg 5c145bde7a Make the floating title transition smoother
Previously the floating title would not appear until the real title
scrolled entirely out of view, which was visually distracting.  Now it
appears at the point when its bottom lines up with the real title’s
bottom.  This isn’t perfect yet due to small differences between the
two titles’ layouts, but it’s much closer.

We now need to use visibility: visible|hidden instead of display:
block|none to show and hide the floating title, in order to be able to
retrieve its height while it’s hidden.  It’s important to use that
height because occasionally line wrapping differences make the
floating title shorter than the real title, and we don’t want the real
title to poke out from underneath.

Also fix scrollToRowId to offset by the 4 pixel top margin (like
cdmScrollToArticleId already does), so that it goes back to a point
when the floating title was hidden; and set the right margin on the
floating title so that it’s the same width as the real title and
doesn’t overlap the scroll bar.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-01-30 21:58:44 -05:00
Andrew Dolgov 3192fb43bc do not invalidate session when version_static and user agent changes 2015-01-30 13:14:19 +03:00
Andrew Dolgov 206326c219 feedparser: xpath doesn't properly query for title element if there's a default namespace so let's add a separate ugly hack for rdf:RDF feeds, thanks for that xml dipshits 2015-01-19 21:40:20 +03:00
Andrew Dolgov 94238b143a related: do not consider negative scored headlines 2015-01-19 18:18:03 +03:00
Andrew Dolgov d806953471 trgm: extend relative articles search interval 2015-01-19 16:42:10 +03:00
Andrew Dolgov f52879fed5 trgm: add basic related stories dialog 2015-01-19 15:46:15 +03:00
Andrew Dolgov 7ebb2daf91 trgm: add disabled for now button part (add missing files) 2015-01-19 15:12:40 +03:00
Andrew Dolgov 167fb03f3e trgm: add disabled for now button part 2015-01-19 14:59:33 +03:00
Andrew Dolgov 9a121298e1 add some stuff to the trgm plugin 2015-01-19 14:22:41 +03:00
Andrew Dolgov 97600ddd97 af_psql_trgm: allow dupe checking within one feed 2015-01-19 12:56:36 +03:00
Andrew Dolgov 117efb6fa4 add trgm plugin for postgresql 2015-01-19 12:52:15 +03:00
Andrew Dolgov c9299c28c6 comment out old-school test trgm code 2015-01-19 12:51:59 +03:00
Andrew Dolgov d87b710d84 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2015-01-15 10:37:42 +03:00
Andrew Dolgov 7871ed81b7 Merge pull request #430 from dzaikos/rss-get-title
Updated FeedItem_RSS::get_title()
2015-01-15 10:37:27 +03:00
Andrew Dolgov b1bb951fb8 fix for yet another dilbert changes 2015-01-15 09:23:45 +03:00
zaikos 2b4853f515 Reverts most of be60340. Implements a simplier solution using XPath to get the proper title tag from a feed item. 2015-01-14 16:13:39 -05:00
zaikos be60340c29 Made FeedItem_RSS::get_title() more aggresive in finding an article title. 2015-01-14 13:28:58 -05:00
Andrew Dolgov 50547484b4 Merge pull request #429 from dzaikos/master
Temporarily enable entity loader when importing XML file.
2014-12-26 23:24:49 +03:00
zaikos 4262e0019a Temporarily disable entity loader when importing XML file. 2014-12-26 14:43:38 -05:00
Andrew Dolgov ec5ac2ec30 rebase translations, update script to maybe extract more translations from js files (fuck you xgettext you piece of shit) 2014-12-18 18:27:30 +03:00
Andrew Dolgov 06f328a31b Merge pull request #427 from andersk/duplicate-indexes
Drop duplicate database indexes
2014-12-18 11:55:36 +03:00
Anders Kaseorg bd40827b73 Drop duplicate database indexes
These duplicate indexes were found by the pt-duplicate-key-checker
tool in percona-toolkit.  Duplicate indexes waste space and slow down
the query planner.  Closes #835.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2014-12-18 02:50:03 -05:00
Andrew Dolgov 945ecd7db6 fix explosm comics plugin 2014-12-12 12:23:33 +03:00
Andrew Dolgov d8895ec679 1.15.3 to fix tag/version mismatch 2014-12-10 21:33:18 +03:00
Andrew Dolgov 21d7585a54 disable version checking for night.css 2014-12-09 23:54:28 +03:00
Andrew Dolgov e054faa182 release 1.15.1 2014-12-09 23:51:57 +03:00
Andrew Dolgov 3457ce7c59 temporarily enable entity loader when importing opml because idk 2014-12-09 22:54:44 +03:00
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 2014-12-09 15:16:53 +03:00
Andrew Dolgov 9b46c8e5e7 release 1.15 2014-12-08 15:02:51 +03:00
Andrew Dolgov 584411fee6 disable libxml entity loader to prevent attacks via xml external entities (fixes #833) 2014-12-08 14:49:54 +03:00
Andrew Dolgov 682c7c2911 night theme: add workaround for grayscale filter not working on firefox, other minor tweaks 2014-12-06 11:45:41 +03:00
Andrew Dolgov c63850fad0 if loaded over ssl and iframe is whitelisted, set its source to https 2014-12-06 08:52:43 +03:00
Andrew Dolgov bd07626826 tweak selected feed display a bit 2014-12-05 00:29:54 +03:00
Andrew Dolgov 9fd581336e fetch_file_contents: support retarded schema-less urls
af_comics_dilbert: fix for new dilbert.com shenanigans
2014-12-03 22:43:25 +03:00
Andrew Dolgov 2681f684c7 af_comics_pa: check node exists before trying to manipulate it 2014-12-03 18:06:22 +03:00
Andrew Dolgov 3ba0599de7 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2014-11-29 20:35:16 +03:00
Andrew Dolgov 3194a70a03 api: getHeadlines: add configurable excerpt_length (bump api version) 2014-11-29 20:16:09 +03:00
Andrew Dolgov 880647ba00 Merge pull request #424 from tmo-github/TMO_ttrss
Modify query to avoid a full table scan on MySQL
2014-11-28 10:11:33 +03:00
tmo-github 8458a312ae Modify query to avoid a full table scan on MySQL 2014-11-27 20:04:24 +01:00
Andrew Dolgov e8a0d290c0 no_iframes: remove everything except good iframes 2014-11-25 18:40:19 +03:00
Andrew Dolgov 2c30a62e77 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2014-11-25 13:48:07 +03:00
Andrew Dolgov 9997b38e3e api: allow requesting headlines as if client supports iframe sandboxing 2014-11-25 13:45:21 +03:00
Andrew Dolgov 59b5d5f3e6 allow embedding videos from youtube and vimeo natively 2014-11-25 13:45:02 +03:00
Andrew Dolgov a08e2e4d93 Merge pull request #422 from rwetzlmayr/master
de_DE l10n: Fix typo
2014-11-20 00:59:52 +03:00