oncall-engine/engine/apps/auth_token
Ildar Iskhakov 1fc3f6d301
Refactor plugin sync (#1200)
# What this PR does

This PR adds a shortcut in the plugin synchronisation process, so the
existing users will be able login without waiting for the sync task.
Every request still starts the background synchronisation task, to be
able to propagate the organisation changes faster than periodic task. It
means that we don't necessarily need "force reload" button in the
interface.
For all the other cases (user does not exist, organisation token "not
ok", etc) process remains same - plugin will show "Initialising
plugin..." until the background task in successfully completed

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-01-25 09:12:08 +08:00
..
migrations Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
models Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
tests World, meet OnCall! 2022-06-03 08:09:47 -06:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth.py Refactor plugin sync (#1200) 2023-01-25 09:12:08 +08:00
constants.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
crypto.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
exceptions.py World, meet OnCall! 2022-06-03 08:09:47 -06:00