Commit graph

615 commits

Author SHA1 Message Date
Jan Böhmer
e293a7b5ab Use form for search submit. 2020-01-04 22:38:05 +01:00
Jan Böhmer
da88c23268 Improved mobile view of the admin pages. 2020-01-04 22:20:17 +01:00
Jan Böhmer
1b2d65b9e0 Updated year in copyright on homepage. 2020-01-04 22:15:49 +01:00
Jan Böhmer
4e7c50a301 Use datatables-responsive.
This improves the experience with the tables on mobile view.
2020-01-04 22:09:37 +01:00
Jan Böhmer
3caac22a0e Improved mobile view for part edit and sidebar. 2020-01-04 21:42:44 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +01:00
Jan Böhmer
1aed1d1d26 Fixed some inspection issues. 2020-01-04 20:14:42 +01:00
Jan Böhmer
5f27abd8f3 Upgraded yarn dependencies. 2020-01-04 19:28:13 +01:00
Jan Böhmer
811dca691b Use native json_encode to convert treeView objects to JSON.
This should improve the performance.
2020-01-02 23:21:37 +01:00
Jan Böhmer
fbcfc1f2a8 Fixed some tests. 2020-01-02 23:03:25 +01:00
Jan Böhmer
d9b15ddbb9 Use new cached treeview nodes for twig inline generator (admin pages) 2020-01-02 22:55:28 +01:00
Jan Böhmer
ad69c32832 Cache the trees structures for treeViews used in the sidebar. 2020-01-02 18:45:41 +01:00
Jan Böhmer
9668d1084b Added an simple smoke test to ensure that pages are accessible. 2020-01-01 19:32:07 +01:00
Jan Böhmer
00b2d49b95 Use phpunit8.3 schema in phpunit.xml 2020-01-01 18:51:33 +01:00
Jan Böhmer
7e0e83ef15 Removed redirect to userSettings in RedirectController
We do this in an EventSubscriber now, so this is not needed anymore.
2020-01-01 18:23:30 +01:00
Jan Böhmer
311a342634 Fixed deprecation caused by datatype declaration. 2020-01-01 18:19:40 +01:00
Jan Böhmer
fcbf9239a1 Updated doctrine-bundle to version 2.0 2020-01-01 18:02:53 +01:00
Jan Böhmer
87259347e7 Regenerated the translation files using the new translation bundle version. 2020-01-01 17:42:13 +01:00
Jan Böhmer
722975afd8 Updated some packages to latest version. 2020-01-01 17:39:28 +01:00
Jan Böhmer
e16ae9390f Fixed tests. 2020-01-01 17:13:04 +01:00
Jan Böhmer
3f70b07614 Fixed wrong translation for authenticator app login field. 2020-01-01 16:41:48 +01:00
Jan Böhmer
62052fc947 Fixed wrong translation for old password field in user settings. 2020-01-01 16:23:30 +01:00
Jan Böhmer
55d26879ff Really restrict keyhandle length. 2020-01-01 16:13:54 +01:00
Jan Böhmer
84cb5acf6a Restrict keyhandle length to 64 chars to ensure compatibility with some older MySQL versions. 2020-01-01 16:12:15 +01:00
Jan Böhmer
be34a0f734 Require PHP 7.2 as minimum version
This allows us to upgrade many libs (including Symfony itself) and should not has a large impact as the most linux distros ships either PHP 7.0 or PHP 7.2.
2020-01-01 15:57:34 +01:00
Jan Böhmer
1016f0d4ee Merge branch '2fa' into master 2020-01-01 15:49:42 +01:00
Jan Böhmer
9b2e7a84a0 Added an logout link to U2F 2FA page. 2020-01-01 15:45:15 +01:00
Jan Böhmer
96fa3be7cc Added translations for 2FA. 2020-01-01 15:42:18 +01:00
Jan Böhmer
0c7a8bd85e Disable 2FA settings when demo mode is active. 2019-12-31 18:12:15 +01:00
Jan Böhmer
5ee9d5ade0 Updated copyright headers. 2019-12-31 17:58:01 +01:00
Jan Böhmer
cdd5027ee8 Redirect user if it need to add an 2FA method or need to change password 2019-12-31 17:54:51 +01:00
Jan Böhmer
3db0baa5e5 Fixed 2FA disable button in user admin. 2019-12-31 17:36:42 +01:00
Jan Böhmer
714e54853a Fixed problem that form was not submitted if it was submitted via an button without message. 2019-12-29 20:18:48 +01:00
Jan Böhmer
b4958cbaf8 Added infos about 2FA and possibilities to disable them all on user admin page. 2019-12-29 20:04:52 +01:00
Jan Böhmer
b5e80ec1b7 Prefer U2F as 2FA method if it is available. 2019-12-29 17:36:41 +01:00
Jan Böhmer
39aaab07c5 Moved user settings and 2FA related controller into its own class UserSettingsController. 2019-12-29 17:17:12 +01:00
Jan Böhmer
16bc257b17 Added confirm dialog before disabling google authenticator or regenerate backup codes. 2019-12-29 17:12:55 +01:00
Jan Böhmer
12dd269b3a Added possibilty to invalidate trusted devices. 2019-12-29 16:43:43 +01:00
Jan Böhmer
3e56352688 Added the possibility to delete a U2F key. 2019-12-29 16:20:09 +01:00
Jan Böhmer
069293a843 Added 2FA with U2F keys. 2019-12-29 13:35:30 +01:00
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