Jan Böhmer
61bd0bd15c
Fixed more PHPstan warnings.
2022-03-04 18:37:42 +01:00
Hannes Matuschek
af8c296abf
Fixed 'Number of parts with price information' statistic.
2020-08-30 17:59:16 +02:00
Jan Böhmer
3809539587
Implemented a stub DeviceRepository to prevent exception when try to delete a device.
...
Now the devices can not be deleted (but no exception), to prevent users to accidentally delete still useful devices from old Part-DB versions (as currently it is not possible to view which infos a device contains). This fixes issue #60 .
2020-08-21 23:28:46 +02:00
Jan Böhmer
349ab706cc
Apply symplify checkers.
2020-08-21 21:38:31 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
50cca40f77
Fixed "Limit to existing parts" function.
...
Fixed issue #72 .
2020-06-13 22:19:03 +02:00
Jan Böhmer
14adb77a97
Moved getParts() and getPartsCount() to a repository (instead of a class method).
2020-05-16 20:53:35 +02:00
Jan Böhmer
f5d685dfd4
Fixed coding style.
2020-05-10 21:39:31 +02:00
Jan Böhmer
8b372a3443
Allow to specify which label profiles are shown in dropdown.
2020-05-02 19:47:31 +02:00
Jan Böhmer
48ff81a6d1
Added dropdowns for quick generating labels for different profiles.
2020-05-01 20:29:18 +02:00
Jan Böhmer
747962884a
Group label profiles by their supported element on admin page.
2020-04-29 22:59:14 +02:00
Jan Böhmer
e89cc4bb01
Allow to generate multiple labels at once (multiple pages in 1 PDF file).
2020-04-21 00:00:29 +02:00
Jan Böhmer
a28747b7ba
Dont return null in getPartsInstockSum() function, when no part lots are defined yet.
...
This should fix issue #38 .
2020-04-08 16:41:04 +02:00
Jan Böhmer
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13:25 +02:00
Jan Böhmer
0fe83c7b3a
Removed unused variables.
2020-03-29 22:37:27 +02:00
Jan Böhmer
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +01:00
Jan Böhmer
5a5d7b24be
Allow to undo a change from event log.
2020-03-01 19:46:48 +01:00
Jan Böhmer
f604022e49
Allow to show collection elements that were deleted before by timetravel
2020-02-29 22:53:53 +01:00
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
f79975832a
Added an menu to show some simple statistics.
2020-02-10 23:26:45 +01:00
Jan Böhmer
73c2aa232d
Show the creating or last editing user in part or structure info.
2020-02-06 19:22:01 +01:00
Jan Böhmer
96d7e4c9f4
Fixed inspection issues.
2020-02-02 14:05:36 +01:00
Jan Böhmer
594c694ee0
Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations.
2020-02-01 19:48:07 +01:00
Jan Böhmer
f2ff77a8b3
Fixed coding style.
2020-02-01 16:17:20 +01:00
Jan Böhmer
3178dcbb6c
Added a console command to view the event log.
2020-01-26 20:12:08 +01:00
Jan Böhmer
d0b3750594
Added an basic table to show log entries.
2020-01-24 22:57:04 +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
1aed1d1d26
Fixed some inspection issues.
2020-01-04 20:14:42 +01:00
Jan Böhmer
fbcfc1f2a8
Fixed some tests.
2020-01-02 23:03:25 +01:00
Jan Böhmer
d9b15ddbb9
Use new cached treeview nodes for twig inline generator (admin pages)
2020-01-02 22:55:28 +01:00
Jan Böhmer
ad69c32832
Cache the trees structures for treeViews used in the sidebar.
2020-01-02 18:45:41 +01:00
Jan Böhmer
05870caf85
Upgrade password when a better method is available.
2019-11-30 15:28:09 +01:00
Jan Böhmer
6a0d027675
Added an mechanism to reset passwords via mail.
2019-11-24 22:49:22 +01:00
Jan Böhmer
33d6a25060
Fixed an deprecation message.
2019-11-23 17:00:16 +01:00
Jan Böhmer
d0f2667691
Only fetch database user from database once.
...
This should improve the performance a lot.
2019-11-15 18:58:58 +01:00
Jan Böhmer
bf8455fa42
Added tests on some security related classes.
2019-11-10 14:49:09 +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
7a9bfdf7f9
Added an comment about the recursive array_merge.
2019-09-16 22:23:02 +02:00
Jan Böhmer
90d449ea22
Prevent a user from lock itself out from the user system.
2019-09-11 18:50:23 +02:00
Jan Böhmer
1629f31fed
Fixed some inspection issues.
2019-08-20 18:39:57 +02:00
Jan Böhmer
cfa807c621
Added custom choice form type for tree structure entities.
2019-08-13 23:04:06 +02:00
Jan Böhmer
7826e3d2ad
Added entities and properties for some future features.
2019-08-12 15:47:57 +02:00