Commit Graph

29 Commits

Author SHA1 Message Date
Frédéric Péters 0a6b1142cf build: sync setup.py get_version with other modules (#83434)
gitea/bijoe/pipeline/head There was a failure building this commit Details
2023-11-13 15:25:28 +01:00
Valentin Deniaud 830e245665 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:12:08 +02:00
Benjamin Dauvergne 058a1378ff tox.ini: run compile_translations before tests 2023-04-22 14:53:57 +02:00
Benjamin Dauvergne a427740907 dj32: adapt dependencies on Django-Select2 (#67950) 2023-01-31 15:39:30 +01:00
Agate e384709134 dj32: enable django 3.2 testing in tox file (#67950) 2023-01-31 15:39:27 +01:00
Frédéric Péters 8083554ab8 general: switch to django postgresql json field (#64294) 2022-05-15 10:45:21 +02:00
Frédéric Péters 04de3e7ae2 build: update setup.py to require django at least django 2.2 2021-12-19 16:34:05 +01:00
Benjamin Dauvergne 65d33f00b7 misc: apply pyupgrade/isort/black (#56062) 2021-08-09 15:35:48 +02:00
Benjamin Dauvergne 2ff4ba0720 setup.py: use latest django-rest-framework 2020-06-20 00:18:53 +02:00
Frédéric Péters b9109b635d misc: allow django 2.2 and djangorestframework 3.8 (#41633) 2020-04-18 12:20:27 +02:00
Nicolas Roche e43606f823 python3: use force_text on subprocess output (#40570) 2020-03-13 11:56:39 +01:00
Nicolas Roche 4a795f3186 python3: remove print from setup.py (#40570) 2020-03-13 11:56:39 +01:00
Frédéric Péters d38873bdd4 build: limit to django-jsonfield<1.3, for Python 2 support 2019-08-18 12:58:40 +02:00
Frédéric Péters c467ce6bf0 bump accepted django-restframework to 3.6 (#29964) 2019-01-22 10:43:53 +01:00
Frédéric Péters 1ff6541fd0 settings: get select2 from xstatic (#17092) 2018-01-03 11:47:02 +01:00
Benjamin Dauvergne 8d47cf5cf1 setup.py: restrict to Django-Select2<6 (fixes #20400) 2017-12-04 16:24:28 +01:00
Benjamin Dauvergne 5a403eba62 setup.py: restrict to Django-Select2<5 (fixes #20400) 2017-12-04 09:56:16 +01:00
Benjamin Dauvergne 90a503297c rename bijoe-ctl to manage.py (fixes #15564) 2017-03-22 22:37:17 +01:00
Benjamin Dauvergne 91cdece1e1 update for Django 1.10 2017-03-10 18:38:44 +01:00
Benjamin Dauvergne 6d3f6c7716 add a geojson export of visualization data (fixes #15180) 2017-03-01 18:09:41 +01:00
Benjamin Dauvergne 039e5e147c setup.py: fix path for looking for translation files 2016-09-23 19:12:38 +02:00
Benjamin Dauvergne ca08cb0a9f setup.py: compile translations when building or installing 2016-09-23 19:10:01 +02:00
Benjamin Dauvergne 626f5190dc support relative date ranges (fixes #13245)
Modify DateRangeWidget so that it can return relative date strings instead of
ISO8691 date strings. Those strings are interpreted by a new class
bijoe.relative_time.RelativeDate.
2016-09-22 10:42:05 +02:00
Benjamin Dauvergne 4ca7b774f6 allow saving cube display and naming them (fixes #12969) 2016-08-27 17:11:57 +02:00
Benjamin Dauvergne c6aa7e30b3 limit django-select2 version to <5 2016-07-21 14:25:40 +02:00
Benjamin Dauvergne 17e4461781 add more tests and publik integration
- 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
2016-07-14 10:21:00 +02:00
Benjamin Dauvergne 1e43909507 debian packaging 2016-06-24 15:54:12 +02:00
Benjamin Dauvergne b6df6a2a35 bi-joe: BI engine and frontend for PostgreSQL 2016-05-25 01:24:07 +02:00
Benjamin Dauvergne cb206893cd wcs-olap: build a start schema from data exported by w.c.s. API
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
2016-05-19 11:13:12 +02:00