Richard Tollerton
aaccf89501
update_rss_feed: juxtapose pdo and ORM commit on timestamp update
...
If for whatever reason $pdo holds a DDL lock on ttrss_entries, it could
block ORM's save, leading to a deadlock. To work around this, call
$pdo->commit() before ORM::for_table()->save().
2022-01-13 23:39:49 -06:00
Andrew Dolgov
420782418d
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
2022-01-13 13:59:41 +03:00
Andrew Dolgov
304845f380
Merge branch 'master' of git.fakecake.org:fox/tt-rss
2022-01-13 13:59:36 +03:00
Andrew Dolgov
8cf9c451dc
Headlines: fix multiple article ids not passed to setScore as an array
2022-01-13 13:59:21 +03:00
fox
4a4928ea25
Merge pull request 'af_readability: use data-src for images if available' ( #62 ) from woodoo/tt-rss:master into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/62
2022-01-09 14:54:18 +03:00
Eugene Molotov
ac6a34f097
af_readability: use data-src for images if available
...
data-src is popular attribute to store original images for lazy loading via javascript
2022-01-09 14:51:36 +05:00
fox
f1607902e6
Merge pull request 'themes: Fix incorrect blur and opacity interaction' ( #61 ) from suraia/tt-rss:blur-opacity into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/61
2022-01-06 10:38:42 +03:00
Andrew Dolgov
c3482fbe6b
generate a warning if plugin-generated content of HOOK_ARTICLE_BUTTON or _LEFT_BUTTON can't be parsed as valid XML
2022-01-06 10:37:03 +03:00
Michael Kuhn
1ff52bff81
themes: Fix incorrect blur and opacity interaction
...
Chrome sometimes seems to have problems when using a blur
backdrop-filter in combination with opacity. On Linux, this often
results in the blur being completely ignored. This also seems to apply
to other systems, though. See the following issue for more details:
https://bugs.chromium.org/p/chromium/issues/detail?id=1129838
Making the background opaque using rgba seems to fix the problem.
2022-01-05 20:42:21 +01:00
Andrew Dolgov
97baf3e8b9
process gallery media in the correct order
2021-12-23 17:33:04 +03:00
Andrew Dolgov
1818fc11a5
fetch: return HTTP code when no curl_error() is available
2021-12-23 17:32:44 +03:00
Andrew Dolgov
6971ca08b2
remove deprecated LOG_ constants
2021-12-23 17:32:27 +03:00
Andrew Dolgov
7aeaa1b039
rssutils: rewrite several invocations of (deprecated) rewrite_relative_url() to UrlHelper::rewrite_relative()
2021-12-20 08:03:30 +03:00
Andrew Dolgov
40b2356be2
filters:
...
* add filter action to ignore feed-provided tags
* simplify handling of various filter-provided tags
* bump schema to 146
2021-12-20 07:56:16 +03:00
Andrew Dolgov
92747b1d21
af_redditimgur: don't generate a warning if fallback video is not found for hosted:video post
2021-12-16 09:15:05 +03:00
Andrew Dolgov
720b318796
* fox.form.Select: add several properties allowing it to better
...
imitate other controls like DropDownButton, etc.
* rework several main toolbar items to use fox.form.Select instead of
other controls
* replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with
HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option
instead of menuitem)
* PluginHost: add some explicit typecasts to make intellephense shut up
2021-12-14 21:53:45 +03:00
Andrew Dolgov
8a645892a6
PluginHost: add run_until() and HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2
2021-12-14 21:43:02 +03:00
fox
3ef9bb5b58
Merge pull request 'Handle the admin user not having any entries in 'Feeds::_get_global_unread'.' ( #60 ) from wn/tt-rss:bugfix/get-global-unread-admin-null into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/60
2021-12-14 15:51:36 +03:00
wn_
0726a9d820
Handle another potential 'SUM()' null situation in Feeds.
2021-12-14 12:50:53 +00:00
wn_
ddc81b2c89
Add a note on why ed74c43f18
was needed.
2021-12-14 12:47:25 +00:00
wn_
ed74c43f18
Handle the admin user not having any entries in 'Feeds::_get_global_unread'.
2021-12-14 12:06:32 +00:00
Patrick Ahles
7109871452
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (665 of 665 strings)
Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/nl/
2021-12-08 14:40:29 +00:00
Andrew Dolgov
471f97ca82
Merge branch 'weblate-integration'
2021-12-07 21:58:15 +03:00
Andrew Dolgov
53061d1508
* add HOOK_POST_LOGOUT
...
* auth_remote: add config option AUTH_REMOTE_POST_LOGOUT_URL
2021-12-06 13:20:18 +03:00
Andrew Dolgov
57b0413a3a
af_comics: add Powerup Comics and Danby Draws
2021-12-06 08:14:29 +03:00
fox
6a70f5e92c
Merge pull request 'Prevent "Undefined index: version" events for git version with open_basedir after 9dabfbfa11' ( #57 ) from ltGuillaume/tt-rss:master into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/57
2021-12-03 07:25:06 +03:00
fox
78e82b6043
Merge pull request 'Fixes declaration of Pref_Prefs::csrf_ignore to match IHandler::csrf_ignore' ( #58 ) from jbaldus/tt-rss:jbaldus-fix-pref-prefs into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/58
2021-12-03 07:23:33 +03:00
jbaldus
987870074b
Fixes declaration of Pref_Prefs::csrf_ignore to match IHandler::csrf_ignore
2021-12-02 20:57:19 +03:00
ltGuillaume
0269c7ce32
Prevent "Undefined index: version" events for git version with open_basedir after 9dabfbfa11
2021-12-02 18:55:08 +01:00
Andrew Dolgov
5df8dacf9f
api, getHeadlines: properly accept feed_id 0
2021-12-01 19:04:42 +03:00
Andrew Dolgov
be94a3a791
combined mode: add a hack (?) for .titleWrap width
2021-12-01 14:02:43 +03:00
Andrew Dolgov
a201e10ee0
Revert "various fixes vor php 8.1 compatibility"
...
This reverts commit 14027ae04e
.
2021-12-01 13:37:35 +03:00
Andrew Dolgov
aaebe55456
Revert "replace strftime with date"
...
This reverts commit 72e21f89ce
.
2021-12-01 13:37:25 +03:00
fox
a72e24343b
Merge pull request 'Fixes for php 8.1 compatibility' ( #56 ) from magicDave/tt-rss:php8.1-fixes into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/56
2021-12-01 10:52:12 +03:00
David Edler
72e21f89ce
replace strftime with date
2021-11-30 22:07:11 +01:00
David Edler
14027ae04e
various fixes vor php 8.1 compatibility
2021-11-30 21:50:09 +01:00
Andrew Dolgov
df7b2e7984
combined mode: limit feed title element to 25% width
2021-11-29 13:39:58 +03:00
Andrew Dolgov
409c63dcf8
remove mixed type hints from function arguments because we still support PHP7
2021-11-29 12:30:33 +03:00
Andrew Dolgov
28fb571dca
* fix showing headlines for tag-based virtual feeds
...
* API: allow retrieving headlines for tag-based feeds (bump api level to 18)
2021-11-29 10:20:13 +03:00
Marek Pavelka
d0cf7a3d97
Translated using Weblate (Czech)
...
Currently translated at 100.0% (665 of 665 strings)
Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/cs/
2021-11-24 07:41:30 +00:00
Andrew Dolgov
831648e3c8
af_redditimgur: check content-type before downloading data for og:image and imgur pages
2021-11-24 08:27:10 +03:00
Andrew Dolgov
204f92b926
urlhelper: add debugging output for download attempts
2021-11-24 08:19:04 +03:00
Andrew Dolgov
a109e89983
mark clean() return value as nullable
2021-11-23 17:01:08 +03:00
Andrew Dolgov
a6cad5cbca
api: don't try to pass null login/password when subscribing to feed
2021-11-23 16:55:21 +03:00
Andrew Dolgov
9dabfbfa11
_get_version:
...
- don't bother with git if open_basedir is enabled
- check for SCRIPT_ROOT instead of TTRSS_.. anything because that would be set regardless of install method
2021-11-23 14:46:24 +03:00
TonyRL
17addd1237
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (665 of 665 strings)
Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hant/
2021-11-21 17:41:59 +00:00
Andrew Dolgov
7cfc30ac25
format_backtrace: revise previous to only try truncating/adding actual strings
2021-11-20 16:15:10 +03:00
Andrew Dolgov
3323ae78ce
* sql_bool_to_bool: make parameter nullable
...
* errorhandler: don't try to truncate null strings
* UrlHelper::rewrite_relative: fix undefined offset warnings for URLs
that lack schema/host (data: etc)
2021-11-20 16:11:44 +03:00
Andrew Dolgov
e7111e4f14
sanitize: make force_remove_images nullable
2021-11-20 14:02:37 +03:00
Andrew Dolgov
2b4ba59a79
feeds/add: force cast category id to integer
2021-11-19 17:02:25 +03:00