]>
git.wh0rd.org Git - tt-rss.git/log
Andrew Dolgov [Wed, 25 Jan 2017 05:50:42 +0000 (08:50 +0300)]
pass article guid to hook_render_article
Andrew Dolgov [Wed, 25 Jan 2017 05:43:50 +0000 (08:43 +0300)]
Merge branch 'fix-sanitize-dfn' into 'master'
sanitize: allow <dfn> tag
### In brief
* Add `<dfn>` tag to allowed tags list
* `<dfn>` represents the defining instance of a term in HTML
* More [information about `<dfn>` on the w3school's website](http://www.w3schools.com/tags/tag_dfn.asp )
### Example
This stops article content such as...
```
Indian tea harvests are divided up by <dfn>flush</dfn>.
```
...from getting turned into...
```
Indian tea harvests are divided up by .
```
See merge request !45
Shane Synan [Wed, 25 Jan 2017 00:39:17 +0000 (18:39 -0600)]
sanitize: allow dfn tag
Add <dfn> tag to allowed tags list. <dfn> represents the defining
instance of a term in HTML.
Andrew Dolgov [Tue, 24 Jan 2017 20:08:21 +0000 (23:08 +0300)]
Merge branch 'more-af-comics' into 'master'
Support hyphens in GoComics URLs.
See merge request !44
JustAMacUser [Tue, 24 Jan 2017 20:06:46 +0000 (15:06 -0500)]
Support hyphens in GoComics URLs.
Andrew Dolgov [Tue, 24 Jan 2017 15:45:25 +0000 (18:45 +0300)]
support rel=noopener for links
Andrew Dolgov [Tue, 24 Jan 2017 12:11:13 +0000 (15:11 +0300)]
fetch_file_contents: rework the way shim works to prevent intermittent warnings
Andrew Dolgov [Tue, 24 Jan 2017 08:36:43 +0000 (11:36 +0300)]
sanitize: allow acronym tag
Andrew Dolgov [Mon, 23 Jan 2017 16:21:25 +0000 (19:21 +0300)]
add some vertical space to diijt menu items
Andrew Dolgov [Mon, 23 Jan 2017 05:20:46 +0000 (08:20 +0300)]
reference pubsubhubbub classes using their namespace
Andrew Dolgov [Sun, 22 Jan 2017 18:57:31 +0000 (21:57 +0300)]
Merge branch 'af-comics-ui' into 'master'
Added feed URL instructions for GoComics.
GoComics feed URL syntax now included on existing Prefs page for af_comics plugin.
See merge request !43
JustAMacUser [Sun, 22 Jan 2017 18:52:25 +0000 (13:52 -0500)]
Added feed URL instructions for GoComics.
Andrew Dolgov [Sun, 22 Jan 2017 17:57:16 +0000 (20:57 +0300)]
unpackVisibleHeadlines: do not iterate over all RROWs all the time
Andrew Dolgov [Sun, 22 Jan 2017 17:20:35 +0000 (20:20 +0300)]
feed tree: only run animation for appearing unread counters to prevent clashes with aux counter updating and animations ending up in wrong state
Andrew Dolgov [Sun, 22 Jan 2017 16:58:17 +0000 (19:58 +0300)]
initHeadlinesMenu: remove unneeded output
Andrew Dolgov [Sun, 22 Jan 2017 16:57:16 +0000 (19:57 +0300)]
attach headline menu objects to correct DOM nodes in combined mode
Andrew Dolgov [Sun, 22 Jan 2017 16:38:07 +0000 (19:38 +0300)]
parse_counters: cache previous reply and skip processing of unchanged rows (better implementation)
Andrew Dolgov [Sun, 22 Jan 2017 16:29:14 +0000 (19:29 +0300)]
parse_counters: cache previous reply and skip processing of unchanged rows
Andrew Dolgov [Sun, 22 Jan 2017 16:20:23 +0000 (19:20 +0300)]
reuse menu objects while appending headline rows
Andrew Dolgov [Sun, 22 Jan 2017 14:46:11 +0000 (17:46 +0300)]
collapse_feedlist: also toggle splitter
Andrew Dolgov [Sun, 22 Jan 2017 10:55:36 +0000 (13:55 +0300)]
bump VERSION_STATIC due to Dojo changes
Andrew Dolgov [Sun, 22 Jan 2017 10:43:32 +0000 (13:43 +0300)]
dojoConfig: use cacheBust
Andrew Dolgov [Sun, 22 Jan 2017 10:21:41 +0000 (13:21 +0300)]
feedtree: fix for long feed titles making counters invisible
Andrew Dolgov [Sun, 22 Jan 2017 08:03:45 +0000 (11:03 +0300)]
Merge branch 'af-comics-gocomics-feed' into 'master'
Update af_comics plugin to support GoComics.
Updates the af_comics plugin to support new GoComics site, which dropped native RSS feeds.
See merge request !42
Andrew Dolgov [Sun, 22 Jan 2017 07:19:11 +0000 (10:19 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Sun, 22 Jan 2017 07:18:43 +0000 (10:18 +0300)]
force ngettext() count argument type to string
JustAMacUser [Sun, 22 Jan 2017 07:14:02 +0000 (02:14 -0500)]
Update af_comics to handle new GoComics site.
JustAMacUser [Sun, 22 Jan 2017 07:12:09 +0000 (02:12 -0500)]
Added support to fetch_file_contents() to explicitly set CURLOPT_FOLLOWLOCATION.
Andrew Dolgov [Sun, 22 Jan 2017 06:47:20 +0000 (09:47 +0300)]
Merge branch 'settimeout-strings' into 'master'
Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.
See merge request !41
Anders Kaseorg [Fri, 20 Jan 2017 18:13:31 +0000 (13:13 -0500)]
Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Andrew Dolgov [Sat, 21 Jan 2017 20:06:35 +0000 (23:06 +0300)]
Merge branch 'lib-upgrades' into 'master'
Third-party library upgrades
* lib: Upgrade php-gettext from 1.0.11 to 1.0.12
* lib: Upgrade accept-to-gettext.php from 2003-08-14 to 2007-04-01
* lib: Upgrade JShrink from 0.5.1 to 1.1.0
* lib: Upgrade mobile-detect from svn r44 (2012-05-03) to 2.8.24 (2016-11-11)
* lib: Upgrade php-publisher from ??? to
a5d6a0e (2016-11-15)
* lib: Upgrade php-subscriber from ??? to
1213f89 (2016-11-15)
* lib: Upgrade script.aculo.us from 1.8.3 to 1.9.0
* lib: Upgrade timezones.txt from 2010k/l/m/n/2011a to 2016j
See merge request !40
Andrew Dolgov [Sat, 21 Jan 2017 20:02:22 +0000 (23:02 +0300)]
Merge branch 'prototype-1.7.3' into 'master'
lib: Upgrade Prototype from 1.7 to 1.7.3
Are you sure you want these as separate merge requests? The rest of the upgrades are much less invasive than Dojo, with essentially no changes outside of `lib`. I would of course leave them as separate commits in any case, but I had assumed they would be more convenient to test in one batch.
See merge request !39
Anders Kaseorg [Fri, 20 Jan 2017 21:46:13 +0000 (16:46 -0500)]
lib: Upgrade timezones.txt from 2010k/l/m/n/2011a to 2016j
https://www.iana.org/time-zones
The local change adding Automatic was preserved; the local change
removing Zulu was not.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 21:13:30 +0000 (16:13 -0500)]
lib: Upgrade script.aculo.us from 1.8.3 to 1.9.0
https://script.aculo.us/
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 20:59:48 +0000 (15:59 -0500)]
lib: Upgrade php-subscriber from ??? to
1213f89 (2016-11-15)
https://github.com/pubsubhubbub/php-subscriber
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 20:58:12 +0000 (15:58 -0500)]
lib: Upgrade php-publisher from ??? to
a5d6a0e (2016-11-15)
https://github.com/pubsubhubbub/php-publisher
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 20:32:07 +0000 (15:32 -0500)]
lib: Upgrade mobile-detect from svn r44 (2012-05-03) to 2.8.24 (2016-11-11)
https://github.com/serbanghita/Mobile-Detect
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 20:18:46 +0000 (15:18 -0500)]
lib: Upgrade JShrink from 0.5.1 to 1.1.0
https://github.com/tedivm/JShrink
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 20:03:04 +0000 (15:03 -0500)]
lib: Upgrade accept-to-gettext.php from 2003-08-14 to 2007-04-01
http://grep.be/data/accept-to-gettext.inc
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Fri, 20 Jan 2017 19:49:24 +0000 (14:49 -0500)]
lib: Upgrade php-gettext from 1.0.11 to 1.0.12
https://launchpad.net/php-gettext
The local change to rename the gettext_reader function to
__construct (commit
00b6b66827c5ce0c103399f2742581fa90d50a97 ) has been
preserved.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Andrew Dolgov [Sat, 21 Jan 2017 20:00:05 +0000 (23:00 +0300)]
addendum to the previous
Andrew Dolgov [Sat, 21 Jan 2017 19:58:32 +0000 (22:58 +0300)]
assorted CSS fixes related to Dojo upgrade
Andrew Dolgov [Sat, 21 Jan 2017 19:39:41 +0000 (22:39 +0300)]
set .loadingExpando height to a correct value
Anders Kaseorg [Fri, 20 Jan 2017 18:49:03 +0000 (13:49 -0500)]
lib: Upgrade Prototype from 1.7 to 1.7.3
http://prototypejs.org/
The local change from ‘on’ to ‘p_on’ for Dojo compatibility has been
preserved.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Andrew Dolgov [Sat, 21 Jan 2017 19:33:23 +0000 (22:33 +0300)]
prefs: auto expand feed tree
Andrew Dolgov [Sat, 21 Jan 2017 19:30:20 +0000 (22:30 +0300)]
fix loading indicator position/size for tree leafs
Andrew Dolgov [Sat, 21 Jan 2017 19:21:46 +0000 (22:21 +0300)]
force-enable persist for feedTree
Andrew Dolgov [Sat, 21 Jan 2017 18:59:17 +0000 (21:59 +0300)]
Merge branch 'dojo-1.12.1'
Conflicts:
js/prefs.js
Andrew Dolgov [Sat, 21 Jan 2017 18:49:10 +0000 (21:49 +0300)]
prefs: add updateSelectedPrompt shim called by toggleSelectedRow()
Andrew Dolgov [Sat, 21 Jan 2017 18:47:44 +0000 (21:47 +0300)]
add dependency on dojo/_base/html
Anders Kaseorg [Fri, 20 Jan 2017 17:29:59 +0000 (12:29 -0500)]
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sat, 21 Jan 2017 17:54:36 +0000 (12:54 -0500)]
Replace deprecated dojo.place with domConstruct.place
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Anders Kaseorg [Sat, 21 Jan 2017 17:57:31 +0000 (12:57 -0500)]
dojo: Build dojo/dom-construct
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Andrew Dolgov [Tue, 17 Jan 2017 11:04:00 +0000 (14:04 +0300)]
tweak the enclosure dropdown display a little bit for less-readable urls
Andrew Dolgov [Mon, 16 Jan 2017 13:30:01 +0000 (16:30 +0300)]
update phpmailer
Andrew Dolgov [Mon, 16 Jan 2017 08:36:00 +0000 (11:36 +0300)]
Merge branch 'subscribe-idn-feed' into 'master'
Subscribe to feed with Internationalized Domain Name
Currently you cannot subscribe to feeds on hosts with internationalized domain names (IDNA) within tt-rss. You need to manually convert them to punycode to subscribe to them.
This patch adds code to detect IDNA and convert them to punycode in fix_url() if possible on the system. This requires PHP IDN functions (e.g. on Debian Jessie this needs php5-intl to be installed), so a notice is added to the installer sanity check.
See merge request !37
Andrew Dolgov [Sat, 7 Jan 2017 14:03:58 +0000 (17:03 +0300)]
headlines toolbar: move selection links into the dropdown
Andrew Dolgov [Sat, 7 Jan 2017 12:29:17 +0000 (15:29 +0300)]
add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
Andrew Dolgov [Sat, 7 Jan 2017 11:59:30 +0000 (14:59 +0300)]
hide selected_prompt on low width screens
Andrew Dolgov [Sat, 7 Jan 2017 11:25:46 +0000 (14:25 +0300)]
deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
1. transparent decryption for existing installs stays for the time being
2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined
3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords
4. updated install to not auto-generate crypt key
5. added warning to config.php-dist
Andrew Dolgov [Fri, 6 Jan 2017 17:18:06 +0000 (20:18 +0300)]
Merge branch 'fclose-before-unlink-updater' into 'master'
If Windows, fclose() before unlink() in updater.php
Windows barks an error if you try to unlink() a file while the pointer is still open(); If running under Windows, fclose() the handle before the unlink();
See merge request !36
tsimmons [Fri, 6 Jan 2017 17:06:09 +0000 (11:06 -0600)]
Make sure we are running on Windows before fclose() to avoid race condition possible in Nix.
tsimmons [Thu, 5 Jan 2017 21:56:24 +0000 (15:56 -0600)]
Close lockfile handle before trying to unlink during update.
Andrew Dolgov [Wed, 4 Jan 2017 07:40:09 +0000 (10:40 +0300)]
edit tags dialog: fix height
Andrew Dolgov [Wed, 4 Jan 2017 07:37:44 +0000 (10:37 +0300)]
mail plugin: i guess rows= on dijit text areas doesn't work now
Andrew Dolgov [Wed, 4 Jan 2017 07:33:24 +0000 (10:33 +0300)]
ttrssmailer: include phpmailer's smtp class
Bernhard Thaler [Mon, 2 Jan 2017 21:50:26 +0000 (22:50 +0100)]
convert to punycode for feed on idn hostname
Andrew Dolgov [Thu, 29 Dec 2016 04:37:10 +0000 (07:37 +0300)]
update phpmailer (again)
Andrew Dolgov [Mon, 26 Dec 2016 19:26:16 +0000 (22:26 +0300)]
update phpmailer
Andrew Dolgov [Tue, 13 Dec 2016 12:26:39 +0000 (15:26 +0300)]
edit tags dialog: enable overflow so that tag completion works properly
Andrew Dolgov [Wed, 30 Nov 2016 11:09:57 +0000 (14:09 +0300)]
set_basic_feed_info: fix typo
Andrew Dolgov [Wed, 30 Nov 2016 11:03:21 +0000 (14:03 +0300)]
rssfuncs: fix warning when trying to update nonexisting feed
Andrew Dolgov [Fri, 25 Nov 2016 11:04:41 +0000 (14:04 +0300)]
maybe we shouldn't escape entry_author twice
Andrew Dolgov [Tue, 22 Nov 2016 06:11:13 +0000 (09:11 +0300)]
category: swap context menu items
Andrew Dolgov [Fri, 11 Nov 2016 16:47:09 +0000 (19:47 +0300)]
feedparser: fix syntax error
Andrew Dolgov [Fri, 11 Nov 2016 11:14:31 +0000 (14:14 +0300)]
feed tree: add category context menu entry to un/collapse it
Andrew Dolgov [Fri, 11 Nov 2016 11:08:40 +0000 (14:08 +0300)]
feedparser: fix normalize_encoding() not working properly for some encodings
Andrew Dolgov [Mon, 24 Oct 2016 13:12:18 +0000 (16:12 +0300)]
fetch_file_contents: set timeout when not using CURL
Andrew Dolgov [Wed, 19 Oct 2016 18:40:58 +0000 (21:40 +0300)]
get_article_filters: add unicode modifier to preg_match()
Andrew Dolgov [Wed, 21 Sep 2016 06:39:31 +0000 (09:39 +0300)]
shared posts: remove link to feed in externally shared articles to prevent leaking potentially private feed urls
Andrew Dolgov [Mon, 5 Sep 2016 12:02:31 +0000 (15:02 +0300)]
parser: only try to convert encoding if mbstring actually supports it
Andrew Dolgov [Mon, 29 Aug 2016 03:59:43 +0000 (06:59 +0300)]
Merge branch 'add_feed_id_to_subscribeToFeed_response' into 'master'
Add feed id to subscribe to feed response
As described on the forum, this proposed change is to make the subscribeToFeed API response include the feed_id of the new or existing feed.
https://tt-rss.org/forum/viewtopic.php?f=8&t=3893
Thank you.
John
See merge request !35
John Brayton [Mon, 29 Aug 2016 00:08:37 +0000 (20:08 -0400)]
Specify feed_id as an int rather than a string.
John Brayton [Sat, 27 Aug 2016 14:29:25 +0000 (10:29 -0400)]
Add feed_id to subscribeToFeed response when the code is 1 or 0.
Set the API_LEVEL to 14.
Andrew Dolgov [Fri, 26 Aug 2016 11:45:34 +0000 (14:45 +0300)]
better debugging for matched filter rules
Andrew Dolgov [Fri, 26 Aug 2016 09:39:46 +0000 (12:39 +0300)]
Merge branch 'fix-night-theme-for-ios' into 'master'
Fix themes/night.css for iOS browsers
Somehow the image filters order matters for iOS browsers (Chrome, Safari), so
grayscale filter is not applied if -webkit-filter is not the last filter in
list.
See merge request !34
Dmitry Potapov [Fri, 26 Aug 2016 09:36:01 +0000 (12:36 +0300)]
Fix themes/night.css for iOS browsers
Somehow the image filters order matters for iOS browsers (Chrome, Safari), so
grayscale filter is not applied if -webkit-filter is not the last filter in
list.
Andrew Dolgov [Thu, 25 Aug 2016 06:47:02 +0000 (09:47 +0300)]
af_psql_trgm: do not try to render preference pane if enabled on mysql
Andrew Dolgov [Sun, 21 Aug 2016 11:03:35 +0000 (14:03 +0300)]
remove support for legacy mysql driver
Andrew Dolgov [Fri, 19 Aug 2016 15:33:48 +0000 (18:33 +0300)]
remove classes/db/api.php (shouldn't be there)
Andrew Dolgov [Fri, 19 Aug 2016 15:31:23 +0000 (18:31 +0300)]
Merge branch 'german-translation' into 'master'
German translation
See merge request !33
Heiko Adams [Fri, 19 Aug 2016 15:29:36 +0000 (17:29 +0200)]
Updated german translation
Heiko Adams [Fri, 19 Aug 2016 15:25:05 +0000 (17:25 +0200)]
Merge branch 'master' into german-translation
Andrew Dolgov [Fri, 19 Aug 2016 15:16:36 +0000 (18:16 +0300)]
rebase translations
Andrew Dolgov [Fri, 19 Aug 2016 15:14:22 +0000 (18:14 +0300)]
import_export: better error message if upload failed
Andrew Dolgov [Wed, 17 Aug 2016 14:54:27 +0000 (17:54 +0300)]
pre-users: disallow renaming admin user
Andrew Dolgov [Wed, 17 Aug 2016 06:43:22 +0000 (09:43 +0300)]
update schema 128 to properly set ttrss_feeds.last_updated default value to NULL
Andrew Dolgov [Thu, 11 Aug 2016 12:01:01 +0000 (15:01 +0300)]
perform housekeeping tasks for plugins loaded in user-context only
Andrew Dolgov [Wed, 10 Aug 2016 10:40:24 +0000 (13:40 +0300)]
switch modules to new dojo definition format
Andrew Dolgov [Wed, 10 Aug 2016 09:23:35 +0000 (12:23 +0300)]
catch plugin JS errors