1070 Commits

Author SHA1 Message Date
Tetrakern
18ed3405d1 Add customizer option for card grid width 2024-01-20 01:10:14 +01:00
Tetrakern
9e49435833 Increase recommendation one sentence limit 2024-01-19 23:47:22 +01:00
Tetrakern
626e89a3b0 Refactor cards with container queries 2024-01-19 22:24:08 +01:00
Tetrakern
475af0f8fb Add utility function to safely truncate strings
This had a small chance to fail or return invalid HTML.
2024-01-19 14:42:19 +01:00
Tetrakern
38ca5f5c93 Generalize story tab script 2024-01-19 08:56:15 +01:00
Tetrakern
5413902f6c Purge theme caches after update 2024-01-19 08:56:15 +01:00
Tetrakern
2fc6fca357 Update style of protected icon in chapter lists 2024-01-19 08:56:15 +01:00
Tetrakern
9b465bbaca Fix chapter list shortcode password check 2024-01-18 21:26:08 +01:00
Tetrakern
35636c0f35 Split story-content partial into actions 2024-01-18 21:12:07 +01:00
Tetrakern
771b73a80b Change chapter list password hint to icon 2024-01-18 19:35:15 +01:00
Tetrakern
86853cc6e6 Add option to collapse chapter groups by default 2024-01-18 12:15:19 +01:00
Tetrakern
be2ec594c9 Allow guests to be redirected to wp-login on wp-admin 2024-01-16 22:20:41 +01:00
Tetrakern
a2ab9585b6 Fix AJAX auth not always working 2024-01-16 08:00:17 +01:00
Tetrakern
6fb6042e2e Make chapter list popup script more generic
Now uses querySelectorAll, so you could have more than one. Currently not the case, though.
2024-01-15 21:20:28 +01:00
Tetrakern
499a952741 Fix comment typo 2024-01-13 10:14:13 +01:00
Tetrakern
d7a5927923 Delay legacy cleanup on init
This should run after everything else, so all rewrite rules are already set.
2024-01-13 03:19:53 +01:00
Tetrakern
9e3a12ac36 Flush rewrite rules after legacy cleanup 2024-01-13 03:14:14 +01:00
Tetrakern
fcd6952dbf Refactor custom theme sitemaps 2024-01-13 02:59:24 +01:00
Tetrakern
026176241d Add isset checks to profile updates
Partial updates are not a thing, but just to be safe. This had already been an issue with post meta once.
2024-01-12 13:27:45 +01:00
Tetrakern
44125dde10 Add profile flag to lock avatar 2024-01-12 11:15:23 +01:00
Tetrakern
8f45c06fe2 Add optional alternative mobile menu style 2024-01-11 14:18:17 +01:00
Tetrakern
7f8b249a99 Clarify Customizer saturation and lightness sliders 2024-01-11 14:15:23 +01:00
Tetrakern
daf3bd4df5 Move and update body class filters 2024-01-11 12:14:16 +01:00
Tetrakern
9b1420c727 Update sitemap feature translations 2024-01-10 14:02:26 +01:00
Tetrakern
13ed788c89 Increase and add constant for old post time threshold 2024-01-10 13:27:16 +01:00
Tetrakern
dce879c6d0 Check if permalink was changed before override
Otherwise, this could hypothetically lead to the permalink changing each time a post is safe, although always to a unique one.
2024-01-09 19:46:28 +01:00
Tetrakern
08cdd52433 Fix comment form showing despite comments being off 2024-01-09 18:44:37 +01:00
Tetrakern
5fbfa77a1a Fix duplicate permalinks issue 2024-01-08 23:59:55 +01:00
Tetrakern
d9369f7645 Add constant for Discord embed color 2024-01-08 03:03:23 +01:00
Tetrakern
71bdd6aee4 Change script name to prevent console errors 2024-01-08 02:48:39 +01:00
Tetrakern
bf91979f3e Allow chapter Discord webhook to fire w/o story 2024-01-05 17:45:22 +01:00
Tetrakern
5c55567c73 Update font weight options 2024-01-04 05:51:34 +01:00
Tetrakern
b9ab66e5c6 Update setting description 2024-01-04 05:06:37 +01:00
Tetrakern
0b4f95f77a Add customizer option for dark mode font weight 2024-01-04 05:05:56 +01:00
Tetrakern
08e05cb24c Update customizer checkboxes
Why the heck did they use WP_Customize_Color_Control? And what's up with the wrong tab spaces? Where am I?
2024-01-04 04:55:06 +01:00
Tetrakern
22a9d738a2 Fix CSS class in admin settings 2024-01-03 22:01:25 +01:00
Tetrakern
731b6994c3 Remove force_balance_tags use 2024-01-03 18:46:12 +01:00
Tetrakern
d178ea792e Generalize chapter infobox hide script 2024-01-03 17:55:08 +01:00
Tetrakern
2ae7fc2584 Update settings translation 2024-01-03 09:05:12 +01:00
Tetrakern
9264e341cf Tidy up migration tool action 2024-01-03 09:02:37 +01:00
Tetrakern
59e10fab54 Tool action to append chapters 2024-01-03 08:36:42 +01:00
Tetrakern
91ba49d267 Add missing nonce checks for tool actions
Yikes. This would not have been happened with peer review! Probably. That or LGTM.
2024-01-01 03:50:36 +01:00
Tetrakern
c7235461be Update and move function to append chapters
New param lets you skip some guard clauses and the function is now in _utilities for global availability.
2023-12-31 04:03:06 +01:00
Tetrakern
98e0354609 Move abort condition for chapter appending outside 2023-12-29 17:44:06 +01:00
Tetrakern
ab78c23aee Optimize some CSS backgrounds 2023-12-22 20:35:55 +01:00
Tetrakern
32ea568cac Fix post password form style 2023-12-21 04:15:05 +01:00
Tetrakern
027c95cc53 Update ePUB tag replacements 2023-12-17 16:30:57 +01:00
Tetrakern
20af0cde39 Formatting 2023-12-17 01:31:39 +01:00
Tetrakern
a4d8dafdd6 Skip hidden ePUB chapters early 2023-12-17 01:30:07 +01:00
Tetrakern
7565ae283a Remove hidden chapter hint in ePUBs 2023-12-17 01:25:04 +01:00