7 Commits

Author SHA1 Message Date
a75e6d6b95 chore: add warning coverage for cyclic includes (#2407)
and some initial refactoring to avoid it where possible

Reviewed-on: OpenWF/SpaceNinjaServer#2407
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-04 16:49:25 -07:00
45c0da6ed8 chore: fix some questionable calls to model.findById 2025-05-18 12:55:51 +02:00
ff3a9b382c chore: handle profile viewing data request from old versions (#1970)
Reviewed-on: OpenWF/SpaceNinjaServer#1970
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-05-03 17:24:40 -07:00
49edebc1eb chore: fix controllers exporting non-RequestHandler things (#1468)
I'm surprised JavaScript allows circular includes, but they still don't feel good.

Reviewed-on: OpenWF/SpaceNinjaServer#1468
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-05 06:52:35 -07:00
404c747642 feat: getProfileViewingData for clans (#1412)
Reviewed-on: OpenWF/SpaceNinjaServer#1412
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 02:28:48 -07:00
2ec2b0278a chore: use model.findById where possible (#1315)
Reviewed-on: OpenWF/SpaceNinjaServer#1315
2025-03-24 11:32:08 -07:00
3b16ff9b54 feat: getProfileViewingData for players (#1258)
Reviewed-on: OpenWF/SpaceNinjaServer#1258
2025-03-21 05:19:53 -07:00