Commit Graph

88 Commits

Author SHA1 Message Date
Benjamin Dauvergne 19d3883821 misc: ignore filters and loops for unknown dimensions (#75513)
Check they are reported in HTML and JSON view.
2023-04-22 15:06:49 +02:00
Benjamin Dauvergne 2ce0efa30a tox.ini: run in pg_virtualenv (#75513) 2023-04-22 15:06:49 +02:00
Agate c90ebaa684 dev: avoid connection to user database when running tests (#68312) 2022-08-22 11:13:08 +02:00
Frédéric Péters ae6d084cd0 tests: include bijoe in test database name 2022-05-15 10:58:53 +02:00
Valentin Deniaud 7910ee76a4 misc: remove usage of "six" module (#63687) 2022-04-20 14:21:20 +02:00
Benjamin Dauvergne d6fdb4affd schemas: fix loop handling for date dimension (#59691)
When date dimension is used with a loop, the filter is a list of date
instead of date range dictionnary.
2021-12-15 09:25:39 +01:00
Benjamin Dauvergne 314266a8af misc: report unknown dimensions as errors (#58680) 2021-11-23 21:00:05 +01:00
Benjamin Dauvergne 6a011b145a misc: add grouping of data by day (#57825) 2021-10-19 16:53:19 +02:00
Benjamin Dauvergne 65d33f00b7 misc: apply pyupgrade/isort/black (#56062) 2021-08-09 15:35:48 +02:00
Benjamin Dauvergne bee5061ace hobo_agent: copy sentry configuration into wcs-olap.ini (#56048) 2021-08-09 12:29:11 +02:00
Valentin Deniaud 9a16eee553 manager: load visualization filter choices using ajax (#35569) 2021-04-12 14:52:04 +02:00
Nicolas Roche 0ad3cc58ae engine: format where sql condition string (#47766) 2021-03-08 11:01:56 +01:00
Serghei Mihai cac1bc1534 views: use FeatureCollection for geojson format (#51163) 2021-02-18 10:05:11 +01:00
Benjamin Dauvergne 91adb6e0b2 misc: set Content-Disposition header for exports (#47060) 2020-09-28 10:16:33 +02:00
Benjamin Dauvergne ffb9a32285 tests: add test on sum of integers measures (#44289) 2020-06-26 11:52:46 +02:00
Benjamin Dauvergne be85302f2d engine: fix filtering of members of unjoined dimensions (#44289) 2020-06-26 11:51:47 +02:00
Benjamin Dauvergne fef18507c7 tests: do not leak file descriptors 2020-06-20 00:18:53 +02:00
Benjamin Dauvergne c676890178 misc: truncate schema names to 63 chars (#43042)
To comply with postgresql limitation, to prevent collisions a hash of
the full identifier is inserted in the middle.
2020-05-20 17:27:17 +02:00
Benjamin Dauvergne c7ebf40039 tests: remove dead test (#41814)
The deleted test used a dimension "retard_stat" which was not defined on
the target cube, but worked nonetheless since the list of JSON
dimensions was wrongly computed from a table named "formdata" and not
the fact table of the used cube, which is now fixed.
2020-05-07 18:51:12 +02:00
Benjamin Dauvergne 46b5349f93 tests: add test on JSON dimensions (#41814) 2020-05-07 18:51:12 +02:00
Frédéric Péters 87fa6a012d misc: switch to class-based login/logout views (#41633) 2020-04-18 12:20:27 +02:00
Nicolas Roche 8c16da984d python3: update idp login redirection (#40730) 2020-03-16 09:44:16 +01:00
Nicolas Roche 26dd217655 python3: encoding correction on hobo_deploy.py (#40726) 2020-03-16 09:35:40 +01:00
Nicolas Roche 21484832f2 python3: upgrade func_code core object to __code__ (#40570) 2020-03-13 11:56:39 +01:00
Nicolas Roche 909cb3f650 python3: import ConfigParser from six (#40570) 2020-03-13 11:56:39 +01:00
Nicolas Roche 3cb4b01c7c tests: add tests on views (#40664) 2020-03-13 11:53:55 +01:00
Nicolas Roche ea9fa1769e tests: add hobo tests on signature.py (#40664) 2020-03-13 11:50:03 +01:00
Frédéric Péters c5f70c4f2d hobo agent: cast postgresql dsn parts as strings (#40630) 2020-03-10 18:28:56 +01:00
Benjamin Dauvergne 7731e183fd schemas: do not clober value variable (#40484) 2020-03-06 10:44:15 +01:00
Benjamin Dauvergne df69adaf1a misc: fix Django import warning 2020-03-06 10:08:56 +01:00
Benjamin Dauvergne 46c4903731 misc: formatting 2020-03-06 10:08:23 +01:00
Benjamin Dauvergne 77447ed8dd tests: add non regression test (#40482) 2020-03-06 10:07:04 +01:00
Benjamin Dauvergne 68e29c7298 tests: add non regression test (#40484) 2020-03-06 09:51:48 +01:00
Benjamin Dauvergne 1dbee3c4b3 misc: use quoting in pg_dsn (#40275) 2020-03-03 10:59:19 +01:00
Benjamin Dauvergne d0c5e2c529 visualization: add a duplicate button (#13662) 2020-02-14 10:19:36 +01:00
Benjamin Dauvergne 76ef3b2fde visualization: handle no dimension in json_data() (#39362) 2020-01-29 10:14:47 +01:00
Valentin Deniaud 44b2aec236 misc: add visualization import/export (#30854) 2020-01-28 11:25:25 +01:00
Valentin Deniaud b371cff33e tests: move visualization creation to fixture (#30854) 2020-01-28 11:22:48 +01:00
Valentin Deniaud 621cfa9250 views: remove redirect from homepage to warehouse (#30854) 2020-01-28 11:22:48 +01:00
Benjamin Dauvergne 5d1524702a show cube warnings (#36578) 2020-01-27 17:59:22 +01:00
Benjamin Dauvergne 3b5dd98ad6 visualization: handle empty geolocation measure (#39180) 2020-01-27 17:56:22 +01:00
Benjamin Dauvergne f0f976c470 visualization: adapt geojson view to change in data structures (#38965) 2020-01-21 10:44:04 +01:00
Benjamin Dauvergne 86a8568cd6 tests: really report SQL fixture errors (#38965)
Without the ON_ERROR_STOP flag `psql` does not report SQL errors thourgh
its exist status.
2020-01-21 10:43:13 +01:00
Benjamin Dauvergne 0ddd5530ac tests: add test on javascript data rendering (#38908) 2020-01-17 14:54:02 +01:00
Benjamin Dauvergne 5473870dc2 visualisation: return 0.0 for None measures in json_data (#38913) 2020-01-15 23:42:20 +01:00
Benjamin Dauvergne 5b72a4be6d engine: force join to right when looking for members (#38913) 2020-01-15 23:42:20 +01:00
Benjamin Dauvergne f2b6ab958a tests: add test on json_data for None measures (#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
Benjamin Dauvergne 16b60621d4 engine: remove use of cross join (#38691)
It prevented reporting of NULL values.
2020-01-06 22:07:37 +01:00
Serghei Mihai 74a41d13ac utils: handle proxy objects in ods export (#38641) 2019-12-19 15:00:57 +01:00