92 Commits

Author SHA1 Message Date
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
Tetrakern
a9b1538c61 Improve fcn_all_blocks 2023-08-15 17:20:40 +02:00
Tetrakern
144db410b0 Update DEVELOPMENT.md 2023-08-15 12:45:35 +02:00
Tetrakern
9d08978028 Update DEVELOPMENT.md 2023-08-15 12:22:22 +02:00
Tetrakern
6b222970bb Unsticky the post sticky 2023-08-14 23:40:52 +02:00
Tetrakern
9357f5e3c3 Reduce ACF TinyMCE 2023-08-14 20:23:41 +02:00
Tetrakern
3cc5d7dfc1 Renaming for roles 2023-08-14 18:33:33 +02:00
Tetrakern
db04e136d7 Improve nav menu Transient purging 2023-08-13 15:36:16 +02:00
Tetrakern
c55c906f0b Update DEVELOPMENT.md 2023-08-13 15:32:55 +02:00
Tetrakern
192a2f2a3a Add file upload restrictions 2023-08-13 15:05:54 +02:00
Tetrakern
896517df19 Fix media library list view ignoring caps 2023-08-12 23:30:20 +02:00
Tetrakern
6182c0e88c Add and apply fcn_make_sticky 2023-08-12 20:45:00 +02:00
Tetrakern
2587479cc9 Apply new ACF field capabilities 2023-08-12 20:27:51 +02:00
Tetrakern
f7483d472b Update DEVELOPMENT.md 2023-08-12 17:48:12 +02:00