205 Commits

Author SHA1 Message Date
Tetrakern
84a36165a4 Update DEVELOPMENT.md 2023-10-02 20:45:25 +02:00
Tetrakern
68e9b396d0 Replace ACF local JSON 2023-10-02 00:04:53 +02:00
Tetrakern
9fdab2d988 Replace most of ACF ePUB metabox 2023-09-30 16:56:12 +02:00
Tetrakern
8f3f70537a Add advanced metabox and merge in page layout 2023-09-21 22:11:16 +02:00
Tetrakern
081747a6ca Fix moderate_comments for roles 2023-09-18 00:06:24 +02:00
Tetrakern
ed48f0e67c Update DEVELOPMENT.md 2023-09-15 23:20:04 +02:00
Tetrakern
14ff3a45c6 Improve SEO settings table and actions 2023-09-08 00:24:45 +02:00
Tetrakern
71d9372757 Improve ePUBs 2023-09-05 21:28:02 +02:00
Tetrakern
0a0dac0874 Fix SEO description 2023-09-04 18:09:44 +02:00
Tetrakern
17e086c0f7 Refactor admin settings 2023-09-04 13:43:11 +02:00
Tetrakern
0da8e3701a Add filter to safe title helper
This is better.
2023-08-31 17:56:09 +02:00
Tetrakern
5219412710 Prefix titles of sticky blog posts with icon 2023-08-31 13:02:08 +02:00
Tetrakern
044632a0c6 Improve chapter CSS selectors
I know it helps, but I lack a way to actually benchmark this, which is annoying.
2023-08-30 12:27:58 +02:00
Tetrakern
b1e6ffc700 Refactor AJAX user authentication 2023-08-27 12:29:24 +02:00
Tetrakern
f33abf16c5 Refactor bookmarks 2023-08-27 01:54:46 +02:00
Tetrakern
c4181c6695 Refactor fingerprint 2023-08-27 00:16:43 +02:00
Tetrakern
239e66cf50 Refactor follows 2023-08-26 23:49:37 +02:00
Tetrakern
a6a12fe964 Refactor reminders 2023-08-26 23:00:01 +02:00
Tetrakern
5f6574fe4c Remove obsolete checkmarks code 2023-08-26 22:03:57 +02:00
Tetrakern
d4ff292f46 Rename transient purge functions 2023-08-22 22:50:53 +02:00
Tetrakern
5cdb7dd415 Revert "Load comment form via REST API"
This reverts commit f3d348e93540b9c14ca8e0054e809d395c306839.
2023-08-22 00:40:42 +02:00
Tetrakern
f3d348e935 Load comment form via REST API
If enabled.
2023-08-21 22:29:55 +02:00
Tetrakern
56b06242f1 Update documentation
I always forget.
2023-08-21 21:38:14 +02:00
Tetrakern
800ec64c69 Apply fast AJAX to checkmarks 2023-08-21 03:08:01 +02:00
Tetrakern
869c55741e Prepare comment for fast AJAX
At least some actions, because others require actions and filters.
2023-08-21 00:57:03 +02:00
Tetrakern
17f78df3e7 Add and apply fcn_classic_editor cap 2023-08-19 20:49:47 +02:00
Tetrakern
d40eab8ca6 Improve fcn_select_page_template cap
Does now also prevent the parent and order from being updated.
2023-08-19 20:05:46 +02:00
Tetrakern
6e577b4b43 Hide sticky checkbox in new posts too 2023-08-19 19:14:38 +02:00
Tetrakern
dc8a5f7bdc Hide ePUB metabox if disabled 2023-08-19 19:03:03 +02:00
Tetrakern
2fc463e7cf Improve fcn_select_page_template cap
Now this is far better! Instead of overriding a previous update, not knowing what it was before, left an angle of abuse. This just stops the update altogether!
2023-08-19 16:07:40 +02:00
Tetrakern
b419f2903e Clean ups and optimizations 2023-08-19 13:33:25 +02:00
Tetrakern
d5ce5567d8 Rename functions to
fictioneer_addClassesToAdminBody and fictioneer_addClassesToBody to snake case.
2023-08-19 12:05:39 +02:00
Tetrakern
e7b613b75d Update DEVELOPMENT.md 2023-08-19 12:04:36 +02:00
Tetrakern
d168c6b384 Move role init to admin_init
This should happen in the admin only.
2023-08-19 04:57:12 +02:00
Tetrakern
8db3222141 Add and apply fcn_edit_date cap 2023-08-18 16:49:14 +02:00
Tetrakern
722e2861ff Fix edit_permalink cap 2023-08-18 16:38:19 +02:00
Tetrakern
b3279359fb Fix auto appending of chapters (again) 2023-08-18 09:23:06 +02:00
Tetrakern
7e02a9aafc Remove undesired sub-menus 2023-08-18 00:36:10 +02:00
Tetrakern
413e87a61e Properly gate unpublished posts
And associated chapters. I hope this is the last iteration.
2023-08-17 21:30:42 +02:00
Tetrakern
5deeb29991 Hide invisible posts in public caches 2023-08-17 16:38:22 +02:00
Tetrakern
96c69d1f7c Improve fictioneer_multi_save_guard
Should now only fire the first trigger with the correct parameters (updated, etc.) depending on whether the block editor is used or not.
2023-08-17 10:39:00 +02:00
Tetrakern
a5e0bd8b4f Fix and improve capability hooks 2023-08-17 10:16:35 +02:00
Tetrakern
d1f460d61b Safety checks for capabilities
Make sure this does not hit unintended posts or queries!
2023-08-17 03:01:32 +02:00
Tetrakern
ae42949a44 Fix missing sticky metafield
For real this time!
2023-08-17 02:20:55 +02:00
Tetrakern
a7f6f5c073 Fix missing meta field
Without the field, the story will not be queried. And updating the meta query is expensive.
2023-08-17 02:11:37 +02:00
Tetrakern
d06625564c Fix caps for templates and shortcodes
Those had previously affected every single associated page lol
2023-08-17 00:25:42 +02:00
Tetrakern
54b28ea445 Update DEVELOPMENT.md 2023-08-16 17:53:22 +02:00
Tetrakern
694463ed0f Change some hooks 2023-08-16 17:52:42 +02:00
Tetrakern
e54784dff5 Hide story pages if role lacks caps 2023-08-15 20:16:15 +02:00
Tetrakern
90116227bd Remove overkill restrictions
This literally just sorted blocks into categories.
2023-08-15 19:59:03 +02:00