Closed jdarwood007 closed 4 years ago
I haven't wrote many pdos, so yea.
Don't have a postgresql anymore but it should work from what I read.
Alright, I'm going to put your version through some live testing and see how it goes.
Thank you. : )
Few more comments.
In any case, this isn't working for me, in SMF 2.0 or in Elkarte. I need to dig down deeper into this, or maybe ask you to split up the changes so we can test and apply things in a saner fashion.
Your welcome to close this PR if you feel its not needed anymore. Did a merge but kept my changes and fixed a few things that I saw could be wrong.
It is getting rather hard for me to make sense of. Some things got clobbered, I can tell.
If there's anything specific you see, please feel free to submit specific PRs or open issues for them. Your caching changes at least still need to make it in, though I can do that once I've got a proper environment for it.
In any case, thank you for your help. : )
The caching is one change. I'm testing on 1.31 as its the current LTS, if your testing against something older you should change that: https://www.mediawiki.org/wiki/Version_lifecycle I need to test against 1.35 as well soon.
The only other big difference here is I'm putting everything into FSSettings and using that rather than globals or a bunch of local variable calls. Just cleaned up a lot of stuff.
Revamped the ForumSessionProvider and tested on both SMF 2.0 and 2.1. Added backwards compatibility with the old Auth_SMF.php plugin.
Signed-off-by: jdarwood007 unmonitored+github@sleepycode.com