7 Commits

Author SHA1 Message Date
Erki 7b9692be60 Implement forum-user-auth for game (#20875)
Requires https://github.com/Aurorastation/Web-Interface/pull/136 be
merged.

Allows users to authenticate themselves using only the forum. It will
generate a custom ckey for these users in the form of
`GuestF-[ckey(forum-nickname)]`. This will be saved into the database
and will act as a normal ckey from thereon out. These ckeys will be
marked in the player table, to allow for later filtering.

This will also modify the config parameter external_auth to be an enum
of 3 values.

Open questions: can we do automatic linking from purely the game side?
Since upon creation of the custom ckey, it should also be linked back to
the forums.

---------

Co-authored-by: Erki <erki@skullnet.me>
2025-07-10 17:24:29 +00:00
Fluffy 7265630dde Turn more unmanaged global vars into GLOB (#20446)
Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
2025-02-17 23:34:02 +00:00
Matt Atlas cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00
Werner 626fcee512 Forum-Auth-Fixes (#12728)
Changes a Status-Code and a Description of the Forum-Auth-System to better reflect what is actually happening.

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2021-11-06 11:44:32 +01:00
Karolis b6f7d9c79f External Auth security improvements (#6961)
Adds connection timeout
Adds new API for WI to get client that is authing IP.
2019-09-09 21:54:11 +03:00
Karolis 96c2e1c163 Adds external auth (#6380) 2019-05-10 00:05:58 +02:00
Erki 14d132ddef API refactor + update (#6127) 2019-03-23 22:12:59 +01:00