-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
148 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
DELETE FROM ban_revoke; | ||
DELETE FROM ban; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
DELETE FROM reported_user; | ||
DELETE FROM ban; | ||
DELETE FROM moderation_report; | ||
DELETE FROM teamkills; | ||
DELETE FROM unique_id_users; | ||
DELETE FROM uniqueid; | ||
DELETE FROM global_rating; | ||
DELETE FROM ladder1v1_rating; | ||
DELETE FROM uniqueid_exempt; | ||
DELETE FROM version_lobby; | ||
DELETE FROM friends_and_foes; | ||
DELETE FROM ladder_map; | ||
DELETE FROM tutorial; | ||
DELETE FROM map_version_review; | ||
DELETE FROM map_version_reviews_summary; | ||
DELETE FROM map_version; | ||
DELETE FROM `map`; | ||
DELETE FROM mod_version_review; | ||
DELETE FROM mod_version_reviews_summary; | ||
DELETE FROM mod_version; | ||
DELETE FROM `mod`; | ||
DELETE FROM mod_stats; | ||
DELETE FROM oauth_clients; | ||
DELETE FROM updates_faf; | ||
DELETE FROM updates_faf_files; | ||
DELETE FROM avatars; | ||
DELETE FROM avatars_list; | ||
DELETE FROM ban; | ||
DELETE FROM clan_membership; | ||
DELETE FROM clan; | ||
DELETE FROM game_player_stats; | ||
DELETE FROM game_review; | ||
DELETE FROM game_reviews_summary; | ||
DELETE FROM game_stats; | ||
DELETE FROM game_featuredMods; | ||
DELETE FROM ladder_division_score; | ||
DELETE FROM ladder_division; | ||
DELETE FROM lobby_admin; | ||
DELETE FROM name_history; | ||
DELETE FROM group_permission_assignment; | ||
DELETE FROM group_permission; | ||
DELETE FROM user_group_assignment; | ||
DELETE FROM user_group; | ||
DELETE FROM login; | ||
DELETE FROM email_domain_blacklist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
DELETE FROM ban_revoke; | ||
DELETE FROM ban; | ||
|
||
INSERT INTO login (id, login, email, password) VALUES | ||
(4, 'BANNED', '[email protected]', 'not relevant'); | ||
|
||
INSERT INTO ban (id, player_id, author_id, reason, expires_at, level) VALUES | ||
(1, 4, 1, 'Test permaban', DATE_ADD(NOW(), INTERVAL 1 DAY), 'GLOBAL'), | ||
(2, 2, 1, 'To be revoked ban', DATE_ADD(NOW(), INTERVAL 1 DAY), 'GLOBAL'); | ||
|
||
INSERT INTO ban_revoke (ban_id, reason, author_id) VALUES | ||
(2, 'Test revoke', 1); | ||
|
||
INSERT INTO login (id, login, email, password) VALUES | ||
(5, 'TO_BE_REVOKED', '[email protected]', 'not-relevant'); | ||
|
||
INSERT INTO ban (id, player_id, author_id, reason, expires_at, level) VALUE | ||
(1, 4, 1, 'Test permaban', DATE_ADD(NOW(), INTERVAL 1 DAY), 'GLOBAL'); | ||
INSERT INTO ban (id, player_id, author_id, reason, expires_at, level, revoke_time, revoke_author_id, revoke_reason) | ||
VALUE | ||
(2, 2, 1, 'To be revoked ban', DATE_ADD(NOW(), INTERVAL 1 DAY), 'GLOBAL', NOW(), 1, 'Test revoke'); | ||
INSERT INTO ban (id, player_id, author_id, reason, expires_at, level) VALUE | ||
(3, 5, 1, 'Ban to be revoked', DATE_ADD(NOW(), INTERVAL 30 DAY), 'GLOBAL'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
DELETE FROM ban_revoke; | ||
DELETE FROM ban; | ||
|
||
INSERT INTO login (id, login, email, password) VALUES | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
src/main/java/com/faforever/api/data/domain/BanRevokeData.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.