gregoirenovel
f343e08ce2
Remove trailing spaces
2018-03-28 15:06:03 +02:00
gregoirenovel
681e33b850
Simplify RNAAdapter#to_params and unify the type of objects it returns
2018-03-28 10:55:15 +02:00
gregoirenovel
caf2e50954
Make #to_params return blank hashes if we have no data
2018-03-28 10:55:15 +02:00
gregoirenovel
0022ea71c5
Use #transform_keys instead of .map.to_h
2018-03-28 10:55:14 +02:00
gregoirenovel
7794973774
Simplify SIRETService#fetch
2018-03-28 10:55:14 +02:00
gregoirenovel
4b6b583120
Delete useless return statements
2018-03-28 10:55:14 +02:00
gregoirenovel
94a257f5b0
Add missing spaces
2018-03-28 10:55:14 +02:00
gregoirenovel
de483ac0f6
Format all attr_to_fetch methods the same way
2018-03-28 10:55:14 +02:00
gregoirenovel
b479833699
Reduce method calls
2018-03-28 10:55:14 +02:00
gregoirenovel
8b46df3176
Add a new variable to improve readability
2018-03-28 10:55:14 +02:00
gregoirenovel
3dd76c3d68
Remove useless success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
a9c1c9f551
Improve #success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
19add3f534
Use if-flows instead of rescue-flows
2018-03-28 10:55:14 +02:00
gregoirenovel
182afee970
to_params -> to_array
2018-03-28 10:52:54 +02:00
gregoirenovel
3e16eff9a0
Unify data_source methods
2018-03-28 10:50:27 +02:00
simon lehericey
07c9830da0
[ fix #1550 ] unify HS and activation mail, send doc as well
2018-03-27 18:09:27 +02:00
Paul Chavard
2f68b7c4b3
Tweak timeout API Entreprises
2018-03-27 17:59:51 +02:00
Paul Chavard
5ae8eb3383
Lower timeout for API Entreprise
2018-03-27 17:16:56 +02:00
simon lehericey
66a113c7db
Dossier: remove uncessary query on order_champ_v2
2018-03-27 16:48:38 +02:00
simon lehericey
8ac5415ce0
DossierController: avoid unecessary user fetch
2018-03-27 16:48:38 +02:00
simon lehericey
289ddb5419
[ fix #1670 ] Manager send the refused admin email
2018-03-27 16:02:09 +02:00
simon lehericey
d0431a28f2
Pipedrive: manager can refuse a deal
2018-03-27 15:56:28 +02:00
simon lehericey
2102130fa3
Pipedrive: allow super admin to choose target pipeline
2018-03-27 14:52:39 +02:00
simon lehericey
6a74aaa42a
[ fix #1697 ] Pipedrive: use a job to process an admin creation
2018-03-27 14:52:39 +02:00
simon lehericey
31adc8e990
Pipedrive: Rename pipedrive_dev_id
2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0
Pipedrive: extract methods in service
2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82
Remove unused rescue in SIRET form controller
2018-03-27 13:56:22 +02:00
Paul Chavard
2fc03e9079
Handle ajax errors on SIRET form
2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db
Remove debug logger
2018-03-26 17:44:51 +02:00
Paul Chavard
2505419b08
Treat partial success from api entreprises as errors
...
We might refine this later, but for now this will give an error instead of unspecified state
2018-03-26 17:44:37 +02:00
Paul Chavard
f35aef0eb6
Use Typhoeus and set agressive timeouts
2018-03-26 16:53:42 +02:00
gregoirenovel
2385548a03
[Ref #1626 ] Add the administrateurs_procedures table and associations
2018-03-23 11:40:03 +01:00
gregoirenovel
5b04fa2a4c
[ Fix #1687 ] Align sign in/up form to the top
2018-03-22 17:16:39 +01:00
Frederic Merizen
cab670b1ad
[ #1677 ] Simplify code
2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127
[ #1677 ] No longer create InviteGestionnaire
s
2018-03-22 16:40:57 +01:00
simon lehericey
9eb28faa10
[ fix #1601 ] accept demandes in manager
2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa
[ fix #1601 ] show pipedrive demandes in manager
2018-03-22 15:37:16 +01:00
Frederic Merizen
2fa88a432b
Add missing brackets around parameters in method definitions
2018-03-20 17:54:51 +01:00
gregoirenovel
862d8051c8
Fix contact link on the landing page
2018-03-20 17:15:41 +01:00
gregoirenovel
4df2eb168d
Remove mandataires_sociaux
2018-03-20 16:09:00 +01:00
gregoirenovel
d0a59058e8
Remove the mandataire_social guess
...
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
* FC adoption is not insane
* FC used more for personal than professional
matters
* not always the mandataires sociaux that fill
dossiers for their companies, so not that
relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
gregoirenovel
5658aae96b
SIADE -> ApiEntreprise
2018-03-19 11:39:46 +01:00
gregoirenovel
96f78b6213
data_source methods can be private
2018-03-19 11:39:46 +01:00
gregoirenovel
9a7e13f72f
Mutualise a JSON#parse call
2018-03-19 11:39:46 +01:00
gregoirenovel
57b42e24e5
SIADEURL -> API_ENTREPRISE_URL
2018-03-19 11:39:46 +01:00
gregoirenovel
658bd95f86
Add a constant to SIADEURL
2018-03-19 11:39:46 +01:00
gregoirenovel
a0a56d6f67
Add a variable for legibility
2018-03-19 11:39:46 +01:00
gregoirenovel
5628eba0a4
mandatory_params -> params
2018-03-19 11:39:46 +01:00
gregoirenovel
b71b8ea8e0
Refactor the url method
2018-03-19 11:39:46 +01:00
gregoirenovel
92e0e4c231
Remove the base_url method
2018-03-19 11:39:46 +01:00