Igor Scheller
f3b3b6683c
Added middleware tests
6 years ago
msquare
df30f7d5d8
merge pr #427 : Use npm to handle frontend dependencies
6 years ago
Bot
28349b69a8
Changed JS to use single quotes instead of double quotes
6 years ago
Igor Scheller
864a086900
Prevent object serialization in session
6 years ago
msquare
2832fe48ee
rename some params (codestyle)
6 years ago
msquare
9496e35711
added comments and renamed short method to url generators
6 years ago
msquare
5a83d4fb8b
fix broken css class on main menu angel icon
6 years ago
msquare
6dbec2e2fb
remove unused code
7 years ago
msquare
0f1da65f2a
Merge pull request #421 from MyIgel/master
...
Prevent empty string after $tokens = explode(' ', $search);
7 years ago
msquare
2e1c2cf3b5
remove br between shift filter checkboxes
7 years ago
Igor Scheller
e44ba84561
Refactoring: moved application bootstrapping to bootstrap.php
7 years ago
Igor Scheller
0d154365a2
models: return null on empty result
7 years ago
Igor Scheller
646ffc1910
$bugfixes...
7 years ago
Bot
5227fe6a94
Formatting
7 years ago
Igor Scheller
fe58e4f422
database: updated checks for selectOne
7 years ago
Igor Scheller
0e8cc2f0a7
database: integrated illuminate/database do Db class, removed unused methods
7 years ago
Igor Scheller
b2e5b5c44d
Prevent empty string after $tokens = explode(' ', $search);
7 years ago
mia
c83771ed62
Fixes #401
...
Display "shift started" instead of "shift starts" when shift has already started.
7 years ago
msquare
73ed2308c1
use user tshirt count
7 years ago
msquare
b3ca550ed0
simplify t-shirt statistics
7 years ago
msquare
0314ba19e3
make got t-shirt always available
7 years ago
msquare
c961269bb7
better hour formatting
7 years ago
msquare
d66dc43aec
fix worklog entry view
7 years ago
msquare
ee9fbda098
add work date to work log
7 years ago
msquare
d95e488893
add work log creator infor
7 years ago
msquare
be3652b44a
fix work log logs
7 years ago
msquare
86a38a3372
add user work log entries feature
7 years ago
msquare
e7b0e9934d
add shift filter buttons at the top
7 years ago
msquare
14584b9611
small improvements of user view
7 years ago
msquare
be6bd2f3d3
small improvements of user view
7 years ago
msquare
3993e553d1
small improvements of user view
7 years ago
msquare
b59d17918e
small improvements of user view
7 years ago
msquare
c3b8fa892d
tshirt-score for forced active
7 years ago
msquare
8c64532902
fix ical export description
7 years ago
Bot
b00743d6d3
Formatting
7 years ago
Igor Scheller
6ceec76e7d
feature request: filter angel types based on account settings, closes #362
7 years ago
msquare
02b775684d
some beauty for the my shifts table
7 years ago
msquare
1e8f0c4845
fixes #208 , fixes #310 : T-Shirt Score™ should be shown on the user view page below your shifts
7 years ago
msquare
abf4b1da30
check if logged in before sign up
7 years ago
Katrin Leinweber
a2fa3fce3d
rephrase more naturally
7 years ago
msquare
96d4968e1d
fix dashboard stats
7 years ago
Igor Scheller
6953090e7d
392: Show warning message when editing html news without proper permissions to save them, Closes #392
7 years ago
Igor Scheller
f1b7946975
Removed some short ifs from Shifts_view.php
7 years ago
msquare
db11dd1d0f
fix room view
7 years ago
msquare
a7dc640385
add my shifts button to shift view
7 years ago
msquare
0101993284
fix dashboard rows
7 years ago
msquare
d4ccc14d6c
fix dashboard rows
7 years ago
msquare
6aaf8d6f53
fix #389 : Public Dashboard Stats
7 years ago
Igor Scheller
f8d0a7c5b0
Updated translation / Formatting / Test
7 years ago
Igor Scheller
75eea1681e
Removed dead function call
7 years ago
Bot
952c7892f3
Formatting & Docstrings
7 years ago
klemens
a6cf4c9ce9
spelling fixes
7 years ago
msquare
6f29b6492d
show forced active on user view
7 years ago
msquare
05aad262bb
show forced active on user view
7 years ago
msquare
5f34e15712
fix broken public dashboard shift links
7 years ago
msquare
fbbea4eb5f
add show on dashboard flag for angeltypes
7 years ago
msquare
81b4e9d2bc
solve problem with autobreaks in news text when building html tables
7 years ago
msquare
34da670b6f
solve problem with autobreaks in news text when building html tables
7 years ago
msquare
2b52d24c59
solve problem with autobreaks in news text when building html tables
7 years ago
msquare
9969208be2
solve problem with autobreaks in news text when building html tables
7 years ago
msquare
a0f70d9819
solve problem with autobreaks in news text when building html tables
7 years ago
msquare
a1c032642f
introduce new shift signup state for not arrived angels
7 years ago
msquare
2c04e35bed
introduce new shift signup state for not arrived angels
7 years ago
msquare
7a3bdda483
rewrite controller for creating shift entries
7 years ago
msquare
1289101f6e
rewrite controller for creating shift entries
7 years ago
msquare
afd7c59d1d
fix shift entry delete
7 years ago
msquare
fd85034e7f
redo shift signoff and icons for delete/confirm/acknowledgment questions
7 years ago
msquare
567ed9ebd2
remove flags since they do not belong to language selection
7 years ago
msquare
b60ad7ccfb
make shift entry comment private again
7 years ago
msquare
769d8c4af9
better logging of needed angeltypes for shifts and rooms
7 years ago
msquare
b2602f8936
add log entries when deleting a room
7 years ago
MichiK
9c54b42a3d
Allow dot in user name
...
0f273988
changed the regular expression for user names. The new regex
does not allow dots anymore in user names, stripping them silently.
We already have at least one user with a dot in their name who can't
login now anymore.
7 years ago
msquare
3ea35788be
finetuning dashboard layout
7 years ago
msquare
a5f4de9509
finetuning dashboard layout
7 years ago
msquare
20f4d44cbf
fix union queries for dashboard stats
7 years ago
msquare
35be25a786
fix dashboard using needed angeltypes from room config too for frab shifts
7 years ago
msquare
952dc6921a
undo of fix #382 : XXE DoS in engelsystem - the feature is actually needed for xcal files
7 years ago
msquare
c70e268a2e
add fullscreen button to dashboard and update translation to german
7 years ago
msquare
a8cf4b9ddf
fix #382 : XXE DoS in engelsystem
7 years ago
msquare
cf7eb80a92
fix dashboard ajax reload
7 years ago
gnomus
c3d22ad517
Replace window reload with jquery ajax load
7 years ago
msquare
5278be1f0f
add link to public dashboard from shift view
7 years ago
msquare
991058a9e4
improve public dashboard
7 years ago
msquare
adc62470c5
improve public dashboard
7 years ago
msquare
af8454598c
improve public dashboard
7 years ago
msquare
582b1a739a
improve public dashboard
7 years ago
msquare
3379ea10b2
improve public dashboard
7 years ago
msquare
59b8e76d12
improve public dashboard
7 years ago
msquare
ff94df53d6
finish basic public dashboard
7 years ago
msquare
d5631297dc
better logging of needed angeltypes for shifts and rooms
7 years ago
msquare
74f3677f19
add quick+dirty public dashboard
7 years ago
msquare
afb77d22ba
move room db queries to model
7 years ago
msquare
aae8c77ed1
fix #212 : Duplicate entry for Room name
7 years ago
msquare
dbf6e64a2c
change write permission check to catch exceptions
7 years ago
msquare
cbe88ad801
remove some unused code
7 years ago
msquare
4143680297
remove room number and visible flag, rename pentabarf to frab and introduce map/c3nav integration as well as markdown description for rooms
7 years ago
MichiK
32d14f493b
Fix sign-up to shifts by supporter
...
Any user with the `shiftentry_edit_angeltype_supporter` privilege was
able to sign up any users of the correct angeltype to any shift that
they could sign up themselves because the shift entry controller only
checks for the global privilege an not the fact that the user is indeed
supporter for the angeltype in question.
7 years ago
msquare
e5880c51a2
fix #376 : Removing supporter rights does not work
7 years ago
msquare
6dfa70974e
ask for dect number if user arrived
7 years ago
MichiK
bc3f777b23
Rename 'supporter(s)' to 'Supporter(s)'
7 years ago
msquare
e7d605c6d9
fix log on confirming angels
7 years ago
msquare
0f273988c9
fix user nick validation, fixes #369
7 years ago
msquare
a5f5dc52c8
update bootstrap-datepicker and set orientation to bottom, fixes #370
7 years ago
msquare
962e7d5726
Hide 'You are not marked as arrived' notification in header until congress starts, fixes #368
7 years ago
msquare
9e04e2d4a0
fix age validation
7 years ago
msquare
cbc7f54ad8
fix query for creating angeltypes
7 years ago
Igor Scheller
0b45d2a88f
#366 Feature: Time Interval Buttons (on Shifts page), closes #366
7 years ago
Igor Scheller
25e434bce4
Refactored ExceptionHandler
7 years ago
Igor Scheller
6eea072376
Added ExceptionHandler Interface
7 years ago
msquare
e54a10b816
add shift calendar to angeltype view fix tab jumps
7 years ago
msquare
928e707015
add shift calendar to angeltype view
7 years ago
msquare
d8476f244d
complete feature contact info for angeltypes, fixes #275
7 years ago
msquare
bb2681a7c8
add validation of dect numbers
7 years ago
msquare
b95d4ece8a
increase readability of hints with links, refs #357
7 years ago
Igor Scheller
d34b160b5c
Added links to notifications, closes #357
7 years ago
msquare
15c50ab315
fix minor cody style issues (codacy)
7 years ago
msquare
deae2a1721
fix removing users from shift, fixes #359
7 years ago
msquare
86e41e2949
change logging of needed angeltypes for created shifts
7 years ago
msquare
1c77c45bcf
fix problem with default values, fixes #354 , fixes #353
7 years ago
msquare
3ee1a4b0c7
fix problem with default value for userangeltype.supporter, fixes #352
7 years ago
msquare
88ea992f9c
fix sql queries with bools
7 years ago
msquare
4eedad6c89
fix problem with default values on registration
7 years ago
msquare
f9ab269758
fix problem with default values on registration
7 years ago
msquare
6b74705f37
fix problem with default values on registration
7 years ago
msquare
d8de02db34
fix problem with default values on registration
7 years ago
msquare
59cd65cb50
fix problem with validation of planned arrival date
7 years ago
msquare
7df64c82a6
fix problem with bools in queries
7 years ago
msquare
c62833bb51
fix problem with default value when registering
7 years ago
msquare
eec161a852
fix problem with default age when registering
7 years ago
msquare
50f24271eb
fix all redirects to home (because of new urls redirect to ? wont work anymore)
7 years ago
msquare
e9a28eb20e
fix log message from changing event config
7 years ago
Igor Scheller
ad948bdd32
Added RequestServiceProvider and SessionServiceProvider
7 years ago
Igor Scheller
e727b367cc
Moved includes to own file
7 years ago
Igor Scheller
60fd72cd1a
Added service providers
7 years ago
Igor Scheller
4817658862
Merge branch 'noc0lour:fix_setup_bugs', closes #335
7 years ago
Igor Scheller
d49e49c364
Implemented service provider functionality
7 years ago
Igor Scheller
783c58611a
Added app path to container
7 years ago
Igor Scheller
212760d4c9
Changed Container to Illuminate/Container
...
@see https://laravel.com/docs/5.5/container
@see https://davejamesmiller.com/2017/06/15/laravel-illuminate-container-in-depth
7 years ago
Igor Scheller
945fcb079a
Added registration_enabled configuration
7 years ago
Igor Scheller
c6ef1120f8
Set cookie to httponly
7 years ago
Igor Scheller
5b12eecdd6
Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
7 years ago
Igor Scheller
86c0713baa
Added helpers unit test
7 years ago
Igor Scheller
e6ed8a3017
Changed LogEntries table: Use log level instead of nick name
7 years ago
Igor Scheller
b3b65743cd
Added Logger
7 years ago
Igor Scheller
20a6fa07f8
Implemented container
7 years ago
Igor Scheller
0ac9818764
Added Application
7 years ago
msquare
db8b6b2520
change shift renderer global add user link
7 years ago
Igor Scheller
8c81adc8e8
Implemented container
7 years ago
Igor Scheller
0a20883aa8
Reimplementation of 2840bb619
(signup requires arrival), closes #330
7 years ago
Igor Scheller
2bd127c011
Use symfony session
7 years ago
Igor Scheller
96f1d9fd54
Bugfixes
7 years ago
Bot
a473a56f1d
Formatting
7 years ago
Igor Scheller
d0074cf006
Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
...
# Conflicts:
# includes/controller/angeltypes_controller.php
# includes/pages/admin_groups.php
# includes/pages/user_settings.php
# includes/sys_page.php
# src/Exceptions/Handler.php
# src/Http/Request.php
7 years ago
Igor Scheller
50da458d89
Refactoring: Moved files to array
7 years ago
Igor Scheller
3002ed9e93
Security: Only allow angels with admin_news_html privilege to use HTML
7 years ago
Igor Scheller
cc01c906ba
#336 : Integration of symfony/http-foundation request
7 years ago
Igor Scheller
73175e2b64
#337 : Added routing
7 years ago
Andrej Rode
eeae07e625
add edited_at_timestamp to shift creation to fix mysql error
7 years ago
Andrej Rode
5f305121a4
fix order by not in select clause for >mysql-5.7
7 years ago
Andrej Rode
dc6fb49f44
fix only_full_group_by mysql default behaviour
7 years ago
msquare
581b81f1b2
fix wrong request get
8 years ago
msquare
7f4aa6daa5
remove exit commands after redirects (redirect does already die)
8 years ago
msquare
f82e5456d2
dried code by introducing selectOne for select queries with only one result line expected
8 years ago
msquare
69a1ee2bfe
use glyph bool icons on room list
8 years ago
msquare
5cffcd7fdf
fix angeltype edit and display bugs
8 years ago
msquare
4effb7e59f
fix lane rendering
8 years ago
msquare
a0af8d4624
further switching to db exceptions instead of return false
8 years ago
msquare
5794c4cab8
clear delete queries from false resuls
8 years ago
msquare
4d08434d31
fix problem with html select containing 0 as key
8 years ago
msquare
a157004f4a
handle failed db queries in Db class
8 years ago
Igor Scheller
e1762e7764
replaced template_render with dynamic renderer class
8 years ago
Igor Scheller
d4ad70804b
Removed overwhelmed page
8 years ago
Igor Scheller
7d5d905fcf
Moved $themes array to config
8 years ago
Igor Scheller
b7ebb05b8e
Passwords should be posted
8 years ago
Igor Scheller
ec45216899
Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
8 years ago
msquare
8ae0123635
unarrived angels can enter a shift (has been disabled for 33c3)
8 years ago
msquare
903a1f9790
remove 24h shift filter time range limit
8 years ago
msquare
e93dd774a5
fix small issues on checking success of a db query
8 years ago
Igor Scheller
3a1e460249
Changed $_GET, $_POST and $_REQUEST to use the Request object
8 years ago
Igor Scheller
cdf14f9d3f
Reapplied "Merge pull request #321 from raboof/wantsToDrive"
8 years ago
Igor Scheller
317c91a22f
Reapplied "Merge pull request #319 from jwacalex/gh_317_unable_to_edit_hidden_room_in_admin"
8 years ago
Igor Scheller
a2b9edc6a3
Reapplied "Merge pull request #314 from Scriptkiddi/master"
8 years ago
Arnout Engelen
b688b928db
Read wants_to_drive field correctly
8 years ago
Arnout Engelen
3d8dea3733
Form validation: should tick at least on license
...
Owning a car is not sufficient, select at least one kind of drivers' license
8 years ago
Arnout Engelen
cf20b65902
Reword 'wants to operate a car for the PL'
...
As discussed in #sha2017-angel
8 years ago
jwacalex
b6d394e982
first fix for #317 . hidden rooms can be seen with admin_rooms priviledge
8 years ago
Igor Scheller
cd30017b97
Some fixes
8 years ago
Igor Scheller
37c32ad08f
Added PDO::ATTR_EMULATE_PREPARES => false
8 years ago
Igor Scheller
68da2a4eb8
Renamed "default_theme" config to "theme"
8 years ago
Fritz Otlinghaus
c9336840ff
Update email_helper.php
8 years ago
Fritz Otlinghaus
6f367eefe0
Update email_helper.php
8 years ago
Igor Scheller
781f830678
Fixes and improvements
8 years ago
Bot
3de0cc840f
Removed spaces
8 years ago
Igor Scheller
8506d6d27e
Refactoring: Config cleanup / moved to class
8 years ago
Bot
740026a9de
Replaced [0-9] with \d
8 years ago
Bot
915ce28fee
Replaced " with '
8 years ago
Igor Scheller
9a3ad88834
Changed from mysqli to PDO, some refactorings, faster sql queries
8 years ago
Igor Scheller
f7c09cb7ff
Added exception handler
8 years ago
Igor Scheller
8254a79c58
Bugfixes & improvements
8 years ago
Igor Scheller
1c27bf1375
Removed $angeltype from function Shift_signup_allowed_*
8 years ago
Bot
55141154c0
Replaced " with '
8 years ago
Bot
356b2582f3
PPHDoc, formatting, fixes, cleanup
8 years ago
Bot
d71e7bbfad
Formatting
8 years ago
Bot
7313e15ce8
PSR-2 formatting
8 years ago
Igor Scheller
84f6990db2
Merged branch origin/master
8 years ago
Igor Scheller
94b5250414
Added composer with parsedown requirement
8 years ago
msquare
4a95dfa171
Merge pull request #307 from MyIgel/real-path
...
Fix relative paths: missing / on internationalization
8 years ago
msquare
29128763fd
Merge pull request #306 from MyIgel/config-fix-constant
...
Fixes "Constant already defined" notice
8 years ago
Igor Scheller
1f0ca24f5c
Fix relative paths: missing / on internationalization
8 years ago
Igor Scheller
1f8d1eb4bb
Fixed "Constant already defined" notice
...
Added more ugly global variables
8 years ago
Igor Scheller
5e850171e2
Fixed "Constant already defined" notice
8 years ago
Igor Scheller
f894ca5fa4
Fix relative paths
8 years ago
Igor Scheller
00d8709ae8
Fix relative paths
8 years ago
msquare
b8ebd23f6d
bring back filtering by occupancy
8 years ago
msquare
51eb22a1c6
fix shift signup state calculation
8 years ago
msquare
3fbd62ab7d
bring back coloring for admins
8 years ago
msquare
fe5dec73ba
bring back filtering by occupancy
8 years ago
msquare
68aeb14edb
bring back filtering by angeltype
8 years ago
msquare
5600476c56
fix missing users on active angels view
8 years ago
msquare
4407604793
move data sorting to begin
8 years ago
msquare
6c4bb0da31
move data sorting to begin
8 years ago
msquare
cbeb45ef16
redo
8 years ago
msquare
45200b503d
improve needed angel types query
8 years ago
msquare
0603d0dd4e
remove unused code
8 years ago
msquare
363cc8f6b5
more performance using union
8 years ago
msquare
75945fdbbd
more performance using union
8 years ago
msquare
eccbf32f68
redo
8 years ago
msquare
84527c2252
redo
8 years ago
msquare
65a665ee49
reduce max shift filter duration to 24h
8 years ago
msquare
aed9f2c96c
bring back needed angeltypes from rooms
8 years ago
msquare
860252bce8
select only one room per default
8 years ago
msquare
46528fe1d8
shift view performance improvements
8 years ago
msquare
ffc33993d4
overwhelmed
8 years ago
msquare
2840bb6198
no signup for shifts for angels that are not arrived
8 years ago
msquare
b05b235cf8
fix slow query
8 years ago
msquare
9975e42d3c
fix edit user bug deleting emails
8 years ago
msquare
2f2d08c574
fix edit user bug deleting emails
8 years ago
msquare
07a0ed37ec
fix angeltype supporter privilege for signing up users to shift
8 years ago
msquare
827de98256
fix room delete bug in pentabarf import temporarily
8 years ago
msquare
5f9d508b02
fix #297 show date on every time tick in shift calendar
8 years ago
msquare
549cd6534a
reduce number of sql queries on shift calendar
8 years ago
msquare
b3f92834b0
reduce number of sql queries on shift calendar
8 years ago
msquare
deb41c4b64
reduce number of sql queries on shift calendar
8 years ago
msquare
99c7e8ce1a
fixes #298 allow a shift supporter to remove a user from shift
8 years ago
msquare
0c15964e6b
#298 hide freeload form from angeltype supporters
8 years ago
msquare
e86d75b4d9
begin #298 add privilege and add users to shifts by angeltype supporter
8 years ago
msquare
188891c147
use planned arrival time validation for register page
8 years ago
msquare
5b9ff7b7bf
fix that free shifts become green
8 years ago
msquare
b8c26b0fd0
fix that free shifts become green
8 years ago
msquare
9e804ba91a
fix that free shifts become green
8 years ago