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
ed5ee3235e
Add timepickers in shifts view
2018-12-05 18:43:51 +01:00
Igor Scheller
c33940f64a
Moved permission checks to Authenticator class
2018-12-02 12:53:31 +01:00
Igor Scheller
88f3bafa5e
Replaced `Auth()` with `auth()`
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
2dcb7cc2de
Replaced some global `$user` variables
2018-10-31 13:43:23 +01:00
Igor Scheller
d0abc27c07
Merge remote-tracking branch 'MyIgel/translations'
2018-09-15 14:58:31 +02:00
Igor Scheller
c1a1180d1f
Moved frontend, templates and lang to resources
2018-09-10 18:22:48 +02:00
Igor Scheller
222c9fed7d
Merge remote-tracking branch 'MyIgel/templating'
2018-09-09 12:11:12 +02:00
Bot
e8f8fc7f5f
Replaced gettext translation `_()` with `__()` that uses the Translator class
2018-08-29 23:46:32 +02:00
Igor Scheller
bb3d16d273
Added Twig template renderer, closes #338
2018-08-29 23:46:11 +02:00
Igor Scheller
d93ace2eae
Prevent object serialization in session
2018-08-20 21:08:06 +02:00
Igor Scheller
d6c8f1a614
Merge branch 'master' to 'rebuild-database'
2018-08-20 21:07:57 +02:00
Igor Scheller
864a086900
Prevent object serialization in session
2018-08-07 16:54:08 +02:00
msquare
2e1c2cf3b5
remove br between shift filter checkboxes
2018-01-22 20:45:31 +01:00
Igor Scheller
fe58e4f422
database: updated checks for selectOne
2018-01-14 17:47:26 +01:00
msquare
e7b0e9934d
add shift filter buttons at the top
2017-12-29 16:20:30 +01:00
msquare
8c64532902
fix ical export description
2017-12-27 15:06:39 +01:00
Igor Scheller
6ceec76e7d
feature request: filter angel types based on account settings, closes #362
2017-12-27 13:43:46 +01:00
msquare
abf4b1da30
check if logged in before sign up
2017-12-27 11:35:26 +01:00
Bot
952c7892f3
Formatting & Docstrings
2017-12-25 23:51:15 +01:00
msquare
a1c032642f
introduce new shift signup state for not arrived angels
2017-12-20 23:12:17 +01:00
msquare
1289101f6e
rewrite controller for creating shift entries
2017-12-20 00:42:58 +01:00
msquare
fd85034e7f
redo shift signoff and icons for delete/confirm/acknowledgment questions
2017-12-19 20:58:01 +01:00
msquare
5278be1f0f
add link to public dashboard from shift view
2017-12-13 12:53:07 +01:00
msquare
4143680297
remove room number and visible flag, rename pentabarf to frab and introduce map/c3nav integration as well as markdown description for rooms
2017-12-10 15:02:37 +01:00
Igor Scheller
0b45d2a88f
#366 Feature: Time Interval Buttons (on Shifts page), closes #366
2017-11-29 13:30:41 +01:00
msquare
50f24271eb
fix all redirects to home (because of new urls redirect to ? wont work anymore)
2017-11-19 10:45:08 +01:00
Igor Scheller
4817658862
Merge branch 'noc0lour:fix_setup_bugs', closes #335
2017-09-25 20:25:00 +02:00
Igor Scheller
0a20883aa8
Reimplementation of 2840bb619
(signup requires arrival), closes #330
2017-08-31 12:32:08 +02:00
Igor Scheller
2bd127c011
Use symfony session
2017-08-30 19:57:01 +02:00
Igor Scheller
cc01c906ba
#336 : Integration of symfony/http-foundation request
2017-08-29 21:52:07 +02:00
Igor Scheller
73175e2b64
#337 : Added routing
2017-08-28 17:34:00 +02:00
Andrej Rode
5f305121a4
fix order by not in select clause for >mysql-5.7
2017-08-16 00:45:56 +02:00
Igor Scheller
e1762e7764
replaced template_render with dynamic renderer class
2017-07-20 02:30:53 +02:00
Igor Scheller
3a1e460249
Changed $_GET, $_POST and $_REQUEST to use the Request object
2017-07-19 11:44:16 +02:00
Bot
915ce28fee
Replaced " with '
2017-01-21 20:12:35 +01:00
Igor Scheller
9a3ad88834
Changed from mysqli to PDO, some refactorings, faster sql queries
2017-01-21 13:58:53 +01:00
Bot
55141154c0
Replaced " with '
2017-01-03 15:32:59 +01:00
Bot
356b2582f3
PPHDoc, formatting, fixes, cleanup
2017-01-03 03:22:48 +01:00
Bot
d71e7bbfad
Formatting
2017-01-02 15:49:53 +01:00
Bot
7313e15ce8
PSR-2 formatting
2017-01-02 03:57:23 +01:00
Igor Scheller
00d8709ae8
Fix relative paths
2017-01-01 05:58:42 +01:00
msquare
fe5dec73ba
bring back filtering by occupancy
2016-12-29 14:51:43 +01:00
msquare
4407604793
move data sorting to begin
2016-12-28 14:53:35 +01:00
msquare
6c4bb0da31
move data sorting to begin
2016-12-28 14:49:00 +01:00
msquare
0603d0dd4e
remove unused code
2016-12-28 12:11:35 +01:00
msquare
860252bce8
select only one room per default
2016-12-27 23:07:44 +01:00
msquare
46528fe1d8
shift view performance improvements
2016-12-27 23:02:05 +01:00
msquare
9c4636f5c4
reduce complexity of user driver license
2016-11-17 14:35:04 +01:00
msquare
ac53559fea
fix shift calendar headers
2016-11-15 22:00:17 +01:00
msquare
a8e3e91448
implement shift calendar into user shift page
2016-11-07 20:55:37 +01:00
msquare
a50b26490c
reduce complexity of shiftsfilter update
2016-10-04 18:52:52 +02:00
msquare
aa628208ec
reduce complexity of shift view
2016-10-04 18:36:57 +02:00
msquare
42144ed21c
move static access to datetime parse function
2016-10-04 17:58:56 +02:00
msquare
455e417200
fix variable naming problems
2016-10-04 16:16:00 +02:00
msquare
51d270db28
restore ical export
2016-10-03 19:37:00 +02:00
msquare
d59809d6d2
bring back session filter store
2016-10-02 23:32:10 +02:00
msquare
5e66007f06
introduce ShiftsFilter
2016-10-02 23:00:01 +02:00
msquare
6ff5e7997a
split user_shifts into different functions
2016-10-02 21:19:03 +02:00
msquare
d5d2acc7d8
improve code style
2016-10-01 10:48:19 +02:00
msquare
3738d071f8
remove long array syntax
2016-09-30 17:08:20 +02:00
msquare
f05f1a3cd4
rename to
2016-09-29 12:08:12 +02:00
msquare
91dafb19ec
prohibit inline control structures on pages
2016-09-29 10:53:17 +02:00
msquare
191328d703
fix method names, quotes, duplication in forms.js
2016-08-21 20:14:09 +02:00
msquare
53ad1b5110
fix codacy unused code
2016-08-21 18:00:39 +02:00
Felix Favre
73208016bf
change date format in shift table
...
fixes #202
2015-08-26 15:03:53 +02:00
Felix Favre
e4bd324801
changed all y-m-d date formats to Y-m-d date formats
...
part of #202
2015-08-26 15:00:48 +02:00
Philip Häusler
bc84710e9d
wording
2015-08-14 17:40:58 +02:00
Philip Häusler
723961c19e
User shift admins see free and occupied shifts by default
2015-08-13 11:22:25 +02:00
Philip Häusler
9af229094d
display user nicks on shift json export
2015-01-05 13:58:34 +01:00
Philip Häusler
ca37de95da
fix shift update
2014-12-28 14:56:02 +01:00
Philip Häusler
739eddefd5
better shift sign up restriction
2014-12-28 14:20:16 +01:00
Philip Häusler
6bede2fd22
harden the sql queries
2014-12-28 13:44:56 +01:00
Philip Häusler
cb46534569
move shift edit buttons
2014-12-28 01:30:29 +01:00
Philip Häusler
0b70fc2a7f
better shift sign up buttons in shift view
2014-12-28 01:27:41 +01:00
Philip Häusler
582c429fd4
allow admin to sign up more angels than needed again
2014-12-27 00:15:41 +01:00
Philip Häusler
8d6175a273
user cannot signup for full shifts
2014-12-26 23:48:16 +01:00
Philip Häusler
71a23be3d4
fade out for not arrived angels
2014-12-26 19:11:26 +01:00
Philip Häusler
8764be8604
display room per shift in shift table
2014-12-26 14:31:37 +01:00
Philip Häusler
9cabdb1d78
shift edit for shifttypes
2014-12-26 02:27:54 +01:00
Philip Häusler
33bafad9b7
fix wrong redirect after shift edit
2014-12-26 01:26:17 +01:00
Philip Häusler
34e2f49875
shift signup improvements for shift view
2014-12-25 22:23:18 +01:00
Philip Häusler
2d587478a1
fix different bugs with shift types
2014-12-22 20:06:37 +01:00
Philip Häusler
702047de53
add more icons for better shift view
2014-12-22 18:22:54 +01:00
Philip Häusler
c12e5336fb
display shifts with title
2014-12-22 18:06:58 +01:00
Philip Häusler
0dbd0ea599
add basic shift view
2014-12-19 23:04:26 +01:00
Felix Favre
2f20540a6b
more infos in shift view
2014-12-19 23:02:50 +01:00
Philip Häusler
d02272afd6
add basic shift view
2014-12-19 22:41:55 +01:00
Philip Häusler
a791a75b0a
integrate shift type into shifts
2014-12-17 17:22:35 +01:00
Felix Favre
807e420883
only log if api key was reset on purpose
2014-12-16 00:54:50 +01:00
Felix Favre
f20e24f589
shift page styling
2014-12-15 23:09:06 +01:00
Felix Favre
ed001633e6
Own Shifts ignore the filled filter.
...
issue #134
2014-12-13 01:56:29 +01:00
Felix Favre
3e958227aa
fix shift collision display
2014-12-13 00:34:27 +01:00
Philip Häusler
b75700ee1b
add shift delete model
2014-12-07 17:48:35 +01:00
Philip Häusler
d26f8aa12c
add shift update model
2014-12-07 17:41:40 +01:00
Philip Häusler
0a74ab94a8
add shift entry delete model
2014-12-07 17:07:19 +01:00
Philip Häusler
9176261762
add shift entry create model
2014-12-07 16:54:13 +01:00
Felix Favre
703de07a63
remove striped table from shift view
2014-12-06 19:49:16 +01:00