Skip to content

v1.0.0

Compare
Choose a tag to compare
@jdabtieu jdabtieu released this 08 Dec 19:59
· 837 commits to master since this release
ce6add8

Database Warning

In this release, the database format was changed significantly. If you are currently using v0.0.1-pre, please run $ python3 migrate.py to migrate to the latest database format. Also, if you are running a scheduled task on daily-tasks.py, please note that the file is now called daily_tasks.py.

Changes in this version

  • Full Markdown support
  • Major database changes
    • Problem descriptions, hints, editorials, announcements, and contest descriptions are now stored in the filesystem instead of in the database
  • Application logs are now automatically generated at logs/application.log
  • Enable CSRF protection using anti-CSRF tokens
  • jQuery & other large resources no longer served from CDNs (due to browser partitioning)
  • Rename daily-tasks.py to daily_tasks.py for PEP8 compliance
  • Small code cleanup
  • Various bug fixes

Troubleshooting

If you don't already have a logs/application.log file, you will have to create it. $ mkdir logs; touch logs/application.log
If you don't have Flask-WTF already installed, you will have to install it. You can do this by running $ pip3 install -r requirements.txt
If there is an issue with the configuration, edit settings.py and add the following to the end of the file:

CLUB_NAME = "YOUR CLUB NAME HERE"
LOGGING_FILE_LOCATION = 'logs/application.log'
SESSION_COOKIE_SAMESITE = 'Lax'