94 Commits

Author SHA1 Message Date
Tetrakern
46cdb988a6 Catch possible null access 2024-11-05 21:12:58 +01:00
Tetrakern
d6ca9bd79b Use SQL to get chapter relationship metabox data 2024-11-05 21:10:00 +01:00
Tetrakern
819ab69363 Fix SQL error for token meta box 2024-11-04 21:41:26 +01:00
Tetrakern
fda42d7e0f Update co-authored IDs helper name, add filter 2024-10-30 08:46:08 +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
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
624abe5220 Use SQL to filter out invalid page IDs when story is saved 2024-10-27 16:11:09 +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
f19bdaa435 Add missing query param
Well, probably missing or irrelevant.
2024-10-27 01:08:23 +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
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
cfeed4201c Optimize chapter story column output
It's not much, but it's something.
2024-10-16 21:57:01 +02:00
Tetrakern
e05f771748 Add column for story in chapter list table 2024-10-16 17:05:24 +02:00
Tetrakern
32e4a1f405 Render password expiration date in post list tables 2024-10-16 13:55:07 +02:00
Tetrakern
6d991dc717 Clean up error messages part 1 2024-10-12 16:37:11 +02:00
Tetrakern
cc9e62d8b5 Refine handling of fictioneer_chapters_added meta
This controls the order of stories in the Latest Updates shortcodes and Stories template. Up to this point, it had been updated a bit too often and could cause confusion in the order of stories.
2024-10-06 15:54:22 +02:00
Tetrakern
3ee1156a23 Improve and fix hook list part 2 2024-10-05 22:11:21 +02:00
Tetrakern
a19303e5a1 Add fictioneer_get_post_type_label() 2024-10-04 16:28:08 +02:00
Tetrakern
d9fdc094a3 Add utility to get translated post status label 2024-10-01 12:07:27 +02:00
Tetrakern
c3b9844c01 Refactor post meta user validation before save 2024-09-18 13:49:51 +02:00
Tetrakern
65d64c7b83 Add additional chapter bulk edit fields 2024-09-16 23:50:07 +02:00
Tetrakern
4354eb7177 Add missing conditions for chapter text icon input 2024-09-16 23:35:50 +02:00
Tetrakern
d9b067554b Rename some Patreon functions for consistency 2024-09-16 02:16:44 +02:00
Tetrakern
a93b62189a Clean up tab spaces 2024-09-16 02:13:10 +02:00
Tetrakern
2e34bdb096 Update Patreon bulk edit and documentation 2024-09-16 02:11:30 +02:00
Tetrakern
1a07af1988 Remove default chapter icons from post meta
There is no need to bloat the table with them. This also allows to replace the default icon without having to do a database update.
2024-09-10 13:50:53 +02:00
Tetrakern
b5a31d7e0b Improve sanitization of fictioneer_chapter_story on save 2024-09-09 21:58:47 +02:00
Tetrakern
7f70334708 Fix bulk trash with Patreon locks active 2024-08-26 22:42:22 +02:00
Tetrakern
802851a951 Clarify some meta box descriptions 2024-08-22 19:22:46 +02:00
Tetrakern
3120cf6f5a Reduce redundancy in age rating translations 2024-08-19 13:57:00 +02:00
Tetrakern
dcda0d21cd Fix multi-save guard and add setting to let REST requests pass 2024-08-17 17:27:09 +02:00
Tetrakern
4af1582e50 Improve multi-save guard checks
A bit ugly, but this covers all special cases with the damn editor and its antics.
2024-08-16 23:38:21 +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
92d03d77a5 Added post option to disable page padding 2024-08-12 13:27:14 +02:00
Tetrakern
6d977f374b Add optional sidebar column 2024-08-04 23:48:09 +02:00
Tetrakern
dd626b117b Code formatting 2024-07-26 23:46:39 +02:00
Tetrakern
5ca6976044 Clarify purpose of story flag
Hides all taxonomies, not just tags.
2024-07-25 10:10:19 +02:00
Tetrakern
fc96d38f03 Do no longer set default for empty description 2024-07-20 23:03:20 +02:00
Tetrakern
6a3f3a6483 Use GMT for fictioneer_chapters_modified 2024-06-27 20:50:02 +02:00