Commit Graph

  • 3191ac9ab6 update code Jonas Pinson 2024-05-08 20:03:57 +0200
  • 99723edd75 update to use environment variables Jonas Pinson 2024-05-08 20:01:31 +0200
  • 58947d1bcb Update dockerfile Jonas Pinson 2024-05-08 19:53:07 +0200
  • 4b89c96625 Add dockerfile Jonas Pinson 2024-05-08 19:06:25 +0200
  • 1763e1af5f Added some tests Jonas Pinson 2024-05-08 18:53:58 +0200
  • ae23b18f9c
    start on port 8001 by default for client parity Up 2024-05-08 13:07:55 +0200
  • b803dff3e9
    ensure uniqueness of daily seed Up 2024-05-08 12:58:11 +0200
  • 3a5f6fb116
    compensations and daily runs Up 2024-05-08 12:31:20 +0200
  • 1e9e868460
    account stats and create db indices Up 2024-05-08 12:08:14 +0200
  • 54c4c43437
    accounts, acccountStats Up 2024-05-08 11:47:57 +0200
  • 8d39b9614f
    prevent crash if userdata dir does not exist Up 2024-05-08 11:28:41 +0200
  • 22cee19985
    add development docker compose file Up 2024-05-08 11:28:15 +0200
  • 9cfb923708
    add default values for CLI args Up 2024-05-08 11:27:51 +0200
  • 6cb179b553
    Clean up savedata.go maru 2024-05-07 20:38:12 -0400
  • 405a578e8c manually parse all save states for now Up 2024-05-08 01:28:33 +0200
  • 9b07fb3ac8
    manually parse all save states for now #4 Up 2024-05-08 01:28:33 +0200
  • 0d6539a87b
    continue on existing save (#3) Up 2024-05-08 01:14:07 +0200
  • 8e8aeef0f7
    Revert "one slot only?" #3 Up 2024-05-08 01:12:06 +0200
  • 9a03f7ec5c
    fallback if there is no slot data yet Up 2024-05-08 01:11:51 +0200
  • 20997e9cd8
    one slot only? Up 2024-05-08 01:07:44 +0200
  • cb071d9d9b
    fix continue Up 2024-05-08 01:02:57 +0200
  • 9102b69194
    long blob Up 2024-05-08 01:02:35 +0200
  • 1f95f7c042
    hotfix: move save data to DB (#2) Up 2024-05-07 23:10:33 +0200
  • 409c39e19a
    fix typo #2 Up 2024-05-07 23:03:09 +0200
  • 1c659d4fd2
    use REPLACE INTO Up 2024-05-07 22:58:24 +0200
  • ec65e0eb4a
    better table creation Up 2024-05-07 22:57:30 +0200
  • 87c65984f8
    fix pk Up 2024-05-07 22:49:17 +0200
  • 17f409c04f
    update gitignore Up 2024-05-07 22:44:08 +0200
  • b6848f4739
    remove more dir creation Up 2024-05-07 22:42:59 +0200
  • 40a1ce97e0
    fix import cycle Up 2024-05-07 22:41:53 +0200
  • d39d2d4e7f
    remove leftover dir creation Up 2024-05-07 22:39:21 +0200
  • b463a64003
    finish migration code Up 2024-05-07 22:31:55 +0200
  • 3ca235aa14
    start reading save data from DB Up 2024-05-07 22:00:28 +0200
  • 723fe48969 Add classic win count to starter data Flashfyre 2024-05-07 00:16:00 -0400
  • a087234aa8
    Replace usernameFromRequest maru 2024-05-05 16:12:10 -0400
  • 808a9e6c7d
    Remove redundant error check maru 2024-05-05 16:08:43 -0400
  • 3553891e6e Temporarily remove session expiration check Flashfyre 2024-05-05 14:57:58 -0400
  • 223bb6e90c Add support for some tracked run stats Flashfyre 2024-05-03 23:53:00 -0400
  • 99e878b933 Add friendship starter data field Flashfyre 2024-05-02 17:34:11 -0400
  • c0a23079fa Re-implement fix for data overwrites Flashfyre 2024-04-30 15:26:13 -0400
  • 8a17845d42 Revert "Fix underlying issue with save override prevention" Flashfyre 2024-04-30 15:11:01 -0400
  • c12c770844 Fix underlying issue with save override prevention Flashfyre 2024-04-30 15:06:37 -0400
  • e19104c86a Prevent initial out of date message on register Flashfyre 2024-04-30 14:59:58 -0400
  • 512a24e5c3
    Remove anti cheat maru 2024-04-30 14:34:40 -0400
  • cde572d626 Revert "Fix data override prevention on update" Flashfyre 2024-04-30 13:39:06 -0400
  • 52756fdba3 Fix data override prevention on update Flashfyre 2024-04-30 11:17:14 -0400
  • 786e947e09
    Change 'banned' to 'limited maru 2024-04-30 00:32:55 -0400
  • 8481626193
    Relicense under AGPL maru 2024-04-29 17:26:46 -0400
  • 235fb9c91c
    Add copyright notice to files maru 2024-04-29 15:32:58 -0400
  • e8240c9c38
    Rename to rogueserver maru 2024-04-29 15:22:27 -0400
  • b52abbf7fe
    Ban if daily score over 20000 maru 2024-04-28 22:21:30 -0400
  • e184e9da91
    Ban if vouchers over a certain threshold maru 2024-04-28 20:59:53 -0400
  • bc8084b70b Increment server version Flashfyre 2024-04-28 20:44:33 -0400
  • ec33952aaa
    Simplify variable declaration maru 2024-04-28 17:41:00 -0400
  • cbcc68f8e4
    Add password changes maru 2024-04-28 17:27:58 -0400
  • 4ce5a0198d
    Don't check token length twice in Logout maru 2024-04-26 13:17:06 -0400
  • 54d4d9a389
    Set max open MariaDB connections maru 2024-04-25 16:27:24 -0400
  • 1ea2829f63
    Increase stat refresh interval to 30 seconds maru 2024-04-25 16:16:35 -0400
  • a1488f435e
    Run through formatter maru 2024-04-25 16:13:34 -0400
  • 65e7696e7e
    Use tokenFromRequest in handleAccountLogout maru 2024-04-25 15:31:53 -0400
  • 2656c0a033
    Enforce HTTP method on endpoints maru 2024-04-25 15:30:12 -0400
  • 2adb70dd7e
    Styling consistency maru 2024-04-25 15:11:26 -0400
  • 6ae46dfd77
    Re-add debug mode maru 2024-04-25 14:41:48 -0400
  • 2f8c2d3f07 Match trainer and secret ID on update for data integrity Flashfyre 2024-04-25 09:56:56 -0400
  • 849bc601f0
    Remove get prefix from certain function names maru 2024-04-25 03:50:35 -0400
  • 768900d885
    Change seedCompletions to dailyRunCompletions maru 2024-04-25 03:40:22 -0400
  • 7e3ba249df
    Move httpError to common.go maru 2024-04-24 20:23:20 -0400
  • fa5dcb0052
    Use ServeMux router instead of switch statement maru 2024-04-24 20:05:57 -0400
  • da572ebdd9
    Add default case to router maru 2024-04-24 18:54:24 -0400
  • 7b9a866570 Add support for 2 additional session slots Flashfyre 2024-04-24 01:49:24 -0400
  • ae03daae1c
    Remove GitHub actions workflow maru 2024-04-23 14:45:13 -0400
  • 96f8a74396
    Unduplicate more code maru 2024-04-22 18:32:45 -0400
  • 1de3ce72e4
    Reuse zstandard encoder maru 2024-04-22 18:20:58 -0400
  • 697c5335d7
    Prevent writing empty save files maru 2024-04-22 18:06:32 -0400
  • b00ed4c0b9
    Use WriteFile instead of stream writing to files maru 2024-04-22 18:01:17 -0400
  • 8f51cd826c
    Run formatter on code maru 2024-04-21 18:57:27 -0400
  • 4a017b0f32
    Clean up recent API changes maru 2024-04-21 16:52:26 -0400
  • 6acbb6448a Protect against cross-session overwrites Flashfyre 2024-04-21 16:23:25 -0400
  • 75cf6f3ab1
    Use Sprintf instead of encoding UUIDs to hex maru 2024-04-20 17:10:48 -0400
  • 6816df3158
    Set content type of JSON responses maru 2024-04-20 16:58:04 -0400
  • 777517dd38
    Bump GitHub Actions Go version maru 2024-04-20 16:46:06 -0400
  • f7ab2719a2
    Don't make rankings endpoint update user activity maru 2024-04-19 16:44:33 -0400
  • 1d54c1ad64
    Use channels to rate limit argon2 maru 2024-04-19 13:27:55 -0400
  • fbd4a60a4a
    Add mutex to deriveArgon2IDKey maru 2024-04-19 12:48:14 -0400
  • 0fec7cb4c3
    Revert "Serve game content and API" maru 2024-04-19 12:41:05 -0400
  • 6bd7deb3de
    Serve game content and API maru 2024-04-19 03:27:47 -0400
  • a36a8f5be9 Update schema and version for variant update Flashfyre 2024-04-18 21:54:07 -0400
  • 62102ab4fd
    Use forms instead of JSON for login/register requests maru 2024-04-18 18:26:43 -0400
  • beb829d20f
    Remove redundant padding insert in TryAddSeedCompletion maru 2024-04-18 02:36:14 -0400
  • 35641e420b
    Clean up compensation code maru 2024-04-18 02:11:31 -0400
  • 09abd1fb66
    Fix bug with /savedata/clear endpoint maru 2024-04-18 02:02:02 -0400
  • 136aac6614
    Sleep for one second in recordNewDaily task maru 2024-04-18 00:46:00 -0400
  • 0523737f0d
    Create go.yml Patapancakes 2024-04-17 22:33:11 -0400
  • 9f1349d6a0
    Move gob Register functions to pokerogue-server.go maru 2024-04-17 21:11:53 -0400
  • dbcc0d04e6
    Add new exit handler maru 2024-04-17 19:31:12 -0400
  • 5916c9e5e5
    Use UTC for cron maru 2024-04-17 19:03:25 -0400
  • 9477889390
    Use better cron package maru 2024-04-16 21:01:24 -0400
  • 420a4d17b3 Fix version check for outdated client Flashfyre 2024-04-16 09:21:23 -0400
  • d232773ecd Add game version check to save (WiP) Flashfyre 2024-04-15 10:10:22 -0400
  • 25abf4914b
    Use TokenSize const in api common.go maru 2024-04-15 03:24:45 -0400