How do i make an api request to the login route?
askvortsov I'm glad to hear! We do our best
. And there's a lot of new cool stuff coming (relatively) soon!
I am interested in seeing what it has to offer, sad that it does not have support to be hosted on Pterodactyl (Webhosting panel), otherwise i would've put more time into Flarum based code.
BAANAN not have support to be hosted on Pterodactyl
Is there something in particular necessary for compatibility with Pterodactyl that Flarum is lacking? I'm not familiar with that platform.
askvortsov pterodactyl opens ports for different servers.
And it uses a reverse proxy.
BAANAN pterodactyl opens ports for different servers.
Hmm... I don't know of any major sites that use ports other than 443 for their websites. Users generally are not familiar with what port even means. That being said, if you serve Flarum from an alternative port and include that port in your config.php url key, that should work.
BAANAN And it uses a reverse proxy.
I don't believe Flarum has any issues with being served over reverse proxy either
askvortsov That is very interesting! The only thing that needs to made is a Flarum Egg then. (Egg = Software for Pterodactyl to run)
And then it should work fine.
Oh also askvortsov something that does bother me about Flarum is the fact that you cannot set a group higherarchie, this should be added with a Num calc aka: 999 = Site Creator 0 = member etc.
Which can be set per role.
That would be nice to see, oh! And role re-ordering!
BAANAN Flarum is the fact that you cannot set a group higherarchie, this should be added with a Num calc aka: 999 = Site Creator 0 = member etc.
Which can be set per role.
We're aware of this, it's complicated though because arbitrary numbers are arbitrary. There's a bit that can be improved with the current permissions system (especially if you have very many groups and very many tags, it's an absolute pain to configure permissions). It needs a revamp, but that'll be coming after the stable release, hopefully for v2
askvortsov i hope so aswell, since this is my only downside on Flarum, the rest is more then perfect!
BAANAN I'll also note that we have an issue for this at flarum/core1753. It's not something in scope for the next few releases, but if you have ideas on what could be a good implementation, input would be appreciated!
askvortsov not really, it is just something that needed to be pointed out, flarum itself is amazing, it is like discourse, but free, and open source.
Also, if you'd like to try out the package then please inform me!
BAANAN Would i be allowed to use the following name?: flarumbots
Yes that would be okay if non commercial
Reference https://flarum.org/foundation/legal
@askvortsov i've made a short little documentation, if you want you may read it and view it.
The wrapper is open-source and installable for anyone, this can be viewed here: https://github.com/Flarum-Wrappers/Javascript
BAANAN Since Flarum uses json API, something like https://github.com/tobyzerner/json-api-models might be useful for helping manage model retrieval and storage
askvortsov Ah thanks! Sorry for the slow/no response, i've been rather busy.
I'm thinking about picking this project back up