Commit graph

1512 commits

Author SHA1 Message Date
Jan Böhmer
3e7150735d Added a basic dialog for editing/creating attachmentType elements. 2019-03-28 19:24:34 +01:00
Jan Böhmer
72dc7334ec Dont use absolute paths in Attachment file generator. 2019-03-27 20:10:14 +01:00
Jan Böhmer
943d235b8b Added some unit tests. 2019-03-26 23:34:40 +01:00
Jan Böhmer
570aa68535 Added show all parts to tools tree. 2019-03-26 15:57:51 +01:00
Jan Böhmer
bec7a21517 Use escaped name for groups. This fixes an exception on some MySQL servers. 2019-03-25 22:03:52 +01:00
Jan Böhmer
afd45d464c Added working treeviews and buttons. 2019-03-25 12:44:44 +01:00
Jan Böhmer
8711f296a4 Use ajax for form requests too. 2019-03-24 20:25:27 +01:00
Jan Böhmer
ca8ef1d5bd Added an event subscriber, which injects a header helpful for debugging single page apps. 2019-03-24 17:21:59 +01:00
Jan Böhmer
715de5b67c Added a simple system for treeViews. 2019-03-24 15:25:40 +01:00
Jan Böhmer
22c836096e Use ContainerInterface from DependencyInjection Component
This enables better autocomplete.
2019-03-21 14:15:05 +01:00
Jan Böhmer
96214bffc4 Cache the parsed permission file. This should improve the performance a bit. 2019-03-21 13:43:13 +01:00
Jan Böhmer
df40f712a6 Get a annotaion reader by Symfony. This way the annotations get cached, and it is much faster in production. 2019-03-21 13:09:42 +01:00
Jan Böhmer
3fe452626d Fixed some inspection issues. 2019-03-20 23:24:20 +01: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
b5fecee465 Use ColumnSecurity for remaing part properties. 2019-03-20 22:30:03 +01:00
Jan Böhmer
47fe76b22e Added a possibility to restrict the access to certain entity columns. 2019-03-20 19:11:34 +01:00
Jan Böhmer
f31336bb87 Added a console command to set the password of a user. 2019-03-20 12:27:11 +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
8d36bf913d Check permissions in edit part form. 2019-03-19 19:00:39 +01:00
Jan Böhmer
6ed2eeabae Check for permissions before showing user infos or allow the user to change its own infos. 2019-03-19 18:36:05 +01:00
Jan Böhmer
4d39d5cfb7 Use anonymous user permissions, if nobody is logged in. 2019-03-19 17:17:04 +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
ab3f5db174 Added some translations 2019-03-15 18:59:07 +01:00
Jan Böhmer
1b8b5d927f Added form to allow a user to change its own password. 2019-03-15 18:38:45 +01:00
Jan Böhmer
62fe4afd74 Added a simple dialog for changing user settings. 2019-03-15 18:04:15 +01:00
Jan Böhmer
e28eb3b84d Added Group entity, and allow to show group name in user info. 2019-03-15 13:18:47 +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
218eec874d Added page to show user informations. 2019-03-14 19:10:11 +01:00
Jan Böhmer
62d875d1e5 Added user entity and basic login/logout system. 2019-03-14 18:01:41 +01:00
Jan Böhmer
6d7150e202 Added symfony translation bundle, and updated german translations. 2019-03-14 13:32:41 +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
Jan Böhmer
3da6b03b23 Render Comment and description as BBCode. 2019-03-13 20:14:19 +01:00
Jan Böhmer
daad7ec60a Added CKEditor field to edit bbcode WYSIWYG style. 2019-03-13 19:36:46 +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
63c7beb05b Added comment and manufacturer URL fields to edit page. 2019-03-13 15:49:17 +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
95cd56f0bd Show the version number of Part-DB on homepage. 2019-03-12 13:34:33 +01:00
Jan Böhmer
ce77f287e7 Added a route to show all parts. 2019-03-06 00:02:33 +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
8c8bbbbd86 Use Assert lib for value checking in setters 2019-03-05 17:02:48 +01:00
Jan Böhmer
6276d93389 enforce strict typing for all entities. 2019-03-05 14:54:42 +01:00
Jan Böhmer
72afb1de40 Added setter for show in table to Attachment entity 2019-03-05 14:52:23 +01:00