126 Commits

Author SHA1 Message Date
Tetrakern
997cf0ac9d Remove superfluous PHP closing tags 2024-05-16 21:45:26 +02:00
Tetrakern
4d707ac4ba Add option to show default WP login link 2024-05-15 01:22:03 +02:00
Tetrakern
3dfbb87f4c Add Patreon section to the wp-admin user profile in 2024-05-10 18:31:22 +02:00
Tetrakern
564b60d180 Add helper to get user Patreon data 2024-05-10 16:36:28 +02:00
Tetrakern
42a0aa087e Improve fictioneer_patreon_tiers_valid() 2024-05-10 16:35:59 +02:00
Tetrakern
f2e731475a Merge _avatars.php into _user_data.php
Another needless file system operation less.
2024-05-10 15:56:05 +02:00
Tetrakern
8ce8ef8cca Use wp_admin_notice() for notices 2024-05-09 19:52:11 +02:00
Tetrakern
ffbf97644b Add feature to unlock selected posts per user 2024-05-08 23:44:10 +02:00
Tetrakern
2fa25630f8 Add fictioneer_patreon_tiers_valid() function
And a filter.
2024-04-27 13:22:01 +02:00
Tetrakern
4dec87b117 Add constant to handle Patreon user data expiration
And reduce the time to one week per default.
2024-04-27 12:59:23 +02:00
Tetrakern
2ac7d3102a Improve navigation and icon menu style 2024-04-12 11:43:04 +02:00
Tetrakern
edda80552a Exclude super admins from self-deleting 2024-03-19 11:59:26 +01:00
Tetrakern
fc7fc2ac2e Update safe title helper parameters
Added the $context parameter and $args, which now also covers $no_filters which hopefully nobody has used yet lol
2024-03-01 12:39:42 +01:00
Tetrakern
affc19f5b8 Code cleanup and remove errant wp_die()
Yikes.
2024-02-06 00:32:15 +01:00
Tetrakern
75238e0fa2 Remove object buffer from AJAX bookshelves 2024-02-04 17:57:28 +01:00
Tetrakern
e9dfaa44f5 Catch query error for Follows request 2024-02-01 20:23:15 +01:00
Tetrakern
f39a259516 Spring cleaning
Renamed and reordered things for more clarity and efficiency.
2024-01-29 17:08:19 +01:00
Tetrakern
995fa50b11 Fix tab sizes in files
How did this even happen?
2024-01-27 21:00:00 +01:00
Tetrakern
365496c807 Remove problematic commit message
Revert revert!
2024-01-26 17:47:24 +01:00
Tetrakern
e00787589d Revert "Unify since version number format"
This reverts commit 8c4b44e41db8454af65ce4a909e0cb12db8828f8.
2024-01-26 17:45:53 +01:00
Tetrakern
8c4b44e41d Unify @since version number format
Yes, it bothered me.
2024-01-26 15:51:11 +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
daf3bd4df5 Move and update body class filters 2024-01-11 12:14:16 +01:00
Tetrakern
78005f40d9 Improve sanitization 2023-12-15 17:51:09 +01:00
Tetrakern
b6994b623a Code cleanup 2023-12-02 23:04:26 +01:00
Tetrakern
b65e8ccea1 Replace fictioneer_get_field with get_post_meta
This wrapper made sense at some point in the past, now it was just unnecessary overhead.
2023-11-30 16:03:53 +01:00
Tetrakern
e0176eac59 Use fictioneer_get_field everwhere
I might actually remove it later on because it does not safe space anyway, but at least it is consistent for now.
2023-11-30 10:58:45 +01:00
Tetrakern
48b14cc74c Update comment emails on profile change, move code around
Makes more sense in this file.
2023-11-22 12:29:40 +01:00
Tetrakern
95c871051c Update comment names when display name is changed
Still doesn't work for emails, though.
2023-11-21 23:38:14 +01:00
Tetrakern
99fd293fb4 Improve several query arguments 2023-11-15 12:38:42 +01:00
Tetrakern
fac614bdf8 Reduce Follows meta query 2023-11-12 01:53:01 +01:00
Tetrakern
e8396567fe Clear Patreon tiers when OAuth is unset 2023-10-22 02:52:51 +02:00
Tetrakern
d31e8af1dc Better validation and sanitization for bookmarks 2023-10-07 14:04:24 +02:00
Tetrakern
1da75af134 Fix unicode issue with bookmarks 2023-10-07 05:28:25 +02:00
Tetrakern
f3bda73c29 Fix bookmarks 2023-10-07 01:35:50 +02:00
Tetrakern
f0781f99c5 Update code formatting 2023-10-03 21:32:58 +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
5939f05760 Show user ID in profile 2023-09-20 00:35:25 +02:00
Tetrakern
bf0c8f429e Improve user meta handling 2023-09-18 18:06:46 +02:00
Tetrakern
0d08c8235f Improve comment meta handling 2023-09-18 14:49:36 +02:00
Tetrakern
4f4f20082e PHP cleanup 2023-09-18 10:23:16 +02:00
Tetrakern
99df170f10 Add user flag for post comment moderation 2023-09-18 02:25:48 +02:00
Tetrakern
c8271c4cce Rename user meta to make more sense 2023-09-18 02:19:39 +02:00
Tetrakern
9fb5390fca Add additional query names 2023-09-15 14:00:44 +02:00
Tetrakern
17e086c0f7 Refactor admin settings 2023-09-04 13:43:11 +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
6d09b1c0c3 On AJAX auth, cache the guest user state
No more constant requests for user data if the user is clearly not logged-in.
2023-09-01 16:29:11 +02:00
Tetrakern
ae54d0c8b7 Add names to queries
Allows to easily identify queries in filters.
2023-08-31 22:23:31 +02:00