Commit graph

992 commits

Author SHA1 Message Date
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
Jan Böhmer
62336c984b Updated copyright header. 2019-03-05 14:37:41 +01:00
Jan Böhmer
af5a7f8986 Removed @warning and @note tags used by doxygen before.
The Annotation readers of Symfony and Doctrine does not like them...
2019-03-05 14:15:18 +01:00
Jan Böhmer
a94a5690e1 Added Doctrine LifecycleCallback, so that entity timestamps are updated
When entity data is changed.
2019-03-05 14:02:36 +01:00
Jan Böhmer
52acac3681 Renamed getDatetimeAdded so it has the same name as the coloumn name 2019-03-05 13:57:40 +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
5b49dc2a3f Added the base layout from the old Part-DB. 2019-02-24 18:32:03 +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
Jan Böhmer
f8bd1458d3 Added some nullable attributes to entitys. 2019-02-24 12:59:41 +01:00
Jan Böhmer
ee29ad3e5a Return $this in Entitys setters, so that they can be chained. 2019-02-24 12:54:11 +01:00
Jan Böhmer
7dbdb959b8 Introduced empty PartRepository for later use. 2019-02-23 22:52:48 +01:00
Jan Böhmer
160e826b51 Added Doctrine Entities. 2019-02-23 22:41:13 +01:00
Jan Böhmer
e5bec36c80 Initial commit 2019-02-23 16:49:38 +01:00