Commit graph

3475 commits

Author SHA1 Message Date
Jan Böhmer
47fa8b04e5 Added an button generate a new set of backup codes. 2019-12-27 18:42:08 +01:00
Jan Böhmer
604ebe420d Added possibility to show backup codes in user settings. 2019-12-27 18:21:12 +01:00
Jan Böhmer
23587fe3e6 Updated Doctrine Test Bundle. 2019-12-27 15:38:56 +01:00
Jan Böhmer
fba5f9794f Added an service for generating Backup codes and added some tests. 2019-12-27 15:20:06 +01:00
Jan Böhmer
6d7cec7a6e Removed translator call to non existing (and not needed) translator
This should fix the errors on travis.
2019-12-27 14:36:22 +01:00
Jan Böhmer
452fc3e78a Merge branch 'master' into 2fa 2019-12-26 15:11:17 +01:00
Jan Böhmer
8f1f2f0fa2 Dont do a xliff lint on travis
Symfony does not know an attribute php-translation bundle outputs, so the check fails.
2019-12-26 15:11:07 +01:00
Jan Böhmer
ac0928426b Merge branch 'master' into 2fa 2019-12-26 15:07:32 +01:00
Jan Böhmer
042f395edd Dont generate translation key for form input without visible label 2019-12-26 14:56:05 +01:00
Jan Böhmer
89acfff857 Dont call translator inside the form classes.
Translation is already done in the templates, so translator calls in form classes, are bad for performance and readability.
2019-12-26 14:53:13 +01:00
Jan Böhmer
e7b920c4fe Use php-translation symfony bundle.
This gives us some advanced translation extractors (from form labels, flashes, etc.) and provide some more debug tools.
2019-12-26 13:16:27 +01:00
Jan Böhmer
44fe58c587 Immediately show the new status after the google 2fa was enabled/disabled sucessfully. 2019-12-26 12:53:54 +01:00
Jan Böhmer
8add8c919d Allow to disable the google authenticator 2fa. 2019-12-26 12:46:44 +01:00
Jan Böhmer
8c5cf6f9e0 Show data for manual setup of the google authenticator. 2019-12-24 16:07:22 +01:00
Jan Böhmer
2764401451 Dont use multiple statements in on sql command to ensure compatibility.
It seems that older MariaDB versions are more strict with multiple commands in one SQL statement. Should fix issue #3
2019-12-24 15:41:59 +01:00
Jan Böhmer
25105ba7d4 Set default value of enforce_2fa to fix travis. 2019-12-24 15:20:26 +01:00
Jan Böhmer
eb3c34b75f Added autocomplete attributes on password change form in user settings. 2019-12-23 19:00:27 +01:00
Jan Böhmer
10ca895309 Implemented the two factor auth login form. 2019-12-23 18:45:32 +01:00
Jan Böhmer
35b5640627 Added an basic form to add Google Authenticator. 2019-12-23 17:20:28 +01:00
Jan Böhmer
24672a30b9 Merge branch 'master' into 2fa 2019-12-23 13:51:32 +01:00
Jan Böhmer
2fded2b880 Updated to symfony 4.4.2 2019-12-23 13:51:16 +01:00
Jan Böhmer
2fa0963374 Prepared DB and models for Two Factor authentication 2019-12-14 16:35:19 +01:00
Jan Böhmer
235baf32d5 Removed dependencies on Guzzle. We use Symfony HTTP-Client now. 2019-12-11 20:47:00 +01:00
Jan Böhmer
835087cd3f Travis: Test against php 7.4 release version. 2019-12-11 20:33:38 +01:00
Jan Böhmer
a81cd4d84b Updated yarn dependencies. 2019-12-11 20:25:20 +01:00
Jan Böhmer
93e5ae18d6 Update composer dependencies. 2019-12-11 20:12:42 +01:00
Jan Böhmer
8af9c6e7cd Fixed dockerfile 2019-12-01 15:44:32 +01:00
Jan Böhmer
481dcb8942 Allow failure of php7.4snapshot on Travis. 2019-12-01 15:42:54 +01:00
Jan Böhmer
87cfb50285 Upgraded symfony to 4.4.1 2019-12-01 15:18:44 +01:00
Jan Böhmer
9cdf31492a Added german translations for password reset dialogs and email 2019-12-01 13:50:43 +01:00
Jan Böhmer
12b3107188 Added an setting to disable password reset mechanism.
By default the pw reset is disabled, when no email server is configured.
2019-12-01 12:48:59 +01:00
Jan Böhmer
4f70d8b1da Use dev HTTP-Kernel so we can generate code coverage again.
An error with the test container will be coming to 4.4.1 (which is not released yet). When it is available we should revert the changes to composer.json.
2019-11-30 22:53:45 +01:00
Jan Böhmer
c64e4fe3d6 Added an toggle to activate a simple dark mode.
The dark mode is only available on browsers that support mix-blend-mode. There are some quirks with hover images...
2019-11-30 22:28:14 +01:00
Jan Böhmer
6882f91ef2 Use HTTP2 preload for always used CSS and JS files. 2019-11-30 16:46:03 +01:00
Jan Böhmer
5782ef70fb Updated manifest.json 2019-11-30 16:05:36 +01:00
Jan Böhmer
9567c15648 Updated composer packages. 2019-11-30 15:43:30 +01:00
Jan Böhmer
5c34c5556d Upgraded to bootstrap 4.4.1 2019-11-30 15:34:27 +01:00
Jan Böhmer
05870caf85 Upgrade password when a better method is available. 2019-11-30 15:28:09 +01:00
Jan Böhmer
6a0d027675 Added an mechanism to reset passwords via mail. 2019-11-24 22:49:22 +01:00
Jan Böhmer
0716b8ff93 Use travis-ci.com instead of org for README badge. 2019-11-23 21:12:38 +01:00
Jan Böhmer
7192f67246 Dont collect coverage data to fix TravisCI
TODO: Find a better solution.
2019-11-23 20:23:07 +01:00
Jan Böhmer
6405dee0ac Made tests compatible with phpunit 8
The new simple-phpunit wrapper is selects the best phpunit version automatically and removes all the void return types if needed.
2019-11-23 19:12:49 +01:00
Jan Böhmer
a62f947b86 Revert "Try to fix some travis issue"
This reverts commit 7d7588fd50.
2019-11-23 18:31:28 +01:00
Jan Böhmer
7d7588fd50 Try to fix some travis issue 2019-11-23 18:18:30 +01:00
Jan Böhmer
9c22149afd Let doctrine detect its driver and db_version automatically. 2019-11-23 18:01:45 +01:00
Jan Böhmer
1ae905ae78 Use number aware naming strategy for doctrine.
Fixes a deprecation notice.
2019-11-23 17:48:24 +01:00
Jan Böhmer
9b09d88b7b Specify controller path as path relative to src/.
This fixes a deprecation introduced in symfony 4.4.
2019-11-23 17:15:14 +01:00
Jan Böhmer
33d6a25060 Fixed an deprecation message. 2019-11-23 17:00:16 +01:00
Jan Böhmer
fa4f3aadd6 Fixed deprecation related to exception_controller. 2019-11-23 15:14:16 +01:00
Jan Böhmer
937700b06e Marked bin/console und bin/phpunit as executable. 2019-11-23 15:07:55 +01:00