]> git.wh0rd.org - tt-rss.git/log
tt-rss.git
7 years agolib: Upgrade php-gettext from 1.0.11 to 1.0.12
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>
7 years agolib: Upgrade Prototype from 1.7 to 1.7.3
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>
7 years agoforce-enable persist for feedTree
Andrew Dolgov [Sat, 21 Jan 2017 19:21:46 +0000 (22:21 +0300)] 
force-enable persist for feedTree

7 years agoMerge branch 'dojo-1.12.1'
Andrew Dolgov [Sat, 21 Jan 2017 18:59:17 +0000 (21:59 +0300)] 
Merge branch 'dojo-1.12.1'

Conflicts:
js/prefs.js

7 years agoprefs: add updateSelectedPrompt shim called by toggleSelectedRow()
Andrew Dolgov [Sat, 21 Jan 2017 18:49:10 +0000 (21:49 +0300)] 
prefs: add updateSelectedPrompt shim called by toggleSelectedRow()

7 years agoadd dependency on dojo/_base/html
Andrew Dolgov [Sat, 21 Jan 2017 18:47:44 +0000 (21:47 +0300)] 
add dependency on dojo/_base/html

7 years agolib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
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>
7 years agoReplace deprecated dojo.place with domConstruct.place
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>
7 years agodojo: Build dojo/dom-construct
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>
7 years agotweak the enclosure dropdown display a little bit for less-readable urls
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

7 years agoupdate phpmailer
Andrew Dolgov [Mon, 16 Jan 2017 13:30:01 +0000 (16:30 +0300)] 
update phpmailer

7 years agoMerge branch 'subscribe-idn-feed' into 'master'
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

7 years agoheadlines toolbar: move selection links into the dropdown
Andrew Dolgov [Sat, 7 Jan 2017 14:03:58 +0000 (17:03 +0300)] 
headlines toolbar: move selection links into the dropdown

7 years agoadd toggle_sidebar plugin, remove obsolete toggle button
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

7 years agohide selected_prompt on low width screens
Andrew Dolgov [Sat, 7 Jan 2017 11:59:30 +0000 (14:59 +0300)] 
hide selected_prompt on low width screens

7 years agodeprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
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

7 years agoMerge branch 'fclose-before-unlink-updater' into 'master'
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

7 years agoMake sure we are running on Windows before fclose() to avoid race condition possible...
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.

7 years agoClose lockfile handle before trying to unlink during update.
tsimmons [Thu, 5 Jan 2017 21:56:24 +0000 (15:56 -0600)] 
Close lockfile handle before trying to unlink during update.

7 years agoedit tags dialog: fix height
Andrew Dolgov [Wed, 4 Jan 2017 07:40:09 +0000 (10:40 +0300)] 
edit tags dialog: fix height

7 years agomail plugin: i guess rows= on dijit text areas doesn't work now
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

7 years agottrssmailer: include phpmailer's smtp class
Andrew Dolgov [Wed, 4 Jan 2017 07:33:24 +0000 (10:33 +0300)] 
ttrssmailer: include phpmailer's smtp class

7 years agoconvert to punycode for feed on idn hostname
Bernhard Thaler [Mon, 2 Jan 2017 21:50:26 +0000 (22:50 +0100)] 
convert to punycode for feed on idn hostname

7 years agoupdate phpmailer (again)
Andrew Dolgov [Thu, 29 Dec 2016 04:37:10 +0000 (07:37 +0300)] 
update phpmailer (again)

7 years agoupdate phpmailer
Andrew Dolgov [Mon, 26 Dec 2016 19:26:16 +0000 (22:26 +0300)] 
update phpmailer

7 years agoedit tags dialog: enable overflow so that tag completion works properly
Andrew Dolgov [Tue, 13 Dec 2016 12:26:39 +0000 (15:26 +0300)] 
edit tags dialog: enable overflow so that tag completion works properly

7 years agoset_basic_feed_info: fix typo
Andrew Dolgov [Wed, 30 Nov 2016 11:09:57 +0000 (14:09 +0300)] 
set_basic_feed_info: fix typo

7 years agorssfuncs: fix warning when trying to update nonexisting feed
Andrew Dolgov [Wed, 30 Nov 2016 11:03:21 +0000 (14:03 +0300)] 
rssfuncs: fix warning when trying to update nonexisting feed

7 years agomaybe we shouldn't escape entry_author twice
Andrew Dolgov [Fri, 25 Nov 2016 11:04:41 +0000 (14:04 +0300)] 
maybe we shouldn't escape entry_author twice

7 years agocategory: swap context menu items
Andrew Dolgov [Tue, 22 Nov 2016 06:11:13 +0000 (09:11 +0300)] 
category: swap context menu items

7 years agofeedparser: fix syntax error
Andrew Dolgov [Fri, 11 Nov 2016 16:47:09 +0000 (19:47 +0300)] 
feedparser: fix syntax error

7 years agofeed tree: add category context menu entry to un/collapse it
Andrew Dolgov [Fri, 11 Nov 2016 11:14:31 +0000 (14:14 +0300)] 
feed tree: add category context menu entry to un/collapse it

7 years agofeedparser: fix normalize_encoding() not working properly for some encodings
Andrew Dolgov [Fri, 11 Nov 2016 11:08:40 +0000 (14:08 +0300)] 
feedparser: fix normalize_encoding() not working properly for some encodings

7 years agofetch_file_contents: set timeout when not using CURL
Andrew Dolgov [Mon, 24 Oct 2016 13:12:18 +0000 (16:12 +0300)] 
fetch_file_contents: set timeout when not using CURL

7 years agoget_article_filters: add unicode modifier to preg_match()
Andrew Dolgov [Wed, 19 Oct 2016 18:40:58 +0000 (21:40 +0300)] 
get_article_filters: add unicode modifier to preg_match()

7 years agoshared posts: remove link to feed in externally shared articles to prevent leaking...
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

7 years agoparser: only try to convert encoding if mbstring actually supports it
Andrew Dolgov [Mon, 5 Sep 2016 12:02:31 +0000 (15:02 +0300)] 
parser: only try to convert encoding if mbstring actually supports it

7 years agoMerge branch 'add_feed_id_to_subscribeToFeed_response' into 'master'
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

7 years agoSpecify feed_id as an int rather than a string.
John Brayton [Mon, 29 Aug 2016 00:08:37 +0000 (20:08 -0400)] 
Specify feed_id as an int rather than a string.

7 years agoAdd feed_id to subscribeToFeed response when the code is 1 or 0.
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.

7 years agobetter debugging for matched filter rules
Andrew Dolgov [Fri, 26 Aug 2016 11:45:34 +0000 (14:45 +0300)] 
better debugging for matched filter rules

7 years agoMerge branch 'fix-night-theme-for-ios' into 'master'
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

7 years agoFix themes/night.css for iOS browsers
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.

7 years agoaf_psql_trgm: do not try to render preference pane if enabled on mysql
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

7 years agoremove support for legacy mysql driver
Andrew Dolgov [Sun, 21 Aug 2016 11:03:35 +0000 (14:03 +0300)] 
remove support for legacy mysql driver

7 years agoremove classes/db/api.php (shouldn't be there)
Andrew Dolgov [Fri, 19 Aug 2016 15:33:48 +0000 (18:33 +0300)] 
remove classes/db/api.php (shouldn't be there)

7 years agoMerge branch 'german-translation' into 'master'
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

7 years agoUpdated german translation
Heiko Adams [Fri, 19 Aug 2016 15:29:36 +0000 (17:29 +0200)] 
Updated german translation

7 years agoMerge branch 'master' into german-translation
Heiko Adams [Fri, 19 Aug 2016 15:25:05 +0000 (17:25 +0200)] 
Merge branch 'master' into german-translation

7 years agorebase translations
Andrew Dolgov [Fri, 19 Aug 2016 15:16:36 +0000 (18:16 +0300)] 
rebase translations

7 years agoimport_export: better error message if upload failed
Andrew Dolgov [Fri, 19 Aug 2016 15:14:22 +0000 (18:14 +0300)] 
import_export: better error message if upload failed

7 years agopre-users: disallow renaming admin user
Andrew Dolgov [Wed, 17 Aug 2016 14:54:27 +0000 (17:54 +0300)] 
pre-users: disallow renaming admin user

7 years agoupdate schema 128 to properly set ttrss_feeds.last_updated default value to NULL
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

7 years agoperform housekeeping tasks for plugins loaded in user-context only
Andrew Dolgov [Thu, 11 Aug 2016 12:01:01 +0000 (15:01 +0300)] 
perform housekeeping tasks for plugins loaded in user-context only

7 years agoswitch modules to new dojo definition format
Andrew Dolgov [Wed, 10 Aug 2016 10:40:24 +0000 (13:40 +0300)] 
switch modules to new dojo definition format

7 years agocatch plugin JS errors
Andrew Dolgov [Wed, 10 Aug 2016 09:23:35 +0000 (12:23 +0300)] 
catch plugin JS errors

7 years agoplugins: use require() to hook into dojo
Andrew Dolgov [Wed, 10 Aug 2016 09:22:55 +0000 (12:22 +0300)] 
plugins: use require() to hook into dojo

7 years agoprefs: use dojo asynchronously
Andrew Dolgov [Wed, 10 Aug 2016 09:22:30 +0000 (12:22 +0300)] 
prefs: use dojo asynchronously

7 years agoload dijit properly, duh
Andrew Dolgov [Wed, 10 Aug 2016 08:48:09 +0000 (11:48 +0300)] 
load dijit properly, duh

7 years agodojo: main UI: load stuff asynchronously
Andrew Dolgov [Wed, 10 Aug 2016 07:01:05 +0000 (10:01 +0300)] 
dojo: main UI: load stuff asynchronously

7 years agobump static version to 16.8 16.8
Andrew Dolgov [Wed, 10 Aug 2016 06:15:52 +0000 (09:15 +0300)] 
bump static version to 16.8

7 years agoMerge branch 'more-info-article-filter' into 'master'
Andrew Dolgov [Sun, 7 Aug 2016 19:22:09 +0000 (22:22 +0300)] 
Merge branch 'more-info-article-filter' into 'master'

Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.

Adds the `$cache_images` value to the `$article['feed']` array before calling HOOK_ARTICLE_FILTER. Allows plugins to know whether images will be cached in case they want to manage them in one way or another.

See merge request !32

7 years agoMerge branch 'patch-strip-harmful-tags' into 'master'
Andrew Dolgov [Sun, 7 Aug 2016 19:21:45 +0000 (22:21 +0300)] 
Merge branch 'patch-strip-harmful-tags' into 'master'

Remove href attribute if it executes JavaScript.

Security update to prevent A tags with a `javascript:` href from actually executing the JavaScript.

See merge request !31

7 years agoPass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.
JustAMacUser [Sat, 6 Aug 2016 18:16:39 +0000 (14:16 -0400)] 
Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.

7 years agoRemove href attribute if it executes JavaScript.
JustAMacUser [Sat, 6 Aug 2016 18:07:30 +0000 (14:07 -0400)] 
Remove href attribute if it executes JavaScript.

7 years agotweet embed: force utf-8
Andrew Dolgov [Tue, 2 Aug 2016 15:08:00 +0000 (18:08 +0300)] 
tweet embed: force utf-8

7 years agoaf_redditimgur: rework gfycat pages
Andrew Dolgov [Tue, 2 Aug 2016 14:01:53 +0000 (17:01 +0300)] 
af_redditimgur: rework gfycat pages

7 years agoaf_redditimgur: support .mp4 links
Andrew Dolgov [Tue, 2 Aug 2016 13:45:06 +0000 (16:45 +0300)] 
af_redditimgur: support .mp4 links

7 years agoreadability: increase maximum source document size, reorganize the reddit plugin...
Andrew Dolgov [Tue, 2 Aug 2016 09:25:54 +0000 (12:25 +0300)] 
readability: increase maximum source document size, reorganize the reddit plugin code a bit

7 years agoaf_redditimgur: relax poster image url condition for imgur a bit
Andrew Dolgov [Tue, 2 Aug 2016 04:56:25 +0000 (07:56 +0300)] 
af_redditimgur: relax poster image url condition for imgur a bit

7 years agoaf_redditimgur: only check embed url variants unless match is found
Andrew Dolgov [Mon, 1 Aug 2016 18:07:18 +0000 (21:07 +0300)] 
af_redditimgur: only check embed url variants unless match is found

7 years agobasic tweet embedding using oembed
Andrew Dolgov [Mon, 1 Aug 2016 18:03:36 +0000 (21:03 +0300)] 
basic tweet embedding using oembed

7 years agoaf_redditimgur: try to guess images to embed using content-type
Andrew Dolgov [Mon, 1 Aug 2016 13:20:14 +0000 (16:20 +0300)] 
af_redditimgur: try to guess images to embed using content-type

7 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Mon, 1 Aug 2016 05:26:35 +0000 (08:26 +0300)] 
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

7 years agotrgm plugin: increase check distance to 3 days
Andrew Dolgov [Mon, 1 Aug 2016 05:26:11 +0000 (08:26 +0300)] 
trgm plugin: increase check distance to 3 days

7 years agoMerge branch 'mb4-string-only' into 'master'
Andrew Dolgov [Tue, 26 Jul 2016 20:38:48 +0000 (23:38 +0300)] 
Merge branch 'mb4-string-only' into 'master'

Only strings need 4-byte filtering.

Things like booleans, integers, etc. can be excluded as only strings have 4-byte characters.

Keeps the data types consistent.

See merge request !30

7 years agoaf_redditimgur: support video elements in imgur albums
Andrew Dolgov [Tue, 26 Jul 2016 13:29:17 +0000 (16:29 +0300)] 
af_redditimgur: support video elements in imgur albums

7 years agoadd hotkey for toggling VFEED_GROUP_BY_FEED preference
Andrew Dolgov [Tue, 26 Jul 2016 12:55:00 +0000 (15:55 +0300)] 
add hotkey for toggling VFEED_GROUP_BY_FEED preference

7 years agoaf_redditimgur: use browser UA for readability requests
Andrew Dolgov [Tue, 26 Jul 2016 12:46:54 +0000 (15:46 +0300)] 
af_redditimgur: use browser UA for readability requests

7 years agoOnly strings need 4-byte filtering.
JustAMacUser [Tue, 26 Jul 2016 07:51:22 +0000 (03:51 -0400)] 
Only strings need 4-byte filtering.

7 years agoapi: fix article guid not being passed to render article hook
Andrew Dolgov [Wed, 20 Jul 2016 12:38:42 +0000 (15:38 +0300)] 
api: fix article guid not being passed to render article hook

7 years agoapi host: add session validation
Andrew Dolgov [Wed, 20 Jul 2016 10:55:51 +0000 (13:55 +0300)] 
api host: add session validation

7 years agoapi: load user plugins properly
Andrew Dolgov [Wed, 20 Jul 2016 10:52:22 +0000 (13:52 +0300)] 
api: load user plugins properly

7 years agotest if mb_internal_encoding() is available in functions.php head
Andrew Dolgov [Thu, 7 Jul 2016 07:02:55 +0000 (10:02 +0300)] 
test if mb_internal_encoding() is available in functions.php head

7 years agoaf_redditimgur: handle i.reddituploads.com as pictures
Andrew Dolgov [Thu, 7 Jul 2016 06:04:38 +0000 (09:04 +0300)] 
af_redditimgur: handle i.reddituploads.com as pictures

7 years agofix sql error when subscribing to a feed using feed archive
Andrew Dolgov [Tue, 5 Jul 2016 08:48:36 +0000 (11:48 +0300)] 
fix sql error when subscribing to a feed using feed archive

7 years agoaf_redditimgur: make sure content_link is defined even if content dupcheck is disabled
Andrew Dolgov [Tue, 5 Jul 2016 08:01:36 +0000 (11:01 +0300)] 
af_redditimgur: make sure content_link is defined even if content dupcheck is disabled

7 years agoset referrer policy to 'no-referrer'
Andrew Dolgov [Fri, 3 Jun 2016 09:08:03 +0000 (12:08 +0300)] 
set referrer policy to 'no-referrer'

7 years agoset referrer-policy to none
Andrew Dolgov [Wed, 1 Jun 2016 13:21:03 +0000 (16:21 +0300)] 
set referrer-policy to none

8 years agoMerge with master
Heiko Adams [Wed, 18 May 2016 12:44:39 +0000 (14:44 +0200)] 
Merge with master

8 years agodisable autocomplete in subscription dialog
Andrew Dolgov [Wed, 18 May 2016 11:48:51 +0000 (14:48 +0300)] 
disable autocomplete in subscription dialog

8 years agoupdate autocomplete to "new-password"
Andrew Dolgov [Wed, 18 May 2016 09:43:56 +0000 (12:43 +0300)] 
update autocomplete to "new-password"

8 years agoset feed editor password fields to autocomplete=off
Andrew Dolgov [Wed, 18 May 2016 09:31:25 +0000 (12:31 +0300)] 
set feed editor password fields to autocomplete=off

8 years agoremove .htaccess files
Andrew Dolgov [Fri, 13 May 2016 06:10:54 +0000 (09:10 +0300)] 
remove .htaccess files

8 years agoupdate_rss_feed: log warning when attempting to update unknown feed
Andrew Dolgov [Fri, 29 Apr 2016 19:10:00 +0000 (22:10 +0300)] 
update_rss_feed: log warning when attempting to update unknown feed

8 years agogenerate_syndicated_feed: sanitize content excerpt
Andrew Dolgov [Fri, 29 Apr 2016 19:00:02 +0000 (22:00 +0300)] 
generate_syndicated_feed: sanitize content excerpt

8 years agosanitize: force strip unnecessary data outside of <body>...</body> tags generated...
Andrew Dolgov [Fri, 29 Apr 2016 18:59:34 +0000 (21:59 +0300)] 
sanitize: force strip unnecessary data outside of <body>...</body> tags generated by DOMDocument::saveHTML()

8 years agoactually check for failures properly in the dbupdater
Andrew Dolgov [Tue, 26 Apr 2016 17:04:24 +0000 (20:04 +0300)] 
actually check for failures properly in the dbupdater

8 years agodaemon common: use proper update condition checking for secondary-selected feeds
Andrew Dolgov [Fri, 1 Apr 2016 15:54:53 +0000 (18:54 +0300)] 
daemon common: use proper update condition checking for secondary-selected feeds

8 years agofetch_file_contents: fix shim when invoked with 1 argument only
Andrew Dolgov [Thu, 31 Mar 2016 06:48:05 +0000 (09:48 +0300)] 
fetch_file_contents: fix shim when invoked with 1 argument only