3764 Commits

Author SHA1 Message Date
Tetrakern
2563164e08 Reduce default query result cache threshold to 50 2024-08-16 20:25:11 +02:00
Tetrakern
98ea8f10a0 Add locking mechanism for query result cache 2024-08-16 20:08:59 +02:00
Tetrakern
7518ae2bba Add break mechanism to query result cache
In case many large queries need to be cached at once.
2024-08-16 16:56:12 +02:00
Tetrakern
fe74b811b0 Bumb version to 5.22.3-beta1 2024-08-16 15:57:05 +02:00
Tetrakern
30dcc606d4 Add query result cache feature 2024-08-16 15:56:17 +02:00
Tetrakern
a61fdbbef3 Update DEVELOPMENT.md 2024-08-16 15:36:35 +02:00
Tetrakern
4f1eb88933 Fix comments not loading on bypassed protected posts 2024-08-16 13:46:11 +02:00
Tetrakern
8ac722de0a Code formatting 2024-08-16 13:31:17 +02:00
Tetrakern
8ea13ff4ab Update calculation and handling of story word counts 2024-08-16 01:22:36 +02:00
Tetrakern
1ae8b3c032 Improve performance to get story chapter posts 2024-08-15 23:36:45 +02:00
Tetrakern
4e55f77505 Update CUSTOMIZE.md 2024-08-15 22:24:22 +02:00
Tetrakern
3e757bdaa1 Experiment to use SQL for story word and chapter count
Unfortunately, I remembered that people need a filter to manipulate this query.
2024-08-15 19:58:16 +02:00
Tetrakern
8a900e4996 Increase Transient duration of global word count and statistics 2024-08-15 18:56:01 +02:00
Tetrakern
b45891be25 Add missing ignore_protected condition check 2024-08-15 13:44:40 +02:00
Tetrakern
bfd28d3618 Fix ignore_protected param not working for Lates Updates chapters 2024-08-15 13:40:12 +02:00
Tetrakern
a5330e1c5c Improve speed of fictioneer_get_story_comment_count() 2024-08-15 12:56:24 +02:00
Tetrakern
ec216059f4 Add $args param to fictioneer_get_story_chapter_posts() 2024-08-15 12:32:47 +02:00
Tetrakern
9fac9c748d Fix missing filter arguments 2024-08-15 12:30:38 +02:00
Tetrakern
658e0f4739 Increase FICTIONEER_QUERY_ID_ARRAY_LIMIT to 1000
I have been told 1000 to 2000 is safe, so let's see...
2024-08-15 12:27:23 +02:00
Tetrakern
f3d61e1ad8 Add extra meta cache purge on story update
For good measure.
2024-08-15 10:55:22 +02:00
Tetrakern
8e709d18f8 Add FICTIONEER_STORY_CARD_CHAPTER_LIMIT constant 2024-08-15 01:51:45 +02:00
Tetrakern
45ddf81c5a Improve performance of global story word count 2024-08-15 01:34:53 +02:00
Tetrakern
c82e49cf88 Add new functions to keep story comment count updated
This might not always be correct, but the comments get recounted in certain intervals anyway and this is cheap.
2024-08-14 23:57:14 +02:00
Tetrakern
2f494bc737 Add additional checks for chapter story and appending 2024-08-14 23:19:05 +02:00
Tetrakern
2b31d514e4 Remove chapter from story if assignment is changed 2024-08-14 23:01:58 +02:00
Tetrakern
45bc835797 Disable story card cache comment count update
This might be too expensive, better turn it off for the time being.
2024-08-14 22:48:14 +02:00
Tetrakern
064dfbbe39 Move update of comment count in story data 2024-08-14 21:46:59 +02:00
Tetrakern
69d34ca533 Update DEVELOPMENT.md 2024-08-14 21:45:15 +02:00
Tetrakern
81dae9cee9 Improve story card cache purging 2024-08-14 21:37:41 +02:00
Tetrakern
35cf685f53 Bumb version to 5.22.2 (again) v5.22.2 2024-08-14 18:30:08 +02:00
Tetrakern
efaf37e74b Account for AJAX auth in story action cleanup 2024-08-14 18:28:33 +02:00
Tetrakern
810573943a Add source param to Latest Chapters/Updates shortcode 2024-08-14 15:17:42 +02:00
Tetrakern
b354e5e978 Refine card content font size 2024-08-14 14:42:23 +02:00
Tetrakern
2116643cc3 Refine card title font size 2024-08-14 14:25:50 +02:00
Tetrakern
c47d8562a0 Code formatting 2024-08-14 13:51:23 +02:00
Tetrakern
58c403498e Update DOCUMENTATION.md 2024-08-14 13:41:24 +02:00
Tetrakern
68e4509d5c Deal with border-radius inconsistency in story actions
Fine, there, I used JS! Problem solved!
2024-08-14 13:19:14 +02:00
Tetrakern
88b6ba7584 Update stubs.php 2024-08-14 10:03:32 +02:00
Tetrakern
0c463dcfdd Update stubs.php 2024-08-14 04:17:37 +02:00
Tetrakern
f13873d990 Add doc comments 2024-08-14 04:12:43 +02:00
Tetrakern
fab17e836d Improve tooltip CSS 2024-08-14 02:55:27 +02:00
Tetrakern
3b230c5f65 Add infobox param to compact card shortcodes
And fix Latest Stories info box if taxonomies are disabled.
2024-08-14 01:48:21 +02:00
Tetrakern
1765cc095f Allow story card caching with cache plugins active
This should work together just fine.
2024-08-13 20:07:53 +02:00
Tetrakern
8c77b23260 Add feature to cache story cards 2024-08-13 19:18:51 +02:00
Tetrakern
9e06156c9c Change version to 5.22.2-beta2 2024-08-13 19:17:48 +02:00
Tetrakern
0d31cef6e0 Fix cache disabling bug in password bypass
Welp.
2024-08-13 19:16:22 +02:00
Tetrakern
fa67ea339a Add fictioneer_get_story_comment_count() utility 2024-08-13 16:13:31 +02:00
Tetrakern
b29cfdf1e4 Update fictioneer.pot 2024-08-12 17:07:42 +02:00
Tetrakern
1cade22306 Remove no-page-padding special case 2024-08-12 14:21:19 +02:00
Tetrakern
a60f7bb3aa Bumb version to 5.22.2 2024-08-12 13:54:59 +02:00