Commit graph

50 commits

Author SHA1 Message Date
Jan Böhmer
b6f95ebe48 Allow to add a comment when editing/creating/deleting an element. 2020-02-23 00:44:52 +01:00
Jan Böhmer
c14d6d91ff Show element history on part info page in history tab. 2020-02-22 20:04:43 +01:00
Jan Böhmer
fff1864a68 Merge branch 'master' into time_machine 2020-02-22 18:16:58 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
464a487a17 Added some simple time travel mechanism for part view.
In the moment it is not possible to show elements that were deleted.
2020-02-16 23:48:57 +01:00
Jan Böhmer
96d7e4c9f4 Fixed inspection issues. 2020-02-02 14:05:36 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +01:00
Jan Böhmer
89acfff857 Dont call translator inside the form classes.
Translation is already done in the templates, so translator calls in form classes, are bad for performance and readability.
2019-12-26 14:53:13 +01:00
Jan Böhmer
6ddc937ec5 Fixed some inspection issues. 2019-11-10 14:00:56 +01:00
Jan Böhmer
e557bdedd5 Added an PHP CS fixer config file and applied it to files.
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01:00
Jan Böhmer
c955a3a221 Moved attachment related services into their own namespaces 2019-10-19 23:29:51 +02:00
Jan Böhmer
9385d28e40 Uploading now works everywhere. Show an flash message if the download fails. 2019-10-19 18:50:17 +02:00
Jan Böhmer
d382021fee Moved attachment form submit logic to a seperate service. 2019-10-19 17:13:13 +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
21a81486df Fixed some inspection issues. 2019-09-16 22:04:59 +02:00
Jan Böhmer
94ed78f66d Allow to delete parts. 2019-09-02 17:42:13 +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
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
0cc95f58da Reload form after persisting part changes, so the SIUnitType shows the correct unit. 2019-08-26 11:55:37 +02:00
Jan Böhmer
082a815f3a Show error message flash, when an validation error occured. 2019-08-25 18:15:58 +02:00
Jan Böhmer
1629f31fed Fixed some inspection issues. 2019-08-20 18:39:57 +02:00
Jan Böhmer
813e7dc85b Added the possibility to edit/create/delete part lots. 2019-08-19 23:31:16 +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
fd6961e2f3 Fixed exceptions on part info page 2019-08-15 22:34:37 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +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
953ac422df Rearranged info view 2019-08-02 12:35:59 +02:00
Jan Böhmer
e2f7aafa2d Used PHP_CS_Fixer with symfony preset on codebase. 2019-03-20 23:16:07 +01:00
Jan Böhmer
0f3ba9b6a8 Fixed some inspection issues. 2019-03-20 22:53:06 +01:00
Jan Böhmer
10f39b7f45 Added a 'clone part' function. 2019-03-19 19:53:23 +01:00
Jan Böhmer
33631f16cf Moved the part related templates into its own folder. 2019-03-19 19:06:33 +01:00
Jan Böhmer
01e1f27b68 Added a simple Voter for checking, if a user is allowed, to view/edit/create a part. 2019-03-18 19:05:41 +01:00
Jan Böhmer
c037a76651 Use /part/new route for creating a new part, and allow to use cid GET param to specify the category in which the part should be created. 2019-03-14 19:20:02 +01:00
Jan Böhmer
3da6b03b23 Render Comment and description as BBCode. 2019-03-13 20:14:19 +01:00
Jan Böhmer
061ca799e3 Added links between edit page and show page. 2019-03-13 18:41:32 +01:00
Jan Böhmer
22d2a3d3a1 Really save edited part to database. 2019-03-13 15:10:42 +01:00
Jan Böhmer
c9e0f550d9 Use a green box for part creation dialog. 2019-03-13 15:01:19 +01:00
Jan Böhmer
2d18014b35 Added an system for showing flash messages to user. 2019-03-13 14:53:12 +01:00
Jan Böhmer
cc1badb853 Added some basic part edit and create forms. 2019-03-13 13:23:12 +01:00
Jan Böhmer
44c482caf2 Declare visibility on controller functions. 2019-03-13 12:10:19 +01:00
Jan Böhmer
40714c1914 Allow to show the footprint image in part info.
Also added an placehoder image for parts, who dont have an image.
2019-03-12 19:59:18 +01:00
Jan Böhmer
2e3713cd5e Added Image files from old Part-DB. 2019-03-12 19:39:02 +01:00
Jan Böhmer
ba33399b20 Added a basic show category parts page with datatable 2019-03-05 23:52:45 +01:00
Jan Böhmer
62336c984b Updated copyright header. 2019-03-05 14:37:41 +01:00
Jan Böhmer
fd066dea64 Removed dump() calls in the Controllers.
They were only meant for testing the entities.
2019-02-25 13:17:50 +01:00
Jan Böhmer
f0bea8ff4d Added a basic show part info with new design. Not finished yet... 2019-02-24 18:05:06 +01:00