]> git.wh0rd.org - tt-rss.git/log
tt-rss.git
6 years agoUpdate CONTRIBUTING.md
Andrew Dolgov [Tue, 4 Jul 2017 13:46:13 +0000 (16:46 +0300)] 
Update CONTRIBUTING.md

6 years agorebase translations
Andrew Dolgov [Tue, 4 Jul 2017 13:30:59 +0000 (16:30 +0300)] 
rebase translations

6 years agoremove obsolete forum plugin links
Andrew Dolgov [Tue, 4 Jul 2017 13:28:45 +0000 (16:28 +0300)] 
remove obsolete forum plugin links
mention how to enable system plugins in the UI

6 years agocontrols: disable print_feed_select (unused)
Andrew Dolgov [Sun, 2 Jul 2017 19:57:06 +0000 (22:57 +0300)] 
controls: disable print_feed_select (unused)

6 years agofilters: when adding rule select all feeds by default
Andrew Dolgov [Sun, 2 Jul 2017 19:55:36 +0000 (22:55 +0300)] 
filters: when adding rule select all feeds by default

6 years agoquickAddFeed: fix legacy feed_id type being passed to newrule
Andrew Dolgov [Sun, 2 Jul 2017 19:50:44 +0000 (22:50 +0300)] 
quickAddFeed: fix legacy feed_id type being passed to newrule

6 years agoschema: updates for new filter format (bump version to 131)
Andrew Dolgov [Sun, 2 Jul 2017 17:59:24 +0000 (20:59 +0300)] 
schema: updates for new filter format (bump version to 131)

6 years agodbupdater: fail if version file missing
Andrew Dolgov [Sun, 2 Jul 2017 17:53:07 +0000 (20:53 +0300)] 
dbupdater: fail if version file missing

6 years agoRevert "Revert "filters: support matching on multiple feeds/categories""
Andrew Dolgov [Sun, 2 Jul 2017 17:37:52 +0000 (20:37 +0300)] 
Revert "Revert "filters: support matching on multiple feeds/categories""

This reverts commit f5d174bda96ddc41aa3828bf372a2a3d99cc4460.

6 years agoRevert "filters: support matching on multiple feeds/categories"
Andrew Dolgov [Sun, 2 Jul 2017 17:37:01 +0000 (20:37 +0300)] 
Revert "filters: support matching on multiple feeds/categories"

This reverts commit 0bf7e007bb3a7039ea11601c7f93c6da33604228.

6 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Sun, 2 Jul 2017 17:27:31 +0000 (20:27 +0300)] 
Merge branch 'master' of git.fakecake.org:tt-rss

6 years agofilters: support matching on multiple feeds/categories
Andrew Dolgov [Sun, 2 Jul 2017 17:27:21 +0000 (20:27 +0300)] 
filters: support matching on multiple feeds/categories
opml: update filter export/import for new format

6 years agoprefs: reload after OPML import
Andrew Dolgov [Sun, 2 Jul 2017 17:26:18 +0000 (20:26 +0300)] 
prefs: reload after OPML import

6 years agopref/feeds: start user category ordering from 1
Andrew Dolgov [Mon, 26 Jun 2017 13:29:57 +0000 (16:29 +0300)] 
pref/feeds: start user category ordering from 1
api, getFeeds: send subcategory order_id

6 years agocss: remove dejavu sans
Andrew Dolgov [Sat, 24 Jun 2017 11:33:29 +0000 (14:33 +0300)] 
css: remove dejavu sans

6 years agodb prefs: ignore cache when preference requested for specified UID (in case cached...
Andrew Dolgov [Sat, 24 Jun 2017 11:29:07 +0000 (14:29 +0300)] 
db prefs: ignore cache when preference requested for specified UID (in case cached value of a different profile is stored)
prefs: show (and set) enabled plugins for default profile only

6 years agoupdate_daemon_common: do not escape feed_url twice, remove some comments and stuff
Andrew Dolgov [Tue, 13 Jun 2017 17:09:33 +0000 (20:09 +0300)] 
update_daemon_common: do not escape feed_url twice, remove some comments and stuff

6 years agoaf_comics: add .gitignore
Andrew Dolgov [Mon, 5 Jun 2017 10:10:02 +0000 (13:10 +0300)] 
af_comics: add .gitignore

6 years agoaf_comics updates:
Andrew Dolgov [Mon, 5 Jun 2017 09:53:06 +0000 (12:53 +0300)] 
af_comics updates:

1. move preferences to Feeds tab
2. update CAD comic with support for sillies
3. add support for loading updated/third-party filters from filters.local (would override bundled filters)

6 years agofix dilbert plugin not working because of changed GUIDs or w/e
Andrew Dolgov [Mon, 5 Jun 2017 07:28:59 +0000 (10:28 +0300)] 
fix dilbert plugin not working because of changed GUIDs or w/e

6 years agoMerge branch 'dilbert-comic-plugin' into 'master'
Andrew Dolgov [Sun, 4 Jun 2017 18:10:06 +0000 (21:10 +0300)] 
Merge branch 'dilbert-comic-plugin' into 'master'

af_comics_dilbert: More details (title, tags, transcript)

See merge request !56

6 years agoaf_comics_dilbert: More details (title, tags, transcript)
aeritir [Sun, 4 Jun 2017 17:55:04 +0000 (19:55 +0200)] 
af_comics_dilbert: More details (title, tags, transcript)

6 years agotunables:
Andrew Dolgov [Mon, 29 May 2017 20:14:42 +0000 (23:14 +0300)] 
tunables:
* add CACHE_MAX_DAYS as a tunable generic expiry interval for various cached files
* add some comments to tunables in functions.php
* rename _MIN_CACHE_FILE_SIZE to MIN_CACHE_FILE_SIZE
* respect MIN_CACHE_FILE_SIZE setting in a few more places where content is cached

6 years agoMerge branch 'autoload_replacement' into 'master'
Andrew Dolgov [Sun, 28 May 2017 16:46:06 +0000 (19:46 +0300)] 
Merge branch 'autoload_replacement' into 'master'

Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.

See merge request !54

6 years agoMerge branch 'PrefFeedTree_no_favicon' into 'master'
Andrew Dolgov [Sun, 28 May 2017 09:11:43 +0000 (12:11 +0300)] 
Merge branch 'PrefFeedTree_no_favicon' into 'master'

Show a blank icon in PrefFeedTree if there is no favicon for a feed.

See merge request !55

6 years agoShow a blank icon in PrefFeedTree if there is no favicon for a feed.
wn_ [Sat, 27 May 2017 17:25:59 +0000 (12:25 -0500)] 
Show a blank icon in PrefFeedTree if there is no favicon for a feed.

Duplicates behavior of FeedTree.
Prevents a broken request to 'false' if a feed doesn't have a favicon.

6 years agoReplace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.
wn_ [Sat, 27 May 2017 15:52:16 +0000 (10:52 -0500)] 
Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.

http://php.net/manual/en/function.autoload.php
http://php.net/spl_autoload_register
https://wiki.php.net/rfc/deprecations_php_7_2

6 years agoadd HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
Andrew Dolgov [Fri, 26 May 2017 20:22:00 +0000 (23:22 +0300)] 
add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
Feeds::format_headlines_list: add some comments for cdm article closing tags

6 years agoclasses/Plugin: remove dbh & host fields; set init() and about() as abstract methods.
Andrew Dolgov [Tue, 23 May 2017 18:16:30 +0000 (21:16 +0300)] 
classes/Plugin: remove dbh & host fields; set init() and about() as abstract methods.

6 years agoaf_zz_imgproxy: add optional no-cache mode
Andrew Dolgov [Thu, 18 May 2017 09:56:45 +0000 (12:56 +0300)] 
af_zz_imgproxy: add optional no-cache mode

6 years agomove af_zz_imgsetsizes to attic repo
Andrew Dolgov [Tue, 16 May 2017 08:42:24 +0000 (11:42 +0300)] 
move af_zz_imgsetsizes to attic repo

6 years agomove instances plugin to attic repo
Andrew Dolgov [Tue, 16 May 2017 08:40:09 +0000 (11:40 +0300)] 
move instances plugin to attic repo

6 years agoremove pubsubhubbub: dead
Andrew Dolgov [Tue, 16 May 2017 07:41:20 +0000 (10:41 +0300)] 
remove pubsubhubbub: dead

7 years agofeedtree.selectFeed: focus headlines-frame after selection
Andrew Dolgov [Fri, 12 May 2017 05:05:35 +0000 (08:05 +0300)] 
feedtree.selectFeed: focus headlines-frame after selection

7 years agoshare function: remove tt-rss prefix from page title
Andrew Dolgov [Thu, 11 May 2017 06:56:51 +0000 (09:56 +0300)] 
share function: remove tt-rss prefix from page title

7 years agomove add_feed_url() to pref_feeds
Andrew Dolgov [Thu, 11 May 2017 06:07:49 +0000 (09:07 +0300)] 
move add_feed_url() to pref_feeds

7 years agonotify msg: reduce padding
Andrew Dolgov [Sat, 6 May 2017 07:56:10 +0000 (10:56 +0300)] 
notify msg: reduce padding

7 years agofix DAEMON_SLEEP_INTERVAL not being defined when used
Andrew Dolgov [Sat, 6 May 2017 07:54:14 +0000 (10:54 +0300)] 
fix DAEMON_SLEEP_INTERVAL not being defined when used
enforce minimum 60 sec spawn/sleep interval in update processes

7 years agowrap rssfuncs into rssutils class
Andrew Dolgov [Fri, 5 May 2017 15:10:07 +0000 (18:10 +0300)] 
wrap rssfuncs into rssutils class

7 years agomove counter stuff to a separate class
Andrew Dolgov [Fri, 5 May 2017 08:54:31 +0000 (11:54 +0300)] 
move counter stuff to a separate class

7 years agohotkey_handler: one more tiny tweak
Andrew Dolgov [Fri, 5 May 2017 08:46:16 +0000 (11:46 +0300)] 
hotkey_handler: one more tiny tweak

7 years agoCI: set all tests to manual because of gitlab flakiness
Andrew Dolgov [Fri, 5 May 2017 08:42:02 +0000 (11:42 +0300)] 
CI: set all tests to manual because of gitlab flakiness

7 years agohotkey_handler: cleanup things a bit
Andrew Dolgov [Fri, 5 May 2017 08:41:49 +0000 (11:41 +0300)] 
hotkey_handler: cleanup things a bit

7 years agohotkey_handler: return true on prefix handled
Andrew Dolgov [Fri, 5 May 2017 08:33:43 +0000 (11:33 +0300)] 
hotkey_handler: return true on prefix handled

7 years agofeedtree, selectFeed: focus selected node
Andrew Dolgov [Fri, 5 May 2017 07:35:10 +0000 (10:35 +0300)] 
feedtree, selectFeed: focus selected node

7 years agoadd sanity check for SELF_URL_PATH going to http url if server is accessed over https
Andrew Dolgov [Fri, 5 May 2017 07:16:54 +0000 (10:16 +0300)] 
add sanity check for SELF_URL_PATH going to http url if server is accessed over https

7 years agohotkey_handler: stop propagation of handled prefix/action events
Andrew Dolgov [Fri, 5 May 2017 07:01:33 +0000 (10:01 +0300)] 
hotkey_handler: stop propagation of handled prefix/action events

7 years agofeeditem_common: add get_element()
Andrew Dolgov [Fri, 5 May 2017 06:21:10 +0000 (09:21 +0300)] 
feeditem_common: add get_element()

7 years agomove label stuff to Labels class
Andrew Dolgov [Thu, 4 May 2017 12:57:40 +0000 (15:57 +0300)] 
move label stuff to Labels class
fix some unresolved functions

7 years agomove digest stuff to Digest class
Andrew Dolgov [Thu, 4 May 2017 12:41:38 +0000 (15:41 +0300)] 
move digest stuff to Digest class

7 years agomove some label stuff to labels.php
Andrew Dolgov [Thu, 4 May 2017 12:36:36 +0000 (15:36 +0300)] 
move some label stuff to labels.php
move getfeedcategory() to Feeds

7 years agoabs_to_rel_path: removed
Andrew Dolgov [Thu, 4 May 2017 12:28:21 +0000 (15:28 +0300)] 
abs_to_rel_path: removed

7 years agomove get_article_labels to Article
Andrew Dolgov [Thu, 4 May 2017 12:26:21 +0000 (15:26 +0300)] 
move get_article_labels to Article

7 years agomove counter cache to a separate class
Andrew Dolgov [Thu, 4 May 2017 12:22:57 +0000 (15:22 +0300)] 
move counter cache to a separate class
fix references to get_article_tags

7 years agomove a bunch of functions into Feeds/Article namespaces
Andrew Dolgov [Thu, 4 May 2017 12:13:02 +0000 (15:13 +0300)] 
move a bunch of functions into Feeds/Article namespaces

+       static function catchupArticlesById($ids, $cmode, $owner_uid = false) {
+       static function getLastArticleId() {
+       static function queryFeedHeadlines($params) {
+       static function getParentCategories($cat, $owner_uid) {
+       static function getChildCategories($cat, $owner_uid) {

move the rest of functions2.php back to functions.php as it is of more manageable size, remove the former

7 years agomove to Article:
Andrew Dolgov [Thu, 4 May 2017 12:00:21 +0000 (15:00 +0300)] 
move to Article:

+       static function purge_orphans($do_output = false) {

move to Feeds

+       static function getGlobalUnread($user_id = false) {
+       static function getCategoryTitle($cat_id) {
+       static function getLabelUnread($label_id, $owner_uid = false) {

7 years agomove the following to Feeds:
Andrew Dolgov [Thu, 4 May 2017 11:50:56 +0000 (14:50 +0300)] 
move the following to Feeds:

+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {

7 years agomove the following to Article:
Andrew Dolgov [Thu, 4 May 2017 11:38:45 +0000 (14:38 +0300)] 
move the following to Article:

+       static function format_article_enclosures($id, $always_display_enclosures,
+       static function format_article($id, $mark_as_read = true, $zoom_mode = false, $owner_uid = false) {
+       static function get_article_tags($id, $owner_uid = 0, $tag_cache = false) {
+       static function format_tags_string($tags) {
+       static function format_article_labels($labels) {
+       static function format_article_note($id, $note, $allow_edit = true) {
+       static function get_article_enclosures($id) {

7 years agomove getArticleFeed to Article
Andrew Dolgov [Thu, 4 May 2017 11:26:44 +0000 (14:26 +0300)] 
move getArticleFeed to Article
move print_label_select to controls

7 years agomove opml-specific get_feed_category to opml.php
Andrew Dolgov [Thu, 4 May 2017 11:24:30 +0000 (14:24 +0300)] 
move opml-specific get_feed_category to opml.php

7 years agomove some common control-generating functions to controls.php
Andrew Dolgov [Thu, 4 May 2017 11:22:23 +0000 (14:22 +0300)] 
move some common control-generating functions to controls.php

7 years agoupdate_rss_feed: minor code cleanup
Andrew Dolgov [Thu, 27 Apr 2017 10:08:43 +0000 (13:08 +0300)] 
update_rss_feed: minor code cleanup

7 years agoCI: use latest phpunit
Andrew Dolgov [Thu, 27 Apr 2017 06:32:37 +0000 (09:32 +0300)] 
CI: use latest phpunit

7 years agofix CI: missing config.php
Andrew Dolgov [Thu, 27 Apr 2017 06:17:45 +0000 (09:17 +0300)] 
fix CI: missing config.php

7 years agoupdate CI (again)
Andrew Dolgov [Thu, 27 Apr 2017 06:11:21 +0000 (09:11 +0300)] 
update CI (again)

7 years agoupdate CI (again)
Andrew Dolgov [Thu, 27 Apr 2017 06:10:41 +0000 (09:10 +0300)] 
update CI (again)

7 years agoupdate CI
Andrew Dolgov [Thu, 27 Apr 2017 06:06:54 +0000 (09:06 +0300)] 
update CI

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