3286 Commits

Author SHA1 Message Date
Tetrakern
6dc8140904 Make OAuth provider functions more DRY
And rename functions to match the pattern.
2024-05-24 21:16:15 +02:00
Tetrakern
8b7934b28c Improve OAuth error handling
If something goes wrong, this will make debugging a lot easier. Yes, I'm aware I could put that into a function, but I don't want to.
2024-05-24 17:11:29 +02:00
Tetrakern
f5dc554c61 Update searchform.php 2024-05-24 15:02:26 +02:00
Tetrakern
5978b395c4 Add preselect term params to search form shortcode 2024-05-24 14:21:50 +02:00
Tetrakern
9ec44c8748 Add filter to Patreon unlock gate message 2024-05-24 10:53:43 +02:00
Tetrakern
8c5073e868 Restore admin Patreon tiers pull 2024-05-23 23:01:14 +02:00
Tetrakern
1cb495f8c0 Fix doc comment return type 2024-05-23 22:27:32 +02:00
Tetrakern
bebec52dc7 Add option to randomize all OAuth usernames
HypersonicBob7777
2024-05-23 20:45:03 +02:00
Tetrakern
b7a608767c Add missing option translations 2024-05-23 20:39:13 +02:00
Tetrakern
e20d0ae27e Add constant for default chapter icon 2024-05-23 20:30:08 +02:00
Tetrakern
d952c7011e Filter and improve chapter icon output 2024-05-23 20:16:39 +02:00
Tetrakern
afa1270d72 Update chapter list scheduled permalinks 2024-05-23 17:41:26 +02:00
Tetrakern
3f954b7e89 Add query name to chapter list shortcode
Makes it easier to intercept with a filter.
2024-05-23 17:38:05 +02:00
Tetrakern
b19473f0c5 Fix chapter links to 404 pages 2024-05-23 15:03:01 +02:00
Tetrakern
6de12b66ae Better handling of empty custom chapter status prefix 2024-05-23 15:02:32 +02:00
Tetrakern
fd7c0a7eb6 Fix wrong rel attribute in footer link 2024-05-23 12:50:41 +02:00
Tetrakern
ef28f686f4 Fix bug calling removed function 2024-05-23 12:50:17 +02:00
Tetrakern
61d9f0fecb Make code snippet more readable
Because I wondered where the space came from.
2024-05-23 12:43:52 +02:00
Tetrakern
7a40d738fd Update README.md 2024-05-22 13:20:39 +02:00
Tetrakern
b98a429448 Improve static post content filters
And add missing documentation.
2024-05-22 12:38:01 +02:00
Tetrakern
10c2ee96f8 Disable dummy SubscribeStar integration
Their API documentation is just as bad as Patreon. I just don't know how to query what I need and I cannot be bothered to find out if they cannot be bothered to write a useful documentation.
2024-05-21 20:10:51 +02:00
Tetrakern
484ef9ef0a Split up and extend random username generator 2024-05-21 20:09:46 +02:00
Tetrakern
6ec987c30e Improve random name generator 2024-05-21 17:23:21 +02:00
Tetrakern
3f14a9f031 Refactor OAuth process
fml
2024-05-21 16:44:05 +02:00
Tetrakern
f3931b54c0 Add utility to generate random username 2024-05-21 14:43:33 +02:00
Tetrakern
2cd35fa666 Update render conditions for login modal 2024-05-21 09:58:56 +02:00
Tetrakern
196057e1da Output URL param failures in the console
This is always useful for remote debugging.
2024-05-21 01:54:37 +02:00
Tetrakern
df05862c9a Improve notices for URL params
No need to check each one if there are no params.
2024-05-21 01:51:09 +02:00
Tetrakern
4e165413eb Add encryption/decryption utilities 2024-05-21 00:48:27 +02:00
Tetrakern
b56d2e793c Fix typos
Metadata is, indeed, written together.
2024-05-20 14:53:40 +02:00
Tetrakern
20a802c091 Update Patreon gate setting texts 2024-05-20 14:49:48 +02:00
Tetrakern
81fc790a0b Add help modal to OAuth setting 2024-05-20 14:47:28 +02:00
Tetrakern
342fad69f4 Reduce timeout for age confirmation modal 2024-05-20 14:09:25 +02:00
Tetrakern
20a88d8839 Add help modal for Storygraph API 2024-05-20 13:25:26 +02:00
Tetrakern
c036ab1560 Add help modals for extended query settings 2024-05-20 12:18:45 +02:00
Tetrakern
c0f343b3c4 Add help modal for remove clutter setting 2024-05-20 12:05:49 +02:00
Tetrakern
dd53e4556d Add help modal for bundle scripts setting 2024-05-20 11:46:28 +02:00
Tetrakern
645cc2c265 Add help modal for bundle stylesheet setting 2024-05-20 11:46:17 +02:00
Tetrakern
fe133e1517 Remove deprecated SVG filter setting
This is now done on a block-by-block basis instead of globally, which makes far more sense and does not unnecessarily impact performance.
2024-05-20 11:37:19 +02:00
Tetrakern
0703caa5a7 Add help modal for Gutenberg blocks setting 2024-05-20 11:33:11 +02:00
Tetrakern
b616b77255 Add help modal for Heartbeat API setting 2024-05-20 11:32:55 +02:00
Tetrakern
a4fa544e77 Add help modal to Patreon gate setting 2024-05-20 09:41:02 +02:00
Tetrakern
da73d9df7d Add content caching for chapters 2024-05-20 01:56:48 +02:00
Tetrakern
0b937634d1 Update INSTALLATION.md 2024-05-20 01:56:11 +02:00
Tetrakern
4d3767d27f Add help modal option to checkbox settings 2024-05-20 01:55:31 +02:00
Tetrakern
a2778017de Add constant for partial cache expiration time 2024-05-19 17:37:39 +02:00
Tetrakern
902e70f418 Make sure all HTML cache directories have file protection 2024-05-19 17:02:34 +02:00
Tetrakern
7c161984fa Simplify check for partial caching
Doing this once instead of on each call.
2024-05-19 16:33:06 +02:00
Tetrakern
5c30fa141e Add .htaccess to HTML cache directories
Just one more measure against prying eyes.
2024-05-19 16:00:19 +02:00
Tetrakern
4206320ecf Hide cached HTML files from index 2024-05-19 15:48:51 +02:00