Commit Graph

208 Commits

Author SHA1 Message Date
Jens Langhammer fa30755241 web: make ActionButton's method configurable 2021-02-09 16:14:51 +01:00
Jens Langhammer 101f916247 web: add source list page 2021-02-09 10:22:49 +01:00
Jens Langhammer ddb8610032 web: fix modalbutton for non-fetched sites 2021-02-09 10:00:33 +01:00
Jens Langhammer 22ad850e6c web: fix overflow on modalbutton 2021-02-09 09:57:59 +01:00
Jens Langhammer c1254f6212 web: update SiteShell to not use innerHTML 2021-02-08 23:16:20 +01:00
Jens Langhammer c8120c0d3e web: fix ModalButton working in global scope, causing issues on 2nd use 2021-02-08 23:10:45 +01:00
Jens Langhammer b3bd979ecd release: 2021.2.1-stable 2021-02-08 21:34:05 +01:00
Jens Langhammer db113c5e8f Merge branch 'master' into version-2021.2 2021-02-08 21:33:58 +01:00
Jens Langhammer 78bcb90a1e outposts: ensure Outpost API is backwards compatible 2021-02-08 19:51:46 +01:00
Jens Langhammer b64ecbde22 web: fix linting 2021-02-08 19:42:49 +01:00
Jens Langhammer 43bab840ec web: fix sidebar being active when stage prompts is selected 2021-02-08 19:08:39 +01:00
Jens Langhammer 820f658b49 web: add outpost list page 2021-02-08 19:04:19 +01:00
Jens Langhammer fe4b2d1a34 providers/oauth2: add authorized scopes to AUTHORIZE_APPLICATION event 2021-02-08 11:51:38 +01:00
Jens Langhammer 3ced67b151 sources/*: simplify source api 2021-02-08 10:25:59 +01:00
Jens Langhammer 1e934aa5d5 release: 2021.2.1-rc2 2021-02-07 19:04:43 +01:00
Jens Langhammer d93927755a Merge branch 'master' into version-2021.2 2021-02-07 19:04:37 +01:00
Jens Langhammer bf9826873e web: fix outpost item in sidebar being active on service connection views 2021-02-07 18:21:13 +01:00
Jens Langhammer c4311abc9f web: fix link to provider list on overview page 2021-02-06 22:46:09 +01:00
Jens Langhammer 33cdbd7776 release: 2021.2.1-rc1 2021-02-06 20:10:50 +01:00
Jens Langhammer 18bc54214d web: increase height of multi-select 2021-02-06 19:19:57 +01:00
Jens Langhammer 91282c7bd8 web: add page for Proxy Provider 2021-02-06 18:57:25 +01:00
Jens Langhammer 830b8bcd5b web: add page for OAuth2 Provider 2021-02-06 18:39:15 +01:00
Jens Langhammer 6aa6615608 web: add view page for SAML Provider 2021-02-06 18:07:13 +01:00
Jens L a6ac82c492
*: rewrite managed objects, use nullable text flag instead of boolean as uid (#533) 2021-02-06 15:56:21 +00:00
Jens Langhammer 1f8130e685 events: improve information sent in notification emails 2021-02-04 21:44:59 +01:00
Jens Langhammer 580d59e921 web: add EventInfoPage 2021-02-04 21:28:01 +01:00
Jens Langhammer 9f478bb46a web: fix type warnings 2021-02-04 21:10:13 +01:00
Jens Langhammer 7a16f97908 web: add ak-expand for event list to show full context 2021-02-04 20:59:18 +01:00
Jens Langhammer dd8c1eeb52 web: add ak-expand 2021-02-04 20:56:40 +01:00
Jens Langhammer 7e2a471903 web: fix linting issues 2021-02-04 10:22:14 +01:00
Jens Langhammer 9ca9e67ffa web: fix pagination not working correctly sometimes, fix pagination not showing when changing pages 2021-02-04 10:09:19 +01:00
Jens Langhammer 178417fe67 web: start implementing provider list 2021-02-04 10:09:19 +01:00
Jens Langhammer 1ab5289e2e admin: add test view for property mappings 2021-02-03 21:58:56 +01:00
Jens Langhammer ac24fc9ce3 web: add javascript mode to codemirror 2021-02-03 21:58:30 +01:00
Jens Langhammer 44686de74e docs: prepare 2021.2 releases 2021-02-03 21:29:13 +01:00
Jens L e25d03d8f4
Managed objects (#519)
* managed: add base manager and Ops

* core: use ManagedModel for Token and PropertyMapping

* providers/saml: implement managed objects for SAML Provider

* sources/ldap: migrate to managed

* providers/oauth2: migrate to managed

* providers/proxy: migrate to managed

* *: load .managed in apps

* managed: add reconcile task, run on startup

* providers/oauth2: fix import path for managed

* providers/saml: don't set FriendlyName when mapping is none

* *: use ObjectManager in tests to ensure objects exist

* ci: use vmImage ubuntu-latest

* providers/saml: add new mapping for username and user id

* tests: remove docker proxy

* tests/e2e: use updated attribute names

* docs: update SAML docs

* tests/e2e: fix remaining saml cases

* outposts: make tokens as managed

* *: make PropertyMapping SerializerModel

* web: add page for property-mappings

* web: add codemirror to common_styles because codemirror

* docs: fix member-of in nextcloud

* docs: nextcloud add admin

* web: fix refresh reloading data two times

* web: add loading lock to table to prevent double loads

* web: add ability to use null in QueryArgs (value will be skipped)

* web: add hide option to property mappings

* web: fix linting
2021-02-03 21:18:31 +01:00
Jens Langhammer 4d7e64c48c web: adjust trace sample rate 2021-02-02 15:50:29 +01:00
Jens Langhammer 7c0c453d9f web: fix new provider dropdown being cut off 2021-01-30 12:38:33 +01:00
Jens Langhammer 3e3f29973b release: 2021.1.4-stable 2021-01-29 10:29:06 +01:00
Jens Langhammer ac7b0ac965 web: fix site-shell being cut off when not full height 2021-01-28 22:17:20 +01:00
Jens Langhammer 5c3f410016 release: 2021.1.3-stable 2021-01-27 10:50:48 +01:00
Jens Langhammer 6f1fb9ca43 release: 2021.1.2-stable 2021-01-18 11:14:55 +01:00
Jens Langhammer 677a181b9c release: 2021.1.1-stable 2021-01-17 22:36:16 +01:00
Jens Langhammer 217cca822d web: fix sidebar overlaying background 2021-01-17 20:09:53 +01:00
Jens Langhammer cf76652a4c release: 2021.1.1-rc2 2021-01-17 17:40:43 +01:00
Jens Langhammer 94182f88a4 release: 2021.1.1-rc1 2021-01-17 17:25:47 +01:00
Jens Langhammer 6495d6c50a web: fix tabs detecting all slot elements 2021-01-16 23:04:08 +01:00
Jens Langhammer 8acb9dde5f web: add notification 'mark as seen' button 2021-01-16 19:09:03 +01:00
Jens Langhammer 36e8b1004c web: add update method 2021-01-16 19:08:20 +01:00
Jens Langhammer 394ad6ade5 web: wrap notifications desc 2021-01-16 18:22:25 +01:00
Jens Langhammer 4baf9e4a22 web: fix unread count, use white-space pre 2021-01-16 18:04:09 +01:00
Jens Langhammer d020599e09 web: format json output for EventInfo 2021-01-16 17:02:31 +01:00
Jens Langhammer c1fbfc63ab core: use version in qs for static files to ensure latest are loaded 2021-01-16 14:15:42 +01:00
Jens Langhammer 192dbe05c4 events: triggers -> rules 2021-01-16 14:15:23 +01:00
Jens Langhammer 0b41cb84f0 web: update styling of notification drawer to match rest 2021-01-15 12:16:35 +01:00
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