Commit Graph

4276 Commits

Author SHA1 Message Date
Frédéric Péters daee191c07 decorator to check for access rights (#5109) 2014-07-11 10:04:41 +02:00
Frédéric Péters e3369c1670 method to check if the user making the request has appropriate rights (#5108) 2014-07-11 10:04:40 +02:00
Frédéric Péters 931196c7a6 extend APIUser with a field for an IP address (#5107) 2014-07-11 09:18:14 +02:00
Frédéric Péters 8dc386ea05 settings: add some support for debug toolbar (#5125) 2014-07-11 09:18:14 +02:00
Benjamin Dauvergne d9109645df new SMS gateway: mobyt (#3653) 2014-07-09 12:47:12 +02:00
Thomas NOËL d4a6a25585 release 0.4.0, new app model and manage portal 2014-07-08 15:48:11 +02:00
Frédéric Péters 23464f32d5 gdc: move management pages under /manage, and require a login 2014-07-08 15:27:49 +02:00
Frédéric Péters 36d859cc74 gdc: put edit views behind login_required 2014-07-08 15:01:14 +02:00
Frédéric Péters 7332be1329 build: ship .html and .mako files from all modules 2014-07-08 14:53:32 +02:00
Frédéric Péters bdc7c1bac1 add real logout link 2014-07-08 14:22:43 +02:00
Frédéric Péters c094e98054 debian/control: add dependency on python-gadjo 2014-07-08 14:14:26 +02:00
Frédéric Péters d249d98cea debian/control: add a recommend on python-phpserialize 2014-07-08 14:13:39 +02:00
Frédéric Péters 3aab6dc9df gdc: only require phpserialize/SOAPpy at runtime (#5053) 2014-07-08 14:05:37 +02:00
Frédéric Péters 3989603e2b add possibility to prepend an entry to the breadcrumb bar (#5065)
This is to be used to insert a link to a global portal; it works using template
vars:

  TEMPLATE_VARS = {
    'BREADCRUMB_INITIAL_LINK': ('http://www.example.net', 'Admin Portal'),
  }
2014-07-08 13:46:45 +02:00
Frédéric Péters 8858478b25 add some minimalistic breadcrumb (#5065) 2014-07-08 13:46:45 +02:00
Frédéric Péters c48e749224 style: switch to gadjo for styling (#5055) 2014-07-08 13:46:45 +02:00
Frédéric Péters e2bea9391b gdc: display endpoints on view page (#5053) 2014-07-07 14:04:11 +02:00
Frédéric Péters 9e0fb7b029 add management interface (#5054) 2014-07-07 14:03:30 +02:00
Frédéric Péters f98c80546e gdc: rewrite application (#5053) 2014-07-07 14:03:30 +02:00
Thomas NOËL 9ed95d08f6 release 0.3.1 2014-06-05 17:06:01 +02:00
Thomas NOËL 98bce12129 clicrdv: don't use records without publicname
http://developers.clicrdv.com/en/rest-ressources-intervention.html:
"publicname: If blank, the intervention will not be available on the
appointment module."
2014-06-05 17:02:59 +02:00
Thomas NOËL 731b1bcfdf __init__.py: s/verion/version/ 2014-05-20 11:37:04 +02:00
Jérôme Schneider c40e956c43 setup.py: fix getèversion to support new tags 2014-05-20 10:49:36 +02:00
Thomas NOËL 9863723ef3 clicrdv: add details when cancellation fails 2014-05-08 14:35:16 +02:00
Frédéric Péters 0761fdabd3 clicrdv: add a field for a default comment (#4692) 2014-04-14 20:18:07 +02:00
Frédéric Péters 26f6502f0c clicrdv: initial migration 2014-04-14 20:15:53 +02:00
Frédéric Péters 8cece3e480 Fix spelling of "optional" 2014-04-14 20:00:39 +02:00
Thomas NOËL 230004e853 clicrdv: don't send None values 2014-04-04 14:59:30 +02:00
Thomas NOËL a4a6d1641a clicrdv: handles optionnal "fiche" parameters 2014-04-03 14:45:31 +02:00
Thomas NOËL fb8109801f clicrdv: don't use "id" in response
because if a webservice returns an "id", w.c.s. use it as "display_id"
2014-04-02 17:55:29 +02:00
Thomas NOËL d7d58494d5 clicrdv: use method= in querystring 2014-04-02 12:02:51 +02:00
Thomas NOËL 1332c3cec7 clicrdv: create and cancel 2014-04-01 16:50:25 +02:00
Thomas NOËL e9e35376f0 clicrdv: rewrite from scratch (part 1: GET) 2014-04-01 14:55:49 +02:00
Thomas NOËL b9cb20bbfe don't try to catch DatabaseError for template vars
... because it does not work on database with transactions.
2014-03-28 18:45:17 +01:00
Thomas NOËL 21256ca323 don't install removed apache-example... 2014-03-19 16:54:03 +01:00
Thomas NOËL 359cd9a440 remove useless and bad apache-example 2014-03-19 16:53:34 +01:00
Thomas NOËL 4fc89904c5 postinst: don't create /var/run
it's created by init.d
2014-03-19 16:52:49 +01:00
Thomas NOËL 619236ff3d fix init.d
* bind to a socket file
* create /run/passerelle on each start
* use gunicorn --name option
* start "only" 5 workers
* use --noinput option for syncdb/migrate
2014-03-19 16:51:09 +01:00
Thomas NOËL 9eb3913dea solis: don't send "fonciers" if it's 0.0 2014-03-04 10:16:37 +01:00
Serghei Mihai f8c0e1b911 catching the database exception while getting template vars 2014-02-23 21:30:44 +01:00
Serghei Mihai e51704a0b6 using templating in sqlrepost's params 2014-02-23 21:30:44 +01:00
Serghei Mihai ed629972c0 allowing django templating in passerelle apps 2014-02-23 21:30:44 +01:00
Thomas NOËL 9c73ddce63 makorepost: split render operation
This help debugging
2014-02-21 15:14:04 +01:00
Thomas NOËL a1106daad7 solis: add " in integration mako template 2014-02-21 15:10:37 +01:00
Thomas NOËL 38d4317672 queue: don't use models verbose_name (fix #4339)
too long verbose_name are not possible with Django
(https://code.djangoproject.com/ticket/18866) so I prefer not to use
verbose_name at all.
2014-02-21 13:06:59 +01:00
Serghei Mihai 4bd2ed03e6 catching the eventual exceptions when the model is not synced with the db 2014-02-19 19:32:14 +01:00
Serghei Mihai 04442cf4c8 searching for template vars dict in TEMPLATE_VARS attribute from *settings*
Closes #4300
2014-02-17 19:52:25 +01:00
Serghei Mihai e321b0514a template vars used in *sqlrepost* app 2014-02-17 16:52:39 +01:00
Serghei Mihai 85e19299aa template vars, defined in the database, used in template contexts and in apps code 2014-02-17 10:03:03 +01:00
Serghei Mihai c465e4afbe sqlalchemy dependency added for *sqlrepost* app 2014-02-14 14:42:23 +01:00