Commit graph

53 commits

Author SHA1 Message Date
Jan Böhmer
8ccf5652ab Implement darkmode using stimulus. 2022-07-30 00:33:22 +02:00
Jan Böhmer
671e0944a2 Implement hoverpic using stimulus. 2022-07-29 23:54:49 +02:00
Jan Böhmer
9519150fb9 Do not use jQuery for TabRemember Helper. 2022-07-29 23:26:30 +02:00
Jan Böhmer
47130846a2 Readd tab remember function to improve UX. 2022-07-29 22:52:58 +02:00
Jan Böhmer
4c57c7fe46 Fixed wrong comparisons operators in error_handler 2022-07-26 23:14:27 +02:00
Jan Böhmer
156301b8a4 Use bs-info color from bootstrap css variable for search highlighting in treeview. 2022-07-24 23:47:12 +02:00
Jan Böhmer
270d622265 Migrated badges to BS5. 2022-07-24 22:39:32 +02:00
Jan Böhmer
6885aefbe7 Do not show error box if an validation error occurs. 2022-07-24 21:28:18 +02:00
Jan Böhmer
9ed487c629 Fixed tristate inputs (used for permissions input) 2022-07-24 21:12:11 +02:00
Jan Böhmer
489f4b939a Fixed bootstrap-selectpickers on bootstrap 5 2022-07-24 20:23:12 +02:00
Jan Böhmer
5d6f244e71 Fixed dropdown in error box. 2022-07-24 18:58:35 +02:00
Jan Böhmer
365c7c60e4 Started to upgrade from bootstrap 4 to 5. 2022-07-24 18:08:21 +02:00
Jan Böhmer
390deca544 Toasts now work with turbo 2022-07-24 14:20:20 +02:00
Jan Böhmer
cb683f611c Use stimulus controller to implement barcode scanner. 2022-03-07 01:28:32 +01:00
Jan Böhmer
7fa4f09885 Show the user an error alert, if a ajax page is not loading via Turbo, 2022-03-07 00:40:36 +01:00
Jan Böhmer
f21c339046 Added a stimulus controller for tagsinput. 2022-03-06 23:45:45 +01:00
Jan Böhmer
f276c436ae Initialize selectpicker via stimulus controller. 2022-03-06 23:27:20 +01:00
Jan Böhmer
b9a86c6a59 Moved some javascript into events_base.js 2022-03-06 14:45:01 +01:00
Jan Böhmer
fed1621a58 Added datatables with turbo frames. 2022-03-05 23:28:29 +01:00
Jan Böhmer
41e0b251a9 Enabled treeview with turbo frames. 2022-03-05 23:09:55 +01:00
Jan Böhmer
f60ef33736 Load stimulus controllers properly 2022-03-04 20:59:08 +01:00
Jan Böhmer
a846f373c0 Added webpack asset size analyzer. 2020-06-13 21:24:24 +02:00
Jan Böhmer
5302087eba Use server side library to generate QR-Code for Google authenticator.
This saves us 50KB in javascript assets...
2020-05-13 19:58:12 +02:00
Jan Böhmer
0fd677d2fd Render the formula symbols of the properties. 2020-03-15 14:53:20 +01:00
Jan Böhmer
120eb30b11 Fixed search function. 2020-03-08 11:46:31 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +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
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
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
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
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
3277d98ee2 Added a simple autocomplete mechanism for the footprint URL. 2019-10-02 17:28:40 +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
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
a48b8290b3 Allow reordering of the parts table columns. 2019-09-06 18:37:03 +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
fbfb0269d3 Improved checkboxes and file input on import dialog. 2019-04-13 18:24:53 +02:00
Jan Böhmer
7c43feefbe Added possibillity to delete attachments in admin page. 2019-04-06 18:38:36 +02:00
Jan Böhmer
650b388a1d Show a treeview in the admin menus, to select between the different elements. 2019-04-05 17:49:02 +02:00
Jan Böhmer
3e54d35fac Added an simple event system and readded some functions from the legacy Part-DB. 2019-03-26 16:34:14 +01:00
Jan Böhmer
c0f44b76f3 Init datatables even after ajax requests. 2019-03-26 15:49:50 +01:00
Jan Böhmer
8711f296a4 Use ajax for form requests too. 2019-03-24 20:25:27 +01:00
Jan Böhmer
b3db1dd139 Added simple single page ajax handling for a links. 2019-03-24 19:55:39 +01:00
Jan Böhmer
715de5b67c Added a simple system for treeViews. 2019-03-24 15:25:40 +01:00
Jan Böhmer
fd4fa7f58d Added a remember me function to the login form. 2019-03-14 18:27:29 +01:00
Jan Böhmer
86eda36a2e Added fields to edit category, storelocations and manufacturer of a part. 2019-03-14 12:56:55 +01:00