Commit Graph

389 Commits

Author SHA1 Message Date
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
884e1fd7dd Merge pull request #59 from FrozenOrb/hide-linked-ip-ban-removal-reasons
Don't show IP unban reasons if unbanned via linked punishment.
2016-10-26 00:17:46 -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
ee1e578140 Update README.md to be explain usage of mongo-jackson-codec lib 2016-10-20 22:15:44 -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
Jonathan Halterman
1b343f98f7 Merge pull request #57 from FrozenOrb/specify-punisher
Add the ability to specify the punisher as a parameter in the GET pun…
2016-10-20 17:01:56 -07: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
Colin McDonald
b71b9f957c Create README.md 2016-10-08 12:57:40 -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
Colin McDonald
5c03e4aebf Index recently added hashed ip fields 2016-08-17 22:41:51 -04:00
Colin McDonald
6473ee2bd1 Add hashed ip fields in IpIntel + IpLogEntry 2016-08-17 22:30:47 -04:00
Colin McDonald
e100009f4a Remove old data importer code 2016-08-17 21:23:23 -04:00
Colin McDonald
1689c3da67 Store an additional copy of all usernames in lowercase 2016-08-17 21:08:37 -04:00
Colin McDonald
b3d8ab2fbd Store all emails in lowercase 2016-08-17 20:44:39 -04:00
Colin McDonald
2f60ce2aa7 Fix bad logic in MaxMind circuit breaker processor (no clue what I was thinking when I first wrote it) 2016-08-16 22:58:06 -04:00
Colin McDonald
831348b4f8 Add POST /users/usePasswordResetToken to use password reset token without user uuid 2016-08-11 13:53:47 -04:00
Colin McDonald
e0090cdeb5 Change 'queueInstantJoin' to 'queueBypassCap' in Rank model 2016-08-04 19:11:12 -04:00
Colin McDonald
68f6f5ea79 Readd permission checks respecting * 2016-08-04 17:34:33 -04:00
Colin McDonald
23a6739eb1 Update /staff for Ariel (new schhema) 2016-08-02 19:16:21 -04:00
Colin McDonald
7f10888151 Rank schema changes 2016-08-02 19:03:21 -04:00
Colin McDonald
d9d87872cb Update Server+ServerGroup cache more frequently 2016-08-01 16:21:17 -04:00
Colin McDonald
3dad944ca3 Fix logic in server timeout check 2016-07-27 16:06:28 -04:00
Colin McDonald
e52d451fa1 Optimize imports 2016-07-27 15:04:37 -04:00
Colin McDonald
694394a670 Don't run SyncUtils.runBlocking methods in AuditLog callbacks (these callbacks are ran on an event loop thread) 2016-07-27 15:04:11 -04:00
Colin McDonald
79a9f7770c Remove test code in main class, fix small issue in UserSessionUtils 2016-07-25 21:10:34 -04:00
Colin McDonald
1c64109862 Add ip validation exclusion for IPv6 localhost ip (Ariel's testing server) 2016-07-25 20:59:34 -04:00
Colin McDonald
4b0d66985e Add ip validations where needed 2016-07-25 20:58:52 -04:00
Colin McDonald
e827a30131 Cleanup password verification code 2016-07-25 17:14:27 -04:00