Commit graph

56 commits

Author SHA1 Message Date
Jan Böhmer
48c70c3bb4 Added way to batch edit the location of parts with a single stock 2025-03-29 16:21:10 +01:00
Jan Böhmer
7d834ac8d7 Include the query part of the request, when generating the url for the datatables via a custom twig function.
This fixes issue #735, as without this the query gets not passed to the datatable
2024-10-16 23:57:02 +02:00
Jan Böhmer
abc5c61a06 Fixed problem, that search field and search options did not close when clicking outside
This fixes issue #701. For the search field this was caused by algolia/autocomplete lib, which do not support multiple autocomplete fields on a single page. If initailly loaded on the homepage, which features a second autocomplete, this one "steals" the input listening, and the one in the navbar do not close anymore when clicking outside.
Custom code which triggers the closing of the autocomplete manually when clicking outside, was added as a workaround.
2024-10-13 23:19:03 +02:00
Jan Böhmer
7145bce605 Construct the correct current path, when serving from a subdirectory
This fixes issue #274
2024-10-13 22:49:42 +02:00
Jan Böhmer
a6db67ab33 Fixed margins of the upload files button 2024-03-02 18:33:20 +01:00
Jan Böhmer
b92553f480 Added button to create attachments by uploading multiple files
This fixes issue #481
2024-03-02 18:26:50 +01:00
Jan Böhmer
e0ef376cf0 Fixed various problems with the quicksearch 2024-02-29 23:00:21 +01:00
Jan Böhmer
04aeab7ea6 Renamed the quicksearch controller 2024-02-29 22:50:26 +01:00
Jan Böhmer
1815162907 Added a search bar to homepage 2024-02-29 22:46:19 +01:00
Jan Böhmer
cd91dc8b5a Fixed wrong path for event log datatables, when accessing via a prefixed reverse proxy 2023-12-10 21:40:49 +01:00
Jan Böhmer
c5435df6f9 Add a blue dot to the collection type delete buttons in forms to indicate that this element was not yet saved to DB yet 2023-11-20 23:40:14 +01:00
Jan Böhmer
7163df6d46 Fixed paths generated using app.request.requestUri when in a reverse proxy with a subpath
Related to issue #428
2023-11-11 23:14:22 +01:00
Jan Böhmer
80bae4167f Added button to inverse part selection in tables
Fix issue #346
2023-08-21 22:49:02 +02:00
Jan Böhmer
1fb334b0ca Show a notification on homepage and server info page if there is a new version available. 2023-08-04 23:49:26 +02:00
Jan Böhmer
fc7e436ca9 Improved image and attachment viewing on part info page 2023-07-23 01:32:28 +02:00
Jan Böhmer
f57a0ecba2 Use correct permission name 'show_private' instead of 'show_secure' in templates
This fixes issue #307
2023-06-28 16:30:16 +02:00
Jan Böhmer
6081fe3295 Fixed darkmode for some elements 2023-06-20 01:01:40 +02:00
Jan Böhmer
6df65a0b9d Implemented a new darkmode selector using bootstrap 5.3 color mode 2023-06-19 01:08:11 +02:00
Jan Böhmer
f86d35f8d1 Dont disable the table multi action submit button, when user can not change parts as we use it for exporting and label generation too 2023-03-18 21:52:29 +01:00
Jan Böhmer
49944cda87 Added possibility to export Parts from part tables 2023-03-12 00:27:04 +01:00
Jan Böhmer
5aaba102a7 Improved rendering of attachment icons 2023-03-06 00:01:54 +01:00
Jan Böhmer
9d1cd0477a Fixed problems with non-unique prototype names when using nested collection type, which prevented to create nested entries with mulitple new sub entries.
We now use a unique prototype name for every collection field. This fixes issue #219
2023-02-19 22:39:26 +01:00
Jan Böhmer
1e998fccbb Put delete option on multiaction select in its own optgroups so it does not look like it belongs to the project optgroup 2023-02-19 21:58:55 +01:00
Jan Böhmer
39765f05dd Improved styling of part multiselect action 2023-02-06 00:33:57 +01:00
Jan Böhmer
7ff1584eb9 Fixed multi-part action selectors. 2023-02-06 00:08:32 +01:00
Jan Böhmer
a925597565 Show entity preview image on admin page 2023-02-05 20:00:11 +01:00
Jan Böhmer
9097220026 Renamed parts/ templates folder to recommended snake_case style 2023-02-04 23:05:39 +01:00
Jan Böhmer
76ec63e760 Added a tab "Build" to project info page, where you can see how often you can build this project. 2023-01-18 23:07:51 +01:00
Jan Böhmer
cbe010ee67 Allow to mass generate labels via part table multiselect. 2023-01-15 23:36:22 +01:00
Jan Böhmer
7b6a906d98 Renamed "devices" permission to "projects" 2023-01-08 20:10:58 +01:00
Jan Böhmer
513e7f3851 Use name "project" instead of "device" everywhere in the frontend 2023-01-08 19:36:56 +01:00
Jan Böhmer
15677937a2 Do not use full urls when not needed, to prevent issues with SSL mixed content 2022-12-28 23:37:50 +01:00
Jan Böhmer
25494c9ddf Added a page to quickly add many parts to a project from parts lists. 2022-12-28 23:32:46 +01:00
Jan Böhmer
39ed00c7c0 Fixed issue with removing the bom entries caused by the multiple collapse rows 2022-12-28 23:06:52 +01:00
Jan Böhmer
6ce6b97b1e Allow to change needs review status using parts multiselect action 2022-11-29 00:18:11 +01:00
Jan Böhmer
5e06557cf0 Removed field permissions from Part edit page 2022-11-06 21:29:03 +01:00
Jan Böhmer
3e85fc4d42 Improved access control for part lists. 2022-10-31 23:10:21 +01:00
Jan Böhmer
d0f7949bc9 Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints) 2022-10-31 22:47:45 +01:00
Jan Böhmer
9adebc35c5 Moved attachment_icon logic to attachment.macro.html.twig 2022-10-09 20:49:24 +02:00
Jan Böhmer
a01ed3acf6 Moved quick link logic into an macro 2022-10-09 20:39:51 +02:00
Jan Böhmer
38ff9bae4a Use common settings for all element history tables 2022-10-09 20:27:31 +02:00
Jan Böhmer
a9e527ce2a Refactored TwigExtensions Part 2 2022-09-18 17:50:25 +02:00
Jan Böhmer
74c5a8e8b1 Allow to set the state_save_tag for non-part datatables. 2022-09-09 00:43:45 +02:00
Jan Böhmer
82a6ab1d4a Persist column visibility and ordering across requests and different parts tables. 2022-09-09 00:41:35 +02:00
Jan Böhmer
e6408a4dff Pass the full request URI (including GET params) to the datatables controller
Search options are passed as GET params and were therefore ignored before. This fixes issue #165.
2022-08-13 23:07:05 +02:00
Jan Böhmer
f21cd55b2e Show badges with the number of child nodes in the admin page treeviews again. 2022-08-13 01:05:32 +02:00
Jan Böhmer
e7fa1ebcb8 Added an parameter to decide, if the root tree node should be expanded or not
Related to issue #158, but it does not work due to a very buggy treeview...
2022-08-05 00:24:28 +02:00
Jan Böhmer
cb16819340 Allow to configure which tree panels are shown in the sidebar
Adresses issue #158
2022-08-04 23:13:43 +02:00
Jan Böhmer
b51aa0951e Fixed error, when creation of new elements is disabled in collectionTypes.
This for example happens if the user does not have the permission to create new elements.
2022-08-04 00:06:22 +02:00
Jan Böhmer
8323f374a4 Implement attachment CollectionType using stimulus 2022-08-03 20:28:27 +02:00