global:
- Remove bad files
This commit is contained in:
@ -1,68 +0,0 @@
|
|||||||
INSERT INTO "server_user" ("username", "mail", "password", "id42", "pfp", "banner", "mail_verified") VALUES
|
|
||||||
('tomoron', 'a@a.com', 'a5f1efc32bcc4dc53e471f9620b78ca9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('patate', 'b@b.com', '5e547979d3f20f43c87e5e0e8406f267', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('skywalker42', 'skywalker42@domain.com', 'e3a57c2a6bfa5a6434de0d9d51f6f41a', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('lunarwhale', 'lunarwhale@domain.com', 'b8c6a95718d5c7b5e6d34b9b241d917e', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('pixelwizard', 'pixelwizard@domain.com', 'f9e8a7d6c4d3b2f1a1e9d7c8a5f6b7e9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('thunderhawk', 'thunderhawk@domain.com', 'd1a5e3f7b9c6d4a8e7f2b5c3d1e9f7b6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('cosmicfox', 'cosmicfox@domain.com', 'e6b5d7a8c4d1f7e3b2a9c6d5f7e4a2b3', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('solartitan', 'solartitan@domain.com', 'b2e8d7f9c6a3d5e7f4b9c6d8e5a7b3f4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('nebularaven', 'nebularaven@domain.com', 'f3e8d7a6b9d5c4a8e2b7c6f1d9e7a8b4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('vortexwolf', 'vortexwolf@domain.com', 'a7b9f3d2e6c5b4f1a8e7c9d6b5f3a8e1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('starlight', 'starlight@domain.com', 'd6f8b2a7e3c9f5a4b1d7e6a9c3b4f1a5', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('phantomowl', 'phantomowl@domain.com', 'c9e7b5d6f8a3d4b7c6e1a9f3b7c5e6a2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('galacticlion', 'galacticlion@domain.com', 'e2d8b7f9a6c5d3f4b1a7d6e5c9b2a8f4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('cyberfalcon', 'cyberfalcon@domain.com', 'a9b6f4e2c7d5b3f8a1c6e7d9f2b5a4e3', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('silverdragon', 'silverdragon@domain.com', 'f8c6a7d3e9b5c2d1a7b9f3e6d4b1c5a8', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('shadowtiger', 'shadowtiger@domain.com', 'd3e8f7b6a5c4d2b1a9e7b5c3f8d9a4e6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('redphoenix', 'redphoenix@domain.com', 'b6c9d3e7f8a5b4d2c1e9a7f3d5b6c8e1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('stormfalcon', 'stormfalcon@domain.com', 'f1a8d9b5c6e7a2d3b9e6c5a8d4f7b2e3', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('frostfang', 'frostfang@domain.com', 'e7c9a6d4b5f3e2a1d9c7f8a6b4d3e5f7', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('celestialwolf', 'celestialwolf@domain.com', 'a5f3d7b9e8c6d2a7f4b9c3e5d7a1b4f9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('ironhawk', 'ironhawk@domain.com', 'd9f8b6e7a3d5c4f2b1e7d6a9b5c3e9f2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('obsidianraven', 'obsidianraven@domain.com', 'f6b9d4c8a7e2b3d5f1a8c7d9e5b2f6a3', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('emberfox', 'emberfox@domain.com', 'b1d9f7c8a5e6b3c7d4f1a9e3b6f5c8a7', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('blackstorm', 'blackstorm@domain.com', 'e5f7a9d3c8b4f1d2a6c9e7b5f3d4b9a1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('quicksilver', 'quicksilver@domain.com', 'f3d6e9b7a5c4d2e7b1a9f8c3d5b6a9e4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('auroraflame', 'auroraflame@domain.com', 'c6a9e5f7b3d4c8e9f1b7d2a5f3c9a7d6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('crimsonblade', 'crimsonblade@domain.com', 'b8f3a6d5e7c9b4d2a7f9c6e3d4a1b7e5', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('silentshadow', 'silentshadow@domain.com', 'e9a5b6d3f8c7d4b1a6c9f7e5b2d8f3a1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('wildfang', 'wildfang@domain.com', 'f4d8b7e6a9c5d2b3e7a6f9c8b3d4e1f7', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('venomtiger', 'venomtiger@domain.com', 'a6c9d8e7f3b5a4c2d1f9e6b3a7f5c4d8', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('nightwolf', 'nightwolf@domain.com', 'd7e9f4b8a6c3d1f2b5a9e7c6d3f8a5b4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('silverfalcon', 'silverfalcon@domain.com', 'b9d8a7f6c3d4e2a5f7b1e9c6d5a8b3f2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('starfall', 'starfall@domain.com', 'e4b7a9d5f3c6e8a2b9c5d7f4b1a3f6e9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('thunderblade', 'thunderblade@domain.com', 'c7d9f8b5e3a1d4f6b2a9c6d7f3e5b4a8', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('novafox', 'novafox@domain.com', 'd5e3a9f7c4b1d6e8a7f2c9b3e5d8f4a6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('ragingraven', 'ragingraven@domain.com', 'b9c7e5a8d6f4b2a3e7d9f1c6b4a9f3d2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('obsidianwolf', 'obsidianwolf@domain.com', 'f7a9d3c6e8b5d4f1a9e7c3b2d5f8a4c9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('crystalphoenix', 'crystalphoenix@domain.com', 'e5d7f4b9a6c8e3b1d9f5a3c7b6e8a2d1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('shadowfang', 'shadowfang@domain.com', 'b8f7a6e5d9c3b1d4a7e9c6b5d3f8a1f4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('stormrider', 'stormrider@domain.com', 'd1e9f7b5c4a3f6d8b9c7a5f2e4b8d3c9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('lunarfalcon', 'lunarfalcon@domain.com', 'c6f8b7a9d3e2f5b1a7e9c4d5f3b6a8d4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('ironraven', 'ironraven@domain.com', 'e7a9f8d5c4b1e3f6a7b9c2d3f5e8a1c4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('volcaniclion', 'volcaniclion@domain.com', 'b5d9e8f7c3a1d6b2f7e9c4a3b5d2f8a6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('blazewolf', 'blazewolf@domain.com', 'f3b8e7a9d5c4f1b9d6a7e5c3b9f4d8a1', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('phantomfox', 'phantomfox@domain.com', 'a7e9c6f8b5d2f3a9e4c1d7b3f6a8b9d4', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('emberlion', 'emberlion@domain.com', 'd4b9e7a6c3f8d5e9a7f2c1b6d3f5a9b2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('frostwolf', 'frostwolf@domain.com', 'e6f9b8c7d4a5f3e2b7c9a3d1f4b5e9d6', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('tigerblade', 'tigerblade@domain.com', 'b7d3e8f4a6c9d1b5a9f2e7c3d6f5b8a2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('midnightwolf', 'midnightwolf@domain.com', 'a5f8e7b9d6c4b3e2a9f1d7c5b3f6a8d9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('radiantfalcon', 'radiantfalcon@domain.com', 'f3d7e9b6c8a5b4f1d9e7a3c2b5f6d8a9', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True),
|
|
||||||
('shadowlion', 'shadowlion@domain.com', 'e9a3f6b7c8d5e4b1a7d9c3f5b6e8a9d2', NULL, '/static/img/default_pfp.jpg', '/static/img/default_banner.jpg', True);
|
|
||||||
|
|
||||||
INSERT INTO "server_message" ("date", "sender_id", "to_id", "content") VALUES
|
|
||||||
('2024-08-25 18:10:54.27476+00', 1, 2, 'coucou'),
|
|
||||||
('2024-08-25 18:11:25.987857+00', 2, 1, 'coucou les musulmans moi je mange la glace');
|
|
||||||
|
|
||||||
INSERT INTO "server_message" ("date", "sender_id", "to_id", "content") VALUES
|
|
||||||
('2024-08-25 18:10:54.27476+00', 3, 2, 'bonsoir'),
|
|
||||||
('2024-08-25 18:11:25.987857+00', 2, 3, 'non');
|
|
||||||
|
|
||||||
INSERT INTO "server_message" ("date", "sender_id", "to_id", "content") VALUES
|
|
||||||
('2024-08-25 18:10:54.27476+00', 1, 3, 'bonsoir3'),
|
|
||||||
('2024-08-25 18:11:25.987857+00', 3, 1, 'non3');
|
|
||||||
|
|
||||||
INSERT INTO "server_message" ("date", "sender_id", "to_id", "content") VALUES
|
|
||||||
('2024-08-25 18:10:54.27476+00', 4, 3, 'bonsoir3'),
|
|
||||||
('2024-08-25 18:11:25.987857+00', 3, 4, 'non3');
|
|
@ -1,50 +0,0 @@
|
|||||||
8000 ~ 8999 : Ok code
|
|
||||||
|
|
||||||
9000 ~ 9999 : Error code
|
|
||||||
- 9000 : Invalid token
|
|
||||||
- 9001 : Token not found
|
|
||||||
- 9002 : Invalid json
|
|
||||||
- 9003 : Invalid path
|
|
||||||
- 9004 : Invalid type
|
|
||||||
- 9005 : Invalid request
|
|
||||||
- 9006 : Invalid login type
|
|
||||||
- 9007 : Invalid username or password
|
|
||||||
- 9008 : User not found
|
|
||||||
- 9009 : Invalid message sent
|
|
||||||
- 9010 : Invalid token 42
|
|
||||||
- 9011 : Not user registered with this 42 account
|
|
||||||
- 9012 : Already logged in
|
|
||||||
- 9013 : User already connected
|
|
||||||
- 9014 : Invalid mail
|
|
||||||
- 9015 : Username must not contain spaces
|
|
||||||
- 9016 : Username must be at least 3 characters long
|
|
||||||
- 9017 : Username must be at most 20 characters long
|
|
||||||
- 9018 : Username must contain only letters and numbers
|
|
||||||
- 9019 : Password must be at least 8 characters long
|
|
||||||
- 9020 : Password must contain at least one lowercase letter, one uppercase letter and one special character
|
|
||||||
- 9021 : Password must not contain the username
|
|
||||||
- 9022 : Mail already used
|
|
||||||
- 9023 : Username already used
|
|
||||||
- 9024 : An error occured while creating the account
|
|
||||||
- 9025 : Account not verified, please verify your account before logging in
|
|
||||||
- 9026 : An error occured while sending the email, glhf
|
|
||||||
- 9027 : An unknown error occured
|
|
||||||
- 9028 : You must provide exactly one field to update
|
|
||||||
- 9029 : Invalid password
|
|
||||||
- 9030 : You must provide your current password to it
|
|
||||||
- 9031 : You can't set or change this field if you have a 42 account
|
|
||||||
- 9032 : Your opponent isn't online
|
|
||||||
- 9033 : Skin id out of range
|
|
||||||
- 9034 : missing field
|
|
||||||
- 9035 : missing action parameter
|
|
||||||
- 9036 : already in a tournament
|
|
||||||
- 9037 : you're not in a tournament
|
|
||||||
- 9038 : missing message field
|
|
||||||
- 9039 : Goal id out of range
|
|
||||||
- 9040 : invalid number of bots
|
|
||||||
|
|
||||||
- 9100 : Action out of range
|
|
||||||
- 9101 : No game started
|
|
||||||
- 9102 : Game already started
|
|
||||||
- 9103 : You are not invited to this game
|
|
||||||
- 9104 : Couldn't save last game results
|
|
Reference in New Issue
Block a user