4288 Commits

Author SHA1 Message Date
Tetrakern
9f6861b1c6 Fix use of pre_get_posts hook to only use add_action()
add_filter() did work but was technically wrong.
2024-10-30 10:34:32 +01:00
Tetrakern
fda42d7e0f Update co-authored IDs helper name, add filter 2024-10-30 08:46:08 +01:00
Tetrakern
1fd26e2d0b Fix separator dots not vanishing with taxonomies hidden 2024-10-29 18:08:26 +01:00
Tetrakern
1a66008a67 Update fictioneer.pot 2024-10-29 16:33:04 +01:00
Tetrakern
a10011d82f Allow co-authors to crosspost chapters 2024-10-29 16:32:32 +01:00
Tetrakern
53280392b4 Save co-author IDs as strings
This is better for queries and makes otherwise no difference.
2024-10-29 00:48:29 +01:00
Tetrakern
7f7a1c7134 Add more name args to queries 2024-10-28 18:29:37 +01:00
Tetrakern
4fe4a45e5a Optimize ePUB chapter query 2024-10-28 18:25:03 +01:00
Tetrakern
0e6728d056 Update fictioneer.pot 2024-10-28 12:45:25 +01:00
Tetrakern
2c49e9e502 Optimize purge all schemas action 2024-10-28 12:44:38 +01:00
Tetrakern
60c69fd0f6 Optimize collection statistics
Up to 4 times faster in test runs.
2024-10-28 10:48:26 +01:00
Tetrakern
65f0227e21 Temper fictioneer_see_some_evil()
Still best function name.
2024-10-28 10:00:40 +01:00
Tetrakern
822af3097c Optimize collection query 2024-10-28 02:19:27 +01:00
Tetrakern
1b60ebbf3b Optimize saving featured posts array 2024-10-28 01:42:53 +01:00
Tetrakern
6fa4084177 Optimize token track meta fields 2024-10-27 23:12:31 +01:00
Tetrakern
7c6783f52f Optimize blog story IDs validation 2024-10-27 22:44:09 +01:00
Tetrakern
5f99927441 Use SQL to filter out invalid post IDs when collection is saved 2024-10-27 21:03:46 +01:00
Tetrakern
ff390364c9 Use SQL to build chapter story selection
And fix the status note as well.
2024-10-27 19:25:15 +01:00
Tetrakern
2d55285b8c Split off fictioneer_sanitize_safe_title() 2024-10-27 18:57:16 +01:00
Tetrakern
624abe5220 Use SQL to filter out invalid page IDs when story is saved 2024-10-27 16:11:09 +01:00
Tetrakern
9dc916db79 Add development helper to measure performance in microseconds 2024-10-27 16:03:44 +01:00
Tetrakern
f387230e1c Use SQL to check for valid new chapters in story 2024-10-27 14:55:07 +01:00
Tetrakern
d1894d3459 Use SQL to filter out invalid chapter IDs when story is saved 2024-10-27 14:13:49 +01:00
Tetrakern
bae3ca8bb9 Clean up code 2024-10-27 13:03:27 +01:00
Tetrakern
f19bdaa435 Add missing query param
Well, probably missing or irrelevant.
2024-10-27 01:08:23 +02:00
Tetrakern
0ef03c57e5 Remove test code
Welp
2024-10-26 23:47:59 +02:00
Tetrakern
b7e9684672 Update fictioneer.pot 2024-10-26 22:47:00 +02:00
Tetrakern
d77f3e18aa Add crosspost user capability 2024-10-26 22:46:30 +02:00
Tetrakern
a7051df9f1 Add fictioneer_set_chapter_story_parent() 2024-10-26 20:46:43 +02:00
Tetrakern
713cf7db06 Also set story as post parent for chapters
For the future.
2024-10-26 20:05:08 +02:00
Tetrakern
ac6a2422de Clarify chapter story meta description 2024-10-26 19:53:34 +02:00
Tetrakern
e5a5c24fce Fix doc comment 2024-10-26 08:23:18 +02:00
Tetrakern
f80ecac9bb Fix outdated meta field description 2024-10-26 08:22:18 +02:00
Tetrakern
4b41dc825c Add helper to get chapter story ID
This would be useful if I ever decide to use the parent ID field instead if meta.
2024-10-26 02:03:23 +02:00
Tetrakern
3f84aa6585 Update fictioneer.pot 2024-10-26 01:20:44 +02:00
Tetrakern
b1f3a5ad04 Fix admin styles 2024-10-26 01:19:41 +02:00
Tetrakern
4301bc0421 Update admin style and notice for skins 2024-10-26 00:08:22 +02:00
Tetrakern
e0cf883b5f Add skins interface to admin 2024-10-25 23:31:21 +02:00
Tetrakern
c3fde6dc3c Move skins HTML into helper function
Gotta render this in the admin, too.
2024-10-25 20:39:56 +02:00
Tetrakern
edd0db4807 Split skins script into own file
It's rather large and only used in certain places.
2024-10-25 20:22:04 +02:00
Tetrakern
d609891f82 Change skin HTML/JS to Stimulus-like format
I'm not using Stimulus yet, but maybe in the future. Also, this scheme is a lot more clear.
2024-10-25 20:16:06 +02:00
Tetrakern
8decd815d0 Add helper for skin translations
What a sentence lol
2024-10-25 15:32:10 +02:00
Tetrakern
d169331627 Add custom CSS skins feature 2024-10-25 12:08:16 +02:00
Tetrakern
c7d645ac28 Fix tooltip modal for story pages 2024-10-25 00:17:50 +02:00
Tetrakern
252ecd3715 Update theme login cookie 2024-10-24 17:13:19 +02:00
Tetrakern
edf97e3b40 Add count param to story blog posts query helper 2024-10-23 23:44:14 +02:00
Tetrakern
6788bfb5d2 Add fictioneer logged-in cookie 2024-10-23 19:27:09 +02:00
Tetrakern
cf8ef67497 Improve fcn_sanitizeHTML() 2024-10-22 18:06:50 +02:00
Tetrakern
1575442482 Fix tooltip modal width toggle
The extra width for long tooltips was never removed after being applied. Negligible bug, but annoying.
2024-10-21 11:12:42 +02:00
Tetrakern
3cdfc1f0b3 Fix footnotes not always being rendered v5.25.0 2024-10-20 23:46:35 +02:00