Commit graph

335 commits

Author SHA1 Message Date
Frederic Merizen
b0037d50c8 Allow downloads with a HTTP range header 2018-04-24 16:07:19 +02:00
Frederic Merizen
98bb48b952 Create User accounts for existing Admin accounts that don’t have one 2018-04-12 16:40:24 +02:00
Frederic Merizen
4cc517ccba Do not use deliver_late
as the delayed job wouldn’t play nicely with the Mailer in lib/ in production
2018-04-11 09:33:06 +02:00
Frederic Merizen
7b80936991 [#1563] Notify administrators when they need to edit the accusé d’acceptation 2018-04-06 10:24:38 +02:00
Paul Chavard
ea43784376 Task to enque jobs to fetch missing etablissements 2018-04-05 14:52:54 +02:00
Paul Chavard
51972ba728 Entreprise/Association moulinettes™ 2018-04-04 11:48:06 +02:00
simon lehericey
6370365fe4 Task: parse individual_date 2018-04-03 16:23:15 +02:00
Mathieu Magnin
20fd7e52e6 [Fix #1729] Clean mail templates with <code> tags 2018-03-29 17:23:30 +02:00
Frederic Merizen
3f62bc3407 [Fix #1690] Strip html markup from procedure descriptions 2018-03-29 11:13:34 +02:00
gregoirenovel
ecc0f88417 Enable the cop that checks for brackets in method definitions 2018-03-20 18:03:39 +01:00
Frederic Merizen
392015b04a [#1545] secure task for production 2018-03-09 19:02:47 +01:00
Frederic Merizen
dd10261009 [Fix #1545] Add explanatory message 2018-03-09 18:38:25 +01:00
Frederic Merizen
1b889a4100 [#1545] Also notify dossiers that are not en construction
This forces us to have more precise bug and fix times
2018-03-09 18:38:25 +01:00
Frederic Merizen
b39cd48d6f [Fix #1545] Rake task to send accusés de réception that were missed
(because of #1510)
2018-03-09 18:38:25 +01:00
Frederic Merizen
664ce08dc8 [Fix #1543] simplify request and provide progress feedback 2018-03-09 15:46:02 +01:00
gregoirenovel
0a9f442260 Enable some Rails cops 2018-03-06 17:18:44 +01:00
Frederic Merizen
3894fc48f6 [Fix #1543] Strip html tags from textarea champs 2018-03-06 16:51:12 +01:00
Mathieu Magnin
9910e19c20 [Fix #1479] Task to clean invalid emails 2018-03-05 09:45:42 +01:00
Frederic Merizen
43dfbf1986 Separate ActiveStorage facade from Cellar machinery 2018-02-28 14:39:27 +01:00
Frederic Merizen
6907650bcb Use bulk delete in CellarService when possible 2018-02-28 14:39:27 +01:00
Frederic Merizen
27d76ea226 Add upload support to CellarService 2018-02-28 14:39:27 +01:00
Frederic Merizen
009c4f9149 Add exist? support to CellarService 2018-02-28 14:39:27 +01:00
Frederic Merizen
7df20a35cd Only stream success responses from Cellar 2018-02-28 14:39:27 +01:00
Frederic Merizen
9d34262493 Remove Aws S3 specific parameters
Cellar only implements the v1 interface and ignores those

The parameter is required by Amazon S3 but ignored by Riak
2018-02-28 14:39:27 +01:00
Paul Chavard
3fc8476947 some old champ live in a parallel space time continuum without valid dossier or type_de_champ 2018-02-27 11:00:34 +01:00
Paul Chavard
d9d31214fe Moulinette™ for unprocessed accepted dossiers 2018-02-21 16:38:25 +01:00
Paul Chavard
5470141ca4 Moulinette™ STI Champ et TypeDeChamp 2018-02-20 16:13:40 +01:00
gregoirenovel
ae0a314864 Fix a typo 2018-02-20 15:25:01 +01:00
gregoirenovel
918a34af39 Remove duplicated assign_tos 2018-02-20 14:58:16 +01:00
Frederic Merizen
07134684d4 Prefix_delete for cellar 2018-02-15 10:56:47 +01:00
Frederic Merizen
e2c583480d Implement streaming GET for Cellar 2018-02-15 10:56:47 +01:00
Frederic Merizen
0e74c55d48 Implement GET for Cellar 2018-02-15 10:56:40 +01:00
Frederic Merizen
76c72bf4e0 Ability to delete files from Cellar 2018-02-15 10:54:45 +01:00
Frederic Merizen
741100d4f5 Active storage and Clever Cloud Cellar integration 2018-02-15 10:43:56 +01:00
Paul Chavard
a00309c7f4 Cleanup rake task for public/private champ outage 2018-02-14 19:03:05 +01:00
Mathieu Magnin
830a9ed887 [Fix #1309] Task to clean datetime champs in db 2018-01-30 13:49:16 +01:00
gregoirenovel
02ade68b38 Enable the Layout/SpaceInsideBrackets cop 2018-01-18 10:53:34 +01:00
gregoirenovel
f605cd35ac Enable the Layout/SpaceAfterColon cop 2018-01-18 10:53:34 +01:00
gregoirenovel
48fd3605a4 Bump rubocop 2018-01-18 10:47:11 +01:00
Paul Chavard
8688d62a24 Add active attribute to administrateur model 2018-01-16 10:49:07 +01:00
gregoirenovel
b77837bfd1 Enable the Layout/MultilineMethodCallBraceLayout cop 2018-01-15 22:33:13 +01:00
gregoirenovel
99a49a8144 Enable the Layout/IndentHeredoc cop 2018-01-15 22:33:13 +01:00
gregoirenovel
5125cf8396 Enable the Layout/FirstParameterIndentation cop 2018-01-15 22:14:39 +01:00
gregoirenovel
bbaebe0602 !foo.nil? -> foo.present? 2018-01-12 11:32:43 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
Frederic Merizen
6139c614b0 [#1110] Migrate legacy tags to new tags in mail templates 2018-01-05 17:42:25 +01:00
Mathieu Magnin
4c8c26f250 Improve super admin management 2018-01-03 12:17:44 +01:00
Mathieu Magnin
39dc5718c2 [Fix #1096] task to create new Administrations 2017-12-22 11:10:25 +01:00
Mathieu Magnin
5c9d82d46f [Fix #1096] task to delete old accounts 2017-12-22 11:10:25 +01:00
LeSim
ee12644e56 Rake: french translation dossier : add revert task 2017-12-15 12:10:54 +01:00
Simon Lehericey
c83552f423 [fix #504] Dossier: without_continuation -> sans_suite 2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba [fix #504] Dossier: refused -> refuse 2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d [fix #504] Dossier: closed -> accepte 2017-12-15 12:10:54 +01:00
LeSim
3dda27b281 [fix #504] Dossier: received -> en_instruction 2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374 [fix #504] Dossier: draft -> brouillon 2017-12-15 11:52:09 +01:00
LeSim
56545933a9 [fix #504] Dossier: initiated -> en_construction
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
d8bbb8cb08 Add timestamps on Entreprises 2017-12-08 09:15:45 +01:00
Mathieu Magnin
7481e24b88 [Fix #1023] Fix task to sanitize filenames 2017-12-01 14:13:35 +01:00
Mathieu Magnin
e4d9b7f960 Fix missing body when migrating commentaire 2017-11-28 16:53:59 +01:00
Mathieu Magnin
30d9f4721b If pj is missing do not crash 2017-11-28 16:06:19 +01:00
Mathieu Magnin
bdadf12581 Rake task : Migrate old piece justificative in commentaire to file attribute 2017-11-28 15:07:09 +01:00
gregoirenovel
379e7b74d6 Enable all the rubicop perf cops 2017-11-21 10:31:16 +01:00
Simon Lehericey
bb147bcb1f Notification: rake task to init notifications 2017-11-10 16:29:44 +01:00
Mathieu Magnin
676a756e1d Ensure task is run on dev env 2017-10-31 09:56:18 +01:00
Mathieu Magnin
95a9c61457 Rebuild test db after db:import_dev task 2017-10-31 09:56:18 +01:00
Simon Lehericey
6dfab10dfa Rake: task to regenerate the attestation 2017-10-19 15:40:52 +02:00
Simon Lehericey
93644924fa Tasks: add task to connect to remote console on prod 2017-10-17 16:04:52 +02:00
Mathieu Magnin
83707be7a8 Rake task to import yesterday production backup on dev 2017-10-17 12:52:06 +02:00
Simon Lehericey
27013c7908 [Fix #503] Lib task: move updated, replied state to initiated 2017-09-26 14:42:54 +02:00
Simon Lehericey
f55c7a0512 Avis: add confidentiel field 2017-09-20 15:42:26 +02:00
Mathieu Magnin
7fdcc91e0c Clean assign_to duplicates with a rake task 2017-08-28 10:42:29 +02:00
Mathieu Magnin
39293a7be6 [Fix #589] Add task to clean birthdate formats 2017-08-01 16:47:44 +02:00
Simon Lehericey
490f71856d Rake: add tasks to clean followed_dossiers 2017-07-18 15:00:00 +02:00
Simon Lehericey
c0facbf679 [Fix #196] AttestionTemplate: add preview 2017-06-16 12:11:09 +02:00
gregoirenovel
d248afc376 Enable the Layout/ExtraSpacing cop 2017-06-13 10:35:35 +02:00
gregoirenovel
f1907f4d0e Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
gregoirenovel
f496f1adab Enable the Layout/EmptyLines cop 2017-06-13 10:35:20 +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
Mathieu Magnin
2bc5ee88f7 Change controller name according to model name, add simple_form 2017-01-24 15:53:42 +01:00
Xavier J
42359eff15 Fix rake tasks 2017-01-11 17:36:28 +01:00
Xavier J
1a3e23c6ef Change place lib repository 2016-12-02 17:03:52 +01:00
Xavier J
86125b219a Import opensimplif rake task 2016-11-08 19:02:57 +01:00
Xavier J
1376372c9e Revert "Active degraded mode if insee is disabled"
This reverts commit 6044c120c5.
2016-11-01 22:56:58 +01:00
Xavier J
6044c120c5 Active degraded mode if insee is disabled 2016-10-30 22:59:57 +01:00
Xavier J
f1515616ff Add 3 new type de champs : Pays, Régions et Départements 2016-10-12 17:22:56 +02:00
Xavier J
bd89688346 Fix test INSEE v2 get etablissement view 2016-09-16 17:08:50 +02:00
Xavier J
1c5cd471cd Externalize in config file SIADE API URL. 2016-09-01 12:09:44 +02:00
Xavier J
69fddcdab2 Add RESTORE IN DATABASE in cloustorage migrate tasks 2016-07-05 16:09:03 +02:00
Guillaume Lazzara
dfbd584b74 Update secure_token columns in cloud storage migration 2016-07-04 18:41:09 +02:00
Guillaume Lazzara
6a57802028 Upload files with the correct extension 2016-07-04 18:00:15 +02:00
Guillaume Lazzara
38b9a8e4a8 Fix access to content attribute 2016-07-04 17:57:55 +02:00
Guillaume Lazzara
0aa03bcc54 Fix previous filename 2016-07-04 17:47:34 +02:00
Guillaume Lazzara
4f02e18f4a Fix cloud storage migration task 2016-07-04 16:53:38 +02:00
Guillaume Lazzara
5324484f3f Add task for cloud storage migration 2016-07-01 14:45:50 +02:00
Xavier J
fdee7154cf Fix error Github recuperation 2016-06-13 11:15:25 +02:00
Xavier J
d7eee773da Migrate API Entreprise INSEE V1 to V2 2016-06-13 10:13:37 +02:00
Xavier J
3c75fb27c4 Fix bug get Forbidden last version github 2016-06-09 12:23:50 +02:00
Xavier J
23ab25396f Add type champs "Address" plug at the BAN 2016-06-09 12:08:18 +02:00
Guillaume Lazzara
d6a3884c81 Make use of fog_credentials.test.yml for testing. 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
889b083377 Switch TPS on apientreprise.fr 2016-02-22 20:05:45 +01:00
Guillaume Lazzara
c4cfd9dd0a Code review: add source 2016-02-19 16:59:39 +01:00
Guillaume Lazzara
a643f34621 Handle upload file size limit in UI 2016-02-18 15:47:14 +01:00
Xavier J
51c145d2ce Update landing page :
- Release scrape on Github
- Add presentation video
- Add demonstration link for gestionnaire and user
2016-02-16 12:01:39 +01:00
Xavier J
9830860768 new rake:dev init 2016-02-11 16:40:49 +01:00
Xavier J
cdb343a81f fix rake init 2016-02-02 11:20:19 +01:00
Xavier J
6c5a673d90 config build jenkins 2016-02-02 11:00:38 +01:00
Xavier J
0301f7b9d8 fixe rake FRANCE_CONNECT 2016-02-02 10:59:34 +01:00
Xavier J
b294cfda8b fix rake init file 2016-02-02 10:48:27 +01:00
Xavier J
846d77c61b Fix rake file for FranceConnect 2016-02-02 10:45:05 +01:00
Xavier J
73ca7560d4 Update rake task file 2016-02-02 10:24:36 +01:00
Xavier J
77c7892f42 rake dev:init 2016-02-01 17:37:37 +01:00
Xavier J
68bb4935e7 Fix bug enterprise's date_creation 2016-01-28 11:29:44 +01:00
Xavier J
5513504555 - Refactor code carte
- Delete auto-comments when edit carte and description
2016-01-27 15:48:27 +01:00
Xavier J
65ba614be2 Refactor function create in user dossier controller 2016-01-20 10:34:22 +01:00
Xavier J
e8fd212d13 - Code review
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
6a3525c7e2 Save Cadastre 2016-01-18 12:03:18 +01:00
Xavier J
2ce8e4734b Add get_cadastre on TPS carte page and display on leaflet map 2016-01-15 11:53:00 +01:00
Xavier J
d48c600476 Add lib API SGMAP Cartography Cadastre
Adapt lib API SGMAP Cartography Quartier Prioritaire at the new API architecture
2016-01-12 17:24:42 +01:00
Xavier J
3f048d0709 Add Mandataires Sociaux siade lib 2016-01-06 10:55:27 +01:00
Xavier J
a2a5d63c0d Display RNA information on partial dossier entreprise information 2015-12-11 12:36:44 +01:00
Xavier J
704e491cd0 Add lib RNA connect to apientreprise 2015-12-11 10:36:16 +01:00
Xavier J
e9145b031f Change organisation sources for lib apicarto quartiersprioritaires 2015-12-08 16:02:35 +01:00
Xavier J
141e23a381 Code review 2015-11-30 17:03:36 +01:00
Xavier J
f4e63d40b0 Add QP on user carte 2015-11-25 10:26:55 +01:00
Xavier J
5fd78b3fcb add adapter for sgmap api carto 2015-11-23 18:43:07 +01:00
Xavier J
e6cc95fc5f Add sgmap api carto driver to search qp 2015-11-23 18:41:24 +01:00
Xavier J
c4e0e6b402 Merge branch 'develop' into leaflet_freedraw
# Conflicts:
#	db/schema.rb
2015-11-19 17:29:23 +01:00
Xavier J
dd8bafab49 Add on information entreprise :
- SIRET Siège social
	- Code naf
	- Code effectif
	- Numéro TVA intracommunautaire
	- Exercices
2015-11-16 11:23:29 +01:00
Xavier J
eadb42af93 - add bower for rails
- add "wildhoney_leaflet_freedraw" bower vendor
- remove api_carto
2015-11-10 18:08:47 +01:00
Tanguy PATTE
aa645f30d9 fix apientreprise url 2015-09-01 15:33:00 +02:00
Tanguy PATTE
32da0fa891 style check 2015-08-20 16:46:46 +02:00
Tanguy PATTE
1e04916005 rename Api into API
change api error managment
refactor dossier controller
rewrite test for dossier controller
2015-08-17 15:53:35 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00