126 Commits

Author SHA1 Message Date
Tetrakern
635b73abc8 Optimize author statistics query args 2023-11-12 15:11:56 +01:00
Tetrakern
bd7ae5d45d Fx variable names 2023-11-12 15:09:43 +01:00
Tetrakern
a838737e7f Improve query performance of author statistics 2023-11-12 15:09:03 +01:00
Tetrakern
5803437442 Fix slow main RSS feed query 2023-11-12 12:42:25 +01:00
Tetrakern
b4f8421e93 Improve DB optimizer and boolean settings 2023-11-10 22:22:33 +01:00
Tetrakern
24ffffbbc0 Add string utility to return '%s' 2023-11-08 19:59:14 +01:00
Tetrakern
c564b89214 Add utility to unset array items by value 2023-11-08 13:41:15 +01:00
Tetrakern
0e7269bac0 Fix AJAX comments when commenting disabled 2023-10-29 21:27:33 +01:00
Tetrakern
7041a5cefb Improve check whether an URL exists 2023-10-24 01:21:10 +02:00
Tetrakern
9105f74641 Fix user role checks 2023-10-06 02:44:44 +02:00
Tetrakern
a8f7a80afa Add tools to append missing meta fields 2023-10-04 03:04:45 +02:00
Tetrakern
80d5308e0d Allow list for falsy meta fields 2023-10-03 23:42:37 +02:00
Tetrakern
50c7ef9129 Let sanitize checkbox always return 0 or 1 2023-10-03 23:42:14 +02:00
Tetrakern
6b4b1eadb4 Fix meta queries for non-existing fields
Well, that was to be expected, really. Hope that were all...
2023-10-03 21:24:44 +02:00
Tetrakern
8f694dee0b Add and use link list to array helper 2023-10-02 00:02:12 +02:00
Tetrakern
84a90b5435 Sanitizer for CSS
Somewhat.
2023-09-29 19:41:28 +02:00
Tetrakern
7fdbbe4c56 Prevent type issue 2023-09-22 23:27:51 +02:00
Tetrakern
fafecd7aba Update chapter icon getter
This should make it more difficult to break the thing.
2023-09-22 13:25:45 +02:00
Tetrakern
626c73cf8b Update disabling of new comments
Disabling the comments on a story will now also disable them on all associated chapters.
2023-09-20 01:01:43 +02:00
Tetrakern
60c597c19c Add sanitizer for select options 2023-09-20 00:13:40 +02:00
Tetrakern
1fec70792f Add wrapper utility for update post meta 2023-09-19 23:46:19 +02:00
Tetrakern
bf0c8f429e Improve user meta handling 2023-09-18 18:06:46 +02:00
Tetrakern
01ab6fd80f Add return value to update comment meta wrapper 2023-09-18 17:46:56 +02:00
Tetrakern
0d08c8235f Improve comment meta handling 2023-09-18 14:49:36 +02:00
Tetrakern
7ddc6d650d Update theme role permission helpers 2023-09-17 19:46:07 +02:00
Tetrakern
786747bf0f Revert "Add sanitization to fictioneer_explode_list"
This reverts commit f7b3aca1eb2f2486d3e6d3cd9d74f7252c27fcdc.
2023-09-16 02:04:22 +02:00
Tetrakern
fe4286ebed Add sanitizer for argument arrays 2023-09-16 02:04:02 +02:00
Tetrakern
f7b3aca1eb Add sanitization to fictioneer_explode_list 2023-09-16 01:35:26 +02:00
Tetrakern
511bdc534a Extend rate limiting 2023-09-01 22:06:17 +02:00
Tetrakern
f63256326f Add optional rate limiting 2023-09-01 21:36:18 +02:00
Tetrakern
ae54d0c8b7 Add names to queries
Allows to easily identify queries in filters.
2023-08-31 22:23:31 +02:00
Tetrakern
db8f002fa1 Improve access gate to unpublished content 2023-08-31 17:30:24 +02:00
Tetrakern
15eb144b48 Cleanup 2023-08-28 10:43:04 +02:00
Tetrakern
b1e6ffc700 Refactor AJAX user authentication 2023-08-27 12:29:24 +02:00
Tetrakern
c7ab5efaa3 Improve handling of chapter fonts 2023-08-25 21:56:36 +02:00
Tetrakern
647afbefcf Tried some things, put them in the graveyard
That's it. Comments are going to switch to markdown next. BBCodes are too problematic and any libraries are outdated af. I'm evidently incapable of solving this issue myself in reasonable time and effort.
2023-08-25 20:08:05 +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
2277113d7d Ever more clean up 2023-08-22 10:28:53 +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
ebb8ace57c Improve and clean up some more stuff
A never ending story.
2023-08-21 15:34:20 +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
6ede5b4da1 Rename function 2023-08-21 00:57:56 +02:00
Tetrakern
f5d95392d2 Improve story comment count refresh
Do not update the meta and purge the cache if nothing changed!
2023-08-21 00:13:50 +02:00
Tetrakern
2e44d654f4 Add utility to add s/t/u/d actions
Makes everything a bit more tidy.
2023-08-20 16:32:35 +02:00
Tetrakern
b5a037183c Some more cleanup work 2023-08-20 16:25:12 +02:00
Tetrakern
6763400199 Make img consent button type button
Funny, this could accidentally submit form. Haha -.-
2023-08-19 20:13:11 +02:00
Tetrakern
b419f2903e Clean ups and optimizations 2023-08-19 13:33:25 +02:00
Tetrakern
9e12a572a7 Remove unnecessary utility functions 2023-08-18 18:14:22 +02:00
Tetrakern
f78860914f Fic and document fictioneer_get_user_caps 2023-08-18 16:38:45 +02:00