Commit graph

88 commits

Author SHA1 Message Date
93f52adfd3 Merge branch 'revamp' into 'devel'
Complete project revamp with a bunch of commits

See merge request ChaoticByte/drinks-manager!13
2023-03-26 10:40:59 +00:00
266cb6ca10 Fixed an issue with the 0002_setup migration that caused the upgrade from version 14 to fail 2023-03-26 12:26:43 +02:00
2ff58fb955 Removed unnecessary import in db_queries.py 2023-02-17 22:21:40 +01:00
9dc1f902d3 Updated translations 2023-02-17 22:15:20 +01:00
e04e1b940c Updated README (about gettext dependency) 2023-02-17 22:08:44 +01:00
d93591bcb2 Redesigned the user interface #23 2023-02-17 22:01:09 +01:00
f7048d1e9f Fixed shift- and shift-lock buttons and backspace issues in simple-keyboard_configure.js #14 2023-02-13 21:08:20 +01:00
548af757e7 Disable on-screen keyboard when smartphone is detected #14 2023-02-13 19:47:00 +01:00
0ab45c6e68 Integrated simple-keyboard from hodged as a on-screen keyboard #14 2023-02-13 19:31:21 +01:00
6c72b5059f Fixed login button overlaid by footer on small screens #13 2023-02-12 20:06:23 +01:00
0939d10322 Changed all W13R references to ChaoticByte #18 2023-02-12 19:30:46 +01:00
fb3bbf3fc5 Added support for multiple hosts in caddy configuration and CSRF_TRUSTED_ORIGINS #22 2023-02-12 10:59:22 +01:00
b78e196fec Set sensible file permissions on startup #21 2023-02-11 23:43:45 +01:00
c6b358499d Updated .gitignore and restored misc folder with updated systemd unit file and icons 2023-02-11 23:34:00 +01:00
bf1e342661 Adjusted caddy logging format 2023-02-11 23:22:08 +01:00
626f596cd3 Improved readability of python code by adding/removing newlines, identation, etc. 2023-02-11 22:14:01 +01:00
0aa8c7f15b Ported archive script to new structure #16 2023-02-11 22:03:00 +01:00
983cfb0fee Removed one unnecessary import in _bootstrap.py 2023-02-11 21:31:35 +01:00
be38d1885f Added session-autocleaner, changed some script filenames, changed shebang of manage.py #16 2023-02-11 21:22:52 +01:00
159e1cef7d Updated README and comments in the configuration #16 2023-02-11 20:25:42 +01:00
9bc9d519c0 Added setup migration for globals and userdeposits view, added create-admin script #16 2023-02-11 20:21:47 +01:00
0a1ada15fb Moved locales into app directory #16 2023-02-11 18:25:00 +01:00
d278d37272 Fixed admin panel not working #15 #16 2023-02-11 18:13:16 +01:00
01aa31a8a1 Fixed CSRF-related issues and profilepictures by starting caddy for development server too. Also improved boostrap script. #15 #16 2023-02-11 18:08:46 +01:00
5572fec9c1 Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20 2023-02-11 17:23:57 +01:00
0012214f9b Changed some issues with the scope of psycopg cursors in some scripts 2023-01-15 23:10:01 +01:00
cde9081197 Change bind address for the application from 'localhost' to '127.0.0.1' to fix a possible error on some hosts (bootstrap script) 2023-01-10 23:41:01 +01:00
09836176e6 Bumped version to 13 2022-11-05 09:47:18 +01:00
af4dbc74b5 Rename Register Transactions to Transactions in the Admin Panel (#9) 2022-11-05 09:40:41 +01:00
3d778df3d5 Removed feature: register balance (closes #8) 2022-11-05 09:34:13 +01:00
8599f49857 Refactored CSS and HTML templates and polished UI (#10), changed JavaScript variable names to camelCase, adjusted filenames and some url parameter names in urlpatterns, and more. 2022-11-04 20:35:28 +01:00
1e32e2b5dd The application now correctly encodes the url query string for the profile-picture name (for security reasons), removed a left-over print-statement 2022-11-03 20:46:10 +01:00
9f270c12b4 Profile pictures are now handled by the application to mitigate possible directory traversals
to other sub-directories of the static directory (Admins/Staff with the right to edit user
accounts were able to set a path like ../static/favicon.png for the profile picture - this
isn't a "i'm in, now i have root access and can hack your mom"-vulnerability, but better fix
it before it evolves to one. or a dragon. it's too late for this crap.)
2022-11-02 22:53:04 +01:00
86ea7c0000 Added 'supply' page to create negative register transactions, updated translation 2022-10-15 19:37:01 +02:00
80b407069d Bump version to 12 2022-08-06 18:58:43 +02:00
ca160781dd Added support for profile pictures 2022-08-06 18:56:39 +02:00
f5bf77fbed Added auto-reload after 2 minutes when logged in, to force auto-logout 2022-08-06 17:33:31 +02:00
1173406836 Bump version to 11 2022-07-05 17:43:34 +02:00
f2725845cf hide the userlist in the background when showing the password overlay 2022-07-05 17:42:50 +02:00
20d0ebfcf4 Swap x and 0 on pinpad (login overlay) 2022-07-05 17:25:12 +02:00
4cd5513621 Bump version to 10 2022-06-29 20:10:03 +02:00
4fd02a8498 #7 fix broken login page for Webkit Browsers 2022-06-29 20:04:28 +02:00
91a184b284 Make the login overlay a bit more compact 2022-06-29 19:08:26 +02:00
500213b5ab Use 'surname, forename' instead of 'forename surname' in userlist on login page 2022-06-29 19:02:01 +02:00
a194e05743 Bump version to 9 2022-06-24 18:40:53 +02:00
31b2e395b4 #5 disabled backdrop-filter: blur for buttons to fix performance issues 2022-06-24 18:39:27 +02:00
09aa00f335 Bump version to 8 2022-06-16 10:56:10 +02:00
05698544d7 Small UI enhancement for mobile devices 2022-06-16 10:39:29 +02:00
c7866bfefe Fixed a display issue with the login overlay 2022-06-16 10:28:53 +02:00
5893d311fe #4 moved Logout button out of the dropdown menu 2022-06-16 10:22:37 +02:00