Commit graph

224 commits

Author SHA1 Message Date
Jan Böhmer
464a487a17 Added some simple time travel mechanism for part view.
In the moment it is not possible to show elements that were deleted.
2020-02-16 23:48:57 +01:00
Jan Böhmer
ab4149779b Escape settings for datatables to prevent issues, if some translations contain '. 2020-02-10 23:49:31 +01:00
Jan Böhmer
f79975832a Added an menu to show some simple statistics. 2020-02-10 23:26:45 +01:00
Jan Böhmer
743423432e Mark usernames with @. 2020-02-06 19:27:24 +01:00
Jan Böhmer
73c2aa232d Show the creating or last editing user in part or structure info. 2020-02-06 19:22:01 +01:00
Jan Böhmer
c0ff851e9b Reload whole page on user login/logout to show new entries in tools tree 2020-01-28 16:47:30 +01:00
Jan Böhmer
4ddc9251d1 Merge branch 'master' into log_system 2020-01-26 16:21:36 +01:00
Jan Böhmer
3f23ea851a Added russian to language selector. 2020-01-26 16:21:08 +01:00
Jan Böhmer
d0b3750594 Added an basic table to show log entries. 2020-01-24 22:57:04 +01:00
Jan Böhmer
24c33a3bbf Show number of elements in part infos tab.
This allows a quick view if there are elements in this tab.
2020-01-08 20:10:11 +01:00
Jan Böhmer
f5ceb9c20a Preload styles and javascripts directly via Webpack-Encore.
Webpack-encore offers this feature so it is not needed to implment this on our own.
2020-01-07 19:35:53 +01:00
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
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
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
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
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
ac0928426b Merge branch 'master' into 2fa 2019-12-26 15:07:32 +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
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
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
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
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
6a0d027675 Added an mechanism to reset passwords via mail. 2019-11-24 22:49:22 +01:00
Jan Böhmer
cd5f099965 Use format_datetime filters from twig core instead of deprecated twig/extensions 2019-11-23 14:48:21 +01:00
Jan Böhmer
3e4f5a1391 Show the proper fa-file-* icon on attachment edit fragment. 2019-11-10 18:23:03 +01:00
Jan Böhmer
8b80f31b1e Moved extension to fa-icon logic to a service.
That way we can use it from inside PHP code and the logic is more testable.
2019-11-10 18:19:06 +01:00
Jan Böhmer
9b481323aa Added rel=noopener to target=_blank links to prevent window.opener spoof. 2019-11-01 23:49:46 +01:00
Jan Böhmer
fdfb099cb5 Allow to restrict the file extensions for a attachment type. 2019-10-31 22:37:54 +01:00
Jan Böhmer
2187f5eac2 Allow to disable a user in admin settings.
When a user is disabled, he can not login.
2019-10-26 23:22:27 +02:00
Jan Böhmer
dd1dc54d97 Test the admin pages, if read/list/delete is working. 2019-10-26 22:27:04 +02:00
Jan Böhmer
4a6f327c70 Reload page after user has changed its own theme. 2019-10-13 18:01:13 +02:00
Jan Böhmer
0b69de332d Implemented different themes for Part-DB.
We use Bootswatch to provide different themed bootstrap CSS.
2019-10-13 17:48:18 +02:00
Jan Böhmer
0ebc5bfdad Fixed an exception when try to show info page of a part with invalid attachments. 2019-10-13 17:34:59 +02:00
Jan Böhmer
72db95ca70 Fixed exception on user admin. 2019-10-13 13:46:14 +02:00