Commit Graph

392 Commits

Author SHA1 Message Date
Johannes Rudolph 737066414e
Fix i18n on User Edit Page 2022-12-23 03:20:10 +01:00
Michael Weimann 0ae10471d1 Add prettier 2022-12-23 02:20:43 +01:00
Thomas Rupprecht f24d31b928
Improve countdown logic
use `Intl.RelativeTimeFormat` to support different l10n add week as possible duration
2022-12-21 14:18:21 +01:00
Igor Scheller d92733f658 Schedule: Make URLs klickable on overview and handle connection errors 2022-12-21 12:08:48 +01:00
Thomas Rupprecht 2d454ca8ae move js code for spinner into js file
now the code is needed only once for all spinners
2022-12-11 18:44:58 +01:00
Thomas Rupprecht f12f8a1b3b set autocomplete attribute for password inputs 2022-12-11 18:17:42 +01:00
Thomas Rupprecht 61cff64d96 cast timestamp to number 2022-12-11 10:21:47 +01:00
Thomas Rupprecht 5da586bc2c add JsDoc for `formatFromNow` 2022-12-11 10:21:47 +01:00
Thomas Rupprecht f446f0da7d fix wrong param name in JSDoc 2022-12-11 10:21:47 +01:00
Thomas Rupprecht fef5d77443 add JSDoc for `ready` function 2022-12-11 10:21:47 +01:00
Thomas Rupprecht 5bd922d109 code improvements
unify lowercase variant of form method post
remove duplicate class selector
improve comments
2022-12-11 10:21:47 +01:00
Thomas Rupprecht cafbddabbf change form submit button text to "save" 2022-12-10 17:28:50 +01:00
Thomas Rupprecht ece4d261c4 add comment about css rules to hide the arrows in the input field 2022-12-10 17:25:04 +01:00
Thomas Rupprecht fbe52117ed improve spinner control
use input type `number` with `min` and `step`
use `.stepDown()` and `.stepUp()` to change value
hide browser controls
2022-12-10 17:25:04 +01:00
Thomas Rupprecht 7a376399b8 use better and more icons 2022-12-10 17:22:11 +01:00
frischler bdc62eaac3
Worklog Refactoring 2022-12-08 17:40:24 +01:00
Thomas Rupprecht e8ccbd7c5e style checkboxes with bootstrap classes 2022-12-08 15:43:34 +01:00
Thomas Rupprecht 2b5ffca1b0
Use template literals instead of string concatenation (#1003)
* use template literals instead of string concatenation
* extract function call out of template literals
* add contributing hint to don't put function calls in template-literals
2022-12-04 12:00:18 +01:00
Thomas Rupprecht d4a9861751
Add function-paren-newline ESLint rule; align config code style (#1000)
* unify indentation in config.default.php

* add eslint rule `function-paren-newline`

* fix `function-param-newline` lint rule
2022-12-04 11:33:25 +01:00
Michael Weimann 282f4b45ac
Replace jQuery with VanillaJS 2022-12-02 17:07:12 +01:00
Michael Weimann 7bbdb95885
Replace jQuery ready 2022-12-02 17:07:11 +01:00
Joshua Bachmeier 44821019b6 Add error handling to oauth provider response processing 2022-12-02 15:35:10 +01:00
Thomas Rupprecht 6d5748f9f8
fix label to input link for `form_spinner`, `form_date` and `form_datetime` 2022-12-02 14:45:23 +01:00
Thomas Rupprecht 9c3c2cc2ac select2 width should be 100% to scale if the browser width changes 2022-12-02 14:25:57 +01:00
Thomas Rupprecht 4ccceb271c style input radios with bootstrap classes 2022-12-02 14:19:45 +01:00
Thomas Rupprecht 0002585de4 fix border radius on time input in shift filter 2022-12-02 13:58:30 +01:00
Michael Weimann 9d9211c054 Format JS code 2022-11-27 16:31:32 +01:00
Thomas Rupprecht 23d7e8632b javascript improvements
use `const` instead of `var`/`let`
use `$(function () { ... })` instead of `$(document).ready(function () { ... })`
unify codestyle
2022-11-25 13:44:39 +01:00
Thomas Rupprecht 887add83f6 `<head>` optimizations
lowercase charset utf-8
move `<title>` after `<meta charset="utf-8"/>`
charset should be in the first 1024 bytes and the title after the charset definition
unify self closing tags
2022-11-25 12:41:43 +01:00
Michael Weimann 4f504e98f1 Update frontend deps 2022-11-25 12:32:06 +01:00
frischler 35815b0838 Settings Modernization: Applied suggested changed from #972 2022-11-01 16:55:23 +01:00
frischler dba7bc29f9 Settings Modernization: Added mobile_show setting to /settings/profile page. 2022-11-01 16:55:23 +01:00
frischler 63f1c12429 Settings Modernization: Refactoring
Settings Modernization: Fixing Date issue

Settings Modernization: Reroute

Settings Modernization: Reroute settings to /settings/profile, Cleanup and Refactoring
2022-11-01 16:55:23 +01:00
frischler d6899d37d9 Settings Modernization: Applying buildup and teardown time, add localization 2022-11-01 16:55:23 +01:00
frischler 203531629f Settings Modernization: Creating /settings/profile page with Controller methods and tests 2022-11-01 16:55:23 +01:00
Igor Scheller 74be132f47 Improve `/design`: Add section links and disable in-text-links 2022-10-22 20:31:41 +02:00
Michael Weimann 00eb800f96
Replace moment date format with vanilla JS 2022-10-22 17:22:59 +02:00
Michael Weimann 7049a08bcd
Replace moment-countdown with countdown function 2022-10-22 17:22:53 +02:00
Michael Weimann a81992ca04
Add countdowns to /design 2022-10-22 17:11:55 +02:00
Xu b860b37ba9 add option to hide angeltype at registration 2022-10-21 22:30:17 +02:00
Xu f9da096308 add option to show mobile number of user in users view 2022-10-18 22:06:08 +02:00
Igor Scheller 7cd4befdfa Refactored shift entry deletion: Use event for notification and worklog creation 2022-10-14 16:27:51 +02:00
Igor Scheller f2c9e4a3d6 Change "delete" to "sign off" when removing user from shift 2022-10-01 19:53:44 +02:00
Michael Weimann c502694e59 Add direct link to the angeltyes page from user view 2022-08-14 00:13:35 +02:00
Michael Weimann da4ff8f7c1 remove jquery-ui 2022-08-14 00:06:10 +02:00
Michael Weimann d26965e95b Improve voucher texts 2022-07-23 21:44:02 +02:00
Michael Weimann af458d75c6 Fix mobile dropdown menu overflow 2022-07-23 21:27:12 +02:00
Michael Weimann dd8868a6f8 Make dropdown scrollable 2022-07-21 23:17:59 +02:00
Igor Scheller e750436a82 Fix worklog input validation error and default to current day during buildup 2022-07-20 20:16:57 +02:00
Igor Scheller 58d9750d0c Vouchers page: Show force active state 2022-07-20 18:15:18 +02:00
Michael Weimann bf58ba4a1c Fix bar char bar title 2022-07-18 20:00:30 +02:00
Igor Scheller c957b2784a Cleanup duplicated app calls, replaced deprecated methods, readability improvements 2022-07-11 23:30:41 +02:00
Michael Weimann 1277f8f96f Replace chart-js with backend rendering
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-11 23:30:41 +02:00
Michael Weimann d6f1fda86f Improve striped table colours 2022-07-11 20:54:45 +02:00
frischler 8380536055 Settings language handled in SettingsController 2022-06-30 14:05:46 +02:00
frischler 3043a9512a Settings themes handled in SettingsController 2022-06-14 13:34:01 +02:00
Igor Scheller bb49b308fb Generate UUID as shifts transaction id and fixed translation 2022-06-12 17:02:19 +02:00
Igor Scheller 96277dcfc4 Added transaction id to shifts for bulk deletion 2022-06-12 17:02:17 +02:00
Xu 472e1bf806 translation minor change 2022-06-12 16:14:22 +02:00
Igor Scheller d9e4bf3cac Unified message display, scroll to newest after sending or deleting 2022-06-06 16:12:47 +02:00
Igor Scheller 9e5f0ff854 Use pronoun for other pages too, a bit more cleanup 2022-06-06 16:12:47 +02:00
Igor Scheller 7acd34ba74 Added unread messages as global var 2022-06-06 16:12:47 +02:00
frischler 865873c099 Enabled to write messages to myself 2022-06-06 16:12:47 +02:00
frischler 71d183df01 Applied changes as suggested in https://github.com/engelsystem/engelsystem/pull/915 2022-06-06 16:12:47 +02:00
frischler 2c0d516578 Improved Messages UI and shrinking includes/user_messages.php 2022-06-06 16:12:47 +02:00
Xu 939f20709f fixed unanswered questions link and added links to design page alerts 2022-05-20 14:02:02 +02:00
Xu 25e28535d0 theme 7 small fixes 2022-05-14 17:39:30 +02:00
Igor Scheller b842466b3a Added assets hashing after build, added favicon 2022-04-29 22:26:58 +02:00
Michael Weimann 6ea938460a Clean up styles 2022-04-29 15:16:23 +02:00
Michael Weimann c4b2fbda1a Remove date/time pickers 2022-04-19 23:33:44 +02:00
msquare dd6963a2bd closes #877: sequential numbers for arrived angels view 2022-03-20 18:43:08 +01:00
Igor Scheller b5ba5f6188 Fix sso disabled password inconsistencies 2022-03-20 18:29:51 +01:00
Igor Scheller 8fd2d5bfa5 Allow empty password in settings 2022-03-20 18:29:51 +01:00
marudor 4c96e268b0
update devDeps, fix bootstrap icons 2022-01-28 14:14:06 +01:00
Tobias Wiese e361400f68 news: remove html support
Since the support for markdown in news the html feature isn't really
necessary any more.
2022-01-01 16:33:40 +01:00
Thies Mueller e2a99a5b1d removed the tshirt part 2021-12-30 20:37:08 +01:00
Igor Scheller a129f18c2c Make confirmation optional when adding a user to an angeltype 2021-12-29 17:12:19 +01:00
Igor Scheller 676a2113b4 Added User\License model 2021-12-29 17:12:19 +01:00
Igor Scheller 1c993522c6 Use same text color for table stripes, lightened select2 search background 2021-12-29 17:12:19 +01:00
Igor Scheller a79e1ebb5c Added email notification when added to angeltype 2021-12-29 17:12:19 +01:00
Igor Scheller 1e3bd9aaad Added email notification on angeltype confirmation 2021-12-29 17:12:19 +01:00
Igor Scheller b23b89cc7a rC3-2021 Theme: Use darker background 2021-12-28 16:47:26 +01:00
msquare b338f9d719 theme improvements 2021-12-28 09:46:32 +01:00
msquare fc9fda9e33 theme improvements 2021-12-27 22:09:48 +01:00
msquare f286373b21 theme improvements 2021-12-27 21:49:07 +01:00
msquare fee3f88ace rc3 2021 theme 2021-12-27 20:20:45 +01:00
msquare e0c89e0ffe fix pagination and header links 2021-12-26 17:40:13 +01:00
msquare 03a7faf6d8 use button with icon on news.read_more 2021-12-12 13:23:01 +01:00
Igor Scheller f1531ad987 Added [more] tag to news 2021-12-12 13:23:01 +01:00
Igor Scheller 90ec8d8d43 Add links between questions and FAQ and added question form to FAQ page 2021-12-12 13:23:01 +01:00
Igor Scheller 8256b9d6bd Hide oauth from profile and settings page if not configured / should be hidden 2021-12-12 12:34:43 +01:00
Igor Scheller 6c288bceb5 Fixed maintenance page assets for subpaths and send 503 Service Unavailable 2021-12-09 20:14:07 +01:00
Igor Scheller 93c0868464 Fixed linting 2021-12-04 12:04:03 +01:00
Igor Scheller dc0cf101b2 Moved gdpr goodie mail opt in to own configurable option
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2021-12-04 11:58:06 +01:00
xuwhite 15d9abd280 changes for gdpr legal foo 2021-12-04 11:58:06 +01:00
--global ccc0889d00 email option updated 2021-12-04 11:58:06 +01:00
xuwhite a1f5454bf5
Optional description for shifts 2021-11-27 11:34:20 +01:00
msquare be693d64d1 fix german po file duplicate msgid 2021-10-27 20:28:49 +02:00
xuwhite e2446bda19 verschlimmbesserte changes fixed 2021-10-26 16:10:37 +02:00
msquare ac9aa2169a small improvements on user questions translation 2021-10-23 17:15:39 +02:00
Igor Scheller 657b44f9cf Redirect back from login after 403 (Not authorized) 2021-10-23 17:13:46 +02:00
msquare 6fc3b62a74 small improvement on admin free translation 2021-10-23 17:11:43 +02:00
msquare ca8f851ab1 user shirt edit: finetuning shirt edit view and logs 2021-10-23 17:04:19 +02:00
Igor Scheller 5c90a1ef37 Added shirt edit view 2021-10-23 17:04:19 +02:00
Igor Scheller 0367810258 Fixed linting 2021-09-11 22:03:18 +02:00
msquare 71ffb68845 datepicker left right icons 2021-09-11 16:12:08 +02:00
Michael Weimann 86606c8055
fix css and datepicker 2021-09-11 14:39:40 +02:00
msquare c3045e07ce minor css class changes 2021-09-10 14:30:16 +02:00
Igor Scheller f201b2f1c8 Merge branch 'feature-bootstrap5'
# Conflicts:
#	package.json
#	tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php
#	webpack.config.js
#	yarn.lock
2021-08-17 14:26:28 +02:00
Igor Scheller e0eeee013e
Fix secondary color on dark themes and theme 7 secondary buttons, formatting 2021-08-16 18:02:06 +02:00
Michael Weimann 3c77ec62d0
improve navbar / cards colours 2021-08-16 18:02:05 +02:00
Michael Weimann 2da821a68d
introduce temporary bootstrap body bg fix 2021-08-16 18:02:03 +02:00
Igor Scheller 231f481537 Styling optimizations (esp. alerts) and other fixes 2021-08-09 23:32:24 +02:00
Igor Scheller a8e012be72 Make news comments deletable 2021-08-08 19:11:16 +02:00
Michael Weimann a7a79d2204
remove unused files5 2021-08-08 19:11:14 +02:00
Michael Weimann aef60086ec
add default to all cyborg variables 2021-08-08 18:56:58 +02:00
Igor Scheller 6cfeedc57a Fixed more themes and styles/types 2021-08-05 01:00:12 +02:00
Michael Weimann 2223781434
beautify design page 2021-07-29 21:05:45 +02:00
Michael Weimann c7b83975cb
init select 2 after document ready 2021-07-29 20:38:00 +02:00
Igor Scheller bd8acfcf51 Fixed some styles 2021-07-29 20:20:38 +02:00
Michael Weimann 82f640896e
migrate shift overview cards to panels
migrate shift overview cards to panels
2021-07-29 20:01:21 +02:00
Igor Scheller 91c7a19f11
Removed and replaced outdated classes and styling, use secondary buttons 2021-07-29 20:01:19 +02:00
Igor Scheller 191a3a7d48
Replaced info and calendar icons 2021-07-29 20:01:18 +02:00
Michael Weimann b68af58321
migrate datetime picker to bs5
fix bs5 time picker

fix datetime picker js error
2021-07-29 20:01:13 +02:00
Igor Scheller 63f0a08407
Fixed spacing and sizes 2021-07-29 20:01:12 +02:00
Igor Scheller 08188fa32a
Fixed shifts filter toggle and "hide on print" classes 2021-07-29 20:01:11 +02:00
Michael Weimann 4428266488
migrate panels to cards 2021-07-29 20:01:10 +02:00
Igor Scheller 3fcf5c521c
Removed row class of content to fix full with pages 2021-07-29 20:01:08 +02:00
Igor Scheller 36ba619d5a
Fixed button sizes and types 2021-07-29 20:01:06 +02:00
Igor Scheller b41a9a02d1
Use bootstrap icons instead of glyphicons 2021-07-29 20:01:05 +02:00
Michael Weimann bc97305106
migrate shift buttons to bs5 2021-07-29 20:01:04 +02:00
Michael Weimann e4898dae61
update select2 2021-07-29 20:01:03 +02:00
Michael Weimann 9b98503a80
fix overview button 2021-07-29 20:01:02 +02:00
Michael Weimann 162592df7b
migrate navbar icons 2021-07-29 20:01:00 +02:00
Michael Weimann ed93bba56d
fix sass 2021-07-29 20:00:58 +02:00
Michael Weimann 5f7fcb9018
make all themes basically working with bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate buttons and badges

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

upgrade bootstrap, fix devtool

remove postcss-preset-env

remove npm-run-all

add theme info to design

add theme configs for 2-15

make all themes compile

fix node env in script

refactor theme config

make all themes basically working

fix sass 3rd party warnings

replace slash div by math.div
2021-07-29 20:00:54 +02:00
Michael Weimann 9acaa03a71
migrate basic elements to bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate body color to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate the nav menu to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate to bs5 badges

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate to bs5 nav pills

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate the login page to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

fix the language dropdown in bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-07-29 19:41:09 +02:00
Igor Scheller 46dad55065 Fixed shift time shortcuts not updating date select 2021-06-04 00:07:30 +02:00
Michael Weimann 02fa603090
migrate to scss/bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-04-17 14:47:01 +02:00
Xu 1cfab91f28 wording: no self sign up allowed 2021-04-13 16:01:38 +02:00
Xu b5882fce87 some minor fixes 2021-04-12 18:43:39 +02:00
Xu 0549d81fc8 refactored themes to be less complicated: added cyborg_variables and cyborg_styles 2021-04-12 18:43:39 +02:00
Igor Scheller 30e1d41c0a EventConfig: Set time on dates 2021-04-12 17:13:48 +02:00
Igor Scheller a5757497e5 Add theme change to /design page 2021-04-12 16:42:15 +02:00
Igor Scheller 149155fbda Added email notification on new news 2021-04-12 16:15:25 +02:00
Michael Weimann 2cab0788e1 introduce PostCSS + Autoprefixer
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-04-05 11:29:19 +02:00
Xu c48664bc7d theme15: greener r2r theme 2021-04-02 12:09:07 +02:00
Benjamin Wand 5293bc7192
Theme for DiVOC R2R 2021-04-02 11:51:58 +02:00
Michael Weimann ddcc9aee7a improve mobile nav button layout
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-03-28 14:19:31 +02:00
Michael Weimann c1a5a8d50b fix mobile safari menu layout
Add extra bottom margin because mobile Safari displays a bottom bar hiding parts of the menu.

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-03-28 14:19:31 +02:00