- Jul 11, 2019
-
-
Odai Alali authored
-
Odai Alali authored
Improved image rescale See merge request dis/dis!58
-
Henning Lorenz authored
this commit is a merge of 3 commts - resize to reduced image size (preview) based on image width is not meaningful for all image types. This change implements different resize (according to width or according to height) depending on the file type that is specified in the Files Upload form. - modify the resize function to do uniform resize to fit image into box of 1000 x 1000 pixels with preserved aspect ration, image quality jpeg 80%. Optional is resize according to height by minor change of code (see comments). - core diameter dependent resizing added 1. save the original 2. convert original to jpeg 3. resize to fit into 1000 x 1000 pixels 3.1 resize for CS and SS according to core diameter: CS is scaled according to the circumference of the core and SS according to the diameter, both at a resolution of 2 pixel/mm on core surface. This resolution should be sufficient for previewing. After some testing I came to the conclusion that jpeg 80 files are 5-9 times smaller than jpeg 100 files. The images are virtually indistinguishable even at overzoom. Thus, at present, jpeg quality is set to 80. It saves space on the testing system and will be sufficient also for most projects, but can be changed at any time.
-
Henning Lorenz authored
"Files Form" and "Files Upload" did not work after deletion of the original archive_files table (created by "yii seed") and re-creation of the table by the template manager (this procedure is necessary when project_ or core_ tables that need to be modified are blocked/referenced by archive_files FKs). The problem were missing "mime type" and "metadata" field descriptions in ArchiveFile.json. This commit adds the two missing fields and modifies some of the comments (on the basis of the original table).
-
- Jul 08, 2019
-
-
Odai Alali authored
-
- Jul 01, 2019
-
-
Ralph Reckert authored
closes #168 I could reproduce and fix the problem. Maybe it was working on Odai's laptop due to a different PHP version or configuration.
-
- Jun 21, 2019
-
-
Ralph Reckert authored
fix: Limit length of foreign key names in database (<=64); prevent double foreign keys due to changed naming convention closes #169
-
- Jun 04, 2019
-
-
Odai Alali authored
-
Odai Alali authored
closes #164
-
Odai Alali authored
related #166
-
Odai Alali authored
-
- May 29, 2019
-
-
Odai Alali authored
-
Odai Alali authored
closes #167
-
Ralph Reckert authored
-
- May 24, 2019
-
-
Odai Alali authored
-
Odai Alali authored
closes #153
-
- May 23, 2019
-
-
Odai Alali authored
-
Odai Alali authored
-
Odai Alali authored
-
Odai Alali authored
in order to automate the process rather than updating the models by hand. closes #163
-
Odai Alali authored
related #163
-
- May 22, 2019
-
-
Odai Alali authored
-
Odai Alali authored
closes #162
-
- May 20, 2019
-
-
Odai Alali authored
and update validators in the generator to match these fields closes #159
-
-
Odai Alali authored
in order to work with migrated models. The parent model fk will be searched by properties not name. closes #157
-
- May 17, 2019
-
-
Knut Behrends authored
fix(TemplatesManager): Change 3 labels of textfields . Checking out what happens inside gitlab webinterface (now that master branch is protected)
-
Odai Alali authored
-
Odai Alali authored
https://dev.mysql.com/doc/refman/8.0/en/floating-point-types.html: As of MySQL 8.0.17, the nonstandard FLOAT(M,D) and DOUBLE(M,D) syntax is deprecated and support for it will be removed in a future MySQL version.
-
Odai Alali authored
-
Odai Alali authored
-
Odai Alali authored
closes #155
-
- May 16, 2019
-
-
Odai Alali authored
-
Odai Alali authored
in case they exists related #151
-
Odai Alali authored
to preserve the value upon refreshing and openning new tabs
-
- May 15, 2019
-
-
Odai Alali authored
-
Odai Alali authored
in the model template form
-
Ralph Reckert authored
-
- May 14, 2019
-
-
-
Odai Alali authored
closes #150
-