Commit graph

214 commits

Author SHA1 Message Date
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
Jan Böhmer
11d45eaf59 Show a hint if an attachment is secure. 2019-10-13 13:34:26 +02:00
Jan Böhmer
329d8c871e Show git branch and commit hash on homepage if available. 2019-10-13 00:44:50 +02:00
Jan Böhmer
3c16632a89 Parse markdown in homepage banner. 2019-10-13 00:34:33 +02:00
Jan Böhmer
7ec406d4a1 Show markdown on pages. 2019-10-11 23:53:12 +02:00
Jan Böhmer
4c7767feed Show higher resolution thumbnail when hover over a table picture.
Also use thumbnails for attachment edit preview.
2019-10-06 15:44:19 +02:00
Jan Böhmer
1b28006267 Show attachment preview also in part edit page. 2019-10-04 18:11:16 +02:00
Jan Böhmer
f53cc08f52 Added an table to show all defined attachments. 2019-10-04 18:06:37 +02:00
Jan Böhmer
2d4def2836 Show preview pictures as carousel on part info page. 2019-10-03 18:03:56 +02:00
Jan Böhmer
0fc987f017 URL autocomplete now works on newly created attachments too. 2019-10-03 14:17:35 +02:00
Jan Böhmer
6645ab0b61 Allow to specify the 3d model for a footprint. 2019-10-03 14:04:09 +02:00