Commit graph

8331 commits

Author SHA1 Message Date
John Brayton
401eb0f694 Specify feed_id as an int rather than a string. 2016-08-28 20:08:37 -04:00
John Brayton
f1b3b3f330 Add feed_id to subscribeToFeed response when the code is 1 or 0.
Set the API_LEVEL to 14.
2016-08-27 10:29:25 -04:00
Andrew Dolgov
557d86fe42 better debugging for matched filter rules 2016-08-26 14:45:34 +03:00
Andrew Dolgov
4719aaca8a 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
2016-08-26 12:39:46 +03:00
Dmitry Potapov
14fa9ce6b3 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.
2016-08-26 12:36:47 +03:00
Andrew Dolgov
e8a94ec7e2 af_psql_trgm: do not try to render preference pane if enabled on mysql 2016-08-25 09:47:02 +03:00
Andrew Dolgov
e54eb40a8c remove support for legacy mysql driver 2016-08-21 14:03:35 +03:00
Andrew Dolgov
a005ebb693 remove classes/db/api.php (shouldn't be there) 2016-08-19 18:33:48 +03:00
Andrew Dolgov
fa142b9642 Merge branch 'german-translation' into 'master'
German translation



See merge request !33
2016-08-19 18:31:23 +03:00
Heiko Adams
66f73f5525
Updated german translation 2016-08-19 17:29:36 +02:00
Heiko Adams
2842cf6e45 Merge branch 'master' into german-translation 2016-08-19 17:25:05 +02:00
Andrew Dolgov
c565a0cc21 rebase translations 2016-08-19 18:16:36 +03:00
Andrew Dolgov
1a322ff3df import_export: better error message if upload failed 2016-08-19 18:14:22 +03:00
Andrew Dolgov
a84fb943b4 pre-users: disallow renaming admin user 2016-08-17 17:54:27 +03:00
Andrew Dolgov
539f6ee6cd update schema 128 to properly set ttrss_feeds.last_updated default value to NULL 2016-08-17 09:43:22 +03:00
Andrew Dolgov
5cbd1fe8e4 perform housekeeping tasks for plugins loaded in user-context only 2016-08-11 15:01:01 +03:00
Andrew Dolgov
d39a2f8005 switch modules to new dojo definition format 2016-08-10 13:40:24 +03:00
Andrew Dolgov
546b419f52 catch plugin JS errors 2016-08-10 12:23:35 +03:00
Andrew Dolgov
f6d2787a8e plugins: use require() to hook into dojo 2016-08-10 12:22:55 +03:00
Andrew Dolgov
fd539f2800 prefs: use dojo asynchronously 2016-08-10 12:22:30 +03:00
Andrew Dolgov
0dbc20a8d4 load dijit properly, duh 2016-08-10 11:49:05 +03:00
Andrew Dolgov
ee5170424e dojo: main UI: load stuff asynchronously 2016-08-10 10:01:05 +03:00
Andrew Dolgov
25a533c432 bump static version to 16.8 2016-08-10 09:15:52 +03:00
Andrew Dolgov
6ff51c1997 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
2016-08-07 22:22:09 +03:00
Andrew Dolgov
3b4d9619e9 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
2016-08-07 22:21:45 +03:00
JustAMacUser
babfadbfd2 Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER. 2016-08-06 14:16:39 -04:00
JustAMacUser
d8b0f06705 Remove href attribute if it executes JavaScript. 2016-08-06 14:07:30 -04:00
Andrew Dolgov
4800746386 tweet embed: force utf-8 2016-08-02 18:08:00 +03:00
Andrew Dolgov
46506d3fd6 af_redditimgur: rework gfycat pages 2016-08-02 17:01:53 +03:00
Andrew Dolgov
8c395462be af_redditimgur: support .mp4 links 2016-08-02 16:45:06 +03:00
Andrew Dolgov
e487e92d70 readability: increase maximum source document size, reorganize the reddit plugin code a bit 2016-08-02 12:25:54 +03:00
Andrew Dolgov
49048482d8 af_redditimgur: relax poster image url condition for imgur a bit 2016-08-02 07:56:25 +03:00
Andrew Dolgov
43db5b99eb af_redditimgur: only check embed url variants unless match is found 2016-08-01 21:07:18 +03:00
Andrew Dolgov
8788698b05 basic tweet embedding using oembed 2016-08-01 21:03:36 +03:00
Andrew Dolgov
90e45935bb af_redditimgur: try to guess images to embed using content-type 2016-08-01 16:20:14 +03:00
Andrew Dolgov
e97e2ec9f3 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2016-08-01 08:26:35 +03:00
Andrew Dolgov
d419aed543 trgm plugin: increase check distance to 3 days 2016-08-01 08:26:11 +03:00
Andrew Dolgov
9e38b6ca79 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
2016-07-26 23:38:48 +03:00
Andrew Dolgov
a6fde6c99f af_redditimgur: support video elements in imgur albums 2016-07-26 16:29:17 +03:00
Andrew Dolgov
64c24ecb59 add hotkey for toggling VFEED_GROUP_BY_FEED preference 2016-07-26 15:55:00 +03:00
Andrew Dolgov
76ba1df76e af_redditimgur: use browser UA for readability requests 2016-07-26 15:46:54 +03:00
JustAMacUser
dae16f72c9 Only strings need 4-byte filtering. 2016-07-26 03:51:22 -04:00
Andrew Dolgov
1818614949 api: fix article guid not being passed to render article hook 2016-07-20 15:38:42 +03:00
Andrew Dolgov
4afcf63563 api host: add session validation 2016-07-20 13:55:51 +03:00
Andrew Dolgov
5d97019d5d api: load user plugins properly 2016-07-20 13:52:22 +03:00
Andrew Dolgov
e6905f7f87 test if mb_internal_encoding() is available in functions.php head 2016-07-07 10:02:55 +03:00
Andrew Dolgov
eb95d1bddf af_redditimgur: handle i.reddituploads.com as pictures 2016-07-07 09:04:38 +03:00
Andrew Dolgov
cfc2fe50cb fix sql error when subscribing to a feed using feed archive 2016-07-05 11:48:36 +03:00
Andrew Dolgov
582ff3cf6e af_redditimgur: make sure content_link is defined even if content dupcheck is disabled 2016-07-05 11:01:36 +03:00
Andrew Dolgov
2e68712261 set referrer policy to 'no-referrer' 2016-06-03 12:08:03 +03:00