137 Commits

Author SHA1 Message Date
Tetrakern
930dad026f Bump version to 5.7.1 2023-09-01 22:46:44 +02:00
Tetrakern
f63256326f Add optional rate limiting 2023-09-01 21:36:18 +02:00
Tetrakern
8fe2fdfc01 Add some dev and debug tools
Depends on WP_DEBUG being true.
2023-08-27 22:15:43 +02:00
Tetrakern
5dd3e7fb98 Fix nav menus 2023-08-26 06:15:59 +02:00
Tetrakern
d5ef0bf79c Move fast requests to own partial 2023-08-26 02:45:12 +02:00
Tetrakern
2bb15d7597 Fast request for story comments
The REST API actually makes this slower and more complicated lol
2023-08-26 01:41:09 +02:00
Tetrakern
4529ac466c Remove unnecessary conditions 2023-08-26 00:29:14 +02:00
Tetrakern
0aae80988c Fix some story comments issues 2023-08-26 00:01:35 +02:00
Tetrakern
26f38ffbc9 Bump version to 5.7.0
Really too much for just a patch level.
2023-08-24 12:27:22 +02:00
Tetrakern
b9f40aeddb More control over nav menu rendering
Constant to turn off the Transient and safety checks whether the menu exists.
2023-08-23 22:02:12 +02:00
Tetrakern
bcee6014d7 Option to use fast AJAX for comments
I cannot believe this just works...
2023-08-23 21:43:04 +02:00
Tetrakern
22d84ec21a Move fast comment AJAX
Now bound to the setting.
2023-08-23 18:37:51 +02:00
Tetrakern
b1666470e2 Fix missing include
The AJAX comment form would not work without this include, regardless of OAuth being enabled or not.
2023-08-23 16:46:47 +02:00
Tetrakern
b6285a356b Bump version to 5.6.3 2023-08-22 23:21:01 +02:00
Tetrakern
4f0daf316d Disable shortcode Transients while caching
This would more often than not lead to stale data.
2023-08-22 23:14:45 +02:00
Tetrakern
9d664924cc Always refresh comment count while caching
Cannot be delayed in this case and doesn't need to.
2023-08-22 22:28:26 +02:00
Tetrakern
8253370710 Improve comment processing 2023-08-22 16:15:36 +02:00
Tetrakern
662e78bf5b Start using REST API; story comments
At least for everything that cannot use the fast AJAX, which is still superior.
2023-08-21 21:32:52 +02:00
Tetrakern
e68e30fec1 Apply fast AJAX to bookmarks 2023-08-21 15:45:54 +02:00
Tetrakern
dabcb63910 Apply fast AJAX to avatars
And this time I added the argument too!
2023-08-21 15:17:43 +02:00
Tetrakern
8fb8041a92 Apply fast AJAX to get_nonce 2023-08-21 14:18:53 +02:00
Tetrakern
0a86ec1467 Apply fast AJAX to logged-in check 2023-08-21 13:25:25 +02:00
Tetrakern
e7bea9aac0 Apply fast AJAX to fingerprint 2023-08-21 09:30:11 +02:00
Tetrakern
800ec64c69 Apply fast AJAX to checkmarks 2023-08-21 03:08:01 +02:00
Tetrakern
708b2213aa Apply fast AJAX to reminders 2023-08-21 02:34:01 +02:00
Tetrakern
e6e62c1588 Skip cache checks and purging in fast AJAX 2023-08-21 01:12:55 +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
dbd7e431b2 Fix Discord webhooks 2023-08-20 23:37:44 +02:00
Tetrakern
4e7744b67d Add fast AJAX feature, apply to follows
60-80 % speed boost!
2023-08-20 22:21:13 +02:00
Tetrakern
7ced7108df Separate concerns into _post_updates.php 2023-08-20 17:32:07 +02:00
Tetrakern
3f8d7b9550 Fix comment 2023-08-20 01:19:44 +02:00
Tetrakern
e1781889e8 Bump version to 5.6.1 2023-08-19 04:54:36 +02:00
Tetrakern
3f9a552784 Bump version to 5.6.1 2023-08-19 03:58:45 +02:00
Tetrakern
018661f8f4 Restore FICTIONEER_SHORTCODE_TRANSIENT_EXPIRATION
It's late.
2023-08-17 01:32:30 +02:00
Tetrakern
299db867e8 Fix overzealous post__in filtering
I hate this.
2023-08-17 01:32:02 +02:00
Tetrakern
5db2295cac Add constant to enable ACF on frontend 2023-08-15 12:29:17 +02:00
Tetrakern
c0977a53fb Bump version to 5.6.0 2023-08-14 23:47:35 +02:00
Tetrakern
0dde699200 Story data cache purge improvements
Probably.
2023-08-14 20:55:59 +02:00
Tetrakern
192a2f2a3a Add file upload restrictions 2023-08-13 15:05:54 +02:00
Tetrakern
bc29237f92 Apply fcn_privacy_clearance cap 2023-08-11 12:45:23 +02:00
Tetrakern
ca08318d9a Fix comment page issue
Wad.
2023-08-09 12:45:59 +02:00
Tetrakern
fdac7dde41 Add yet some more conditional requires 2023-08-09 12:29:57 +02:00
Tetrakern
35f144eab9 Add some more conditional requires
Not great, not terrible. It helps.
2023-08-09 03:17:32 +02:00
Tetrakern
8aa89ec1cf Add conditional requires
No need to load what's not used.
2023-08-09 02:46:23 +02:00
Tetrakern
eb080f5741 Bump version 5.5.3 2023-08-08 23:03:10 +02:00
Tetrakern
a9bbdb2785 File sanity and loading optimization
Moved some functions around only scoped them and partials better to the needed context. Saves about 100-110 KiB memory. It's something!
2023-08-08 20:33:24 +02:00
Tetrakern
30bdb93306 Fix missing include in admin 2023-08-08 10:36:47 +02:00
Tetrakern
cd8e7ae4db Cache story comment count
Until it isn't.
2023-08-07 14:21:45 +02:00
Tetrakern
32858e5fbb Constant to turn off sticky stories 2023-08-07 12:07:48 +02:00
Tetrakern
bb3d763e3a Do not include search partial in admin 2023-08-07 11:43:06 +02:00