Commit Graph

103 Commits

Author SHA1 Message Date
Jens Langhammer 2579e168c3 web: start implementing notifications 2021-01-14 22:14:35 +01:00
Jens Langhammer 7f5caf901d expressions: set exception as message field 2021-01-14 21:58:10 +01:00
Jens Langhammer 1c686e19b5 policies: set message instead of error for Event 2021-01-14 20:17:21 +01:00
Jens Langhammer 8f5b33a3a2 web: show more context on policy_exception 2021-01-14 18:13:52 +01:00
Jens Langhammer eef111bcfd events: disable policy cache for trigger 2021-01-14 17:39:59 +01:00
Jens Langhammer 1342266368 events: include full group in event notification 2021-01-14 17:22:02 +01:00
Jens Langhammer 36bc1dc020 events: record source when user is using source to authenticate 2021-01-12 22:48:55 +01:00
Jens Langhammer 47ddf0d7f2 web: add UI for notification triggers 2021-01-12 22:26:57 +01:00
Jens Langhammer cb36a3c8c7 web: add event transports UI 2021-01-12 22:12:16 +01:00
Jens Langhammer 6f56c37d2f web: make action button better handle errors and show messages 2021-01-12 21:52:21 +01:00
Jens Langhammer cab2942c4e web: fix [object Object] being shown for policy_execution
closes #449
2021-01-05 11:52:25 +01:00
Jens Langhammer 4daa373dcf web: match on path begin in sidebar 2020-12-31 14:19:36 +01:00
Jens Langhammer a85b8a65c0 release: 0.14.2-stable 2020-12-31 12:00:31 +01:00
Jens Langhammer d8dc1f8bb5 web: fix linting 2020-12-31 11:34:30 +01:00
Jens Langhammer 0f4d5bc3b0 web: fix colour for selected sortable table header 2020-12-31 11:31:49 +01:00
Jens Langhammer 6eed549577 web: add EventInfo case for policy_execution 2020-12-31 11:21:52 +01:00
Jens Langhammer 0632d8ff37 web: fix loading overlay for site-shell 2020-12-30 23:12:55 +01:00
Jens Langhammer 6bfaf71c12 web: fix link on application list 2020-12-30 22:50:27 +01:00
Jens Langhammer b6c8c319e5 web: default to open sidebar 2020-12-30 22:45:00 +01:00
Jens Langhammer 16d5e1d9ff release: 0.14.1-stable 2020-12-29 21:25:49 +01:00
Jens Langhammer 540c22ce15 release: 0.14.0-stable 2020-12-28 17:49:45 +01:00
Jens Langhammer 8c3008abce release: 0.14.0-rc2 2020-12-28 17:49:39 +01:00
Jens Langhammer 8a22c86aaa release: 0.14.0-rc1 2020-12-28 17:49:35 +01:00
Jens Langhammer 590597caf6 events: replace list view with SPA Page 2020-12-28 14:32:34 +01:00
Jens Langhammer 7b43777b22 web: reset expanded rows on fetch 2020-12-28 14:04:07 +01:00
Jens Langhammer 77861b52e3 web: fix search loading old results when using enter 2020-12-28 13:56:33 +01:00
Jens Langhammer 5f9c1e229c root: return API dates as timestamp 2020-12-28 13:07:49 +01:00
Jens Langhammer 119adb3e7b web: fix old default URL 2020-12-28 13:07:35 +01:00
Jens Langhammer 5db38bd0b7 web: lazy-render expanded table 2020-12-28 13:07:20 +01:00
Jens L a6d0c8c26c
providers/saml: Metadata Import (#432)
* providers/saml: add basic metadata parser

* providers/saml: add importer for Singing certificate, validate signature, add tests

* providers/saml: add provider name to form,

* web: don't use trailing slash for spa URLs

* providers/saml: formatting fixes

* sources/*: add verbose_name to source serializers

* admin: add button launch import modal
2020-12-27 22:38:04 +01:00
Jens Langhammer 4fea0f5939 web: fix error when applications have no provider assigned 2020-12-27 19:40:50 +01:00
Jens Langhammer a7bdd63e4d web: make siteshell's loading be relative to parent 2020-12-27 19:36:30 +01:00
Jens Langhammer 12cbe464fc web: fix table styling on mobile 2020-12-27 12:50:12 +01:00
Jens L a9336f069c
flows: add diagrams (#415)
* flows: initial diagram implementation

* web: install flowchart.js, add flow diagram page

* web: adjust diagram colours for dark mode

* flows: add permission checks for diagram

* flows: fix formatting

* web: fix formatting for web

* flows: add fix when last stage has policy

* flows: add test for diagram

* web: flows/diagram: add support for light mode

* flows: make Flows's Diagram API return json, add more tests and fix swagger response
2020-12-26 17:05:11 +01:00
Jens Langhammer 95b56a0005 release: 0.13.5-stable 2020-12-26 00:52:42 +01:00
Jens Langhammer a56ddb2b8e release: 0.13.4-stable 2020-12-24 15:46:08 +01:00
Jens L 79da2bf698
web: Table parity (#427)
* core: fix application API always being sorted by name

* web: add sorting to tables

* web: add search to TablePage

* core: add search to applications API

* core: add MetaNameSerializer

* *: fix signature for non-modal serializers

* providers/*: implement MetaNameSerializer

* web: implement full app list page, use as default in sidebar

* web: fix linting errors

* admin: remove old application list

* web: fix default sorting for application list

* web: fix spacing for search element in toolbar
2020-12-24 09:56:05 +01:00
Jens Langhammer f035da440a web: fix sidebar being overlayed over modal backdrop 2020-12-22 20:30:46 +01:00
Jens L a4dc6d13b5
events: rename audit to events and use for more metrics (#397)
* events: rename audit to events

* policies/expression: log expression exceptions as event

* policies/expression: add ExpressionPolicy Model to event when possible

* lib/expressions: ensure syntax errors are logged too

* lib: fix lint error

* policies: add execution_logging field

* core: add property mapping tests

* policies/expression: add full test

* policies/expression: fix attribute name

* policies: add execution_logging

* web: fix imports

* root: update swagger

* policies: use dataclass instead of dict for types

* events: add support for dataclass as event param

* events: add special keys which are never cleaned

* policies: add tests for process, don't clean full cache

* admin: create event when new version is seen

* events: move utils to separate file

* admin: add tests for admin tasks

* events: add .set_user method to ensure users have correct attributes set

* core: add test for property_mapping errors with user and request
2020-12-20 22:04:29 +01:00
Jens Langhammer 4d88dcff08 web: expand sidebar by default on desktop, auto collapse 2020-12-20 19:26:30 +01:00
Jens Langhammer e62333dfb3 web: use displyname in sidebar for user 2020-12-19 17:44:02 +01:00
Jens Langhammer e23afd18e4 release: 0.13.3-stable 2020-12-19 16:55:07 +01:00
Jens L c2a30b760a
web: allow Sidebar to be opened on mobile (#417)
* web: initial sidebar trigger on mobile

* web: render hamburger button as overlay top right
2020-12-19 16:54:25 +01:00
Jens Langhammer e4b66d991c release: 0.13.2-stable 2020-12-17 20:20:47 +01:00
Jens Langhammer 1aecdc7f8f web: fix css for policy tertiary buttons and text on flow card 2020-12-17 14:31:45 +01:00
Jens Langhammer e6ccd4fa76 web: fix file name casing 2020-12-17 00:18:24 +01:00
Jens Langhammer 86aabba3ed web: fix file name casing 2020-12-17 00:18:03 +01:00
Jens Langhammer 64d2a216f0 web: fix linting 2020-12-16 23:50:23 +01:00
Jens Langhammer 29f98abd00 root: update swagger 2020-12-16 23:32:14 +01:00
Jens Langhammer 7b5ce4e98a web: use colours for icons, move users to separate card 2020-12-16 23:28:04 +01:00