Tetrakern
93f88321fa
Update Patreon API
2025-01-17 13:05:40 +01:00
Tetrakern
a78d54105e
Fix fictioneer_after_oauth_user args patreon_tiers
2025-01-17 13:03:32 +01:00
Tetrakern
17d21c61fb
Add FICTIONEER_OAUTH_COOKIE_EXPIRATION constant
2024-11-16 14:06:59 +01:00
Tetrakern
3ee1156a23
Improve and fix hook list part 2
2024-10-05 22:11:21 +02:00
Tetrakern
8ac722de0a
Code formatting
2024-08-16 13:31:17 +02:00
Tetrakern
d9892b9efc
Only load OAuth script if required
2024-06-18 02:36:55 +02:00
Tetrakern
eedde757f6
Code formatting fixes
2024-06-17 22:12:39 +02:00
Tetrakern
9f2b33653c
Disable SubscribeStar login prototype
...
Will not be ready for next release.
2024-05-25 10:28:19 +02:00
Tetrakern
430f225f56
SubscribeStart OAuth prototype
...
DO NOT USE THIS!
2024-05-24 21:18:22 +02:00
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
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
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
3f14a9f031
Refactor OAuth process
...
fml
2024-05-21 16:44:05 +02:00
Tetrakern
18fd524089
Always add OAuth endpoint
...
Hopefully, that does away with the need to flush your permalinks after enabling the feature.
2024-05-05 13:01:09 +02:00
Tetrakern
4a7604642d
Allow "Free" Patreon tier
2024-04-30 17:06:07 +02:00
Tetrakern
d0e58753fe
Fix and improve storygraph API story node
...
The protected attribute checked whether a password exists AND the correct cookie as well, which could technically yield the wrong result. Also accounted for people misusing stories as chapters.
2024-04-30 13:06:26 +02:00
Tetrakern
6cdc2ecd1c
Simplify attribute check for Patreon
2024-04-29 13:49:07 +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
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
a0db9b4c0d
Add admin notices for Patreon
2024-04-26 19:13:41 +02:00
Tetrakern
2fdbd90177
Add procedure to get Patreon campaign tiers
...
Still needs refinement.
2024-04-26 17:29:01 +02:00
Tetrakern
3703b47e4c
Store more Patreon tier data upon OAuth
...
Not personal information, just data about the tier that is public knowledge anyway.
2024-04-25 21:37:58 +02:00
Tetrakern
5df5bc696f
Rename files for clarity, move some functions
...
Bringing order to the mess, one commit at a time.
2024-04-13 16:54:33 +02:00