]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
6 years agopublic: use PDO headlines result (2)
Andrew Dolgov [Fri, 1 Dec 2017 17:57:55 +0000 (20:57 +0300)]
public: use PDO headlines result  (2)

6 years agopublic: use PDO headlines result
Andrew Dolgov [Fri, 1 Dec 2017 17:57:05 +0000 (20:57 +0300)]
public: use PDO headlines result

6 years agofeeds: handle escaping
Andrew Dolgov [Fri, 1 Dec 2017 17:52:30 +0000 (20:52 +0300)]
feeds: handle escaping

6 years agofeeds: remove escaping
Andrew Dolgov [Fri, 1 Dec 2017 17:26:51 +0000 (20:26 +0300)]
feeds: remove escaping

6 years agoqueryfeedheadlines: PDOize (1)
Andrew Dolgov [Fri, 1 Dec 2017 17:25:13 +0000 (20:25 +0300)]
queryfeedheadlines: PDOize (1)

6 years agofeeds: right before queryfeedheadlines()
Andrew Dolgov [Fri, 1 Dec 2017 17:15:25 +0000 (20:15 +0300)]
feeds: right before queryfeedheadlines()

6 years agoccache, misc: fixes
Andrew Dolgov [Fri, 1 Dec 2017 16:42:02 +0000 (19:42 +0300)]
ccache, misc: fixes
feeds: start PDO transition

6 years agopublic: partial conversion to PDO, misc fixes
Andrew Dolgov [Fri, 1 Dec 2017 15:57:34 +0000 (18:57 +0300)]
public: partial conversion to PDO, misc fixes

6 years agodb_prefs: PDO
Andrew Dolgov [Fri, 1 Dec 2017 15:40:48 +0000 (18:40 +0300)]
db_prefs: PDO

6 years agodigest: use PDO
Andrew Dolgov [Fri, 1 Dec 2017 15:31:23 +0000 (18:31 +0300)]
digest: use PDO

6 years agosome minor PDO-related fixes
Andrew Dolgov [Fri, 1 Dec 2017 15:26:53 +0000 (18:26 +0300)]
some minor PDO-related fixes

6 years agodlg: PDO
Andrew Dolgov [Fri, 1 Dec 2017 15:16:58 +0000 (18:16 +0300)]
dlg: PDO

6 years agoccache: PDO
Andrew Dolgov [Fri, 1 Dec 2017 15:03:33 +0000 (18:03 +0300)]
ccache: PDO

6 years agocounters: PDO
Andrew Dolgov [Fri, 1 Dec 2017 14:47:29 +0000 (17:47 +0300)]
counters: PDO

6 years agoauth/base: PDO
Andrew Dolgov [Fri, 1 Dec 2017 14:40:53 +0000 (17:40 +0300)]
auth/base: PDO
functions: fix small pdo-related bug

6 years agoarticle: remove db_escape..()
Andrew Dolgov [Fri, 1 Dec 2017 14:35:22 +0000 (17:35 +0300)]
article: remove db_escape..()

6 years agoarticle: switch to PDO
Andrew Dolgov [Fri, 1 Dec 2017 14:33:59 +0000 (17:33 +0300)]
article: switch to PDO

6 years agopdo: set warnings
Andrew Dolgov [Fri, 1 Dec 2017 13:56:15 +0000 (16:56 +0300)]
pdo: set warnings

6 years agoarticle: start pdo
Andrew Dolgov [Fri, 1 Dec 2017 12:31:16 +0000 (15:31 +0300)]
article: start pdo

6 years agocontrols: PDO
Andrew Dolgov [Fri, 1 Dec 2017 12:10:05 +0000 (15:10 +0300)]
controls: PDO

6 years agocontrols: start pdo stuff
Andrew Dolgov [Fri, 1 Dec 2017 12:03:14 +0000 (15:03 +0300)]
controls: start pdo stuff

6 years agofeedbrowser: PDO
Andrew Dolgov [Fri, 1 Dec 2017 11:56:27 +0000 (14:56 +0300)]
feedbrowser: PDO

6 years agopdo pdo pdo
Andrew Dolgov [Fri, 1 Dec 2017 11:50:10 +0000 (14:50 +0300)]
pdo pdo pdo

6 years agosessions: PDO
Andrew Dolgov [Fri, 1 Dec 2017 11:48:23 +0000 (14:48 +0300)]
sessions: PDO

6 years agomore pdo stuff
Andrew Dolgov [Fri, 1 Dec 2017 11:39:24 +0000 (14:39 +0300)]
more pdo stuff

6 years agoadd qmarks function
Andrew Dolgov [Fri, 1 Dec 2017 09:44:54 +0000 (12:44 +0300)]
add qmarks function

6 years agomore pdo stuff i guess
Andrew Dolgov [Fri, 1 Dec 2017 09:42:18 +0000 (12:42 +0300)]
more pdo stuff i guess

6 years agosome more pdo stuff
Andrew Dolgov [Fri, 1 Dec 2017 07:35:22 +0000 (10:35 +0300)]
some more pdo stuff

6 years agoMerge branch 'pdo-experimental' of git.fakecake.org:tt-rss into pdo-experimental
Andrew Dolgov [Fri, 1 Dec 2017 07:17:36 +0000 (10:17 +0300)]
Merge branch 'pdo-experimental' of git.fakecake.org:tt-rss into pdo-experimental

6 years agoMerge branch 'master' of git.fakecake.org:tt-rss into pdo-experimental
Andrew Dolgov [Fri, 1 Dec 2017 07:17:18 +0000 (10:17 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss into pdo-experimental

6 years agoenforce unconditional requests every 6 hours even if server claims data is not modified
Andrew Dolgov [Thu, 30 Nov 2017 10:12:28 +0000 (13:12 +0300)]
enforce unconditional requests every 6 hours even if server claims data is not modified

6 years agoadd ttrss_feeds.last_unconditional (schema bump)
Andrew Dolgov [Thu, 30 Nov 2017 09:55:50 +0000 (12:55 +0300)]
add ttrss_feeds.last_unconditional (schema bump)

6 years agoadd some WIP pdo stuff
Andrew Dolgov [Thu, 30 Nov 2017 09:28:02 +0000 (12:28 +0300)]
add some WIP pdo stuff

6 years agorm db_stmt
Andrew Dolgov [Thu, 30 Nov 2017 08:53:21 +0000 (11:53 +0300)]
rm db_stmt

6 years agoadd some starting pdo glue
Andrew Dolgov [Thu, 30 Nov 2017 07:47:42 +0000 (10:47 +0300)]
add some starting pdo glue

6 years agoadd resulting css file
Andrew Dolgov [Wed, 29 Nov 2017 17:33:14 +0000 (20:33 +0300)]
add resulting css file

6 years agomove prefs to less, add a shared buildfile
Andrew Dolgov [Wed, 29 Nov 2017 16:10:15 +0000 (19:10 +0300)]
move prefs to less, add a shared buildfile

6 years agogenerate base css files using lessc
Andrew Dolgov [Wed, 29 Nov 2017 15:55:12 +0000 (18:55 +0300)]
generate base css files using lessc

6 years agoadd some less files for base css
Andrew Dolgov [Wed, 29 Nov 2017 14:00:29 +0000 (17:00 +0300)]
add some less files for base css

6 years agoupdate myisam fail warning
Andrew Dolgov [Mon, 27 Nov 2017 17:20:33 +0000 (20:20 +0300)]
update myisam fail warning

6 years agoadd a sanity check for tt-rss myisam tables
Andrew Dolgov [Mon, 27 Nov 2017 17:09:02 +0000 (20:09 +0300)]
add a sanity check for tt-rss myisam tables

6 years agoMerge branch 'ja_fix' of yoheie/tt-rss into master
fox [Sun, 26 Nov 2017 14:44:43 +0000 (14:44 +0000)]
Merge branch 'ja_fix' of yoheie/tt-rss into master

6 years agoSmall fix in Japanese translation
Yohei Endo [Sun, 26 Nov 2017 01:48:03 +0000 (10:48 +0900)]
Small fix in Japanese translation

7 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Mon, 20 Nov 2017 05:48:28 +0000 (08:48 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss

7 years agofix possible sql injection in public/forgotpass
Andrew Dolgov [Mon, 20 Nov 2017 05:48:18 +0000 (08:48 +0300)]
fix possible sql injection in public/forgotpass

7 years agoMerge branch 'comics-regex-patch' of JustAMacUser/tt-rss into master
fox [Sat, 18 Nov 2017 06:27:36 +0000 (06:27 +0000)]
Merge branch 'comics-regex-patch' of JustAMacUser/tt-rss into master

7 years agoMerge branch 'viewport-meta-prefs' of JustAMacUser/tt-rss into master
fox [Sat, 18 Nov 2017 06:27:12 +0000 (06:27 +0000)]
Merge branch 'viewport-meta-prefs' of JustAMacUser/tt-rss into master

7 years agoAdd viewport meta tag to Preferences page. Similiar to commit b4865103 for the main...
JustAMacUser [Thu, 16 Nov 2017 17:18:28 +0000 (12:18 -0500)]
Add viewport meta tag to Preferences page. Similiar to commit b4865103 for the main index.php file.

7 years agoUpdated af_comics GoComics handling to support comics with numbers and use the main...
JustAMacUser [Thu, 16 Nov 2017 17:14:20 +0000 (12:14 -0500)]
Updated af_comics GoComics handling to support comics with numbers and use the main web URL as a feed URL (legacy FeedBurner URL support still exists).

7 years agoMerge branch 'master' of tschuettler/tt-rss into master
fox [Tue, 14 Nov 2017 05:22:12 +0000 (05:22 +0000)]
Merge branch 'master' of tschuettler/tt-rss into master

7 years agoFix german string
tschuettler [Tue, 14 Nov 2017 00:09:11 +0000 (01:09 +0100)]
Fix german string

7 years agoMerge branch 'allow_hr_tag' of ubetly/tt-rss into master
fox [Fri, 3 Nov 2017 09:32:09 +0000 (09:32 +0000)]
Merge branch 'allow_hr_tag' of ubetly/tt-rss into master

7 years agoAllow <hr> tag in the RSS item' description
woxcab [Fri, 3 Nov 2017 07:23:29 +0000 (10:23 +0300)]
Allow <hr> tag in the RSS item' description

7 years agofetch_file_contents: improve error handling
Andrew Dolgov [Mon, 30 Oct 2017 10:13:10 +0000 (13:13 +0300)]
fetch_file_contents: improve error handling

1. if request fails get error string from http  response status line
2. do not override http error with possible CURL/php specific last error
3. fix silent php error generated while processing response headers to get last modified value

7 years agoadd sanity check for mime_content_type()
Andrew Dolgov [Sun, 29 Oct 2017 07:17:43 +0000 (10:17 +0300)]
add sanity check for mime_content_type()

7 years agoapi, setArticleLabel: allow JSON booleans
Andrew Dolgov [Sun, 15 Oct 2017 13:47:44 +0000 (16:47 +0300)]
api, setArticleLabel: allow JSON booleans

7 years agoMerge branch 'sort_title_date' of ggrandou/tt-rss into master
fox [Fri, 13 Oct 2017 05:53:03 +0000 (05:53 +0000)]
Merge branch 'sort_title_date' of ggrandou/tt-rss into master

7 years agoMerge branch 'favicons_bmp' of ggrandou/tt-rss into master
fox [Fri, 13 Oct 2017 05:52:56 +0000 (05:52 +0000)]
Merge branch 'favicons_bmp' of ggrandou/tt-rss into master

7 years agoallows favicons to be in Windows PC BMP format
Gilles Grandou [Mon, 9 Oct 2017 15:25:24 +0000 (17:25 +0200)]
allows favicons to be in Windows PC BMP format

7 years agomakes 'order by title' to sort by title and by ascending date
Gilles Grandou [Mon, 9 Oct 2017 15:23:13 +0000 (17:23 +0200)]
makes 'order by title' to sort by title and by ascending date

* this allows to chronologically browse all articles with the
  same title.

7 years agomain toolbar: set overflow to hidden
Andrew Dolgov [Mon, 9 Oct 2017 13:11:53 +0000 (16:11 +0300)]
main toolbar: set overflow to hidden

7 years agoremove apache-specific x-sendfile stuff
Andrew Dolgov [Sun, 8 Oct 2017 14:10:05 +0000 (17:10 +0300)]
remove apache-specific x-sendfile stuff
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files
via httpd-specific implementation to increase performance typically on larger files

7 years agoMerge branch 'viewport' of jrconlin/tt-rss into master
fox [Sun, 8 Oct 2017 11:15:19 +0000 (11:15 +0000)]
Merge branch 'viewport' of jrconlin/tt-rss into master

7 years agoMerge branch 'checkbox-feed' of dxbi/tt-rss into master
fox [Fri, 6 Oct 2017 06:47:54 +0000 (06:47 +0000)]
Merge branch 'checkbox-feed' of dxbi/tt-rss into master

7 years agoMerge branch 'master' of git.tt-rss.org:git/tt-rss
Andrew Dolgov [Fri, 6 Oct 2017 06:45:28 +0000 (09:45 +0300)]
Merge branch 'master' of git.tt-rss.org:git/tt-rss

7 years agoAdd checkbox for authentication in edit feed dialog
Felix Eckhofer [Thu, 5 Oct 2017 21:00:55 +0000 (23:00 +0200)]
Add checkbox for authentication in edit feed dialog

This makes the UI more consistent with the "add feed" dialog and
prevents overzealous password-managers from leaking the login password.

7 years agofix batch feed editor using wrong SQL syntax when saving feed password
Andrew Dolgov [Fri, 6 Oct 2017 06:22:04 +0000 (09:22 +0300)]
fix batch feed editor using wrong SQL syntax when saving feed password
remove uses of auth_pass_encrypted in several other places

7 years agoMerge branch 'relative_html_base' of wn/tt-rss into master
fox [Mon, 2 Oct 2017 15:52:17 +0000 (15:52 +0000)]
Merge branch 'relative_html_base' of wn/tt-rss into master

7 years agoget_favicon_url: only check base elements with href attribute
wn_ [Sun, 1 Oct 2017 20:47:31 +0000 (15:47 -0500)]
get_favicon_url: only check base elements with href attribute

7 years agoHandle potentially-relative base element when getting favicon.
wn_ [Sun, 1 Oct 2017 19:25:12 +0000 (14:25 -0500)]
Handle potentially-relative base element when getting favicon.

The base element's "href" attribute is not required to be absolute,
so rewrite relative to the site URL if it is relative.

See:
* https://www.w3.org/TR/html51/document-metadata.html#the-base-element
* https://html.spec.whatwg.org/multipage/semantics.html#the-base-element

7 years agoMerge branch 'hook_feed_basic_info' of wn/tt-rss into master
fox [Sun, 1 Oct 2017 09:52:51 +0000 (09:52 +0000)]
Merge branch 'hook_feed_basic_info' of wn/tt-rss into master

7 years agoOnly require an array of basic info from 'HOOK_FEED_BASIC_INFO'.
wn_ [Wed, 27 Sep 2017 01:37:05 +0000 (20:37 -0500)]
Only require an array of basic info from 'HOOK_FEED_BASIC_INFO'.

Removes the need for the plugin to provide feed content.

Gives plugins a chance to provide 'title' and 'site_url' basic info.
Falls back to attempting retrieval+parsing of the fetch URL if needed.

7 years agoAdd 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
wn_ [Mon, 25 Sep 2017 00:37:49 +0000 (19:37 -0500)]
Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.

It's expected the plugin will return content parsable by FeedParser, which
will act as an interface to the basic feed info.  In the case of a plugin
that also uses 'HOOK_FETCH_FEED', both might return the same content.

The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.

7 years agoMerge branch 'vreddit_fallback_url' of wn/tt-rss into master
fox [Mon, 18 Sep 2017 04:14:57 +0000 (04:14 +0000)]
Merge branch 'vreddit_fallback_url' of wn/tt-rss into master

7 years agoaf_redditimgur: use common header retrieval function
wn_ [Sun, 17 Sep 2017 18:56:57 +0000 (13:56 -0500)]
af_redditimgur: use common header retrieval function

7 years agoaf_redditimgur: Rework retrieval of v.redd.it fallback URL.
wn_ [Sun, 17 Sep 2017 18:34:49 +0000 (13:34 -0500)]
af_redditimgur: Rework retrieval of v.redd.it fallback URL.

Use the v.redd.it redirects to identify the original Reddit post,
whose JSON should have the fallback_url we're looking for.

7 years agoaf_redditimgur: Use v.redd.it fallback URL when possible.
wn_ [Sun, 17 Sep 2017 06:18:05 +0000 (01:18 -0500)]
af_redditimgur: Use v.redd.it fallback URL when possible.

7 years agoaf_redditimgur: add basic support for v.redd.it videos
Andrew Dolgov [Sat, 16 Sep 2017 07:08:30 +0000 (10:08 +0300)]
af_redditimgur: add basic support for v.redd.it videos

7 years agoMerge branch 'domdocument_content_savehtml' of wn/tt-rss into master
fox [Fri, 15 Sep 2017 14:58:37 +0000 (14:58 +0000)]
Merge branch 'domdocument_content_savehtml' of wn/tt-rss into master

7 years agoUse 'saveHTML' when generating HTML from a DOMDocument.
wn_ [Sat, 9 Sep 2017 18:51:59 +0000 (13:51 -0500)]
Use 'saveHTML' when generating HTML from a DOMDocument.

This primarily occurs when modifying article content.  If 'saveXML' is
used following 'loadHTML' there is the possibility of strangeness, such
as a self-closing anchor tag.

Note that the DOMDocument used in 'classes/feeditem/atom.php' came from
'loadXML', but we use 'saveHTML' since we're returning HTML content.

7 years agoAdd "viewport" meta to allow mobile devices ability to resize and display page.
jr conlin [Sat, 2 Sep 2017 21:15:19 +0000 (14:15 -0700)]
Add "viewport" meta to allow mobile devices ability to resize and display page.

7 years agoadd support for http 304 not modified (no timestamp calculation bullshit like last...
Andrew Dolgov [Thu, 17 Aug 2017 11:40:21 +0000 (14:40 +0300)]
add support for http 304 not modified (no timestamp calculation bullshit like last time)

7 years agofilters/edit: properly parse feed-specific legacy format filter rules
Andrew Dolgov [Mon, 14 Aug 2017 19:29:50 +0000 (22:29 +0300)]
filters/edit: properly parse feed-specific legacy format filter rules

7 years agoforce-request counters on load once if bw_limit option is enabled (because there...
Andrew Dolgov [Sat, 12 Aug 2017 04:51:37 +0000 (07:51 +0300)]
force-request counters on load once if bw_limit option is enabled (because there's no timeout())

7 years agouse mysqli_set_charset() to set MYSQL_CHARSET
Andrew Dolgov [Wed, 9 Aug 2017 05:05:52 +0000 (08:05 +0300)]
use mysqli_set_charset() to set MYSQL_CHARSET

7 years agorssutils: include comment count when calculating article hash
Andrew Dolgov [Sun, 6 Aug 2017 17:20:39 +0000 (20:20 +0300)]
rssutils: include comment count when calculating article hash

7 years agoMerge branch 'labels_context_menu' of wn/tt-rss into master
fox [Wed, 2 Aug 2017 05:01:00 +0000 (05:01 +0000)]
Merge branch 'labels_context_menu' of wn/tt-rss into master

7 years agoDon't display label context menu items if there are no labels.
wn_ [Tue, 1 Aug 2017 23:15:16 +0000 (18:15 -0500)]
Don't display label context menu items if there are no labels.

Caused by: 5e78b0c253d56d85b0339636c8793f93c835b792
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366

7 years agorequest counters less times during startup, delay initial request in feedlist_init...
Andrew Dolgov [Sun, 30 Jul 2017 18:53:11 +0000 (21:53 +0300)]
request counters less times during startup, delay initial request in feedlist_init() a bit

7 years agoget_all_labels: order by caption
Andrew Dolgov [Sun, 30 Jul 2017 12:25:49 +0000 (15:25 +0300)]
get_all_labels: order by caption

7 years agodo not base headlines label context submenu on feed tree labels category
Andrew Dolgov [Sun, 30 Jul 2017 08:55:30 +0000 (11:55 +0300)]
do not base headlines label context submenu on feed tree labels category

7 years agoupdate previous
Andrew Dolgov [Thu, 27 Jul 2017 05:24:13 +0000 (08:24 +0300)]
update previous

7 years agofeed tree: do not set fixed item height
Andrew Dolgov [Thu, 27 Jul 2017 05:21:03 +0000 (08:21 +0300)]
feed tree: do not set fixed item height

7 years agoupdate description for LOG_DESTINATION
Andrew Dolgov [Mon, 17 Jul 2017 18:06:53 +0000 (21:06 +0300)]
update description for LOG_DESTINATION

7 years agosessions: use is_server_https() for secure cookie setting
Andrew Dolgov [Mon, 17 Jul 2017 04:33:43 +0000 (07:33 +0300)]
sessions: use is_server_https() for secure cookie setting

7 years agoMerge branch 'master' of KKozlowski/tt-rss into master
fox [Mon, 17 Jul 2017 04:31:14 +0000 (04:31 +0000)]
Merge branch 'master' of KKozlowski/tt-rss into master

7 years ago$_SERVER['HTTPS'] can be exists and 'off' for non-https connectios
Natan Frei [Sun, 16 Jul 2017 21:44:48 +0000 (00:44 +0300)]
$_SERVER['HTTPS'] can be exists and 'off' for non-https connectios

7 years agoupdate CONTRIBUTING.md
Andrew Dolgov [Sun, 16 Jul 2017 17:41:05 +0000 (20:41 +0300)]
update CONTRIBUTING.md

7 years agorework previous 32 bit session stuff
Andrew Dolgov [Thu, 13 Jul 2017 11:40:30 +0000 (14:40 +0300)]
rework previous 32 bit session stuff

7 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Thu, 13 Jul 2017 05:57:31 +0000 (08:57 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss