Commit Graph

1633 Commits

Author SHA1 Message Date
Serghei Mihai cb5a42ab7c api_entreprise: handle properly request errors (#33375) 2019-05-23 15:50:27 +02:00
Thomas NOËL 6f75a38b9d update french translations 2019-05-21 18:21:46 +02:00
Serghei Mihai 1cb079e4ba lille_kimoce: initial connector (#33099) 2019-05-21 18:04:00 +02:00
Serghei Mihai a7e7814002 utils: add simple HTTP Bearer authentication class 2019-05-21 18:03:50 +02:00
Frédéric Péters f424478578 base adresse: pass lat/lon when geocoding (#33098) 2019-05-21 17:49:56 +02:00
Thomas NOËL d810f6799a solis: add RSA endpoints (#32877) 2019-05-21 15:48:10 +02:00
Thomas NOËL 1b58e3ddcd solis: add endpoint to get an item in some referentials (#32877) 2019-05-21 15:48:10 +02:00
Thomas NOËL ea7a20a3f2 solis: re-order endpoints (#32877) 2019-05-21 15:48:10 +02:00
Emmanuel Cazenave d7abdba261 planitec: make custom fields optionnals (#32188) 2019-05-21 12:01:13 +02:00
Emmanuel Cazenave 9396e907da planitec: expose days restriction parameter as is (#33198) 2019-05-21 11:52:03 +02:00
Emmanuel Cazenave b06a0d68e9 planitec: filters homogenisation (#32828) 2019-05-20 15:22:12 +02:00
Benjamin Dauvergne f067d79cd9 sp_fr: fix RCO exemple -> exempte (#33256) 2019-05-20 12:02:03 +02:00
Benjamin Dauvergne 20c614261c sp_fr: add alias with _1 suffix to cater for nodes with maxOccurs > 1 (#33256)
Text nodes which can be multiple must always have a counter suffix.
2019-05-20 11:36:38 +02:00
Benjamin Dauvergne f58880854c sp_fr: fix DDPACS None -> Non (#33256) 2019-05-20 11:21:08 +02:00
Benjamin Dauvergne 6d844e1529 api_entreprise: prevents requests to log HTTP errors (#33056) 2019-05-15 15:14:08 +02:00
Benjamin Dauvergne a2eccafe01 api_entreprise: enforces PEP8 (#33056) 2019-05-15 15:14:08 +02:00
Benjamin Dauvergne d18fa62ba6 api_entreprise: uses exception_to_text() to display exceptions (#33056) 2019-05-15 15:14:08 +02:00
Benjamin Dauvergne b30af7aeb7 api_entreprise: uses temporary to fix indentation (#33056) 2019-05-15 15:14:08 +02:00
Benjamin Dauvergne 247149b2f3 api_entreprise: removes dead import (#33056) 2019-05-15 15:14:08 +02:00
Benjamin Dauvergne d717bdf4be dpark: add .pdf extension to attached files (#32657) 2019-05-14 10:51:27 +02:00
Frédéric Péters 2f93dffe76 cartads: handle notification of errors (#32941) 2019-05-09 15:18:25 +02:00
Benjamin Dauvergne 6ef50ecab0 sp_fr: don't raise exceptions during transfer to w.c.s. (#32853) 2019-05-07 11:49:04 +02:00
Benjamin Dauvergne 62ef6d9f66 sp_fr: accepts 200 *new* requests per run (#32852) 2019-05-07 11:46:04 +02:00
Benjamin Dauvergne 43813ee6bb sp_fr: crawl sftp hourly (#32851) 2019-05-07 11:43:08 +02:00
Benjamin Dauvergne f5f518b04e sp_fr: ignore empty data when transfering requests to w.c.s. (#32849) 2019-05-07 11:42:20 +02:00
Benjamin Dauvergne c834f429bc sp_fr: extract email from header file (#32848) 2019-05-07 11:11:33 +02:00
Emmanuel Cazenave c8fc7409f2 translation update 2019-05-06 16:03:09 +02:00
Emmanuel Cazenave f1d45d0d0e planitec: add getplace endpoint (#32800) 2019-05-06 14:06:33 +02:00
Frédéric Péters e1f8bf238c cartads: don't include None descriptions in labels (#32745) 2019-05-02 12:21:11 +02:00
Benjamin Dauvergne b312381a75 greco: escape XML illegal characters (#32681) 2019-04-30 18:12:35 +02:00
Benjamin Dauvergne 7fcf7d082e sp_fr: allow 3 unbounded elements (#31595) 2019-04-30 17:51:31 +02:00
Benjamin Dauvergne 23acaa3bd7 sp_fr: propagate renaming of procedures (#31595) 2019-04-30 17:32:15 +02:00
Benjamin Dauvergne 901f596c69 sp_fr: propagate renaming of procedures (#31595)
Methods generating list of custom variables had to be renamed.
2019-04-30 16:56:00 +02:00
Benjamin Dauvergne 4e2ba91736 sp_fr: do not create QName with None namespace (#31595)
It's not supported with lxml<4.3.3.
2019-04-30 14:07:49 +02:00
Benjamin Dauvergne 8272888ec4 sftp: be compatible with paramiko >=2.0,<2.2 (#32656) 2019-04-29 18:41:12 +02:00
Benjamin Dauvergne f065c32f76 sftp: skip Ed25519Key if missing (#32655) 2019-04-29 17:17:34 +02:00
Benjamin Dauvergne a66c64273a sp_fr: distribute XSD files (#31595) 2019-04-29 17:16:30 +02:00
Benjamin Dauvergne e2f8d7f441 initialize sp_fr connector (#31595)
New connector for transfering forms from Service-Public.fr to w.c.s.
2019-04-29 14:56:55 +02:00
Benjamin Dauvergne 7ce97ff996 add utilities to call w.c.s. APIs (#32656) 2019-04-29 11:42:41 +02:00
Benjamin Dauvergne d5352aec67 add utilities to access SFTP servers (#32655)
Disclaimer: paramiko does not work with recent OpenSSH key format (PKCS8
or RFC4716), only the legacy PEM format is supported.
2019-04-29 11:26:23 +02:00
Benjamin Dauvergne bb23a556ca base: add base template for resource child views (#32652) 2019-04-29 11:05:55 +02:00
Benjamin Dauvergne b621988b17 base: add mixins for child model views (#32652) 2019-04-29 11:05:55 +02:00
Benjamin Dauvergne a5fc4515e8 plugins: add connector slug to view kwargs to get uniformity of kwargs in views (#32554)
It means any plugin view can get its connector slug from
self.kwargs['connector'].
2019-04-29 11:05:13 +02:00
Benjamin Dauvergne edf36dc45b views: wraps generic writing views with atomic() (#32533)
To prevent uninitialized connector instances to remain when errors occur
during Model.save() notably in the csvdatasource application.
2019-04-26 16:43:13 +02:00
Benjamin Dauvergne 39c2b61daf fix PEP8 / code style (#32533) 2019-04-26 16:41:57 +02:00
Benjamin Dauvergne 831469db1b templates: use with_template in service_form.html (#32650) 2019-04-26 15:54:17 +02:00
Benjamin Dauvergne 49867fa6b7 models: hide related_name and related_query_name for BaseResource.users (#32553)
It creates errors if a connector names its connector model 'Resource',
as all related names on users get the same name.
2019-04-26 15:42:51 +02:00
Benjamin Dauvergne d643e759b7 atos-genesys: add new endpoints search and link-by-id-per (#32618)
xml_request had to be factorized to created xml_request_multiple as the
Genesys web-service for search return multiple results
(all other WS returns only one).

call_select_usager was also factorized to serve as basis for
call_select_usager_by_ref.

The search endpoint does a first call to Genesys for listing REF_PER then
for each REF_PER a call to selectUsagerByRefPer to get the ID_PER and
contact informations necessary for appairage.
2019-04-25 13:52:09 +02:00
Benjamin Dauvergne 6427389205 atos-genesys: factorize RESPONSE_SELECT_USAGER in tests (#32618) 2019-04-25 13:49:03 +02:00
Benjamin Dauvergne 33f2a98e25 atos-genesys: normalize webservice url before use (#32618)
All web-services exposed does not have the same prefix some are under the
path WSUsagerPublik/services/PublikService/ but those for intermediation
will be under WSIntermed/services/IntermediationService/. As we used the URL
with prefix included as base_url we must normalize it now
(remove prefix from base_url).
2019-04-25 13:48:27 +02:00