Commit graph

77 commits

Author SHA1 Message Date
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
Jan Böhmer
6b87823d5e Delete the file associated with an attachment after an attachment is delted or changed. 2019-08-27 22:24:56 +02:00
Jan Böhmer
3a11933a89 Allow to add/delete attachments via part edit page. 2019-08-26 23:30:35 +02:00
Jan Böhmer
e7cc53f046 Added a field for edit the mass of a part. 2019-08-24 12:55:47 +02:00
Jan Böhmer
f75f17c92b Cache the tree nodes list generated for StructuralEntityType. 2019-08-20 12:34:43 +02:00
Jan Böhmer
6a0adae8f3 Added the new fields to the part edit form. 2019-08-19 14:07:00 +02:00
Jan Böhmer
d7ffdcc291 Removed php-translation bundle as it is not compatible with symfony > 4.2 2019-08-14 18:56:41 +02:00
Jan Böhmer
568367b59e Added an console command for updating currency exchange rates. 2019-08-13 13:04:31 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
87e6f641c3 Added an option for mass creation of structured data. 2019-08-12 22:41:58 +02:00
Jan Böhmer
368645f0cb Added an environment for the demo
In this environment the exception are logged to stderr, so we can access it via heroku.
2019-08-10 17:20:23 +02:00
Jan Böhmer
01a83d388b Show attachments in part info
WIP: viewing and downloading attachments is not possible yet.
2019-08-06 18:47:09 +02:00
Jan Böhmer
2f39ac90a2 Added migration from old Database to new database. 2019-08-06 13:18:29 +02:00
Jan Böhmer
42c8222e35 Protect internal table against the doctrine migration system. 2019-08-03 13:25:49 +02:00
Jan Böhmer
cd4a1470e3 Protect internal table against the doctrine migration system 2019-08-02 16:19:15 +02:00
Jan Böhmer
c2b4d100f0 Show shopping informations in part details 2019-08-02 12:17:56 +02:00
Jan Böhmer
f30a6d1781 Use auto for password algorithm (fixes deprecation) 2019-06-16 12:59:11 +02:00
Jan Böhmer
487c78a22b Added translations 2019-04-28 12:30:33 +02:00