Commit graph

53 commits

Author SHA1 Message Date
pedong
f0ed61cce8 Carrierwave: change the method name to extension_whitelist for filter uploader file extension 2019-05-07 13:20:20 +02:00
Mathieu Magnin
b3c0a261d7 Fix Sentry 238 2019-02-26 15:08:13 +01:00
gregoirenovel
386fbce776 Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
Mathieu Magnin
fc5f698207 Fog was recently updated, NotFound Module changed 2018-11-28 16:15:33 +01:00
Mathieu Magnin
91115ea847 [Fix sentry-26] if file does not exist, filename should be nil 2018-11-27 14:10:43 +01:00
Mathieu Magnin
7c1768e5bb [Fix #3016] Do not crash if PJ has no extension 2018-11-21 14:15:45 +01:00
Frederic Merizen
238c0c707b [#2180] Bump Carrierwave 2018-11-16 11:11:39 +01:00
Mathieu Magnin
917b271a7f [Fix #2697] When file does not exist on openstack do not crash 2018-10-31 15:22:45 +01:00
Paul Chavard
8ff45c7978 Fix commentaire file_url generator 2018-10-31 12:53:14 +01:00
gregoirenovel
6eeba14885 Enable Style/WordArray 2018-10-03 12:03:21 +02:00
gregoirenovel
b994fa4206 Do one thing per line 2018-10-01 16:15:46 +02:00
gregoirenovel
b2dc502ed5 Use an env var for Carrierwave's cache_dir 2018-09-04 16:07:59 +02:00
gregoirenovel
df742421a8 Remove an env var 2018-09-03 16:13:38 +02:00
Paul Chavard
296e3a9b09 [ENV] Add fog config 2018-08-23 15:55:32 +02:00
Paul Chavard
d0a6957862 Remove old cerfa code 2018-06-28 15:16:20 +02:00
Paul Chavard
45019ce75c Use Flipflop instead of Feature 2018-04-18 16:51:21 +02:00
gregoirenovel
0a9f442260 Enable some Rails cops 2018-03-06 17:18:44 +01:00
gregoirenovel
1e71188d4d Enable the Layout/IndentationConsistency cop 2018-01-15 22:33:13 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
Mathieu Magnin
7f4652fd1e New UI : Accept only few extensions 2017-11-28 15:07:10 +01:00
Mathieu Magnin
5775901868 Add commentaire file uploader 2017-11-28 15:07:09 +01:00
gregoirenovel
5eb9d6854c Remove now useless encoding statements
As utf-8 is the default encoding since Ruby 2,
this is no longer needed
2017-11-20 14:14:00 +01:00
Simon Lehericey
3dce5b9b5e AttestationTemplate: store logo and signature with uuid 2017-10-19 15:32:04 +02:00
Simon Lehericey
ea2827134e [fix #850] Use UUID as a uniq identifier for the attestation 2017-10-19 15:02:01 +02:00
Simon Lehericey
b443b5cefd [Fix #196] Dossier: add Attestation 2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139 [Fix #196] AttestationTemplate: add model 2017-06-16 11:35:13 +02:00
gregoirenovel
24e7537c49 Enable the Layout/EmptyLinesAroundClassBody cop 2017-06-13 10:35:32 +02:00
gregoirenovel
f2cf32a15c Enable the Layout/CommentIndentation cop 2017-06-13 10:35:19 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
Xavier J
5d733c11fd Delete references @opensimplif 2017-02-13 15:46:28 +01:00
Xavier J
1ecfc62bb5 Fix upload cache directory (opensimplif) 2016-11-02 10:18:59 +01:00
Xavier J
06df02f72b Change cache directory (opensimplf) 2016-10-26 15:45:40 +02:00
Guillaume Lazzara
aebc673cdc Set STORAGE_URL during initialization 2016-07-05 11:50:45 +02:00
Guillaume Lazzara
0c67cda7c5 Set specific cache path regarding environment 2016-06-07 10:33:22 +02:00
Xavier J
69f9c52b02 Preview procedure logo on edit procedure page for admin 2016-06-06 18:25:51 +02:00
Xavier J
d26feb4c72 Add JPG and PNG image on cerfa and piece justificative uploader 2016-06-06 16:38:14 +02:00
Guillaume Lazzara
7fbee7a5b5 Fix carrierwave root issues 2016-05-24 18:35:25 +02:00
Guillaume Lazzara
a62076c34b Use original file extension for uploaded files 2016-05-24 17:34:52 +02:00
Guillaume Lazzara
2c7b65199e Fix logo filename 2016-05-24 17:34:25 +02:00
Guillaume Lazzara
745eee126a Code review - Remote storage 2016-05-20 16:34:57 +02:00
Guillaume Lazzara
833d7790c2 Add support for remote OVH cloud storage 2016-05-13 16:08:51 +02:00
Xavier J
0d211f4ccb Fix white list cerfa and piece_justificative uploader 2016-03-22 10:20:26 +01:00
Xavier J
04c5432be1 Add libreoffice document on uploader 2016-03-14 10:22:27 +01:00
Guillaume Lazzara
a643f34621 Handle upload file size limit in UI 2016-02-18 15:47:14 +01:00
Xavier J
b437edefd1 - add symlink for gestionnaire download documents
- add download folder documents in public folder
2016-01-05 16:26:59 +01:00
Xavier J
e7570564f8 Add downloader for upload files outwards of public folder 2016-01-05 15:53:01 +01:00
Xavier J
5d4a36e6c3 Move uploader logo procedure into public 2015-12-21 10:50:01 +01:00
Xavier J
ace1629d5c Uploader storage change :
- Before /public/upload
	- After /upload
2015-12-17 10:41:00 +01:00
Xavier J
d49e9fe75a admin can upload a logo for his procedure 2015-12-10 17:13:39 +01:00
Xavier J
b3383bec9f - Correction des tests suite à la modification du schéma de la base de données. 2015-09-21 17:59:03 +02:00