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
Serghei Mihai
765166fa6d
utils: write atomic temporary file on default storage location ( #32543 )
2019-04-24 10:08:24 +02:00
Benjamin Dauvergne
beb4f0e2e3
settings: order INSTALLED_APPS alphabetically ( #32528 )
2019-04-23 15:07:06 +02:00
Benjamin Dauvergne
95446af6ce
tests: define a MEDIA_ROOT ( #32516 )
...
To prevent cluttering project root with tests files. Some connector's
test had to be changed:
* family connector tests had to be changed as it magically used a local
file path as a Django stored file path.
* mdel tests where completely bogus around storage
2019-04-23 11:40:28 +02:00
Thomas NOËL
6c934db41c
translation update
2019-04-23 10:59:52 +02:00
Thomas NOËL
b2b3248bd3
debian: remove a bad empty line in debian/control
2019-04-23 10:38:42 +02:00
Serghei Mihai
f8d75cdc01
cityweb: set file read permission for group ( #32517 )
2019-04-23 10:23:58 +02:00
Christophe Siraut
bc897a9fa9
debian: add pyexcel dependency ( #32507 )
2019-04-23 10:12:12 +02:00
Serghei Mihai
cf3957fb92
cityweb: do not compress demand files ( #32091 )
2019-04-22 09:38:32 +02:00
Benjamin Dauvergne
c778669e90
utils: add an atomic_write() context manager ( #32413 )
2019-04-19 17:46:13 +02:00
Christophe Siraut
5c344f80d3
debian: bump debhelper compatibility level ( #32260 )
2019-04-19 14:38:45 +02:00
Emmanuel Cazenave
7554e021a2
tests: adjust an assertion on a planitec label ( #32189 )
2019-04-19 11:55:29 +02:00
Emmanuel Cazenave
f4c7c2f685
planitec: change some labels from planitech to planitec ( #32189 )
2019-04-19 11:30:31 +02:00
Benjamin Dauvergne
72489a1707
Revert "utils: add an atomic_write() context manager ( #32413 )"
...
This reverts commit a52c914e8f
.
2019-04-19 11:19:11 +02:00
Serghei Mihai
1a60c1acd3
api_entreprise: fix parameteres names, labels and examples ( #32411 )
2019-04-18 18:53:56 +02:00
Thomas NOËL
d5929e6958
solis: handle id in referential query ( #32455 )
2019-04-18 15:32:32 +02:00
Benjamin Dauvergne
a52c914e8f
utils: add an atomic_write() context manager ( #32413 )
2019-04-17 16:42:33 +02:00
Frédéric Péters
5057930135
cartads: move zip upload to its own method ( #32419 )
2019-04-17 15:52:18 +02:00
Christophe Siraut
b3cbbd2e83
debian: switch package format to 3.0 (quilt) ( #32261 )
2019-04-16 14:48:17 +02:00
Serghei Mihai
16100aa2fb
api_entreprise: add initial connector ( #30010 )
2019-04-15 14:31:42 +02:00
Frédéric Péters
fdf35728ad
base adresse: add support for ?id= on streets endpoint ( #32132 )
2019-04-10 10:59:27 +02:00
Serghei Mihai
595e4a1773
vivaticket: add support for booking's "comment" field ( #32105 )
2019-04-09 09:49:41 +02:00
Thomas NOËL
b00b070523
to_pdf: detect PDF with BOM prefix ( #32088 )
2019-04-08 16:51:44 +02:00
Emmanuel Cazenave
1eff11f7f3
translation update
2019-04-04 11:42:26 +02:00
Emmanuel Cazenave
561b159936
planitec: add getreservationsinfo endpoint ( #31625 )
2019-04-04 11:19:45 +02:00
Emmanuel Cazenave
1660716b26
planitech: add a pricing code on users ( #30261 )
2019-04-03 19:41:41 +02:00
Emmanuel Cazenave
62e683f378
planitech: getreservationprice endpoint ( #30261 )
2019-04-03 17:07:12 +02:00
Frédéric Péters
678e09d29c
misc: allow an endpoint to return any of HttpResponseBase subclass ( #31817 )
2019-04-02 17:10:14 +02:00
Frédéric Péters
891b143d2a
jsondatastore: return entries alphabetically sorted ( #31714 )
2019-04-02 13:31:13 +02:00
Frédéric Péters
dc80587d5c
csvdatasource: provide a ?id= filter to queries ( #31491 )
2019-04-02 13:31:13 +02:00
Serghei Mihai
585d1a1656
vivaticket: send form url in dedicated HTTP Header ( #31877 )
2019-04-01 18:48:54 +02:00
Serghei Mihai
4f491a22e4
vivaticket: send booking's contact informations ( #31853 )
2019-04-01 18:39:49 +02:00
Thomas NOËL
1d798fb874
okina: refine errors handling ( #31557 )
2019-03-21 11:27:53 +01:00
Frédéric Péters
c2bf9eb3b0
utils/soap: look for custom transport class in ressource ( #31612 )
2019-03-21 11:23:05 +01:00
Frédéric Péters
a82e3df74b
cartads: add abstract model class in the middle ( #31611 )
2019-03-21 11:23:05 +01:00
Frédéric Péters
3c718f8611
tests: add check for import/export of access rights
2019-03-20 14:41:54 +01:00
Benjamin Dauvergne
eef9f43d34
mpdh13: order demands by date ( #31562 )
2019-03-19 18:15:47 +01:00
Benjamin Dauvergne
a27ea7a749
mdph13: remove unused import ( #31562 )
2019-03-19 18:15:47 +01:00
Emmanuel Cazenave
7f5e117dec
translation update
2019-03-19 14:45:59 +01:00
Emmanuel Cazenave
1a4beccda6
iws: send volume as is ( #31541 )
2019-03-19 11:03:09 +01:00