]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
7 years agoadd api test for labels, api: fix setArticleLabel assign not handled correctly
Andrew Dolgov [Thu, 27 Apr 2017 06:04:23 +0000 (09:04 +0300)]
add api test for labels, api: fix setArticleLabel assign not handled correctly

7 years agorename functional tests
Andrew Dolgov [Thu, 27 Apr 2017 05:47:21 +0000 (08:47 +0300)]
rename functional tests

7 years agoadd some more api tests
Andrew Dolgov [Thu, 27 Apr 2017 05:46:57 +0000 (08:46 +0300)]
add some more api tests

7 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Wed, 26 Apr 2017 21:24:29 +0000 (00:24 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss

7 years agoadd some basic API unit tests
Andrew Dolgov [Wed, 26 Apr 2017 21:24:17 +0000 (00:24 +0300)]
add some basic API unit tests

7 years agophpmd ci: add plugins
Andrew Dolgov [Wed, 26 Apr 2017 18:15:43 +0000 (21:15 +0300)]
phpmd ci: add plugins

7 years agoci scripts: exit properly on failure
Andrew Dolgov [Wed, 26 Apr 2017 18:15:23 +0000 (21:15 +0300)]
ci scripts: exit properly on failure

7 years agophpmd: disable cleancode for the time being
Andrew Dolgov [Wed, 26 Apr 2017 18:07:02 +0000 (21:07 +0300)]
phpmd: disable cleancode for the time being

7 years agoupdate phpmd ruleset to use (subset) of cleancode
Andrew Dolgov [Wed, 26 Apr 2017 17:57:36 +0000 (20:57 +0300)]
update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files

7 years agoremove some redundant php closing tags
Andrew Dolgov [Wed, 26 Apr 2017 17:24:18 +0000 (20:24 +0300)]
remove some redundant php closing tags

7 years agoci: fix typo
Andrew Dolgov [Wed, 26 Apr 2017 13:31:21 +0000 (16:31 +0300)]
ci: fix typo

7 years agoenable phpmd for all components
Andrew Dolgov [Wed, 26 Apr 2017 13:29:50 +0000 (16:29 +0300)]
enable phpmd for all components

7 years agoci: check syntax via php first
Andrew Dolgov [Wed, 26 Apr 2017 13:26:53 +0000 (16:26 +0300)]
ci: check syntax via php first

7 years agoadd back stuff for selenium tests
Andrew Dolgov [Wed, 26 Apr 2017 13:07:35 +0000 (16:07 +0300)]
add back stuff for selenium tests

7 years agoremove before_script
Andrew Dolgov [Wed, 26 Apr 2017 13:01:39 +0000 (16:01 +0300)]
remove before_script

7 years agoadd basic schema test back to CI
Andrew Dolgov [Wed, 26 Apr 2017 13:00:03 +0000 (16:00 +0300)]
add basic schema test back to CI

7 years agoupdate_daemon: mask phpmd stuff
Andrew Dolgov [Wed, 26 Apr 2017 12:44:56 +0000 (15:44 +0300)]
update_daemon: mask phpmd stuff

7 years agofix phpmd.sh
Andrew Dolgov [Wed, 26 Apr 2017 12:38:40 +0000 (15:38 +0300)]
fix phpmd.sh

7 years agomove phpmd stuff to a script
Andrew Dolgov [Wed, 26 Apr 2017 12:33:01 +0000 (15:33 +0300)]
move phpmd stuff to a script

7 years agofix various issues reported by static analysis
Andrew Dolgov [Wed, 26 Apr 2017 12:29:22 +0000 (15:29 +0300)]
fix various issues reported by static analysis
update gitlab-ci config

7 years agofix maximum width of images in cdmIntermediate
Andrew Dolgov [Wed, 26 Apr 2017 12:23:57 +0000 (15:23 +0300)]
fix maximum width of images in cdmIntermediate

7 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Wed, 26 Apr 2017 11:07:55 +0000 (14:07 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

7 years agoadd utils/gitlab-ci
Andrew Dolgov [Wed, 26 Apr 2017 11:07:11 +0000 (14:07 +0300)]
add utils/gitlab-ci

7 years agoci: fix typo
Andrew Dolgov [Wed, 26 Apr 2017 11:05:47 +0000 (14:05 +0300)]
ci: fix typo

7 years agolimit CI to phpmd for the time being
Andrew Dolgov [Wed, 26 Apr 2017 11:01:25 +0000 (14:01 +0300)]
limit CI to phpmd for the time being

7 years agotest some basic popup dialogs
Andrew Dolgov [Tue, 25 Apr 2017 15:55:09 +0000 (18:55 +0300)]
test some basic popup dialogs

7 years agoadd some basic prefs UI tests
Andrew Dolgov [Tue, 25 Apr 2017 15:45:11 +0000 (18:45 +0300)]
add some basic prefs UI tests

7 years agoadd test checking if all articles feed opens
Andrew Dolgov [Tue, 25 Apr 2017 11:42:21 +0000 (14:42 +0300)]
add test checking if all articles feed opens

7 years agoCI: use when:manual instead of limiting to triggers
Andrew Dolgov [Tue, 25 Apr 2017 10:52:42 +0000 (13:52 +0300)]
CI: use when:manual instead of limiting to triggers

7 years agoadd initial gitlab-ci and selenium stuff
Andrew Dolgov [Tue, 25 Apr 2017 10:44:41 +0000 (13:44 +0300)]
add initial gitlab-ci and selenium stuff

7 years agoreturn result codes if DB connection or --debug-feed fails
Andrew Dolgov [Tue, 25 Apr 2017 10:39:01 +0000 (13:39 +0300)]
return result codes if DB connection or --debug-feed fails

7 years agoMerge branch 'imgproxy_ssl_whitelist_tweaks' into 'master'
Andrew Dolgov [Sun, 23 Apr 2017 20:31:32 +0000 (23:31 +0300)]
Merge branch 'imgproxy_ssl_whitelist_tweaks' into 'master'

af_zz_imgproxy optional SSL whitelist tweaks

See merge request !51

7 years agoRespect 'proxy_all' during optional SSL whitelist rewrite
wn_ [Sun, 23 Apr 2017 19:17:24 +0000 (14:17 -0500)]
Respect 'proxy_all' during optional SSL whitelist rewrite

7 years agoCompare end of domains when checking known SSL whitelist.
wn_ [Sun, 23 Apr 2017 18:55:14 +0000 (13:55 -0500)]
Compare end of domains when checking known SSL whitelist.

For example: "imgur.com.mysite.com" should not match the "imgur.com" whitelist entry.

7 years agoUpdate CONTRIBUTING.md
Andrew Dolgov [Sun, 23 Apr 2017 20:00:40 +0000 (23:00 +0300)]
Update CONTRIBUTING.md

7 years agoAdd contribution guide
Andrew Dolgov [Sun, 23 Apr 2017 19:16:50 +0000 (22:16 +0300)]
Add contribution guide

7 years agobump version_static to 17.4 17.4
Andrew Dolgov [Sat, 22 Apr 2017 21:48:51 +0000 (00:48 +0300)]
bump version_static to 17.4

7 years agoadd COPYING
Andrew Dolgov [Sat, 22 Apr 2017 12:42:34 +0000 (15:42 +0300)]
add COPYING

7 years agoaf_zz_imgproxy: add gfycat to ssl whitelist
Andrew Dolgov [Sat, 22 Apr 2017 12:26:33 +0000 (15:26 +0300)]
af_zz_imgproxy: add gfycat to ssl whitelist

7 years agoaf_zz_imgproxy: implement a whitelist of known sites that have optional SSL
Andrew Dolgov [Thu, 20 Apr 2017 06:09:00 +0000 (09:09 +0300)]
af_zz_imgproxy: implement a whitelist of known sites that have optional SSL

7 years agoMerge branch 'fix_af_comic_tfd_filter' into 'master'
Andrew Dolgov [Mon, 10 Apr 2017 16:46:16 +0000 (19:46 +0300)]
Merge branch 'fix_af_comic_tfd_filter' into 'master'

Fix the TFD filter and add Married to the sea

A while ago TFD changed the html for the comics page and broke the filter.
Here is a patch to show the comics in the feed again, as well as add Married to the Sea (sister site)

See merge request !50

7 years agoauth_remote: check for PHP_AUTH_USER too
Andrew Dolgov [Sun, 9 Apr 2017 11:15:46 +0000 (14:15 +0300)]
auth_remote: check for PHP_AUTH_USER too

7 years agoFix the TFD filter and add Married to the sea
Bill Bagdon [Sat, 8 Apr 2017 16:59:03 +0000 (12:59 -0400)]
Fix the TFD filter and add Married to the sea

7 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Fri, 31 Mar 2017 08:22:07 +0000 (11:22 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

7 years agofilter by search results while marking feed as read
Andrew Dolgov [Fri, 31 Mar 2017 08:21:35 +0000 (11:21 +0300)]
filter by search results while marking feed as read

7 years agoMerge branch 'italian_translation' into 'master'
Andrew Dolgov [Thu, 30 Mar 2017 04:28:43 +0000 (07:28 +0300)]
Merge branch 'italian_translation' into 'master'

Updated italian translation

- new lines translated
- minor editing

See merge request !49

7 years agoUpdated italian translation
dedioste [Wed, 29 Mar 2017 20:06:49 +0000 (22:06 +0200)]
Updated italian translation
- new lines translated
- minor editing

7 years agoenclosures: rewrite relative urls on import, duh
Andrew Dolgov [Mon, 27 Mar 2017 16:20:46 +0000 (19:20 +0300)]
enclosures: rewrite relative urls on import, duh

7 years agoadd cosmetic suffixes back for cached url links
Andrew Dolgov [Thu, 23 Mar 2017 15:26:43 +0000 (18:26 +0300)]
add cosmetic suffixes back for cached url links

7 years agorebase translations
Andrew Dolgov [Thu, 23 Mar 2017 12:25:26 +0000 (15:25 +0300)]
rebase translations

7 years agowhen choosing enclosures to embed or rewrite (af_zz_imgproxy) only use content type...
Andrew Dolgov [Thu, 23 Mar 2017 12:22:00 +0000 (15:22 +0300)]
when choosing enclosures to embed or rewrite (af_zz_imgproxy) only use content type instead of "filename"-based hacks

7 years agoenable caching of media in article enclosures
Andrew Dolgov [Thu, 23 Mar 2017 12:19:25 +0000 (15:19 +0300)]
enable caching of media in article enclosures

7 years agorename cache images option label (rip translations)
Andrew Dolgov [Thu, 23 Mar 2017 12:16:31 +0000 (15:16 +0300)]
rename cache images option label (rip translations)

7 years agoallow caching of audio files
Andrew Dolgov [Thu, 23 Mar 2017 12:03:22 +0000 (15:03 +0300)]
allow caching of audio files

7 years agoremove local file extensions and generalize some method names for cached media
Andrew Dolgov [Thu, 23 Mar 2017 11:55:40 +0000 (14:55 +0300)]
remove  local file extensions and generalize some method names for cached media
file extensions may still be present in urls, but are ignored by the backend

MIGRATION (if you have any cached data worth keeping, not required):
in cache/images run "rename 's/\..*$//' *" i.e. strip file extensions

7 years agocdmClicked: do not use event.target.parents to figure out if clicked on a heading
Andrew Dolgov [Mon, 6 Mar 2017 09:19:13 +0000 (12:19 +0300)]
cdmClicked: do not use event.target.parents to figure out if clicked on a heading

7 years agorewrite relative urls for html5 audio source elements
Andrew Dolgov [Mon, 6 Mar 2017 06:20:58 +0000 (09:20 +0300)]
rewrite relative urls for html5 audio source elements

7 years agoimprove JS error logging with additional stuff
Andrew Dolgov [Sun, 5 Mar 2017 07:50:15 +0000 (10:50 +0300)]
improve JS error logging with additional stuff

7 years agouse try/catch block in updatefeedlist
Andrew Dolgov [Sun, 5 Mar 2017 07:30:49 +0000 (10:30 +0300)]
use try/catch block in updatefeedlist
remove reporting function from exception dialog

7 years agosimplify error handling
Andrew Dolgov [Sat, 4 Mar 2017 11:34:44 +0000 (14:34 +0300)]
simplify error handling

* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations

7 years agofix update.php showing --help option with a single -
Andrew Dolgov [Thu, 23 Feb 2017 10:06:39 +0000 (13:06 +0300)]
fix update.php showing --help option with a single -

7 years agorework the way headlines menus identify calling row
Andrew Dolgov [Fri, 17 Feb 2017 06:01:45 +0000 (09:01 +0300)]
rework the way headlines menus identify calling row

7 years agoMerge branch 'improve-update_feedbrowser_cache-sql-query' into 'master'
Andrew Dolgov [Thu, 16 Feb 2017 12:07:41 +0000 (15:07 +0300)]
Merge branch 'improve-update_feedbrowser_cache-sql-query' into 'master'

Improve update_feedbrowser_cache SQL query

As explained in <https://tt-rss.org/forum/viewtopic.php?t=4060&p=23768>, this change improved drastically the query time.

See merge request !48

7 years agoImprove update_feedbrowser_cache SQL query
Luc Didry [Thu, 16 Feb 2017 11:05:32 +0000 (12:05 +0100)]
Improve update_feedbrowser_cache SQL query

7 years agoeditFilter: fix selector expressions broken by 88946d3
Andrew Dolgov [Wed, 15 Feb 2017 10:22:16 +0000 (13:22 +0300)]
editFilter: fix selector expressions broken by 88946d3

7 years agoaf_zz_imgproxy: remove filter hook, not needed
Andrew Dolgov [Tue, 14 Feb 2017 16:46:37 +0000 (19:46 +0300)]
af_zz_imgproxy: remove filter hook, not needed

7 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Tue, 14 Feb 2017 15:49:11 +0000 (18:49 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

7 years agoaf_zz_imgproxy: rewrite to absolute url; add on-parse article filter hook to handle...
Andrew Dolgov [Tue, 14 Feb 2017 15:48:40 +0000 (18:48 +0300)]
af_zz_imgproxy: rewrite to absolute url; add on-parse article filter hook to handle redirect situation in case frontend has  open_basedir (disabled currently)

7 years agoMerge branch 'german-translation' into 'master'
Andrew Dolgov [Tue, 14 Feb 2017 10:42:29 +0000 (13:42 +0300)]
Merge branch 'german-translation' into 'master'

Update german translation

See merge request !47

7 years agoUpdate german translation
Heiko Adams [Tue, 14 Feb 2017 08:43:24 +0000 (09:43 +0100)]
Update german translation

7 years agorebase translations
Andrew Dolgov [Tue, 14 Feb 2017 08:22:32 +0000 (11:22 +0300)]
rebase translations

7 years agoset error report url to https
Andrew Dolgov [Tue, 14 Feb 2017 06:32:21 +0000 (09:32 +0300)]
set error report url to https

7 years agobind headlines menu to a selector to avoid remaking it unnecessarily
Andrew Dolgov [Mon, 13 Feb 2017 20:36:58 +0000 (23:36 +0300)]
bind headlines menu to a selector to avoid remaking it unnecessarily

7 years agofix vertical position of cdm collapse button in floating title
Andrew Dolgov [Mon, 13 Feb 2017 19:49:20 +0000 (22:49 +0300)]
fix vertical position of cdm collapse button in floating title

7 years agocdmcollapse/expand: use less convoluted selector queries
Andrew Dolgov [Mon, 13 Feb 2017 19:45:30 +0000 (22:45 +0300)]
cdmcollapse/expand: use less convoluted selector queries

7 years agoadd af_zz_vidmute
Andrew Dolgov [Mon, 13 Feb 2017 16:21:38 +0000 (19:21 +0300)]
add af_zz_vidmute

7 years agoaf_zz_imgproxy: truncate url in error png
Andrew Dolgov [Mon, 13 Feb 2017 12:49:41 +0000 (15:49 +0300)]
af_zz_imgproxy: truncate url in error png

7 years agoaf_zz_imgproxy: show GD-based (if possible) error message on proxy failure
Andrew Dolgov [Mon, 13 Feb 2017 12:25:52 +0000 (15:25 +0300)]
af_zz_imgproxy: show GD-based (if possible) error message on proxy failure

7 years agorewrite_relative_url: cleanup resulting url path while rewriting
Andrew Dolgov [Mon, 13 Feb 2017 12:25:21 +0000 (15:25 +0300)]
rewrite_relative_url: cleanup resulting url path while rewriting

7 years agoaf_zz_imgproxy: disable api render hook: pointless, because api clients won't have...
Andrew Dolgov [Mon, 13 Feb 2017 05:46:36 +0000 (08:46 +0300)]
af_zz_imgproxy: disable api render hook: pointless, because api clients won't have an authenticated cookie-based session

7 years agoaf_zz_imgproxy: fix typo
Andrew Dolgov [Mon, 13 Feb 2017 05:08:19 +0000 (08:08 +0300)]
af_zz_imgproxy: fix typo

7 years agoformat_article_enclosures: allow embedding .jpeg files
Andrew Dolgov [Sun, 12 Feb 2017 17:24:29 +0000 (20:24 +0300)]
format_article_enclosures: allow embedding .jpeg files

7 years agofix previous, again
Andrew Dolgov [Sun, 12 Feb 2017 17:23:32 +0000 (20:23 +0300)]
fix previous, again

7 years agoaf_zz_imgproxy: limit enclosure rewriting to images
Andrew Dolgov [Sun, 12 Feb 2017 14:32:43 +0000 (17:32 +0300)]
af_zz_imgproxy: limit enclosure rewriting to images

7 years agoadd HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy (2)
Andrew Dolgov [Sun, 12 Feb 2017 14:02:07 +0000 (17:02 +0300)]
add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy (2)

7 years agoadd HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy
Andrew Dolgov [Sun, 12 Feb 2017 13:01:28 +0000 (16:01 +0300)]
add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy

7 years agoMerge branch 'fix-target-blank-vulnerability' into 'master'
Andrew Dolgov [Sun, 12 Feb 2017 11:19:37 +0000 (14:19 +0300)]
Merge branch 'fix-target-blank-vulnerability' into 'master'

Prevent target='_blank' vulnerability on dynamic link

This merge request refere to https://tt-rss.org/forum/viewtopic.php?f=8&t=4048

It fix the issue I enconter on some feeds I follow.
Just need to add "noopener" and "noreferrer" on "_blank" link to avoid the vulnerability.

See merge request !46

7 years agoPrevent target='_blank' vulnerability on dynamic link
Jérémy DECOOL [Sun, 12 Feb 2017 10:01:36 +0000 (11:01 +0100)]
Prevent target='_blank' vulnerability on dynamic link

7 years agoaf_zz_imgproxy: redirect to caller url unless called in user context
Andrew Dolgov [Fri, 10 Feb 2017 19:02:30 +0000 (22:02 +0300)]
af_zz_imgproxy: redirect to caller url unless called in user context

7 years agoallow user plugins to expose public methods out in a limited fashion
Andrew Dolgov [Fri, 10 Feb 2017 13:04:28 +0000 (16:04 +0300)]
allow user plugins to expose public methods out in a limited fashion

7 years agouse get_self_url_prefix() when rewriting cached images
Andrew Dolgov [Fri, 10 Feb 2017 12:14:47 +0000 (15:14 +0300)]
use get_self_url_prefix() when rewriting cached images

7 years agoadd some print_checkbox/print_button calls; rename some plugin preference pane titles
Andrew Dolgov [Fri, 10 Feb 2017 11:57:25 +0000 (14:57 +0300)]
add some print_checkbox/print_button calls; rename some plugin preference pane titles

7 years agoaf_zz_imgproxy: urlencode() url parameter, DUH
Andrew Dolgov [Fri, 10 Feb 2017 11:41:11 +0000 (14:41 +0300)]
af_zz_imgproxy: urlencode() url parameter, DUH

7 years agouse print_hidden() for hidden dojo form fields
Andrew Dolgov [Fri, 10 Feb 2017 11:36:21 +0000 (14:36 +0300)]
use print_hidden() for hidden dojo form fields

7 years agoaf_zz_imgproxy: add optional setting to proxy all remote images
Andrew Dolgov [Fri, 10 Feb 2017 11:17:18 +0000 (14:17 +0300)]
af_zz_imgproxy: add optional setting to proxy all remote images
functions: add some form helper methods

7 years agoaf_zz_imgproxy: use inline disposition, misc updates
Andrew Dolgov [Fri, 10 Feb 2017 09:37:21 +0000 (12:37 +0300)]
af_zz_imgproxy: use inline disposition, misc updates

7 years agoupdate af_zz_imgproxy to plug into built-in image caching
Andrew Dolgov [Fri, 10 Feb 2017 09:12:09 +0000 (12:12 +0300)]
update af_zz_imgproxy to plug into built-in image caching

7 years agosanitize: properly handle cached content in archived articles
Andrew Dolgov [Fri, 10 Feb 2017 09:11:09 +0000 (12:11 +0300)]
sanitize: properly handle cached content in archived articles

7 years agoadd af_zz_imgproxy (initial)
Andrew Dolgov [Fri, 10 Feb 2017 07:25:10 +0000 (10:25 +0300)]
add af_zz_imgproxy (initial)

7 years agopass several image files used in notify messages to frontend as base64 to prevent...
Andrew Dolgov [Thu, 9 Feb 2017 20:19:26 +0000 (23:19 +0300)]
pass several image files used in notify messages to frontend as base64 to prevent broken error messages in case network connection is down. also, update some close buttons to show correct cursor.