Commit graph

159 commits

Author SHA1 Message Date
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
445a3ddff6 Show exceptions that occurs occuring tests. 2020-03-29 18:24:10 +02:00
Jan Böhmer
3866082cb7 Fixed tests. 2020-03-29 18:18:17 +02:00
Jan Böhmer
b66aabd153 Tries to extract parameters from part description and comment. 2020-03-24 16:57:02 +01:00
Jan Böhmer
da09873be5 Fixed tests coding style. 2020-03-15 13:57:50 +01:00
Jan Böhmer
bc8748e6f4 Show parameters on info page & improved parameter editing. 2020-03-14 22:12:19 +01:00
Jan Böhmer
84d268aba3 Fixed Travis errors. 2020-03-07 21:36:33 +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
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
ab777bc264 Add some fixtures for parts to test part pages. 2020-02-09 22:10:29 +01:00
Jan Böhmer
743423432e Mark usernames with @. 2020-02-06 19:27:24 +01:00
Jan Böhmer
9f5a4ddf95 Fixed exception on log view. Added availability test for log view. 2020-02-02 19:58:55 +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
c8375bfa8b Add log entries on user login or logout. 2020-01-26 13:59:30 +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
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