Commit graph

480 commits

Author SHA1 Message Date
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
4fe10b6169 Uploaded (non secure) attachments live now in public/
That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
2019-10-05 20:30:27 +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
07dcbc0464 If a newly created attachment is a picture, then assign it as master picture if no master picture was set yet. 2019-10-03 15:31:55 +02:00
Jan Böhmer
2872e334ac Show part preview image in part tables. 2019-10-03 14:53:50 +02:00
Jan Böhmer
6799ac90e5 Detect correctly if an attachment file is not existing. 2019-10-03 14:27:20 +02:00
Jan Böhmer
1395dae6e4 Cache list of builtin ressource attachments.
This should be a bit faster than searching every time.
2019-10-02 18:39:40 +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
da46257757 Moved attachment path conversion functions to own service. 2019-09-28 16:06:37 +02:00
Jan Böhmer
ac238c65a0 Remove .. from attachments pathes, to prevent leaking of internal files. 2019-09-25 16:49:44 +02:00
Jan Böhmer
253adee35b Removed dump functions, to prevent exception in production. 2019-09-24 18:53:05 +02:00
Jan Böhmer
67fe47bbb9 Generate internal filenames based on attachment name.
The filename of the uploaded file is now safed in the database.
2019-09-24 18:39:11 +02:00
Jan Böhmer
eb1d8fd4e4 Added possibility to add/edit attachments on Admin pages. 2019-09-24 18:28:35 +02:00
Jan Böhmer
a97d016740 Added some more tests.
Also changed the behavior of some code to meet the expectation.
2019-09-22 23:47:40 +02:00
Jan Böhmer
44bad9029b Hide nodes in tools menu, for which the user does not have permissions. 2019-09-13 19:58:38 +02:00
Jan Böhmer
856e20586f Added an admin page for the user groups. 2019-09-11 17:30:25 +02:00
Jan Böhmer
f7fc3dd2cc Added an translation extractor, that extracts permission labels. 2019-09-10 22:48:17 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
09329a158b Dont use SI Prefixes for part amounts without unit. 2019-09-08 18:45:39 +02:00
Jan Böhmer
a6f16315ee Format amounts in part tables using the partUnit 2019-09-08 18:19:29 +02:00
Jan Böhmer
1e48c552dc Use cached nodeslist when querying for subcategories.
This should increase performance for part lists.
2019-09-08 17:39:24 +02:00
Jan Böhmer
31e89e2e36 Allow to show parts in a storelocation or an supplier. 2019-09-08 17:30:58 +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
c8bc5d5214 Refactored EntityURL generator. 2019-09-08 14:23:49 +02:00
Jan Böhmer
c3fd325645 Allow to show parts for manufacturers and footprints. 2019-09-08 13:59:35 +02:00
Jan Böhmer
94ed78f66d Allow to delete parts. 2019-09-02 17:42:13 +02:00
Jan Böhmer
af3dfafe22 Respect the currency of the prices when calculating average part price. 2019-09-01 18:52:22 +02:00
Jan Böhmer
a479dc81c4 Show the price in base currency if exchange rates are available. 2019-09-01 14:37:53 +02:00
Jan Böhmer
8a80474b3a When formatting money strings, by default only show the trailing digits that are not zero. 2019-09-01 14:08:53 +02:00
Jan Böhmer
4391be448d Use bcmath to calculate correct prices. 2019-09-01 13:56:14 +02:00
Jan Böhmer
6b87823d5e Delete the file associated with an attachment after an attachment is delted or changed. 2019-08-27 22:24:56 +02:00
Jan Böhmer
87527dfdc6 Added an command which deletes all abandoned files created by attachments that dont exist anymore. 2019-08-27 18:54:02 +02:00
Jan Böhmer
09a5948149 Show infos about filename and filesize on attachment edit tab. 2019-08-26 23:46:38 +02:00
Jan Böhmer
3a11933a89 Allow to add/delete attachments via part edit page. 2019-08-26 23:30:35 +02:00
Jan Böhmer
5cc08af7b6 Show formatted amount values on part info page. 2019-08-26 15:09:05 +02:00
Jan Böhmer
e7cc53f046 Added a field for edit the mass of a part. 2019-08-24 12:55:47 +02:00
Jan Böhmer
8e23629dc0 Fixed exception in caching mechanism, if no user was logged in. 2019-08-20 18:18:11 +02:00
Jan Böhmer
1445d7475a Cache tools tree 2019-08-20 12:52:12 +02:00
Jan Böhmer
f75f17c92b Cache the tree nodes list generated for StructuralEntityType. 2019-08-20 12:34:43 +02:00
Jan Böhmer
c2b43f2cfa Show part mass in part info page. 2019-08-16 16:43:31 +02:00
Jan Böhmer
fd6961e2f3 Fixed exceptions on part info page 2019-08-15 22:34:37 +02:00
Jan Böhmer
fd4b474dbd Added admin page for measurement unit. 2019-08-14 18:31:46 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
87e6f641c3 Added an option for mass creation of structured data. 2019-08-12 22:41:58 +02:00
Jan Böhmer
408d98c6e1 Added database migration for new entities. 2019-08-12 18:04:53 +02:00
Jan Böhmer
ca48343293 Support external hosted attachments via link. 2019-08-10 19:16:56 +02:00
Jan Böhmer
05fd753189 Allow to download and view attachments via part info page. 2019-08-10 18:06:28 +02:00
Jan Böhmer
01a83d388b Show attachments in part info
WIP: viewing and downloading attachments is not possible yet.
2019-08-06 18:47:09 +02:00
Jan Böhmer
c2b4d100f0 Show shopping informations in part details 2019-08-02 12:17:56 +02:00