* make it compatible with django-select2 >=5 by implemting a dummy templatetag
* use jquery.form.js to submit cube settings
* use addclear.js to clear data fields
* make one chart by measure
* use pie charts for percent measure
* add automatic coloring of charts
* use a button style for the Download PNG link of charts
* add URL to bookmark cube settings
* float cube form on the right
* fix multiple loading of django-select2
* make the representation choosable between table and charts
* group dimension cells in tables
* add label to y-axis of bar charts
* separte measures into multiple charts
* reduce decimals to 2 in charts
- authorization based on superuser status of users
- menu.json view for portal agent integration
- login/logout page for standalone launch
- tests of basic access control on menu.json and homepage views
Given such an .INI file:
[https://demarches.triffouilly.fr/]
orig = bi.triffouilly.fr
key = 452b8964
pg_dsn = dbname=publik-bi
email = bi@entrouvert.com
schema = triffouilly
# slugs = recette-technique-ajout-d-un-enfant
It builds a schema named 'triffouilly' in the pre-existing database named 'publik-bi', the schema will contains tables named:
channel (label varchar)
role (label varchar)
category (label varchar)
form (category, label)
formdata : parent table of all formdata tables)
(form, receipt_time, year, month, dow, hour, channel, backoffice, generic_status)
status (generic statuses: new, in progress & closed
label
for each formdef tables named:
formdata_{formdef.slug}
status_{formdef.slug}
for each anonymisable