wn_
f62aaa307b
Look for media thumbnails in more places.
...
https://www.rssboard.org/media-rss#optional-elements
2025-07-26 20:00:25 +00:00
wn_
0cd788220d
Separate feed type detection from init, don't subscribe on failures.
...
Also some FeedParser tweaks.
2025-07-06 02:33:18 +00:00
Andrew Dolgov
ec0a19c5a6
replace all instances of die() with print+exit because die() returns exit code 0
2025-07-04 13:31:15 +03:00
Andrew Dolgov
4088636865
add support for PG sslmode and set it to prefer encrypted connections by default
2025-07-03 19:04:32 +03:00
Andrew Dolgov
12ef981bfb
allow searching by tags (prefix tag:)
2025-06-23 18:56:47 +03:00
wn_
09c11df764
Clean up displaying subscription error info, log more detailed info to the event log.
2025-06-19 20:37:49 +00:00
wn_
692c7a8949
Remove unused subscription return code 6
2025-06-17 18:02:57 +00:00
wn_
5b0d325733
Escape error content displayed when subscribing fails (as it might contain HTML).
2025-06-17 17:59:10 +00:00
wn_
ef1f3cbcef
Show some HTML content as a hover tip when the 'feed URL' returned HTML without feeds.
...
Also tweak the 'Feeds::_subscribe()' documentation a bit.
2025-06-17 17:52:06 +00:00
wn_
3047b294a6
Minor CSS+style tweaks in 'Handler_Public#generate_syndicated_feed()'.
2025-06-03 15:17:27 +00:00
wn_
814ab48169
Use the current timestamp for feed-level 'updated' in 'Handler_Public#generate_syndicated_feed()'.
...
The last article's 'updated' value was not a good indicator of when the feed updated for various reasons, so we'll just use the current timestamp to represent the dynamic nature of the content.
2025-06-03 14:10:08 +00:00
wn_
446f9dcb23
Style tweaks in 'Handler_Public#generate_syndicated_feed()'
2025-06-03 14:10:08 +00:00
wn_
8255f71c2e
Fail early in 'Handler_Public#generate_syndicated_feed()' on unrecognized format.
2025-06-03 14:10:08 +00:00
wn_
34c7e11d84
Use the official JSON MIME type of 'application/json'.
2025-06-03 13:53:12 +00:00
wn_
25d8655214
Drop legacy feed icon storage migration and unused 'Config::ICONS_DIR'.
2025-05-22 18:05:02 +00:00
Andrew Dolgov
dba83a639c
fix wrong config param being used & add a link to cron syntax we support
2025-05-22 20:36:09 +03:00
Andrew Dolgov
b25684a5a6
make default task schedules configurable
2025-05-22 20:01:00 +03:00
wn_
df28c71641
Improve naming when working with filter actions.
...
Also updated some related typing and documentation.
2025-05-21 18:34:16 +00:00
wn_
ce36b27a0d
Fix check for no articles found in 'RSSUtils::update_rss_feed()'.
...
FeedParser will always return an array.
2025-05-18 16:08:13 +00:00
wn_
2749c75b72
Minor ORM usage tweak in 'RSSUtils::update_rss_feed()'.
2025-05-18 16:06:44 +00:00
wn_
adf71f09a9
Use ORM in remaining parts of 'Pref_Users'.
2025-05-18 15:46:35 +00:00
wn_
cdd48bb1fa
Use ORM in 'Counters::get_feeds()' (and simplify stuff).
2025-05-18 14:51:47 +00:00
wn_
2fa54cc627
Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.
...
With MySQL support removed (b154bc7a10
) this constant is unnecessary.
2025-05-18 14:26:05 +00:00
Andrew Dolgov
d859c56636
send content-length with cached files
2025-05-18 09:06:01 +03:00
wn_
c472f00445
Get rid of 'Db::past_comparison_qpart()'.
...
With MySQL support dropped this function is just an unnecessary layer of abstraction.
2025-05-17 19:08:15 +00:00
Andrew Dolgov
868c1cadad
API/getFeeds: return feed last_error & update_interval
2025-05-17 12:49:41 +03:00
Andrew Dolgov
77e5deb9dd
use RETURNING syntax when creating base filter record during OPML import
2025-05-06 05:06:17 +03:00
Andrew Dolgov
e91c49b747
use RETURNING syntax when creating article record in share anything
2025-05-06 05:04:47 +03:00
Andrew Dolgov
9735ff83cc
use RETURNING syntax when creating base filter record
2025-05-06 05:01:23 +03:00
Andrew Dolgov
ea6f42dc61
switch insert query for base article record to named parameters and add previously missing ts_content stuff
2025-05-05 22:08:01 +03:00
Andrew Dolgov
677cd7453f
drop some pointless queries now that we can use RETURNING for inserts
2025-05-05 21:55:38 +03:00
Andrew Dolgov
070585ac5e
only open PDO transaction while performing CRUD operations on article
2025-05-05 20:45:40 +03:00
Andrew Dolgov
4cc40ddaa4
scheduler - only register built-in purge_orphaned_scheduled_tasks if running as default name
2025-05-04 20:25:29 +03:00
Andrew Dolgov
5263a07f61
record last cron expression (and stub owner_uid) used by scheduled task
2025-05-04 18:06:43 +03:00
Andrew Dolgov
fc059fc0fc
expose scheduled tasks to plugins, switch cache_starred_images plugin to use them instead of housekeeping hook
2025-05-04 17:50:03 +03:00
wn_
3ee0f331cc
Move registration of 'purge_orphaned_scheduled_tasks' into Scheduler.
2025-05-04 14:20:17 +00:00
Andrew Dolgov
07eb34529f
Merge branch 'feature/purge-orphaned-scheduled-tasks' into 'master'
...
Periodically purge orphaned scheduled task records
See merge request tt-rss/tt-rss!126
2025-05-04 14:10:56 +00:00
wn_
853864794a
Move logging users excluded from updates to a daily scheduled task, exclude disabled or readonly users.
2025-05-04 13:28:09 +00:00
wn_
868385442a
Periodically purge orphaned scheduled task records.
2025-05-04 12:57:58 +00:00
Andrew Dolgov
fecab891fc
add a basic prefs panel for scheduled task records
2025-05-04 13:44:08 +03:00
Andrew Dolgov
ec12a514a2
Revert "bring back cleanup of potentially sensitive environment variables but exclude CLI SAPI to prevent updater failures"
...
Breaks OIDC
This reverts commit 247efe3137
.
2025-05-04 13:30:07 +03:00
Andrew Dolgov
4cda1da5c0
adjust scheduler logging to be somewhat more alike to feed updater
2025-05-03 07:55:45 +03:00
Andrew Dolgov
997c10437e
reorder housekeeping tasks by interval
2025-05-02 23:26:13 +03:00
Andrew Dolgov
d5d15072e1
move scheduled tasks to a separate class, add some try-catches, improve/shorten logging and descriptions
2025-05-02 22:51:07 +03:00
Andrew Dolgov
b30f8c93a0
rename article mark/publish hooks
2025-05-02 21:27:50 +03:00
Andrew Dolgov
dc6ea08ca4
add workaround for due tasks because housekeeping is not run every minute, fix last_run not updated to NOW() in the db
2025-05-02 14:03:45 +03:00
Andrew Dolgov
247efe3137
bring back cleanup of potentially sensitive environment variables but exclude CLI SAPI to prevent updater failures
2025-05-02 13:37:08 +03:00
Andrew Dolgov
aeca30cb0c
drop SIMPLE_UPDATE_MODE, limit housekeeping and updates to background processes
2025-05-02 13:26:58 +03:00
Andrew Dolgov
a51c1d5176
fix tasks_run never incremented
2025-05-02 13:18:48 +03:00
Andrew Dolgov
36f60b51d7
make digest sending a hourly cron job
2025-05-02 13:17:20 +03:00