added start and stop entries

enhanced administration of activities/projects/customers
added navbar for active records and recent activities
added edit timesheet entry form
added translation packages for errors and flashmessages
upgraded composer packages
This commit is contained in:
Kevin Papst
2018-01-04 14:06:07 +01:00
parent 3f429a3663
commit c9c82e767f
50 changed files with 973 additions and 405 deletions

View File

@@ -42,7 +42,6 @@ framework:
engines: ['twig']
default_locale: "%locale%"
trusted_hosts: ~
trusted_proxies: ~
session:
handler_id: session.handler.native_file
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
@@ -59,8 +58,9 @@ twig:
# - "form/fields.html.twig"
globals:
kimai_context:
date_1: "d.m.Y" # used for display in timesheets
box_color: "green"
date_1: "d.m.Y" # used for display in timesheets
box_color: "green" # a color for ???
active_warning: 3 # display a warning color if the user has at least X active recordings
# Assetic Configuration (used for managing web assets: CSS, JavaScript, Sass, etc.)
#assetic:
@@ -100,4 +100,5 @@ avanzu_admin_theme:
boxed_layout : false
collapsed_sidebar: true
mini_sidebar : true
# TODO support options like: language and skin via sidebar menu
control_sidebar : false

View File

@@ -43,3 +43,7 @@ services:
avanzu_admin_theme:
enable_demo: false
web_profiler:
toolbar: true
intercept_redirects: false

View File

@@ -1,12 +1,12 @@
# this imports the routes used to display the web debug toolbar at the bottom of each page
#_wdt:
# resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
# prefix: /_wdt
_wdt:
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
prefix: /_wdt
# this imports the routes needed to display the Symfony Profiler information
#_profiler:
# resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
# prefix: /_profiler
_profiler:
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
prefix: /_profiler
# this imports the route used to test error pages. Just browse the following URL:
# /{_locale}/_error/{status_code}.{format}

View File

@@ -17,6 +17,9 @@ security:
# this firewall applies to all URLs
pattern: ^/
# does what it says
logout_on_user_change: true
# but the firewall does not require login on every page
# denying access is done in access_control or in your controllers
anonymous: ~

View File

@@ -1,6 +1,4 @@
services:
slugger:
class: AppBundle\Utils\Slugger
markdown:
class: AppBundle\Utils\Markdown
@@ -31,7 +29,7 @@ services:
class: AppBundle\EventListener\MenuBuilder
arguments: ["@event_dispatcher", "@security.authorization_checker"]
tags:
- { name: kernel.event_listener, event:theme.sidebar_setup_menu, method:onSetupNavbar }
- { name: kernel.event_listener, event: theme.sidebar_setup_menu, method: onSetupNavbar }
# service that prefixes every database table
app.tableprefix_subscriber:
@@ -40,6 +38,7 @@ services:
tags:
- { name: doctrine.event_subscriber }
# additional menu entries for the timesheet bundle
timesheet.configure_menu_listener:
class: TimesheetBundle\EventListener\Menu
tags: