Skip to content

Commit

Permalink
Level complete (#603)
Browse files Browse the repository at this point in the history
Adds a new level unlock type #587
  • Loading branch information
eljeffeg authored Mar 25, 2024
1 parent 47e6260 commit d642563
Show file tree
Hide file tree
Showing 105 changed files with 772 additions and 583 deletions.
7 changes: 5 additions & 2 deletions alembic/env.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from __future__ import with_statement
from alembic import context
from sqlalchemy import engine_from_config, pool

from logging.config import fileConfig

from sqlalchemy import engine_from_config, pool

from alembic import context

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
# alembic.context is only available for the env.py
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/098ab7c733ea_add_user_to_flag.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2021-08-08 23:03:49.444306
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "098ab7c733ea"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/18d11f218dfe_box_rewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2019-06-24 11:48:06.497803
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "18d11f218dfe"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/1ee5b63e716f_add_plain_answer_flag.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
Create Date: 2024-02-15 11:17:27.270274
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.sql.expression import func

from alembic import op

# revision identifiers, used by Alembic.
revision = '1ee5b63e716f'
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/31918b83c372_add_box_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2022-10-12 23:02:22.212759
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "31918b83c372"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/324e65d824d1_fix_password_token_length.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2020-11-07 10:41:52.945898
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "324e65d824d1"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/469f428604aa_box__capture_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2019-04-06 21:11:56.017968
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "469f428604aa"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/4aa1bab989f8_add_email_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2021-01-29 13:39:42.842889
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "4aa1bab989f8"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/5ca019edf61f_cascade_on_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2019-06-23 05:49:26.061932
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "5ca019edf61f"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/67bf6ca63a9c_add_email_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2018-12-09 22:51:59.947266
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "67bf6ca63a9c"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/71aa3c94b7f5_juiceshop_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2019-11-14 08:52:52.530520
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "71aa3c94b7f5"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/729a5113fc9c_flag_original_value_null.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2019-02-26 21:13:42.243218
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "729a5113fc9c"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/83f862086ff0_add_flag_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2022-05-13 21:46:22.838283
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "83f862086ff0"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/8fa7d8ac2b2f_add_password_token_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2020-09-06 19:23:34.831352
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "8fa7d8ac2b2f"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/9443ded40161_add_box_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2020-03-07 17:01:22.454528
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "9443ded40161"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/9783dbd4d5fe_add_original_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2018-12-09 16:53:45.599267
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "9783dbd4d5fe"
Expand Down
4 changes: 3 additions & 1 deletion alembic/versions/a143abd40133_expand_field_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
Create Date: 2023-08-14 17:01:22.454528
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.sql.expression import func

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/bc091b7be912_add_descriptive_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2020-03-03 18:23:40.855666
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "bc091b7be912"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/bd7bd19e98bd_sourcecode_cascade.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2020-02-22 10:37:39.239191
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "bd7bd19e98bd"
Expand Down
2 changes: 1 addition & 1 deletion alembic/versions/cd4d09aa9c68_rename_column_visible.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Create Date: 2022-01-05 10:00:05.629776
"""
from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision = "cd4d09aa9c68"
Expand Down
3 changes: 2 additions & 1 deletion alembic/versions/de5d615ae090_add_user_to_penalty_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"""
import sqlalchemy as sa
from alembic import op
from sqlalchemy.engine.reflection import Inspector

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
3 changes: 2 additions & 1 deletion alembic/versions/eb3f7dc1b16f_add_flag__order_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"""
import sqlalchemy as sa
from alembic import op
from sqlalchemy.engine.reflection import Inspector

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
3 changes: 2 additions & 1 deletion alembic/versions/f443eed40161_add_corp_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
Create Date: 2023-05-27 17:01:22.454528
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.sql.expression import func

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
3 changes: 2 additions & 1 deletion alembic/versions/fe5e615ae090_add_game_history_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"""
import sqlalchemy as sa
from alembic import op
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.sql.expression import func

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
6 changes: 4 additions & 2 deletions alembic/versions/ffe623ae412_delete_snapshot_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
Create Date: 2023-03-11 19:33:02.808038
"""
import sqlalchemy as sa
from datetime import datetime
from alembic import op

import sqlalchemy as sa
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.sql.expression import func

from alembic import op

try:
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
Expand Down
22 changes: 12 additions & 10 deletions bot/BotMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,29 +33,31 @@
###################
# > Imports
###################
import os
import sys
import time
import json
import uuid
import argparse
import array
import struct
import base64
import socket
import random
import hashlib
import json
import logging
import argparse
import os
import platform
import random
import socket
import struct
import sys
import threading
from builtins import range, object, chr, str
import time
import uuid
from builtins import chr, object, range, str

from past.utils import old_div

try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse
from datetime import datetime

from libs.StringCoding import encode

try:
Expand Down
Loading

0 comments on commit d642563

Please sign in to comment.