-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Scoreboard Performance #296 * #259 Added to Stats and Game Objects page * Recaptcha #233 fix * Remove deactivated key * #301 Completed CTFtime feed * Import defaults, increase category length * __str__ should return str * XML Import configuration * Default password warning * flake8 cleanup * Readme - Juice Shop CTF
- Loading branch information
Showing
46 changed files
with
1,375 additions
and
296 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[flake8] | ||
ignore = E203, E266, E501, W503, F403, F401, F405 | ||
max-line-length = 88 | ||
max-complexity = 18 | ||
select = B,C,E,F,W,T4,B9 | ||
per-file-ignores = | ||
setup/create_database.py:E402 | ||
models/__init__.py:E402 |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
"""JuiceShop Updates | ||
Revision ID: 71aa3c94b7f5 | ||
Revises: 18d11f218dfe | ||
Create Date: 2019-11-14 08:52:52.530520 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "71aa3c94b7f5" | ||
down_revision = "18d11f218dfe" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.alter_column( | ||
"category", | ||
"_category", | ||
existing_type=sa.VARCHAR(length=24), | ||
type_=sa.VARCHAR(length=64), | ||
) | ||
|
||
|
||
def downgrade(): | ||
op.alter_column( | ||
"category", | ||
"_category", | ||
existing_type=sa.VARCHAR(length=64), | ||
type_=sa.VARCHAR(length=24), | ||
) |
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
Oops, something went wrong.