]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
6 years agoprefs: start PDO switchover
Andrew Dolgov [Sat, 2 Dec 2017 10:49:35 +0000 (13:49 +0300)]
prefs: start PDO switchover

6 years agofilters: use PDO
Andrew Dolgov [Sat, 2 Dec 2017 10:28:13 +0000 (13:28 +0300)]
filters: use PDO

6 years agolabels: PDO
Andrew Dolgov [Sat, 2 Dec 2017 09:45:33 +0000 (12:45 +0300)]
labels: PDO

6 years agopref-users: PDO
Andrew Dolgov [Sat, 2 Dec 2017 09:23:41 +0000 (12:23 +0300)]
pref-users: PDO

6 years agopref-system: PDO
Andrew Dolgov [Sat, 2 Dec 2017 09:03:39 +0000 (12:03 +0300)]
pref-system: PDO

6 years agopref-prefs: PDO
Andrew Dolgov [Sat, 2 Dec 2017 09:01:56 +0000 (12:01 +0300)]
pref-prefs: PDO

6 years agoopml host, update: use PDO
Andrew Dolgov [Sat, 2 Dec 2017 08:42:42 +0000 (11:42 +0300)]
opml host, update: use PDO

6 years agopluginhost: save_data() fixes
Andrew Dolgov [Sat, 2 Dec 2017 08:31:02 +0000 (11:31 +0300)]
pluginhost: save_data() fixes

6 years agopluginhost: use PDO
Andrew Dolgov [Sat, 2 Dec 2017 08:25:43 +0000 (11:25 +0300)]
pluginhost: use PDO

6 years agoupdate_rss_feed: transaction lock article processing
Andrew Dolgov [Sat, 2 Dec 2017 08:16:33 +0000 (11:16 +0300)]
update_rss_feed: transaction lock article processing

6 years agorssutils: PDO
Andrew Dolgov [Sat, 2 Dec 2017 06:55:53 +0000 (09:55 +0300)]
rssutils: PDO

6 years agorssutils: start PDO switch
Andrew Dolgov [Sat, 2 Dec 2017 05:38:57 +0000 (08:38 +0300)]
rssutils: start PDO switch

6 years agodbupdater: use PDO
Andrew Dolgov [Fri, 1 Dec 2017 22:28:30 +0000 (01:28 +0300)]
dbupdater: use PDO

6 years agoOPML: use PDO; minor fixes
Andrew Dolgov [Fri, 1 Dec 2017 22:08:30 +0000 (01:08 +0300)]
OPML: use PDO; minor fixes

6 years agosql logger: pdo
Andrew Dolgov [Fri, 1 Dec 2017 21:13:28 +0000 (00:13 +0300)]
sql logger: pdo

6 years agolabels: PDO
Andrew Dolgov [Fri, 1 Dec 2017 21:06:17 +0000 (00:06 +0300)]
labels: PDO

6 years agorpc: switch to PDO
Andrew Dolgov [Fri, 1 Dec 2017 20:49:14 +0000 (23:49 +0300)]
rpc: switch to PDO

6 years agoAPI: small fix
Andrew Dolgov [Fri, 1 Dec 2017 19:49:12 +0000 (22:49 +0300)]
API: small fix

6 years agoapi: switch to PDO
Andrew Dolgov [Fri, 1 Dec 2017 19:46:22 +0000 (22:46 +0300)]
api: switch to PDO

6 years agofix add_feed_category
Andrew Dolgov [Fri, 1 Dec 2017 19:17:04 +0000 (22:17 +0300)]
fix add_feed_category

6 years agoPDO: set unicode for mysql and other connection params
Andrew Dolgov [Fri, 1 Dec 2017 19:14:54 +0000 (22:14 +0300)]
PDO: set unicode for mysql and other connection params

6 years agofix typo
Andrew Dolgov [Fri, 1 Dec 2017 19:07:39 +0000 (22:07 +0300)]
fix typo

6 years agoquery feed headlines: fix limit/offset
Andrew Dolgov [Fri, 1 Dec 2017 18:07:55 +0000 (21:07 +0300)]
query feed headlines: fix limit/offset

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.