Commit Graph

460 Commits

Author SHA1 Message Date
Tobias Wiese 9db8773150 markdown: let Parsedown escape content
Letting Parsedown escape the content, instead of calling
htmlspecialchars provides more context to the escape process.
For example the ampersand character can now be used in markdown links as
part of the url without breaking.
2022-01-01 16:33:40 +01:00
Igor Scheller 6a79aaeeaa Replaced swift mailer with symfony mailer 2021-12-29 22:28:12 +01:00
Igor Scheller 11c3a762b8 Remove space from email subjects 2021-12-29 17:12:19 +01:00
Igor Scheller 46d6ada728 Update composer packages and bump php version to 7.4 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 8d436d988a More PHP 8.1 fixes to be compatible 2021-12-29 11:00:02 +01:00
Igor Scheller f1531ad987 Added [more] tag to news 2021-12-12 13:23:01 +01:00
Igor Scheller 26ab0619f5 OAuth: Allow nested info attributes 2021-12-12 12:34:43 +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 2d45e04a90 Added option to allow sso account creation even if public registration is disabled 2021-12-12 12:34:43 +01:00
Igor Scheller 1ba4b57eac Added OAuth2 SSO login group mapping 2021-12-12 12:34:43 +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
Igor Scheller 59993788ec Added check if table exists to shifts migration 2021-11-27 11:43:53 +01:00
Igor Scheller 657b44f9cf Redirect back from login after 403 (Not authorized) 2021-10-23 17:13:46 +02:00
Igor Scheller 5c90a1ef37 Added shirt edit view 2021-10-23 17:04:19 +02:00
Igor Scheller 4825c2de2b Fixed test coverage and naming 2021-08-17 15:22:22 +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 a8e012be72 Make news comments deletable 2021-08-08 19:11:16 +02:00
Igor Scheller ff8adafd33 Added more factories 2021-08-08 18:31:33 +02:00
Igor Scheller ec355d40f5 Added user related factories 2021-08-08 18:31:33 +02:00
Igor Scheller 19fc114cf7
Added ?theme parameter to temporary change theme 2021-07-29 20:01:10 +02:00
Igor Scheller 03185f8865
Fixed globals and design unit tests 2021-07-29 20:00:57 +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
Igor Scheller 4ff44d141c Translator: Fix values handling when array keys are set
Fixes #820 (Password recovery not working)
2021-07-11 00:51:30 +02:00
Igor Scheller 3912b4e93e Set initial admin password if configured
Resolves #806 (Allow admins to configure the initial password of the admin user)
Closes #809 PR (Allow to configure initial admin pw)
2021-05-24 15:41:16 +02:00
Xu cb2ec5457e stats: added pronoun 2021-04-13 16:01:38 +02:00
Igor Scheller c2b2487721 Locale: Set initial locale using request language 2021-04-12 17:13:48 +02:00
Igor Scheller 30e1d41c0a EventConfig: Set time on dates 2021-04-12 17:13:48 +02:00
Igor Scheller bb2a13f605 OAuth: Compare oauth users using exact compare 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
Igor Scheller 814cafd05d Added EventDispatcher 2021-04-12 16:15:25 +02:00
Allen Taylor 02ba802d6b configured var dump server 2021-01-09 16:44:02 +01:00
Igor Scheller f0bddb321c MySQL: Use bin format to compare oauth users 2020-12-29 00:28:37 +01:00
Igor Scheller 85044bc833 News: Add is_pinned 2020-12-27 10:59:28 +01:00
Igor Scheller d423bb07d3 OAuth: Save auth tokens 2020-12-26 21:09:24 +01:00
Igor Scheller 53d5f8518b Questions: Change sorting 2020-12-20 20:48:12 +01:00
Igor Scheller b5c974b9e3 Add new questions frontend 2020-12-20 17:46:45 +01:00
Igor Scheller e322867716 Tests: Added abstract ControllerTest 2020-12-20 17:46:45 +01:00
Igor Scheller 857ed23548 Added FAQ 2020-12-20 17:46:45 +01:00
Xu ab82e1cbc0 NewsController: redirect after edit to /news instead of /news/[id] 2020-12-18 17:56:12 +01:00
msquare 39f96783cf review changes 2020-11-25 00:49:45 +01:00
msquare 0c3ff73454 new setting page layout 2020-11-25 00:49:45 +01:00
msquare d3265ef70a add password settings page 2020-11-25 00:49:45 +01:00
Igor Scheller ebab34ee67 Schedule import: Add overview 2020-11-22 16:53:07 +01:00
Igor Scheller 251f2cbfa6 OAuth: Added display name and metrics, show providers on user page 2020-11-22 14:55:29 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Igor Scheller 620c9a02bb News: Render as markdown 2020-10-21 21:51:48 +02:00
Igor Scheller a309d873a7 News: Show preview 2020-10-21 21:51:48 +02:00
Igor Scheller f8d9cddcc6 Added CleanupModel stub 2020-10-21 21:51:48 +02:00
Igor Scheller 2be3e17db7 Exceptions: Log previous exception 2020-10-18 16:58:36 +02:00
Allen Taylor 6c177d5173 Added timestamps for questions 2020-09-27 19:28:27 +02:00
Igor Scheller f732a4af6f Added Worklog model 2020-09-24 17:38:12 +02:00
Igor Scheller acf84f222d Added Room model 2020-09-24 09:34:00 +02:00
Igor Scheller 8c630a2148 Groups: Added Welcome Angel 2020-09-22 11:46:11 +02:00
Igor Scheller c0c1dab711 Metrics: Added user enabled email targets and comments counts 2020-09-22 11:37:21 +02:00
Igor Scheller a3f7942d0d Added k8s health checks and metrics scraping 2020-09-22 11:37:21 +02:00
Igor Scheller e4247cd0bd Metrics: Use buckets for work, worklog and vouchers 2020-09-22 11:37:21 +02:00
Igor Scheller 138ee996b0 Metrics: Add support for histogram 2020-09-22 11:37:21 +02:00
Igor Scheller d79d2c87bc More .editorconfig improvements 2020-06-28 19:39:29 +02:00
Igor Scheller 4995aa2a0b migration: Prevent parallel migration runs 2020-06-28 19:31:17 +02:00
Igor Scheller b814cf51e4 News: Preselect "Is Meeting" when adding from Meeting overview 2020-06-14 13:55:08 +02:00
Igor Scheller 21ee2bd0d7 Exception handling: Added NullHandler to be used in commands 2020-06-14 13:55:08 +02:00
Igor Scheller f99e0a229f Tests: Added ModelTest class 2020-06-14 13:55:08 +02:00
Igor Scheller a59546baf8 Renderer: Log critical instead of error if no matching file renderer configured 2020-06-14 13:55:08 +02:00
Igor Scheller ae744af814 HomeController: Fix redirect 2020-06-14 13:55:08 +02:00
Igor Scheller 2e1fbfb16d WhoopsTest: Fixed non unique setApplicationPaths mocks 2020-06-05 10:54:45 +02:00
Igor Scheller 4a6f18d41f Fixed Symfony 5.1 compatibility 2020-06-01 13:31:16 +02:00
Igor Scheller e947e788f9 Rebuild logs view 2020-05-01 21:41:06 +02:00
Igor Scheller 64dc16e4d9 Logger: Added handling for exceptions and log exceptions if they occur 2020-05-01 20:52:15 +02:00
Igor Scheller 04fe35c822 Added /design path to show template elements 2020-04-25 17:04:57 +02:00
Igor Scheller 984ce25728 Moved development error handler setup to ConfigureEnvironmentServiceProvider 2020-04-25 17:04:57 +02:00
Igor Scheller 2605204af8 Moved error reporting settings to ConfigureEnvironmentServiceProvider 2020-04-25 17:04:57 +02:00
Igor Scheller 2b1ccb6406 Configure application timezone globally 2020-04-25 17:04:57 +02:00
Igor Scheller e2e2ac0c68 Metrics: Added configured locales and themes, refactoring/formatting 2020-04-25 17:04:57 +02:00
Igor Scheller 93ae2442f6 Formatting, syntax, typehint and namespace fixes, cleanups 2020-04-25 16:54:30 +02:00
Igor Scheller 055586cb8f DB/MySQL: Use utf8mb4 to support emojis
closes #706 (Allow emoji as private message text)
2020-04-25 16:54:30 +02:00
Igor Scheller f3af7bab50 Fixed Schedule XML parser to support minimum import 2020-04-25 16:54:30 +02:00
Igor Scheller d455b95f5d Updated gettext/gettext package to v5 2020-04-25 16:42:21 +02:00
Igor Scheller 351fc1f749 PHPUnit upgrade to 9.1, PHP upgrade to 7.3 2020-04-25 16:42:21 +02:00
Igor Scheller 795a0631cb Added application base url: Redirector now uses URLs instead of relative paths 2020-04-25 15:50:57 +02:00
Igor Scheller 6b1c22a743 Removed LegacyUrlGenerator 2020-04-25 15:50:57 +02:00
Igor Scheller d323b75501 News: Rewrite 2020-04-25 15:50:57 +02:00
Igor Scheller 72f4839130 Added HasUserNotifications trait to show messages to the user 2020-04-25 15:50:57 +02:00
Igor Scheller e42284deca Added Checked validation 2020-04-25 15:50:57 +02:00
Igor Scheller ba4db7a7ff Added Develop twig extension with support for dd() and dump() functions 2020-04-25 15:50:57 +02:00
Igor Scheller c519be276a Logging: Renamed EngelsystemLogger to Logger and added UserAwareLogger 2020-04-25 15:50:57 +02:00
Igor Scheller 36da807ca2 ErrorHandler: Return 404 on ModelNotFoundException 2020-04-25 15:50:57 +02:00
Igor Scheller b9bb68c8ac AuthController: Use configured home_site 2020-04-05 20:23:35 +02:00
Igor Scheller ba1c658b92 Escape LegacyDevelopmentTest output 2020-04-05 20:21:13 +02:00
Igor Scheller d27bcabc8b tests: code coverage cleanup 2020-01-02 15:09:08 +01:00
Igor Scheller 61977f5da9 Metrics: Fixed message count 2019-12-30 21:12:22 +01:00
Igor Scheller 395f6706d6 Message: Add coverage, fix method hints 2019-12-30 01:53:20 +01:00
Michael Weimann 95adeca0ae Add message model 2019-12-30 01:53:20 +01:00
Igor Scheller 45d13ac998 Metrics: Strict types and type hinting 2019-12-25 09:57:11 +01:00
Igor Scheller c023c8a9c6 Metrics: Added users_force_active 2019-12-24 14:33:11 +01:00
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 2019-12-08 02:20:51 +01:00
Igor Scheller 47e209e125 ImportSchedule: Append talk language to shift title
Resolves #587 (Include talk language into Frab-imported shift titles)
2019-12-08 02:20:51 +01:00
Igor Scheller 42721e9572 Added Schedule parsing and replaced old Fahrplan importer
Resolves #553 (Change Frab Import from xCal to XML)
Resolves #538 (Feature Request: Multi Frab Import)
2019-12-08 02:20:48 +01:00
Igor Scheller 89742ecd55 Response: Added with and withInput methods and back/redirect functions 2019-12-08 02:12:56 +01:00
Igor Scheller d6cb9c6258 Questions: Moved user tests to user and fixed attribute names, added @covers 2019-12-07 21:29:11 +01:00
Igor Scheller 8fc159f287 Stats: Added questions test 2019-12-07 21:29:11 +01:00
Michael Weimann 4f63bbbaac Add Question model 2019-12-07 21:29:11 +01:00
Igor Scheller 577c052aff Twig update to 3.0.0 and Renderer type hinting 2019-11-29 19:38:28 +01:00
Igor Scheller 15e6740e12 Twig update to > 2.11: Fixed namespaces, warnings and cleanup 2019-11-29 18:42:20 +01:00
Igor Scheller f8e1f85089 Removed not used {trans} twig token 2019-11-29 16:56:44 +01:00
Igor Scheller 5704174fe6 MessageTrait: Fixed HeaderBag::get parameter deprecation in Symfony 4.4 2019-11-22 11:15:27 +01:00
Michael Weimann 17192a2c41
Adapt code style to PSR-12 2019-11-12 22:04:39 +01:00
Michael Weimann 26b8d2b921
Introduce the NewsComments model 2019-11-12 21:58:40 +01:00
Igor Scheller 68afc74b03 Formatting to follow PSR-12 2019-11-11 00:05:41 +01:00
Igor Scheller b878740f80 News: Bug fixes, cleanup, comments & formatting
Use more magically available methods and properties
Fixed atom feed and stats not using the new model
2019-11-10 22:10:11 +01:00
Michael Weimann 6534191d59 Migrate news to model class 2019-11-10 22:10:11 +01:00
Igor Scheller 2cce967eb0 Tests: Replaced duplicates and formatting/cleanup 2019-11-06 13:16:00 +01:00
Igor Scheller 867d720f15 Tests: Replaced setMethods as it is deprecated 2019-11-06 12:29:58 +01:00
Igor Scheller 109f112131 BaseModel: Removed methods as already provided by Eloquent Builder 2019-11-06 12:15:14 +01:00
Igor Scheller a514ba3adc HasUserModel: Moved user method to trait 2019-11-03 00:25:35 +01:00
Luca 6cde313e47 Move translations whose message ids do not appear as literals in the sources into a separate file
Test whether additional.{m,p}o files are loaded correctly
2019-10-28 14:25:31 +01:00
Igor Scheller 18de950d8f Mail log: Formatting 2019-10-27 13:28:40 +01:00
Igor Scheller af09865f3d Fix/Cleanup tests for DatabaseServiceProvider 2019-10-13 21:26:21 +02:00
Igor Scheller fa35187795 Removed .mo translation files from version control, use .po as fallback 2019-10-13 13:16:22 +02:00
Igor Scheller dd03662968 Rebuild password reset 2019-10-08 16:17:06 +02:00
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 2019-10-08 15:28:23 +02:00
Igor Scheller 810068dcf8 Fixes: AuthController session error merging and StatsTest 2019-10-08 14:30:18 +02:00
Igor Scheller ae0816ce8d Response: Fixed naming to use renderer instead of view and added setter 2019-10-08 14:07:28 +02:00
Igor Scheller e124b41977 Tests: TestCase: Initialize $this->app on every run 2019-10-08 13:57:50 +02:00
Igor Scheller 1b3e3b1d65 Exceptions: Added HttpNotFound exception 2019-10-07 22:02:28 +02:00
Igor Scheller 8d090438b6 Validation rules: min/max/between: Use string length to compare strings 2019-10-07 21:59:40 +02:00
Igor Scheller faf74150e9 Mailer: Use users locale for translation 2019-10-06 21:18:42 +02:00
Igor Scheller 154625bc8a CI: Fix tests 2019-09-17 22:16:53 +02:00
Igor Scheller 64c4743f57 Routes config: Added test to ensure that routes are cacheable in production 2019-09-06 17:30:04 +02:00
Igor Scheller efaf29e5ef Metrics: Add database access time 2019-08-21 14:22:31 +02:00
Igor Scheller 64e4d168e0 migration: Order by migrated and append not migrated 2019-07-21 20:54:17 +02:00
msquare 6df62659da show password recovery always, fix test 2019-07-21 19:17:41 +02:00
msquare 1e16f4c47e
Merge pull request #624 from MyIgel/version
Added version to credits and metrics page
2019-07-21 13:38:05 +02:00
Igor Scheller 51a3c6eb44 ErrorHandler: Remove some form fields before serialization 2019-07-21 13:24:47 +02:00
Igor Scheller 4582f808f0 Added version to credits and metrics page 2019-07-21 03:19:19 +02:00
Igor Scheller fece50ca09 Basic coverage tests of logger classes for 100% unit tests coverage 2019-07-20 23:58:14 +02:00
Igor Scheller b9cb7d57fd Basic coverage tests of logger classes for 100% unit tests coverage 2019-07-16 02:59:33 +02:00
Igor Scheller b25924e868 Allow nested rules (not and optional) 2019-07-16 01:39:54 +02:00
Igor Scheller 6743106d9a Replaced validation with `respect/validation` 2019-07-10 13:34:15 +02:00
Igor Scheller 6d5ada2522 Added validation to AuthController 2019-07-09 22:27:34 +02:00
Igor Scheller 7414f9b23d Implemented Validation for controllers 2019-07-09 21:43:18 +02:00
Igor Scheller 508695efb2 Replaced gettext translation with package
This allows to check if no translation is available
2019-07-08 01:58:06 +02:00
Igor Scheller f90ab26fee Moved translation helpers to sub namespace 2019-07-08 01:58:06 +02:00
Igor Scheller e9f157ec5c Renderer: Added shared data 2019-07-08 01:58:06 +02:00
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
2019-07-08 01:57:59 +02:00
Igor Scheller e06affae17 Added tests to HomeController 2019-06-14 04:15:20 +02:00
Igor Scheller 6ed891fc04 Added logout via AuthController 2019-06-12 10:24:02 +02:00
Igor Scheller 2e51fbff9d Added / route with redirects 2019-06-12 10:21:20 +02:00
Igor Scheller e948091066 Replaced old /api endpoint with ApiController 2019-06-12 10:20:08 +02:00
Igor Scheller 93e578e555 Added html content sniffer 2019-06-12 10:20:08 +02:00
Igor Scheller 1f433694d2 Tests: Fix type warning 2019-06-12 02:56:18 +02:00
Igor Scheller 236197faf8 Upgraded external components 2019-06-03 21:36:58 +02:00
Igor Scheller 819677c902 Use self references and fix class naming 2019-04-25 18:17:19 +02:00
Igor Scheller 8da8805f5d Replaced functions with mb_* equivalents 2019-04-25 18:17:19 +02:00
Igor Scheller 79c92da8c1 Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
2019-04-25 18:17:19 +02:00
Igor Scheller 9930668837 Fixed test coverage 2019-04-25 17:56:06 +02:00
Igor Scheller c74fa7955d phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
2019-04-25 17:56:06 +02:00
Igor Scheller 58ca7113f3 PSR-7: Replaced implementation with `Nyholm\Psr7` 2019-04-17 13:11:39 +02:00
Igor Scheller d9f898a0bb Bugfix: Replaced Diactoros with Symfony PsrHttpFactory to use PhpExtended\HttpMessage implementation
Prevents warnings that get converted to errors when run in dev mode
2019-04-16 20:20:56 +02:00
Igor Scheller 43b7b5c117 migration: Exclude add_angel_supporter_permissions from unit tests 2018-12-30 15:17:01 +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 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
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 c9d7e88cc7 Implemented controller permissions 2018-12-02 12:53:31 +01:00
Igor Scheller 55beca95cd Refactoring: Throw HttpAuthExpired on csrf token mismatch 2018-12-02 12:53:31 +01:00
Igor Scheller 9788c5095a Implemented HttpException 2018-12-02 12:53:31 +01:00
Igor Scheller c33940f64a Moved permission checks to Authenticator class 2018-12-02 12:53:31 +01:00
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
2018-11-24 16:30:36 +01:00
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes #494 (Security Vulnerability)
2018-11-21 19:24:36 +01:00
Igor Scheller fd37c9d60e Added additional headers 2018-11-21 19:24:36 +01:00
Igor Scheller 23c0fae36f Added csrf middleware 2018-11-21 19:24:36 +01:00
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
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 d15946df2d Changed `src/` code and templates to use the new user model 2018-10-31 13:43:23 +01:00
Igor Scheller 8e62c4c52c Added new user models 2018-10-31 13:43:23 +01:00
Igor Scheller b443b53919 Translation: added pluralization support 2018-10-30 22:50:22 +01:00
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes #426
2018-10-30 22:50:22 +01:00
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config 2018-10-30 21:13:56 +01:00
Igor Scheller 63d1292bf8 Added EventConfig model 2018-10-30 21:13:56 +01:00
Igor Scheller c4867811e2 BaseModel: Added findOrNew 2018-10-30 21:13:56 +01:00
Igor Scheller c9afc27ab9 Tests: Moved ServiceProvider::setExpects to TestCase 2018-10-30 21:13:56 +01:00
Igor Scheller 4f04924e29 Privileges: grant user work log permissions to shikos & cleanup
Closes #478 (Make user work log available)
2018-10-24 22:27:31 +02:00
Igor Scheller d985d493a3 Migrations: Added namespace 2018-10-24 19:15:07 +02:00
Igor Scheller 5f46fd2f15 Database: Don't use `0000-00-00 00:00:00` as a datetime 2018-10-24 19:15:07 +02:00
Igor Scheller b46207f911 Merge remote-tracking branch 'MyIgel/session' 2018-09-30 19:33:14 +02:00
Igor Scheller 6187eed3bb Merge remote-tracking branch 'MyIgel/mailing' 2018-09-26 21:31:18 +02:00
Igor Scheller aa2124f655 RouteDispatcher: Allow installation into sub directory 2018-09-26 20:49:31 +02:00
Igor Scheller 0b0890f425 Session: Added DatabaseHandler, replaces Symfony PdoSessionHandler 2018-09-25 14:02:55 +02:00
Igor Scheller 66038eda14 Merge branch 'twig-templates' 2018-09-23 20:11:37 +02:00
Igor Scheller 104e4f4c43 Session: Added Symfony PDO backend 2018-09-16 14:56:07 +02:00
Igor Scheller edeab5e75f Added Database class as a replacement for Db, fixed naming 2018-09-16 14:53:33 +02:00
Igor Scheller 0734807eef Merge remote-tracking branch 'MyIgel/logentry-model' 2018-09-16 12:06:18 +02: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 4bf3a68f43 Fixed assets rendering 2018-09-10 14:40:33 +02:00
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating' 2018-09-09 12:11:12 +02:00
Igor Scheller 01e9c22695 Implemented mailing abstraction
Closes #434
2018-09-05 13:44:43 +02:00
Igor Scheller ce6d0fd13b tests: fixed array() return 2018-09-04 21:44:34 +02:00
Igor Scheller b52444af8a Merge remote-tracking branch 'MyIgel/routing' 2018-09-04 21:13:28 +02:00
Igor Scheller 36dafdb68a Merge remote-tracking branch 'MyIgel/rebuild-psr7' 2018-09-03 22:55:54 +02:00
Igor Scheller 9d34f371cb Added CreditsController 2018-09-03 15:42:51 +02:00
Igor Scheller 9e217d87c0 Template refactoring to use twig 2018-09-02 02:09:56 +02:00
Igor Scheller ac48332166 Models: Added LogEntry model 2018-08-31 03:24:54 +02:00
Igor Scheller 8257864829 Added translation support for twig templates
See https://twig-extensions.readthedocs.io/en/latest/i18n.html for documentation
2018-08-29 23:46:32 +02:00
Igor Scheller a2c47304d8 Added generic error pages 2018-08-29 23:46:32 +02:00
Igor Scheller 3a11641647 Updated LegacyMiddleware to use Translator class 2018-08-29 23:46:32 +02:00
Igor Scheller 427315195b Moved translation/internationalization to Helpers\Translator class 2018-08-29 23:46:31 +02:00
Igor Scheller df6360044b Added Twig template functions 2018-08-29 23:46:31 +02:00
Igor Scheller bb3d16d273 Added Twig template renderer, closes #338 2018-08-29 23:46:11 +02:00
Igor Scheller a1bc763a16 Added nikic/fast-route as routing dispatcher 2018-08-25 21:48:39 +02:00
Igor Scheller 73c9d923e7 Renamed RoutingServiceProvider to Http\UrlGeneratorServiceProvider 2018-08-22 03:10:08 +02:00
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database' 2018-08-20 21:07:57 +02:00
Igor Scheller b0e7bc0df2 Made Engelsystem\Http\Request PSR-7 ServerRequestInterface compatible 2018-08-20 17:43:15 +02:00
Igor Scheller bf6efe532c Added trusted proxies 2018-08-19 16:44:33 +02:00
Igor Scheller 5427ee385d Made Engelsystem\Http\Request PSR-7 RequestInterface compatible 2018-08-19 14:04:16 +02:00
Igor Scheller 18fd73a899 Moved middleware to application config 2018-08-19 13:59:57 +02:00
Igor Scheller f3b3b6683c Added middleware tests 2018-08-19 13:59:39 +02:00
Igor Scheller f3f05f6cc4 Make Engelsystem\Http\Response PSR-7 compatible 2018-08-14 00:17:19 +02:00
Igor Scheller 92c26718fd exceptions: implemented error rendering return 2018-08-14 00:17:19 +02:00
Igor Scheller d243090fea config: allow renaming of config.default.php to config.php
Closes #444 (Problems after installation)
2018-08-12 17:38:36 +02:00
Igor Scheller f46e921b71 Use domain for links to '/' to fix assets URLs on subdirectories 2018-08-12 17:36:52 +02:00
Igor Scheller 3c08829205 Added Http\Response and Psr7{Request,Response} 2018-08-07 16:54:08 +02:00
msquare c55ae7c319 fix tests for linkTo 2018-08-06 16:53:30 +02:00
msquare 9496e35711 added comments and renamed short method to url generators 2018-08-06 12:57:48 +02:00
msquare 86b2937078 added comments and renamed short method to url generators 2018-08-06 12:50:34 +02:00
Igor Scheller 6962c2b790 Legacy URL Support 2018-08-05 21:46:05 +02:00
Igor Scheller 46e7fc89b4 Fixed tests after #431: Hotfix php7 syntax error 2018-08-04 22:21:13 +02:00
Igor Scheller 235266ec53 Added basic database migration functionality 2018-01-16 21:47:21 +01:00
Igor Scheller 78cddecef3 DatabaseServiceProvider: Added unit tests 2018-01-15 23:31:19 +01:00
Igor Scheller 0e8cc2f0a7 database: integrated illuminate/database do Db class, removed unused methods 2018-01-14 13:32:57 +01:00
Igor Scheller d4b36e9bad Added Illuminate/Database 2018-01-14 02:59:39 +01:00
Igor Scheller f8d0a7c5b0 Updated translation / Formatting / Test 2017-12-26 00:21:44 +01:00
Igor Scheller 25e434bce4 Refactored ExceptionHandler 2017-11-25 11:27:38 +01:00
Igor Scheller 6eea072376 Added ExceptionHandler Interface 2017-11-25 11:27:38 +01:00
msquare f8807c4efb fix behaviour of HTTP/Request get 2017-11-19 14:47:32 +01:00
Igor Scheller 8cd17419a8 TestFixes 2017-11-12 15:38:12 +01:00
Igor Scheller ad948bdd32 Added RequestServiceProvider and SessionServiceProvider 2017-11-01 16:12:01 +01:00
Igor Scheller e55d5c7c15 Added database tests 2017-10-31 19:26:48 +01:00
Igor Scheller 8c703e1202 Added request test 2017-10-31 17:17:32 +01:00
Igor Scheller a7d2bcf88b Fixed ConfigServiceProviderTest when no config file has been created 2017-10-31 15:13:37 +01:00
Igor Scheller a0cdd522da Added Container\ServiceProvider test 2017-10-31 14:48:29 +01:00
Igor Scheller e15e863625 Added tests for base_path and config_path 2017-10-31 14:30:37 +01:00
Igor Scheller 411ea5bb6d Refactored service provider tests 2017-10-31 14:15:19 +01:00
Igor Scheller 60fd72cd1a Added service providers 2017-10-31 13:40:13 +01:00