Commit Graph

2883 Commits

Author SHA1 Message Date
Igor Scheller 1fefe93bc8 users_controller: formatting 2018-12-30 12:11:51 +01:00
Igor Scheller 1bb2c57842 comments: Don't strip characters
closes #510 (htmlentities-like content in a comment gets removed)
2018-12-28 23:08:39 +01:00
Igor Scheller 6df3dc8489 questions: Don't strip content from messages
closes #545 ("=" removed in Questions & Answers)
2018-12-28 23:08:39 +01:00
Igor Scheller 012d5a4722 Don't strip characters from direct messages 2018-12-28 23:08:39 +01:00
Igor Scheller 540efef63e active angels: Bugfix and prevent errors when searching double spaces 2018-12-28 21:39:23 +01:00
Igor Scheller 491ee37651 Don't save sessions permanently on api and metrics paths
closes #530 (Session on API calls)
2018-12-28 20:35:44 +01:00
Igor Scheller 7b3901211a moment.js: Set language on initialization
closes #544 (Translation error german / english mix)
2018-12-28 18:34:41 +01:00
Igor Scheller 97bab8e063 styling: Fix colored links text hover on dark theme
closes #547 (Text-success hover on dark theme)
2018-12-28 17:47:54 +01:00
Igor Scheller 0150aca6ad Order rooms in shift overview by name
closes #551 (Order of Rooms in overview)
2018-12-28 15:36:45 +01:00
msquare 794df6f99e fixes #548: users with only worklog and no shifts had 0 minutes on admin-active. query fixed 2018-12-27 19:53:48 +01:00
msquare db26412e6c fixes #549: fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive 2018-12-27 19:08:35 +01:00
Igor Scheller 689735ad51 Sort users on team page 2018-12-27 14:16:09 +01:00
Igor Scheller acd9ec6966 add multiple shifts: Fix hour regex and sorting, cleanup and formatting 2018-12-26 19:49:01 +01:00
Igor Scheller 36830c43e7 Fix warning if searching two whitespaces and formatting 2018-12-26 19:39:40 +01:00
Igor Scheller 26f58b8156 metrics: Fix users stats 2018-12-25 20:56:46 +01:00
Igor Scheller 31d9efb2b8 Bugfix: Edit user: Show groups list if angel has no rights 2018-12-25 14:46:14 +01:00
Igor Scheller d214525e24 Sort Angels Alphabetical
closes #541 (Shift Signup: Sort Angels Alphabetical)
2018-12-25 10:25:32 +01:00
jwacalex 8c5b52aa11 reformatted code due to guidelines 2018-12-22 12:10:16 +01:00
jwacalex 60a9c15454 first draft for #536 2018-12-22 12:10:16 +01:00
Igor Scheller b1d8fede46 user: allow up to 40 characters for dect numbers
closes #309 (EPVPN number in DECT field is shortened)
closes #529 (For dect numbers are only 5 digits allowed)
2018-12-22 12:03:24 +01:00
Igor Scheller 330356043d credits: Allow customization 2018-12-22 12:01:23 +01:00
Igor Scheller 393db49294 Renderer: Added twig extension for markdown rendering 2018-12-22 12:01:23 +01:00
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