Commit Graph

2945 Commits

Author SHA1 Message Date
msquare 5891dff584 fix button font colors 2018-12-07 17:30:54 +01:00
MichiK 7e53c45890 Change the color of "reset" in admin_arrive 2018-12-07 17:26:44 +01:00
msquare a1c01461c6 resolve package.json 2018-12-07 17:25:59 +01:00
MichiK 851e75c465 Set project name for docker-compose 2018-12-07 16:59:56 +01:00
MichiK 356001b5ad Swap yarn install and copy assets as well 2018-12-07 16:59:56 +01:00
MichiK 6a26165647 Improve Docker build caching
First install the dependencies, then copy the files from the build context
into the image. This allows for more caching during rebuilds when files
change and rebuilds are much faster.
2018-12-07 16:59:56 +01:00
Igor Scheller e3fa19b71e styling 35c3: Lighten the font color 2018-12-07 16:59:55 +01:00
marudor aedad457e9 Update devDeps to not include event-stream 2018-12-07 16:59:55 +01:00
marudor d69f36dde1 modernize Stuff 2018-12-07 16:59:55 +01:00
MichiK c035386f39 Set project name for docker-compose 2018-12-07 16:56:51 +01:00
MichiK 9f708378f7 Swap yarn install and copy assets as well 2018-12-07 16:56:51 +01:00
MichiK 2b03e21f3d Improve Docker build caching
First install the dependencies, then copy the files from the build context
into the image. This allows for more caching during rebuilds when files
change and rebuilds are much faster.
2018-12-07 16:56:51 +01:00
Igor Scheller 1801a84464 styling 35c3: Lighten the font color 2018-12-07 16:56:18 +01:00
marudor 90e9f0153c Update devDeps to not include event-stream 2018-12-07 16:47:33 +01:00
marudor c798aca98b modernize Stuff 2018-12-07 16:47:33 +01:00
MichiK 44e33eb2de Some small JS fixes for eslint compliance 2018-12-06 22:45:40 +01:00
MichiK ed5ee3235e Add timepickers in shifts view 2018-12-05 18:43:51 +01:00
MichiK 4e3232e57a Replace datepicker and remove datepicker inline JS 2018-12-04 21:03:32 +01:00
MichiK 36b7f8d2a2 Fix datepicker
`<input type="date">` and JS datepicker combined cause trouble in some
browsers, so this changes all the date input fields' type to `text`
via JS so that the browser's datepicker is only used when a user has
disabled JavaScript.

In addition, it adds a placeholder so the user knows which date format
to use when entering the date manually.

This closes #507.
2018-12-03 19:21:45 +01:00
Phi|eas |ebada 5696dbffc2 Degender shirt sizes
As requested on [twitter](https://twitter.com/sdrnoise/status/1069327306475347968).

Following [Geekfeminism's naming scheme](http://geekfeminism.wikia.com/wiki/T-shirts).
2018-12-03 19:20:58 +01:00
Igor Scheller c9d7e88cc7 Implemented controller permissions 2018-12-02 12:53:31 +01:00
Igor Scheller 55beca95cd Refactoring: Throw HttpAuthExpired on csrf token mismatch 2018-12-02 12:53:31 +01:00
Igor Scheller 9788c5095a Implemented HttpException 2018-12-02 12:53:31 +01:00
Igor Scheller 2588bbf7bc Templating: Improved error templates 2018-12-02 12:53:31 +01:00
Igor Scheller c33940f64a Moved permission checks to Authenticator class 2018-12-02 12:53:31 +01:00
Igor Scheller 951828a4f1 Migration: Moved reference method to trait 2018-12-02 12:53:31 +01:00
Igor Scheller 720b46f60f Models: Added DocBlocks 2018-12-02 12:53:31 +01:00
Igor Scheller 8a9031fa01 Docker: Added storage path to container
Closes #505
2018-12-02 12:29:48 +01:00
msquare e0de2c2c65 more work on 35c3 theme 2018-11-25 15:40:53 +01:00
msquare b36721f0c2 add more colors from c3groc to the 35c3 theme 2018-11-24 17:22:56 +01:00
msquare c6c4792e0d Update needed directory permissions in README 2018-11-24 16:30:36 +01:00
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
2018-11-24 16:30:36 +01:00
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes #494 (Security Vulnerability)
2018-11-21 19:24:36 +01:00
Igor Scheller fd37c9d60e Added additional headers 2018-11-21 19:24:36 +01:00
Igor Scheller 23c0fae36f Added csrf middleware 2018-11-21 19:24:36 +01:00
msquare 8236989be0 fix missing unique mail validation on user register 2018-11-18 12:13:00 +01:00
msquare 8db159580d Merge branch '35c3-theme' 2018-11-11 20:50:54 +01:00
msquare c1494fc1e7 add 35c3 theme dark 2018-11-11 20:50:25 +01:00
Igor Scheller 15751f9c7a Fix error when accessing undefined date
Closes #491 (Edit User fails when User never logged in before)
2018-11-02 18:03:40 +01:00
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()` 2018-10-31 13:43:23 +01:00
Igor Scheller 82b22160fd Fixed error if shirt size is not configured 2018-10-31 13:43:23 +01:00
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 2018-10-31 13:43:23 +01:00
Igor Scheller d7aea575ff Replaced more sql queries and old data 2018-10-31 13:43:23 +01:00
Igor Scheller 57932be428 Moved arrival_date to state 2018-10-31 13:43:23 +01:00
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
2018-10-31 13:43:23 +01:00
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉 2018-10-31 13:43:23 +01:00
Igor Scheller 89e62c95a7 Changed more functions 🎉 2018-10-31 13:43:23 +01:00
Igor Scheller b069a938c6 Changed user_link and some other user functions to use the user id 2018-10-31 13:43:23 +01:00
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables 2018-10-31 13:43:23 +01:00
Igor Scheller d15946df2d Changed `src/` code and templates to use the new user model 2018-10-31 13:43:23 +01:00