Commit Graph

33 Commits

Author SHA1 Message Date
Benjamin Dauvergne 65d33f00b7 misc: apply pyupgrade/isort/black (#56062) 2021-08-09 15:35:48 +02:00
Nicolas Roche f987c27631 python3: encode unicode-objects before hashing (#40570) 2020-03-13 11:56:39 +01:00
Nicolas Roche a6d0bc47a5 python3: replace iteritems by items method (#40570) 2020-03-13 11:56:39 +01:00
Nicolas Roche 8a9769eb4d python3: replace unicode type (#40570) 2020-03-13 11:56:39 +01:00
Benjamin Dauvergne edb19179d3 visualization: do not match null warehouse_slug (#39482) 2020-02-03 14:11:25 +01:00
Benjamin Dauvergne 76ef3b2fde visualization: handle no dimension in json_data() (#39362) 2020-01-29 10:14:47 +01:00
Benjamin Dauvergne d5aa874116 visualization: use formatting instead of unicode() (#38908) 2020-01-17 14:54:11 +01:00
Benjamin Dauvergne 7e858006b6 visualization: format axis members before JSON serialization (#38908) 2020-01-17 14:54:11 +01:00
Benjamin Dauvergne 5473870dc2 visualisation: return 0.0 for None measures in json_data (#38913) 2020-01-15 23:42:20 +01:00
Valentin Deniaud ebb9cb3e39 visualization: add warehouse slug support (#38596) 2020-01-15 15:27:32 +01:00
Serghei Mihai 74a41d13ac utils: handle proxy objects in ods export (#38641) 2019-12-19 15:00:57 +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
Benjamin Dauvergne 6402c7ea99 visualization/utils: remove dead import (#38067) 2019-12-03 16:53:25 +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 c289591dd3 visualization: keep None value for dimension cells (#35295) 2019-08-12 20:18:19 +02:00
Benjamin Dauvergne 3eba242597 correctly export numbers to ODS (fixes #28058) 2019-01-16 11:03:01 +01:00
Benjamin Dauvergne 6974f1f56e add support for string columns (fixes #29768) 2019-01-16 10:57:21 +01:00
Benjamin Dauvergne 973f793f0a add support for boolean values (fixes #16346) 2019-01-15 17:13:04 +01:00
Benjamin Dauvergne 86b169bd6c visualization: add setting to disable cache (#27407) 2019-01-15 13:01:21 +01:00
Paul Marillonnet 9fce28d13d visualization: percent formatting (#16023) 2017-05-14 19:10:55 +02:00
Benjamin Dauvergne 62d181a384 add loop to drilldown dimensions (#15168) 2017-03-01 18:07:35 +01:00
Benjamin Dauvergne 4b50723bb4 fix Visualization.to_json() for loop (#15168) 2017-03-01 18:07:19 +01:00
Benjamin Dauvergne 0d9e3fb52d delete unused Visualization.grouped_data() 2017-03-01 10:44:25 +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 1978ba356b fix cache key computation (fixes #15096) 2017-02-22 18:13:43 +01:00
Benjamin Dauvergne 640979e348 raise Http404 if warehouse or cube have disappeared (fixes #14319) 2017-02-21 22:42:22 +01: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 a874228004 pass request object to Visualizaiton.from_json() (#12969) 2016-08-27 17:44:45 +02:00
Benjamin Dauvergne 4ca7b774f6 allow saving cube display and naming them (fixes #12969) 2016-08-27 17:11:57 +02:00