Commit graph

556 commits

Author SHA1 Message Date
Jan Böhmer
b73725bd9a Use Doctrine paginator in table adapter.
This fixes the problem that the pagination were wrong (only one element on a page and other things like that).
2020-01-16 21:42:29 +01:00
Jan Böhmer
fcd9291f7f Enforce a meaningful username format. 2020-01-08 20:57:46 +01:00
Jan Böhmer
fc8ab93752 Fixed missing invalidation of user tree views. 2020-01-08 20:50:37 +01:00
Jan Böhmer
3a081b6413 Fixed strict_types exception in PermissionEmbed. 2020-01-08 20:34:35 +01:00
Jan Böhmer
074f0286dc Fixed strict types exception in attachments list. 2020-01-07 19:38:11 +01:00
Jan Böhmer
5d98e87e20 Updated recipes for symfony/framework-bundle. 2020-01-07 19:06:08 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
2f20d90041 Fixed code to be analysable by Symplfiy Code style set. 2020-01-05 22:32:19 +01:00
Jan Böhmer
97f8afbc40 Fixed strict type exception occuring in UpdateExchangeRatesCommand. 2020-01-05 22:10:52 +01:00
Jan Böhmer
67a0dc8131 Fixed exceptions occuring cause of strict_types. 2020-01-05 21:09:19 +01:00
Jan Böhmer
fe0f69f762 Applied code style to tests/ 2020-01-05 15:55:16 +01:00
Jan Böhmer
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
a67404a311 Added missing translation in the attachment list. 2020-01-04 22:51:09 +01:00
Jan Böhmer
e293a7b5ab Use form for search submit. 2020-01-04 22:38:05 +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
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
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
e16ae9390f Fixed tests. 2020-01-01 17:13:04 +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
1016f0d4ee Merge branch '2fa' into master 2020-01-01 15:49:42 +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
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
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
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
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
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
35b5640627 Added an basic form to add Google Authenticator. 2019-12-23 17:20:28 +01:00
Jan Böhmer
2fa0963374 Prepared DB and models for Two Factor authentication 2019-12-14 16:35:19 +01:00