Commit Graph

2411 Commits

Author SHA1 Message Date
Igor Scheller b3f059ad04 metrics: Added vouchers and tshirts 2018-12-22 11:31:33 +01:00
Clemens 482721eb1b user view: Show multiple worklog entries per day
closes #531 (Multiple worklogs on same day not displayed in users shift list (but counted in sum))
2018-12-21 21:18:14 +01:00
Igor Scheller 9a2f246511 metrics: Added more stats 2018-12-19 22:36:42 +01:00
Igor Scheller c5621b82cf Implemented /metrics endpoint and reimplemented /stats
closes #418 (/metrics endpoint)

Usage:
```yaml
scrape_configs:
  - job_name: 'engelsystem'
    static_configs:
    - targets: ['engelsystem.example.com:80']
```
2018-12-19 22:36:42 +01:00
Igor Scheller 3c8d0eeb44 ErrorHandler: Don't wrap the response if a content-type is defined 2018-12-19 22:36:42 +01:00
Igor Scheller 2570418e9f Translation: Enforce LC_NUMERIC for numeric conversions 2018-12-19 22:36:42 +01:00
Igor Scheller 9a15fbc71e worklog: Fix hours validation
closes #527 (Worklog entries with floating point numbers with a comma dispatches a team of untrained monkeys)
2018-12-18 13:48:46 +01:00
Igor Scheller 204ff4c0e7 rooms admin: Set a maximum character length
closes #525 (Room names with more than 35 characters dispatch a team of untrained monkeys)
2018-12-18 13:22:10 +01:00
Igor Scheller c676e73cf6 php7.3: Fix username validation regex
closes #523 (Login does not work ->Invalid range in character class)
2018-12-18 12:44:09 +01:00
Igor Scheller f1b41e7ad4 styling 35c3: Fix headline color in alerts 2018-12-18 02:24:19 +01:00
Igor Scheller 1b3813a314 CI: Fixed xdebug dependency do be php 7.3 compatible (still in beta) 2018-12-15 20:21:08 +01:00
Igor Scheller 3cd70773d8 Authenticator: Use id from user object
Closes #519 (iCal/JSON export only works when logged in)
2018-12-09 23:42:40 +01:00
msquare 412be8e188 upgrade chart.js lib and fix bargraph. fixes #511 2018-12-09 13:07:19 +01:00
msquare 93b819025c fix margin of form submit in tables 2018-12-09 12:51:48 +01:00
MichiK 252f003b94 Really fix the data/timepicker CSS and JS
Attaching the timepicker to the input instead of the sorrounding div didn't
turn out as expected. Therefore, I used the same mechanism for DOM attachment
and lazy initialization for the timepicker like for the datepicker.

Instead of trying to load the CSS through webpack and some JS voodoo, it's
a lot simpler to just include it via the normal base theme CSS. This works.
In addition, I noticed that there is an easier way to read the current locale.
No need to do this twice via different ways.

This closes #516.
2018-12-08 21:14:20 +01:00
MichiK f83e754f84 Fix the timepicker in shifts view
This is one part of #516.
2018-12-08 11:12:08 +01:00
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