David Edler
de1e218a83
various fixes vor php 8.1 compatibility
...
Cherry-picked from https://git-gitea.tt-rss.org/fox/tt-rss/pulls/56 ,
while excluding changes in vendor/ (causes compatiblity issues with
PHP<8 [1]) and strftime-related ones (already re-applied in
https://git-gitea.tt-rss.org/fox/tt-rss/pulls/66 ).
[1] https://community.tt-rss.org/t/support-for-php-8-1/5089/9
2022-03-09 00:46:15 +08:00
Andrew Dolgov
a395574516
actions dropdown: add context-sensitive UI layout labels
2022-02-25 18:45:00 +03:00
Andrew Dolgov
39c0bd378a
getAllCounters: set default value if frontend doesn't pass label or feed id count
2022-02-25 12:41:53 +03:00
Andrew Dolgov
806b46d0c4
* add actions dropdown to toggle combined mode
...
* hide 'toggle widescreen' menu item when in combined mode
* unify some mode toggling code in App
2022-02-24 21:07:53 +03:00
Andrew Dolgov
bd0af3ae9e
inline attachment links: break long words to prevent horizontal scrolling
2022-02-23 22:16:59 +03:00
Andrew Dolgov
9a5c21630b
update.php: better error reporting if invoked with PHP SAPI other than CLI
2022-02-20 16:35:32 +03:00
Andrew Dolgov
f7e2f62022
fix Feeds::_get_counters() used improperly as a replacement for
...
getFeedUnread()
2022-02-20 12:48:38 +03:00
Andrew Dolgov
77f39d65b5
* Feeds::_get_counters - fix retrieving unread for tags
...
* mark several symbols as @deprecated properly
* replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2022-02-20 11:04:40 +03:00
Andrew Dolgov
168dc6fe57
rewrite_relative: prevent php warning when checking for unset content type in EXTRA_SCHEMES_BY_CONTENT_TYPE
2022-02-18 16:44:03 +03:00
Andrew Dolgov
74a247fc5c
rewrite_relative: whitelist specific schemes for URLs with 'known' content-types i.e. specified for enclosures
2022-02-17 22:38:38 +03:00
Andrew Dolgov
89ef98e57e
allow running as root in a container environment
2022-02-17 17:32:02 +03:00
Andrew Dolgov
079f6dfdd0
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
2022-02-05 11:50:02 +03:00
Andrew Dolgov
6738f5c86b
note: use proper hook to set click handlers
2022-02-05 11:49:33 +03:00
fox
a7d6ead956
Merge pull request 'Replace deprecated `strftime`' ( #66 ) from dxbi/tt-rss:replace-strftime into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/66
2022-02-03 18:34:10 +03:00
Felix Eckhofer
cc30198b3d
Replace deprecated `strftime`
2022-02-03 16:13:01 +01:00
Andrew Dolgov
4e35c44add
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
2022-02-01 13:17:11 +03:00
Andrew Dolgov
6077175c57
plugins/note: allow editing note by clicking on it
2022-02-01 13:16:23 +03:00
fox
b59bde7b45
Merge pull request 'Add workaround for boolean values being intergers with MySQL/PHP 8.1' ( #65 ) from Schrottfresse/tt-rss:master into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/65
2022-01-28 10:43:34 +03:00
Schrottfresse
931e33c381
Add workaround for boolean values being intergers with MySQL/PHP 8.1
2022-01-28 08:37:29 +01:00
Andrew Dolgov
478c9b64a9
make sure notification is closed when saving/creating filter
2022-01-25 22:39:18 +03:00
Andrew Dolgov
c57ebf2c10
fix filter last_triggered not updating
2022-01-25 22:33:13 +03:00
Andrew Dolgov
56fd06d611
make sure #headline-spacer click to open prompt is not obscured when
...
mark as read on scroll is enabled
https://community.tt-rss.org/t/click-to-open-next-unread-feed-hidden-by-scrolling/5190
2022-01-21 17:41:11 +03:00
fox
49d93989af
Merge pull request 'Fix starred images not being deleted' ( #64 ) from klempin/tt-rss:master into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/64
2022-01-17 20:14:29 +03:00
Philip Klempin
a769ccc51c
Fix starred images not being deleted
2022-01-16 22:44:46 +00:00
Andrew Dolgov
3cdbd4422c
share plugin: fix previous
2022-01-14 18:08:33 +03:00
Andrew Dolgov
f1759786d7
rework several instances of translated strings being used with single quotes as HTML element attribute values
2022-01-14 18:03:50 +03:00
fox
d3f26cc4a6
Merge pull request '[RFC] update_rss_feed: juxtapose pdo and ORM commit on timestamp update' ( #63 ) from rtollert/tt-rss:update-rss-deadlock1 into master
...
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/63
2022-01-14 10:24:57 +03:00
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
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