Commit Graph

417 Commits

Author SHA1 Message Date
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
Colin McDonald
bc92c39ce0 Fix User#getRanksScoped registered logic 2016-07-17 17:47:04 -04:00
Colin McDonald
57729c17e0 Add null check to cached type lookups 2016-07-17 17:06:53 -04:00
Colin McDonald
612fe880dc Create an ip ban for the user's last used ip address if their current ip address is not provided when banning. Closes #46 2016-07-17 16:56:51 -04:00
Colin McDonald
c30f11ead4 Make cached type lookups case insensitive. Closes #47 2016-07-17 16:51:18 -04:00
Colin McDonald
bc1cc8265f Automatically add "registered" rank to all registered users. Closes #48 2016-07-17 16:48:24 -04:00
Colin McDonald
81a7806629 Modify DELETE /users/:id/activePunishment to remove all active punishments (instead of just the first one found) - this removes any possible confusion due to having to unban someone multiple times (due to the data importer creating duplicate punishments) 2016-07-17 16:20:42 -04:00
Colin McDonald
f9a423b457 Make converter changes for push to production 2016-07-17 00:20:27 -04:00
Colin McDonald
eb03636a6b Rework MaxMind circuit breaker 2016-07-16 22:57:09 -04:00