Releases: kksctf/yatb
Releases · kksctf/yatb
0.6.3a0
- Added:
- Forensic category to front
- Fake
TokenAuth
auth way for usage of_fake_admin_user
even ifSimpleAuth
is disabled. It is always active auth way unhide
CLI command.unhide
unhides all tasks- Better handling
TelegramAuth
while generation firstblood message rev
alias forbinary
categoryapi_admin_user_recalc_score
endpointapi_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
- Fixed:
- Chaotic point changes in scoreboard on flag submit
- Few fixes
Full Changelog: 0.6.2a0...0.6.2a2
Alpha 0.6.2a0
- 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
- 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
- Version enumeration: removed litera
Full Changelog: a0.6.0...0.6.1a0
Alpha 0.6.0
- Added:
- Extended check for default tokens/keys in production mode
- Ressurect mode for DB during save, if docker created folder namedfile.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.
- Bumpedreqirements.txt
-reqirements.txt
andreqirements-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
Critical: fixed missed hash check in SimpleAuth
mode.
Alpha 0.3.1
New:
- Dynamic flags feature
- Docker-compose with nginx
- pyproject.toml
- fix pydantic CVE
- Improved settings
And some improvements
First release
v0.2.11 Remove more todo