Commit graph

145 commits

Author SHA1 Message Date
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
fe0f69f762 Applied code style to tests/ 2020-01-05 15:55:16 +01:00
Jan Böhmer
2b81447c52 Fixed test. 2020-01-05 00:20:29 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +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
9668d1084b Added an simple smoke test to ensure that pages are accessible. 2020-01-01 19:32:07 +01:00
Jan Böhmer
7e0e83ef15 Removed redirect to userSettings in RedirectController
We do this in an EventSubscriber now, so this is not needed anymore.
2020-01-01 18:23:30 +01:00
Jan Böhmer
e16ae9390f Fixed tests. 2020-01-01 17:13:04 +01:00
Jan Böhmer
0c7a8bd85e Disable 2FA settings when demo mode is active. 2019-12-31 18:12:15 +01:00
Jan Böhmer
cdd5027ee8 Redirect user if it need to add an 2FA method or need to change password 2019-12-31 17:54:51 +01:00
Jan Böhmer
3e56352688 Added the possibility to delete a U2F key. 2019-12-29 16:20:09 +01:00
Jan Böhmer
604ebe420d Added possibility to show backup codes in user settings. 2019-12-27 18:21:12 +01:00
Jan Böhmer
fba5f9794f Added an service for generating Backup codes and added some tests. 2019-12-27 15:20:06 +01:00
Jan Böhmer
6405dee0ac Made tests compatible with phpunit 8
The new simple-phpunit wrapper is selects the best phpunit version automatically and removes all the void return types if needed.
2019-11-23 19:12:49 +01:00
Jan Böhmer
445b6b6a2b Fixed some deprecations related to kernel controller tests. 2019-11-23 15:03:08 +01:00
Jan Böhmer
8b80f31b1e Moved extension to fa-icon logic to a service.
That way we can use it from inside PHP code and the logic is more testable.
2019-11-10 18:19:06 +01:00
Jan Böhmer
bf8455fa42 Added tests on some security related classes. 2019-11-10 14:49:09 +01:00
Jan Böhmer
3438f15274 Added some more tests. 2019-11-09 16:14:57 +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
89258bc102 Added some tests for important entity methods. 2019-11-09 00:31:42 +01:00
Jan Böhmer
a0c3410db6 Centralized setElement logic for *Attachment entities. 2019-11-08 22:05:12 +01:00
Jan Böhmer
a516879258 Fixed an exception in getmaxDiscountAmount().
This should fixes an 500 error code, that showed up on some pages. Also added a test method to test this function.
2019-11-05 17:05:04 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01:00
Jan Böhmer
93716c8583 Dont let Webclient catch exceptions during testing of the admin pages. 2019-10-31 23:05:20 +01:00
Jan Böhmer
fdfb099cb5 Allow to restrict the file extensions for a attachment type. 2019-10-31 22:37:54 +01:00
Jan Böhmer
dd1dc54d97 Test the admin pages, if read/list/delete is working. 2019-10-26 22:27:04 +02:00
Jan Böhmer
45a624d768 Added tests for RedirectController 2019-10-20 14:35:19 +02:00
Jan Böhmer
40ca5bd0e4 Use dataProviders in AttachmentTest. 2019-10-20 00:24:52 +02:00
Jan Böhmer
c955a3a221 Moved attachment related services into their own namespaces 2019-10-19 23:29:51 +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
5c19a784ce Fixed testing failure. 2019-10-13 21:00:47 +02:00
Jan Böhmer
8cfaee5c62 Added an console command to convert the old BBCode comments to markdown 2019-10-13 00:32:09 +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
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
da46257757 Moved attachment path conversion functions to own service. 2019-09-28 16:06:37 +02:00
Jan Böhmer
2001680542 Allow to specifiy a path to a builtin ressource via the url field. 2019-09-25 16:03:22 +02:00
Jan Böhmer
97cb91a3b2 Implement new attachment property in its getters/setters. 2019-09-24 16:36:41 +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
00b19732cc Fixed error in tests. 2019-09-22 21:35:22 +02:00
Jan Böhmer
c2b43f2cfa Show part mass in part info page. 2019-08-16 16:43:31 +02:00
Jan Böhmer
943d235b8b Added some unit tests. 2019-03-26 23:34:40 +01:00
Jan Böhmer
e5bec36c80 Initial commit 2019-02-23 16:49:38 +01:00