Commit Graph

385 Commits

Author SHA1 Message Date
Topu 7a1ad105cd PUT requests 2022-10-20 13:54:19 +03:00
Topu b82effe163 Prefixes and more 2022-10-20 08:59:02 +03:00
GoXLR 0da3fd9476
go back 2022-10-20 04:30:17 +02:00
Moose1301 a0459183a7
dumb shit 2022-10-19 22:01:01 -04:00
GoXLR 87675fad10
ree 2022-10-19 19:31:05 +02:00
GoXLR 28213c703e
weird auth debug shit help me god please mongo is weird 2022-10-19 18:34:50 +02:00
GoXLR 1cbe4aa462
original code 2022-10-19 17:57:51 +02:00
GoXLR 9f2ad2d73a
original code 2022-10-19 17:56:53 +02:00
GoXLR 1fb257b573
Debug 2022-10-19 08:15:38 +02:00
Alfie Cleveland 2cdbba0c77 API updates 2017-10-01 02:31:47 +01:00
Alfie Cleveland 5270321c37 More optimizations & fix NPE when console unbans a player 2017-09-24 16:26:36 +01:00
Alfie Cleveland 6394b7e4ef Strip IP Intel entirely 2017-09-24 14:39:13 +01:00
Alfie Cleveland 408124f5cd Fix some stuff for Velt 2017-09-24 14:25:35 +01:00
Colin McDonald 78067c2c51 Move packes to more Spring-like structure 2016-12-17 14:21:41 -05:00
Colin McDonald 23bcc1d985 Fix initial deployment issues 2016-12-16 19:54:06 -05:00
Colin McDonald 6cd0cb31ec Remove use of MineHQ specific terminology. Copied from c949a7a2d4 2016-11-29 22:23:23 -05:00
Colin McDonald db0b173f15 Config changes + cleanup 2016-11-29 22:10:02 -05:00
Colin McDonald f4b59cf9b3 Add totp dump type, which returns UUIDs of Users with totp setup 2016-11-28 22:25:39 -05:00
Colin McDonald 6ae09cde9b Start adding IoC elements 2016-11-27 20:47:40 -05:00
Colin McDonald 1c9983de66 Properly create new access tokens 2016-11-27 02:06:44 -05:00
Colin McDonald 021d448c15 Finish deployment route 2016-11-27 01:35:09 -05:00
Colin McDonald db0adc8b87 Add deployment routes for use by Ansible 2016-11-27 01:06:01 -05:00
Colin McDonald 76c0148b89 Optimize imports 2016-11-26 23:14:55 -05:00
Colin McDonald 641dccd06b Rename handlers to filters to better express functionality 2016-11-26 23:14:11 -05:00
Colin McDonald a72f10618a Fix compilation issue from previous commit 2016-11-21 21:16:57 -05:00
Colin McDonald 74570ccbc0 Add scopeRanks field to user login info, which contains their best ranks on each scope 2016-11-21 20:12:42 -05:00
Colin McDonald b53ea83bb9 Remove unused field from last commit 2016-10-26 21:01:43 -04:00
Colin McDonald 508674045e Respond to POST /punishments with raw punishment 2016-10-26 21:01:17 -04:00
Jonathan Halterman 96e4df5b04 Don't show IP unban reasons if unbanned via linked punishment. 2016-10-25 21:17:20 -07:00
Colin McDonald e082e69063 Revert previous commit, change lookup routes to POSTs 2016-10-24 17:08:57 -04:00
Colin McDonald a610b443e4 Fix URL length limit, filter lookup URLs in log entries (for length) 2016-10-24 16:58:49 -04:00
Colin McDonald af8dd4d925 Return corrected username in GET /lookup/byName 2016-10-23 00:50:37 -04:00
colinmcdonald22 30ece4a60f Optimize imports 2016-10-21 22:55:50 -04:00
colinmcdonald22 3f866bb25f Add uuid/name lookup routes 2016-10-21 22:55:15 -04:00
colinmcdonald22 e40aaf19a2 Optimize imports 2016-10-21 22:15:28 -04:00
colinmcdonald22 b30df61c75 Add GET /search route 2016-10-21 21:21:01 -04:00
colinmcdonald22 2ff31dab1d Fix compilation issue with previous commit 2016-10-21 20:54:10 -04:00
colinmcdonald22 ee3a012f80 Fix json integer parsing 2016-10-21 19:36:24 -04:00
Colin McDonald 525bd64c3b Convert enum values to upper case before attempting to parse 2016-10-20 22:59:48 -04:00
Colin McDonald 9a4ab71b5d Add modified mongo-jackson-codec files to repository
This will mean we no longer depend on our custom version of the codec
being available at compile time - we instead depend on the public version
and 'apply' our changes at compile time with the maven shade plugin. The
package-info.java file describes the changes (+ motivation for these changes)
made to the public library.
2016-10-20 22:11:57 -04:00
Francisco Saldanha e14ea127cb Add the ability to specify the punisher as a parameter in the GET punishments route 2016-10-20 21:40:55 -02:00
Colin McDonald d90981bdec Add /dumps/rankUsers?rank=<rank> to get all Users with a certain rank 2016-10-16 19:38:28 -04:00
Colin McDonald 0ca0dea102 Create a bilateral link between bans and ip bans
Because existing data does not have this link we're not changing our queries
to depend on this new field, it exists purely for the website/other clients. A
conversion will be ran on the database to add this field to existing ip bans.

Trello card: https://trello.com/c/os6iX7tv/5-create-a-bilateral-link-between-bans-and-ip-bans
2016-10-16 10:25:51 -04:00
Jonathan Halterman 7fb554bd2b Make VPN kick message broadly applicable. 2016-09-08 03:53:56 -07:00
Colin McDonald 256d12c1d4 Add scope flag to GET /dumps/grant to limit the scope of returned grants 2016-08-19 02:20:57 -04:00
Colin McDonald 96c55ea6c8 Convert usernames to lowercase before performing a lower case search 2016-08-18 16:23:37 -04:00
Colin McDonald dc16fa7b6f Add support for getting ip bans, ip intel, and ip logs by hashes 2016-08-18 16:21:43 -04:00
Colin McDonald 287e6b744a Sort GET /staff output by the time each grant was created 2016-08-18 14:26:36 -04:00
Colin McDonald 95944d023d Cleanup geospatial code a tiny bit 2016-08-18 13:46:49 -04:00
Colin McDonald a3d1812b83 Store geospatial information with IpIntel documents, which can be accessed via GET /dumps/ipIntel(Formatted) 2016-08-17 23:28:48 -04:00