Commit Graph

425 Commits

Author SHA1 Message Date
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
Colin McDonald 3ab317da1f Fix issue with User#findByEmailToken caused by field renaming 2016-07-25 16:58:10 -04:00
Colin McDonald 5805506372 Return 404s automatically when our response is null 2016-07-25 16:57:44 -04:00
Colin McDonald df938dcd0a Fix flow issue in POST /users/:id/changePassword 2016-07-25 15:49:38 -04:00
Colin McDonald 02f79731a9 Fix UserSessionUtils#invalidateAllSessions with no active sessions 2016-07-25 15:49:22 -04:00
Colin McDonald dc7f828e13 Remove + as a valid char in emails 2016-07-25 15:48:53 -04:00
Colin McDonald 2ba32f752d Fix NPE in POST /users/:id/registerEmail 2016-07-23 19:58:43 -04:00
Colin McDonald 303634dedc Remove unneeded request parameters in Mandrill request 2016-07-23 19:53:08 -04:00
Colin McDonald 1b1e1bb3e9 Perform better validation on Mandrill responses 2016-07-23 18:46:02 -04:00
Colin McDonald 70b4f079c1 Change maven priority 2016-07-23 14:41:14 -04:00
Colin McDonald b668d19448 Comment out uuid refresh code 2016-07-23 14:30:05 -04:00
Colin McDonald 60dfe6b03e Fix issue where multiple users could confirm with the same email 2016-07-23 14:29:26 -04:00
Colin McDonald 95440504d5 Rename User#findByEmail to User#findByConfirmedEmail to remove ambiguity 2016-07-23 14:28:44 -04:00
Colin McDonald 18c0868baf unfinished uuid refresh feature 2016-07-20 01:47:51 -04:00
Colin McDonald 2cc28e907d Add permission checks for adding/removing grants/punishments 2016-07-18 19:45:34 -04:00