Commit graph

94 commits

Author SHA1 Message Date
Jan Böhmer
12b3107188 Added an setting to disable password reset mechanism.
By default the pw reset is disabled, when no email server is configured.
2019-12-01 12:48:59 +01:00
Jan Böhmer
9567c15648 Updated composer packages. 2019-11-30 15:43:30 +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
9c22149afd Let doctrine detect its driver and db_version automatically. 2019-11-23 18:01:45 +01:00
Jan Böhmer
1ae905ae78 Use number aware naming strategy for doctrine.
Fixes a deprecation notice.
2019-11-23 17:48:24 +01:00
Jan Böhmer
9b09d88b7b Specify controller path as path relative to src/.
This fixes a deprecation introduced in symfony 4.4.
2019-11-23 17:15:14 +01:00
Jan Böhmer
fa4f3aadd6 Fixed deprecation related to exception_controller. 2019-11-23 15:14:16 +01:00
Jan Böhmer
cd5f099965 Use format_datetime filters from twig core instead of deprecated twig/extensions 2019-11-23 14:48:21 +01:00
Jan Böhmer
26fe946de3 Run some linters on TravisCI to ensure basic integrity of files. 2019-11-21 22:27:17 +01:00
Jan Böhmer
50a173d57c Updated symfony to 4.4 2019-11-21 22:16:30 +01:00
Jan Böhmer
338b2bb7fe Include stacktraces in demo logs. 2019-11-10 20:14:06 +01:00
Jan Böhmer
ae753c8cca Include stacktraces in demo logs. 2019-11-10 20:09:33 +01:00
Jan Böhmer
0663a00df8 Fixed deprecation warning from DotEnv component. 2019-11-08 22:37:16 +01:00
Jan Böhmer
e66fcc85fc Use plaintext password encoding in test environment.
That speeds up tests alot.
2019-11-08 21:15:21 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +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
2187f5eac2 Allow to disable a user in admin settings.
When a user is disabled, he can not login.
2019-10-26 23:22:27 +02:00
Jan Böhmer
45a624d768 Added tests for RedirectController 2019-10-20 14:35:19 +02:00
Jan Böhmer
89acf91fe6 Added an demo mode option, where the user password change dialog is disabled. 2019-10-20 00:01:06 +02:00
Jan Böhmer
896299bc4d Allow to specify homepage banner via ENV. Otherwise the content of the file config/banner.md is used. 2019-10-19 23:20:19 +02:00
Jan Böhmer
5042d5720a Disable attachment file downloads by default. 2019-10-19 19:55:15 +02:00
Jan Böhmer
27a001b1d2 Added an option to download a attachment via URL. Implemented secure attachments, which can not be accessed by URL and requires authentication. 2019-10-19 18:42:06 +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
0b69de332d Implemented different themes for Part-DB.
We use Bootswatch to provide different themed bootstrap CSS.
2019-10-13 17:48:18 +02:00
Jan Böhmer
b478170d7f Added more features to CKeditor toolbar. 2019-10-12 18:53:15 +02:00
Jan Böhmer
46959b74ed Use markdown inside CKEditors.
Markdown offers more features and looks much cleaner than BBCode.
2019-10-11 19:01:07 +02:00
Jan Böhmer
4c7767feed Show higher resolution thumbnail when hover over a table picture.
Also use thumbnails for attachment edit preview.
2019-10-06 15:44:19 +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
280b2d4427 Fixed some 404 errors when using Part-DB without URL rewriting.
Fixed problems with the ajaxUI. Also added an ENV option that RedirectController redirects you to index.php/en page version.
2019-10-03 00:45:02 +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
01da705b54 Collect backtrace for each doctrine query. 2019-09-18 17:53:48 +02:00
Jan Böhmer
c94d3cdc68 Explicitly set that our utc datetypes does not need an comment
This fixes an deprecation warning.
2019-09-17 14:02:30 +02:00
Jan Böhmer
1f005b25f7 Set useful default permission values for the default groups, when migrating. 2019-09-13 19:04:48 +02:00
Jan Böhmer
da14ee942d Added permissions for the new functions. 2019-09-13 17:13:58 +02:00
Jan Böhmer
d2bae3a4f2 Use the users timezone for showing dates from the database.
In the database the values are now saved in UTC.
2019-09-12 22:16:33 +02:00
Jan Böhmer
adf5db1a0a Fixed redirection, when no locale and no valid path were given 2019-09-12 21:41:38 +02:00
Jan Böhmer
6e74eb8276 Match only valid locales for localized routes. 2019-09-12 18:30:12 +02:00
Jan Böhmer
0bfcec77fb Use language setting of users when logging in. 2019-09-12 17:50:33 +02:00
Jan Böhmer
2c866186b0 Check permission when changing permissions for users. 2019-09-11 17:00:03 +02:00
Jan Böhmer
ac302ab16a Allow to specify operations that also need to be set.
When the edit operation is set, the read permission is now set too.
2019-09-11 13:37:51 +02:00
Jan Böhmer
55983102ed Added translations for permissions. 2019-09-10 23:28:08 +02:00
Jan Böhmer
f7fc3dd2cc Added an translation extractor, that extracts permission labels. 2019-09-10 22:48:17 +02:00
Jan Böhmer
8b8afb63f6 Added labels to permissions. 2019-09-10 18:35:24 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
243bc7b3c7 Show colvis button also on bottom of the parts table. 2019-09-08 18:34:06 +02:00
Jan Böhmer
720e1cd04e Added some additional columns to part list.
They are hidden by default but can be shown by a colvis button.
2019-09-06 18:25:24 +02:00
Jan Böhmer
0ec73618ac Set the correct database version, otherwise we get messy migrations. 2019-09-02 14:21:40 +02:00
Jan Böhmer
a479dc81c4 Show the price in base currency if exchange rates are available. 2019-09-01 14:37:53 +02:00
Jan Böhmer
4391be448d Use bcmath to calculate correct prices. 2019-09-01 13:56:14 +02:00
Jan Böhmer
8c6342bffe Added an page for editing order informations 2019-08-30 14:25:05 +02:00