aboutsummaryrefslogtreecommitdiff
path: root/pkg
AgeCommit message (Collapse)Author
2022-12-11pkg/atlas: Support custom error pagespg9182
2022-12-03pkg/api/api0: Add more origin_auth loggingpg9182
2022-12-03pkg/atlas: Support systemd credentials for certain config varspg9182
https://systemd.io/CREDENTIALS/ https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Credentials https://www.freedesktop.org/software/systemd/man/systemd-creds.html
2022-11-27pkg/atlas: Implement geo metricspg9182
2022-11-27pkg/api/api0: Implement geo metricspg9182
2022-11-27pkg/metricsx: Implement GeoCounterpg9182
2022-11-27pkg/metricsx: Initial commitpg9182
2022-11-22pkg/api/api0: Hide region info in serverlist for private serverspg9182
2022-11-21all: Upgrade github.com/pg9182/ip2x to v0.1.1pg9182
This is a larger update since I rewrote ip2x.
2022-11-21pkg/regionmap: Use more abbreviationspg9182
Makes it shorter and align more closely with each other and common convention.
2022-11-20pkg/regionmap: Add explicit mapping for Taiwanpg9182
It isn't in the UN M.49 mapping.
2022-11-20pkg/atlas: Add ATLAS_API0_REGION_MAP config option, use pkg/regionmap by defaultpg9182
2022-11-20pkg/regionmap: Initial commitpg9182
2022-11-20pkg/api/api0: Set server region field from IP on create/updatepg9182
2022-11-20pkg/api/api0: Add GetRegion fieldpg9182
2022-11-20pkg/api/api0: Add region field to serverlistpg9182
If empty, it is omitted from the server list JSON.
2022-11-20pkg/atlas: Add ATLAS_IP2LOCATION config optionpg9182
2022-11-20pkg/api/api0: Add LookupIP fieldpg9182
2022-11-19pkg/atlas: Fix reload when file logging is disabledpg9182
Don't call nil reload functions.
2022-11-19pkg/atlas: Add startup log messagepg9182
2022-11-19pkg/atlas: Change default port to 8080pg9182
Northstar uses port 8081 by default for auth, which silently causes issues when running both atlas and northstar on the same machine with the default config.
2022-10-25pkg/juno: Fix doc commentpg9182
2022-10-25all: Rewrite Origin auth (#7)pg9182
* all: Rewrite juno auth, split into separate packages * pkg/juno: Implement two-factor auth * pkg/origin: Add AuthMgr option to save HAR archives * pkg/atlas: Add config option to save HAR archives
2022-10-24pkg/api/api0: Suppress error logs for aborted requestspg9182
2022-10-23pkg/api/api0: Improve serverlist JSON generationpg9182
2022-10-23pkg/api/api0: Only parse the query oncepg9182
2022-10-23pkg/api/api0/serverlist: Use sync.Pool for gzip writerspg9182
2022-10-23all: Switch go github.com/klauspost/compress/gzippg9182
It's much faster.
2022-10-22pkg/origin: Return an error if there is a 2fa prompt during loginpg9182
2022-10-22pkg/origin: Switch login from originX to juno (fixes #7)pg9182
* Update URLs. * Handle new form elements. * Handle TOS update page. * Handle new final code redirect flow. Will likely need to update the nucleus token stuff once origin is deprecated completely since that still uses the ORIGIN_JS_SDK flow. I'm also planning to refactor this later since it's gotten a bit messy.
2022-10-22pkg/origin: Simplify concurrency lockingpg9182
2022-10-22pkg/pdata: Update default pdataBobTheBob
Regenerated using persistentdata.gnut.
2022-10-22pkg/atlas: Add ↵pg9182
ATLAS_API0_SERVERLIST_EXPERIMENTAL_DETERMINISTIC_SERVER_ID_SECRET option
2022-10-22pkg/api/api0: Implement experimental option to generate deterministic server IDspg9182
2022-10-22pkg/api/api0: Add support for additional serverlist config optionspg9182
2022-10-22pkg/atlas: Reap dead servers periodicallypg9182
2022-10-21pkg/atlas: Allow the log file owner/perms to be configuredpg9182
2022-10-21pkg/atlas: Use info for all http logspg9182
To better match the old master server's behavior.
2022-10-21pkg/api/api0: Simplify update locking/waiting logicpg9182
2022-10-21pkg/api/api0/api0testutil: Reduce stress test concurrency on non-Linux platformspg9182
Database doesn't perform as well.
2022-10-21pkg/api/api0/api0testutil: Print errors for stress testspg9182
2022-10-21pkg/cloudflare: Fix printf argumentspg9182
2022-10-21all: pg9182 -> r2northstarpg9182
2022-10-21pkg/api/api0: Add CORS headers to /client/serverspg9182
2022-10-21pkg/api/api0: Add serverlist metric for full serverspg9182
2022-10-21pkg/api/api0: Add serverlist metric for servers with playerspg9182
2022-10-21pkg/api/api0: Fix metrics syntax for _other valuespg9182
2022-10-21pkg/atlas: Implement config parser and serverpg9182
I'll need to refactor this later.
2022-10-21pkg/cloudflare: Implement RealIP middlewarepg9182
2022-10-21pkg/cloudflare: Implement Cloudflare IP list checkspg9182