Skip to content

Releases: kksctf/yatb

0.6.3a0

24 Nov 14:06
35360e8
Compare
Choose a tag to compare
  • Added:
    • Forensic category to front
    • Fake TokenAuth auth way for usage of _fake_admin_user even if SimpleAuth is disabled. It is always active auth way
    • unhide CLI command. unhide unhides all tasks
    • Better handling TelegramAuth while generation firstblood message
    • rev alias for binary category
    • api_admin_user_recalc_score endpoint
    • api_admin_recalc_tasks endpoint
    • Solve statistics per task in scoreboard
  • Changed:
    • Colorscheme a little
    • Splitted and somewhere refactored CLI interface to many small modules, moved it inside package
    • Migration to my (https://github.com/Rubikoid/beanie.git@encoder-fix) fork of beanie, because of broken upstream and unclear PR beanie!785 status
    • Refactored api_scoreboard_get_internal*, removed copypaste
    • Migration from nginx to caddy for serving static files - nginx broken for no reason, so migration to caddy was the simplest fix
    • Heavily improved prepare_tasks CLI cmd
    • Improved sorting scoreboard, make it more stable
    • api_detele_everything is a little safer now
  • Depricated:
    • NGINX as static files proxy
  • Fixed:
    • Added few missed modules to logger
    • Timezone while formatting time before display it in scoreboard.

Full Changelog: 0.6.2a2...0.6.3a0

Alpha 0.6.2a2

24 Nov 13:01
2d65d25
Compare
Choose a tag to compare
  • Fixed:
    • Chaotic point changes in scoreboard on flag submit
    • Few fixes

Full Changelog: 0.6.2a0...0.6.2a2

Alpha 0.6.2a0

20 Aug 23:34
df9321b
Compare
Choose a tag to compare
  • Added:
    • Ability to auth using X-Auth-Token instead of cookie
    • Flag submission tests
    • Beanie ODM to mongodb instead of cringe file(pickle)db
    • MongoDB as DB in docker-compose.yml
    • More documentation about auth ways
  • Changed:
    • Migrated to newest pydantic/fastapi verison (pydantic v2, yes)
    • Refactor many things, mainly for typing or making ruff happy.
    • Refactor logging system
    • Some strings text sanitization
    • Refactor some tests
    • Use typing.Annotation for fastapi dependencies
    • Rename some OAUTH settings to make it better-looking
    • More documentation fixes
  • Fixes:
    • Some optimization in jinja formatting
    • Optimize scoreboard generation

Full Changelog: 0.6.1a0...0.6.2a0

Alpha 0.6.1

20 Aug 23:33
d30b234
Compare
Choose a tag to compare
  • Added:
    • Docs.
    • Notifications about task solves in websockets (only for admin right now)
    • Admin cleanup_db endpoint
    • Simple predef CLI interface for API.
  • Changed:
    • Version enumeration: removed litera a before version.
    • pyproject.toml refactor
    • Add more ways to pass admin_checker dep: user in cookies, token in header, token in query
    • Some strings sanitization

Full Changelog: a0.6.0...0.6.1a0

Alpha 0.6.0

20 Dec 11:00
4647ff4
Compare
Choose a tag to compare
  • Added:
    - Extended check for default tokens/keys in production mode
    - Ressurect mode for DB during save, if docker created folder named file.db istead of normal file
    - User delete enpoint in admin API.
    - User password change in admin API.
    - Extended validation for users in SimpleAuth: username len should be in [2,32], pw len should be bigger than 8
  • Changed:
    - Global rework on the mechanism the models are exposed to admin/public API.
    - Bumped reqirements.txt
    - reqirements.txt and reqirements-dev.txt splitted to two separate files. Now for getting dev-env you have to install both
    - Python version bumped to 3.10
  • Fixed:
    - Tests

Alpha 0.5.0

13 Jun 22:37
Compare
Choose a tag to compare

Critical: fixed missed hash check in SimpleAuth mode.

Alpha 0.3.1

12 Jun 17:42
3d2e7d7
Compare
Choose a tag to compare

New:

  • Dynamic flags feature
  • Docker-compose with nginx
  • pyproject.toml
  • fix pydantic CVE
  • Improved settings

And some improvements

First release

13 Jan 12:41
b4f5ef8
Compare
Choose a tag to compare
v0.2.11

Remove more todo