2962 Commits

Author SHA1 Message Date
Tetrakern
74ebfa3903 Add image for Patreon settings 2024-04-29 17:18:58 +02:00
Tetrakern
f136f7e06b Update INSTALLATION.md 2024-04-29 14:54:23 +02:00
Tetrakern
6cdc2ecd1c Simplify attribute check for Patreon 2024-04-29 13:49:07 +02:00
Tetrakern
49f0e18ffc Add missing Patreon campaign link
Whelp.
2024-04-29 12:18:22 +02:00
Tetrakern
fdbe59a84c Improve OAuth data cleanup 2024-04-29 12:16:20 +02:00
Tetrakern
797457f3be Increase OAuth state retention time
1 minute was a bit short in case someone has to create an account first.
2024-04-29 12:01:03 +02:00
Tetrakern
41cff2694b Get additional Patreon data
This can be used to better evaluate whether a patron is still eligible in the future or by custom filters.
2024-04-29 11:16:10 +02:00
Tetrakern
1252b36ff9 Update DOCUMENTATION.md 2024-04-29 03:46:09 +02:00
Tetrakern
f2bfb1a19c Account for Patreon lifetime_amount_cents 2024-04-29 02:52:00 +02:00
Tetrakern
8ecc3ea030 Remove commented-out code 2024-04-29 00:34:13 +02:00
Tetrakern
20b88b2dc6 Store additional Patreon membership data on OAuth
This is for future Patreon gate features, badges, or whatever.
2024-04-29 00:29:11 +02:00
Tetrakern
a128c0c7ce Update Patreon connect settings style 2024-04-29 00:28:22 +02:00
Tetrakern
722acc1c52 Allow unpublished Patreon tiers
They are still technically active.
2024-04-28 21:47:48 +02:00
Tetrakern
a5bf2ed4f4 Update setting label 2024-04-28 16:24:29 +02:00
Tetrakern
e1d931eef7 Update and document fictioneer_filter_patreon_dollars 2024-04-28 16:13:19 +02:00
Tetrakern
20361cbfff Make sure Patreon tiers are unique in array 2024-04-28 15:45:00 +02:00
Tetrakern
7ceb7cb1fb Extend password form with Patreon 2024-04-28 14:17:44 +02:00
Tetrakern
dff63b3b3f Fix Patreon data utility 2024-04-28 14:16:24 +02:00
Tetrakern
3c3993a62c Add setting option to hide password form for Patreon posts 2024-04-28 14:04:23 +02:00
Tetrakern
05bbfc7e37 Update setting texts 2024-04-28 14:02:40 +02:00
Tetrakern
0887958448 Add utility to get a post's Patreon data 2024-04-28 14:02:24 +02:00
Tetrakern
4653c0b7b1 Add setting for Patreon campaign link 2024-04-28 13:16:05 +02:00
Tetrakern
9593ca2826 Utility to join array as human readable list 2024-04-28 11:35:11 +02:00
Tetrakern
c485c611a1 Update DEVELOPMENT.md 2024-04-27 17:40:04 +02:00
Tetrakern
808bf90726 Add capability to assign Patreon tiers and thresholds 2024-04-27 17:28:47 +02:00
Tetrakern
6fc0aff7c2 Fix log list element style 2024-04-27 17:22:02 +02:00
Tetrakern
0b3b10d74b Add some logging 2024-04-27 17:20:02 +02:00
Tetrakern
a6d17406e7 Slim down registering of settings 2024-04-27 16:45:01 +02:00
Tetrakern
0d66d0f7b8 Clean up setting sanitizers
Why did I name them validators? o_ô
2024-04-27 16:31:36 +02:00
Tetrakern
a8a499ad05 Add global Patreon unlock settings 2024-04-27 16:22:09 +02:00
Tetrakern
43a55d796a Update setting texts 2024-04-27 16:21:43 +02:00
Tetrakern
ce288ba43a Add new sanitizers for comma-separated settings 2024-04-27 16:13:40 +02:00
Tetrakern
0558a0c357 Add new helper for comma-separated setting inputs 2024-04-27 16:12:03 +02:00
Tetrakern
01b884dd29 Fix recurring admin notices on form submit 2024-04-27 14:53:49 +02:00
Tetrakern
24da4aaff7 Update meta field description 2024-04-27 14:38:06 +02:00
Tetrakern
5c5743bda6 Update Patreon tier check for global tiers/thresholds 2024-04-27 14:36: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
bdb4f565e1 Add setting to enable Patreon unlock feature 2024-04-27 12:45:20 +02:00
Tetrakern
83edc5ffb6 Restrict Patreon meta fields to admins
This is only for the site-wide Patreon connection, so it's better to gate it away.
2024-04-27 12:16:38 +02:00
Tetrakern
51f0e42452 Fix fictioneer_get_metabox_number function 2024-04-27 12:12:07 +02:00
Tetrakern
7514512d42 Add Patreon monetary threshold meta field 2024-04-27 12:11:48 +02:00
Tetrakern
8dd4bf5b8b Reformat condition for clarity 2024-04-27 12:11:02 +02:00
Tetrakern
691b687c20 Update translation string
Sorry.
2024-04-27 12:09:18 +02:00
Tetrakern
76e0c3c350 Add fictioneer_get_metabox_number function 2024-04-27 11:55:36 +02:00
Tetrakern
e1405b1748 Extend fictioneer_get_metabox_text function 2024-04-27 11:53:30 +02:00
Tetrakern
b42219bd42 Fix comparison 2024-04-27 04:03:49 +02:00
Tetrakern
c5cf05547d Sanitize selected Patreon tiers 2024-04-27 01:35:50 +02:00
Tetrakern
1984e4ad35 Add token meta field for Patreon tiers to posts 2024-04-26 23:47:49 +02:00
Tetrakern
3614327013 Improve token meta field helper 2024-04-26 23:47:33 +02:00