Commit Graph

32 Commits

Author SHA1 Message Date
Benjamin Dauvergne f0f976c470 visualization: adapt geojson view to change in data structures (#38965) 2020-01-21 10:44:04 +01:00
Valentin Deniaud 6d790559a4 views: add pagination to visualizations list (#27410) 2019-12-17 10:18:03 +01:00
Valentin Deniaud 4f9c50badd visualization: use correct Visualization object (#38356) 2019-12-10 16:48:52 +01:00
Benjamin Dauvergne 10b4405fd1 engine: propagate filters to dimension's members enumeration (#38067) 2019-12-04 19:30:42 +01:00
Benjamin Dauvergne 72e8d4c83e overhaul of query to table transformation (#38067)
* during query obtain dimension id and label if a different projection
is defined
* use object to materialize query results : Cells, DimensionCell,
MeasureCell
* handle stringification in the *Cell classes
* never ignore NULL dimension's values (it's detected in
Visualization.data() and added to the list of dimension members)
* sum of columns is only computed if there are more than one column
* sum of rows is only computed if there are more than one row
* full sum is only computed if there are more thant one column and more
than one row
* 1 dimension table are computed in the same maner as 2 dimensions
tables, no more discrepancies
* JSON web-service now use the same base methods table_2d() and table_1d()
as the native rendering in bijoe
* EngineDimension.members is specialized for bool dimensions (as it's
always True/False)
2019-12-03 21:04:01 +01:00
Frédéric Péters 833449e236 api: export measure type (#37935) 2019-11-29 11:59:07 +01:00
Valentin Deniaud 6553db03ed visualization: share warehouses between visualizations (#37913) 2019-11-25 15:06:20 +01:00
Valentin Deniaud a0caedde62 views: grey out unavailable visualizations (#27412) 2019-11-21 11:56:14 +01:00
Valentin Deniaud 7a5373c91e utils: get tenant from import rather than request (#27412) 2019-11-21 11:53:27 +01:00
Benjamin Dauvergne 09c52ca6c3 views: export duration as numbers in JSON API (#36770) 2019-10-13 22:44:29 +02:00
Frédéric Péters 789d2d2d9b misc: force labels to be text for json view (#35885) 2019-09-06 15:40:20 +02:00
Frédéric Péters 9fbda03caf misc: require authentication to download ods (#35447) 2019-08-19 14:39:03 +02:00
Frédéric Péters b3839357a7 api: use empty strings for None labels (#35448) 2019-08-19 14:39:03 +02:00
Frédéric Péters c196221f4b misc: add slugs to visualizations (#30855) 2019-08-12 20:15:23 +02:00
Frédéric Péters 4796c5cf2e api: add json view of visualization data (#26847) 2019-03-19 08:03:32 +01:00
Frédéric Péters 24943e3136 views: move ods export next to other visualisation actions (#30865) 2019-02-28 08:28:40 +01:00
Benjamin Dauvergne 2f2b3166cb does not show the ODS button if the visualization is not valid (fixes #21457) 2018-11-30 10:39:44 +01:00
Frédéric Péters b1ab8857d0 use {} format syntax in success url (#21863)
Using %()s was deprecated and is no longer available in Django 1.11.
2018-02-19 13:00:09 +01:00
Frédéric Péters bfdfb3e517 fix visualisation removal success url (#21045) 2018-01-08 17:22:30 +01:00
Serghei Mihai bc669362e1 geojson: fix MultiPoint syntax (#16368) 2017-05-17 09:45:18 +02:00
Benjamin Dauvergne 6d3f6c7716 add a geojson export of visualization data (fixes #15180) 2017-03-01 18:09:41 +01:00
Benjamin Dauvergne 970dff985e finish adapting visualization to new fields loop, drilldown_x and drilldown_y 2017-02-28 14:08:00 +01:00
Benjamin Dauvergne ab947ce0a0 add support for loop, horizontal and vertical drilldowns and row/columns totals (fixes #15168)
- allow filtering on date-like generated dimensions.
2017-02-28 00:00:29 +01:00
Benjamin Dauvergne 8339c801dd do not save visualization on parameters change (fixes #14644) 2017-02-21 22:42:22 +01:00
Benjamin Dauvergne 8e9d5cee61 apply AuthorizationMixin to CubeView (fixes #14267) 2016-12-12 10:37:03 +01:00
Benjamin Dauvergne ba950e1702 use mellon_no_passive flag on iframe views (fixes #13265)
Without it and if A2_OPENED_COOKIE is present at not MELLON_PASSIVE_TRIED, the
signature of the iframe URL is simply ignored and redirect to the login page
occur.
2016-10-19 15:07:58 +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
Frédéric Péters 5958adf24e api: check orig query parameter against verif_orig value (#12985) 2016-08-29 21:38:15 +02:00
Frédéric Péters fb4fc60b58 misc: allow saved visualisation to be displayed in <iframe> (#12986) 2016-08-29 21:38:15 +02:00
Benjamin Dauvergne a874228004 pass request object to Visualizaiton.from_json() (#12969) 2016-08-27 17:44:45 +02:00
Benjamin Dauvergne 6f4eace3ed fix authentication in JSON endpoint to list saved visualization (#12969) 2016-08-27 17:44:24 +02:00
Benjamin Dauvergne 4ca7b774f6 allow saving cube display and naming them (fixes #12969) 2016-08-27 17:11:57 +02:00