Commit graph

333 commits

Author SHA1 Message Date
Jan Böhmer
8921326b74 Fixed persistend datatables fixedHeaders on other page. 2020-01-05 14:15:10 +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
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
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
604ebe420d Added possibility to show backup codes in user settings. 2019-12-27 18:21:12 +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
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
6a0d027675 Added an mechanism to reset passwords via mail. 2019-11-24 22:49:22 +01:00
Jan Böhmer
09995330af Fixed an exception on part tables, when an attachment is external. 2019-11-10 19:58:35 +01:00
Jan Böhmer
2f1ff14a54 Added some margin between tags in tags input: 2019-11-10 19:51:32 +01:00
Jan Böhmer
af214831da Enabled markdown in description field. 2019-11-10 19:43:55 +01:00
Jan Böhmer
f5c2a7b728 Make tags in part table more pretty. Also added link to tags search. 2019-11-10 19:38:36 +01:00
Jan Böhmer
05d6b0aa93 Show (iconized) links to attachments on parts table. 2019-11-10 19:16:39 +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
7a5a2f65f9 Added autocomplete for part tags input. 2019-11-01 23:07:31 +01:00
Jan Böhmer
767ee59fb8 Apply the filetype filter to accept attribute of file input.
This way only files are shown which match the current attachment type and the user knows directly which file types are allowed or not.
2019-11-01 22:04:30 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01: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
c814bae3af Use bootstrap styles for markdown tables. 2019-10-12 19:03:50 +02:00
Jan Böhmer
be8f074ca5 Render markdown on the client side and use DOMPurify to prevent XSS.,
The parsedown parser has problems with links in <>, so we use marked.js now which is more conform with (GFM) CommonMark and offers more feautures. Also with the usage of DOMPurify you can now use every HTML tag in Markdown without need to worry about XSS.
2019-10-12 17:41:13 +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
2872e334ac Show part preview image in part tables. 2019-10-03 14:53:50 +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
4beb3631ab Typeahead input now fills the whole container again. 2019-10-03 14:14:33 +02:00
Jan Böhmer
280b2d4427 Fixed some 404 errors when using Part-DB without URL rewriting.
Fixed problems with the ajaxUI. Also added an ENV option that RedirectController redirects you to index.php/en page version.
2019-10-03 00:45:02 +02:00
Jan Böhmer
2c34c5f9cb Fixed typescript compile warnings 2019-10-02 18:47:11 +02:00
Jan Böhmer
3277d98ee2 Added a simple autocomplete mechanism for the footprint URL. 2019-10-02 17:28:40 +02:00
Jan Böhmer
02b71eeab8 Hide scrollbar of sidebar menu on firefox too. 2019-09-25 12:33:06 +02:00
Jan Böhmer
e4f5afb628 Fixed typescript exception about missing js-cookie library. 2019-09-20 16:24:49 +02:00
Jan Böhmer
10ec2adc66 Use localstorage instead of Cookies to save tree state.
That way we dont need to include the cookie js lib and save some memory.
2019-09-20 14:04:06 +02:00
Jan Böhmer
7f6c9b614f Added an button to hide the sidebar.
Feature wished by Mr.AtiX. That way you can view tables in full screen.
2019-09-20 13:55:52 +02:00
Jan Böhmer
1a0e5408af Removed bootstrap aweseome checkbox
We now use Bootstrap 4's custom controls.
2019-09-18 18:40:59 +02:00
Jan Böhmer
2cfad83ee8 Fixed problem that history url was not updated after pop state. 2019-09-17 22:59:18 +02:00
Jan Böhmer
edabaeaced Keep the opened tab open after submit or reload of a page.
Also we can now jump to tabs using a hash link, which is useful, for editing quickjumps.
2019-09-17 22:43:33 +02:00
Jan Böhmer
c2c9f3a938 Fixed compile error in event listeners. 2019-09-11 16:55:52 +02:00
Jan Böhmer
35dd1fabc0 Added an checkbox to change all operations of a permission. 2019-09-11 16:46:59 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
429a4ebd17 Added links to part_lists on part info page. 2019-09-08 16:20:53 +02:00
Jan Böhmer
8dc9c7b9ae Added an info panel to categories list. 2019-09-08 13:37:11 +02:00
Jan Böhmer
a48b8290b3 Allow reordering of the parts table columns. 2019-09-06 18:37:03 +02:00
Jan Böhmer
720e1cd04e Added some additional columns to part list.
They are hidden by default but can be shown by a colvis button.
2019-09-06 18:25:24 +02:00
Jan Böhmer
b1b492171d Improved styling for orderdetails edit. 2019-08-30 14:40:02 +02:00
Jan Böhmer
6a0adae8f3 Added the new fields to the part edit form. 2019-08-19 14:07:00 +02:00
Jan Böhmer
bcdba8b3e0 For images show a preview picture instead of the symbol 2019-08-11 17:24:54 +02:00