Commit graph

43 commits

Author SHA1 Message Date
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
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
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
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
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
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
6a0adae8f3 Added the new fields to the part edit form. 2019-08-19 14:07:00 +02:00
Jan Böhmer
66ebdb357c Added an alert that pop ups, when an ajax request is not successfull
This includes a possibility to show the original response.
2019-04-13 19:45:24 +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
90b33159a5 Removed trailing slash from category and tools tree urls.
This maybe helps with the insecure loading problem on Heroku.
2019-04-05 23:15:40 +02:00
Jan Böhmer
27f2b040af Close all node before searching for nodes in admin menus. 2019-04-05 19:38:24 +02:00
Jan Böhmer
56d0c5eaf5 Dont use ajax for links starting with # (internal navigation). 2019-04-05 19:36:16 +02:00
Jan Böhmer
058b3a6b6b Added search function to the 3 main trees too. 2019-04-05 19:31:41 +02:00
Jan Böhmer
da16e27fcb Added search input and expand/reduce buttons to entity edit menu. 2019-04-05 19:08:30 +02:00
Jan Böhmer
d04a8626cb Show the count of the sub categories in the entity admin treeview. 2019-04-05 18:35:06 +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
6ae1429868 Check if CKEDITOR is defined, before updating them. 2019-04-05 13:08:26 +02:00
Jan Böhmer
f872f4a80c Show the correct url in browser, when we got redirected by the controller. 2019-03-29 14:59:56 +01:00
Jan Böhmer
3e7150735d Added a basic dialog for editing/creating attachmentType elements. 2019-03-28 19:24:34 +01:00
Jan Böhmer
4652339879 Use ajax link loading also on the higher pages in the part tables. 2019-03-28 13:17:46 +01:00
Jan Böhmer
b678f32b35 Removed ajax_ui.js. This could cause problems with webpack building. 2019-03-27 20:01:26 +01:00
Jan Böhmer
3c16ed6be7 Use a better style for the part table. 2019-03-27 19:03:02 +01:00
Jan Böhmer
528be3c000 Added back to top button. 2019-03-26 16:40:05 +01:00
Jan Böhmer
32a54293a5 Removed not used code. 2019-03-26 16:37:57 +01: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
afd45d464c Added working treeviews and buttons. 2019-03-25 12:44:44 +01:00
Jan Böhmer
82761a3454 Show flash messages after ajax request too. 2019-03-24 20:28:17 +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