Rewrite to flask #4

Merged
Sweetbread merged 29 commits from feat/flask into main 2025-12-29 18:14:08 +00:00

29 Commits

Author SHA1 Message Date
Sweetbread 1730eaeaf9 ci: add docker image creation
Docker Build and Push / build-and-push (push) Failing after 3m41s
2025-12-28 17:10:05 +03:00
Burer 17edacd3ac feat/flask: split app into modules
feat/flask: !fix strange code to previous
2025-12-27 23:07:49 +03:00
Burer 03b45c8253 feat/flask: add html, css and js minification
feat/flask: !fix to previous
2025-12-27 23:07:49 +03:00
Burer 4cb94f613e feat/flask: fix long lines, typos and trailing spaces in locales files
feat/flask: fix mistakes in ru locale
2025-12-27 23:07:49 +03:00
Burer d3bb363878 feat/flask: proper current locale in archive link 2025-12-27 23:07:49 +03:00
Burer 997e1c20bf feat/flask: refactored style.scss 2025-12-27 23:07:48 +03:00
Burer fc8aa255df feat/flask: cleaned unused imports 2025-12-27 23:07:48 +03:00
Burer 65f5c6658a feat/flask: change article video depending on current locale 2025-12-27 23:07:46 +03:00
Burer db77b57f74 feat/flask: reworked downloads page
- new table styles
- info about last version and build date
- "viruses" warning paragraph
2025-12-27 23:07:46 +03:00
Burer 71681f43b7 feat/flask: autoupdate of last build date 2025-12-27 23:07:46 +03:00
Burer 763402303e feat/flask: update requirements.txt 2025-12-27 23:07:46 +03:00
Burer 2e8383611b feat/flask: fix highlight of active screenshot gallery element 2025-12-27 23:07:46 +03:00
Burer 5a4a306255 feat/flask: change scss compiler to Python lib 2025-12-27 23:07:46 +03:00
Burer 4eb8bdd170 feat/flask: update all locale files to new _-funtion style 2025-12-27 23:07:46 +03:00
Sweetbread 5a7cf7ce1b feat: css to scss 2025-12-27 23:07:46 +03:00
Sweetbread 335574864d l10n(ru): format strings 2025-12-27 23:07:46 +03:00
Sweetbread 7439561559 feat: add _ function 2025-12-27 23:07:46 +03:00
Sweetbread 754e7ae38c util: add shell.nix 2025-12-27 23:07:46 +03:00
Burer 70dfb015c4 feat/flask remove redundant favicon route, move config parser definition into locales function 2025-12-27 22:48:32 +03:00
Burer a3ba6a78fb feat/flask: add sitemap.xml and robots.txt 2025-12-27 22:48:32 +03:00
Burer 81d25bc645 feat/flask: small tweaks and fixes 2025-12-27 22:48:32 +03:00
Burer 89a5f8a5ae feat/flask: simplified header structure/locales/routing 2025-12-27 22:48:32 +03:00
Burer 5953266fbc feat/flask: global locales and templates rework
Now list of locales is autogenerated from locales .ini files, and each locale use shared template files
2025-12-27 22:48:32 +03:00
Burer 25d68524b7 feat/flask: images cleanup
- delete obsolete images
- resort images by folders
- add proper alt= parameters and standartized closing to <img> tags
2025-12-27 22:48:32 +03:00
Burer 838380254f feat/flask: autogenerate languages for dropdown from locale files 2025-12-27 22:48:32 +03:00
Burer 8b9a0e4b75 feat/flask: total rework and finalization
- Finished all locale pages
- Updated styles, fixed some mobile problems
- Updated texts on index page
- Fixed flask locales search error, now it throws 404
- Something else, that I already forgot
2025-12-27 22:48:32 +03:00
Burer f3eeff5939 feat/flask: Reworked locales system to use separate .ini file for each language 2025-12-27 22:48:32 +03:00
Burer 9a22083ff9 feat/flask: Small fixes and maintenance
- Fixed encoding error when reading locale.ini
- Added redirect from "/" route to "/en" route
- Added ifmain to app.py to fix Flask console error
- Added .gitignore for Flask
- Added requirements.txt

[feat/flask] Small infrastructure fixes

- Added Dockerfile and .env in .gitignore (just in case)
- Sorted .gitignore
- Removed Flask dependencies from requirements.txt
2025-12-27 22:48:27 +03:00
Sweetbread fb0d1c2199 wip: rewrite to flask 2025-12-25 14:55:37 +02:00