- 12 May, 2014 2 commits
-
-
Serge S. Koval authored
A proposal to fix https://github.com/mrjoes/flask-admin/issues/532
-
https://github.com/mrjoes/flask-admin/issues/532Sergey Markelov authored
From the issue: If an image extension is 'jpeg' (not 'jpg'), then inside ImageUploadField._save_file() the call to self._get_save_format() enters the if-statement where the filename is changed to ${name}.jpg. The format stays unchanged, though, because it's the same 'JPEG'. As a result, the original filename is preserved on disk, which is ${name}.jpeg, but _save_file() returns ${name}.jpg. self._save_thumbnail(data, filename, format) saves the thumbnail file under ${name}_thumb.jpg At the time when ImageUploadField._save_file() is finished, two files are created: ${name}.jpeg ${name}_thumb.jpg Would you consider changing def _save_file(self, data, filename): ... data.save(path) to data.save( self._get_path(filename) ) In that case the original image will be saved with the updated filename after self._get_save_format(filename, self.image)
-
- 09 May, 2014 2 commits
-
-
Serge S. Koval authored
-
Serge S. Koval authored
-
- 07 May, 2014 8 commits
-
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
Check hidden fields for widget type instead of specific class
-
Serge S. Koval authored
-
Serge S. Koval authored
-
- 02 May, 2014 1 commit
-
-
Christopher Arndt authored
-
- 01 May, 2014 2 commits
-
-
Serge S. Koval authored
Added datepicker.css to the base template's head
-
Yuri Shakalov authored
-
- 28 Apr, 2014 1 commit
-
-
Serge S. Koval authored
-
- 25 Apr, 2014 3 commits
-
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
New url scheme for modelview
-
- 24 Apr, 2014 1 commit
-
-
Serge S. Koval authored
Dependencies distutils testing
-
- 23 Apr, 2014 3 commits
-
-
Italo Maia authored
-
Italo Maia authored
-
Italo Maia authored
-
- 21 Apr, 2014 7 commits
-
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
Serge S. Koval authored
-
- 13 Apr, 2014 1 commit
-
-
Serge S. Koval authored
Properly enclose 'model' in quotes when testing p.[attr]
-
- 11 Apr, 2014 2 commits
-
-
Bryan Hoyt authored
-
Bryan Hoyt authored
This reverts commit 323405e6, reversing changes made to 41a68dde.
-
- 04 Apr, 2014 1 commit
-
-
Italo Maia authored
-
- 31 Mar, 2014 2 commits
-
-
Serge S. Koval authored
SQL alchemy Unique validator allows multiple None values
-
Greg Kempe authored
-
- 30 Mar, 2014 2 commits
-
-
Serge S. Koval authored
Fix search input margin
-
Serge S. Koval authored
Fix 'TypeError: descriptor 'lower' requires a 'str' object but received a 'unicode''
-
- 29 Mar, 2014 2 commits
-
-
Serge S. Koval authored
Fix small typo
-
Mike authored
-