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
Andrew Dolgov
44b5b33f3d
remove synchronous usages of _purge_orphans()
2025-05-02 10:28:35 +03:00
Andrew Dolgov
a268f52de6
record task duration in seconds
2025-05-02 10:23:30 +03:00
Andrew Dolgov
6a40940ad6
split housekeeping jobs to separate scheduled tasks on longer cooldown intervals, add table to record task execution timestamps, bump schema
2025-05-02 10:17:13 +03:00
Andrew Dolgov
0520ca2226
deal with published hook in _create_published_article
2025-05-02 08:26:52 +03:00
Andrew Dolgov
5f70e41118
add plugin hooks invoked when articles get un/marked or un/published
2025-05-01 22:36:33 +03:00
wn
4ae17d0f1c
Merge branch 'feature/phpstan-updates' into 'master'
...
PHPStan update and addressing findings
See merge request tt-rss/tt-rss!122
2025-04-30 16:34:52 +00:00
wn_
f097c5ed97
Remove an unnecessary session UID existence check in 'UserHelper::authenticate()'.
...
PHPStan 'if.alwaysTrue'
2025-04-27 15:13:15 +00:00
wn_
1c9fddd757
Add a PHPStan ignore for a non-issue in 'UrlHelper::fetch()'.
2025-04-27 15:05:28 +00:00
wn_
5c2c95a897
Remove unused 'PluginHost::HOOK_FORMAT_ARTICLE_CDM'.
...
PHPStan 'method.notFound'.
2025-04-27 14:53:53 +00:00