Matias Bordese
2bcbac8454
Enable service account token auth for public API ( #5254 )
...
Related to https://github.com/grafana/oncall-private/issues/2826
Continuing work started in https://github.com/grafana/oncall/pull/5211 ,
this adds support for Grafana service accounts tokens for API
authentication (except alert group actions which will still require a
user behind). Next steps would be updating the go client and the
terraform provider to allow service account token auth for OnCall
resources.
Following proposal 1.1 from
[doc](https://docs.google.com/document/d/1I3nFbsUEkiNPphBXT-kWefIeramTY71qqZ1OA06Kmls/edit?usp=sharing ).
2024-11-19 12:52:23 +00:00
Matias Bordese
91b67b90d4
Enable RBAC support for public API endpoints ( #5211 )
...
Related to https://github.com/grafana/oncall-private/issues/2826
2024-10-30 09:54:55 +00:00
Matias Bordese
e0816dd1ff
Minor optimizations for public API endpoints ( #5172 )
...
- Add/update eager loading for public API serializers
- Use cached final schedule to get currently on-call users
2024-10-11 19:39:39 +00:00
Vadim Stepanov
4ccfda58e5
Disallow creating and deleting direct paging integrations ( #3475 )
...
# What this PR does
Disallows creating and deleting direct paging integrations via both
internal and public APIs. It also hides the direct paging option in the
UI when creating a new integration.
## Which issue(s) this PR fixes
Related to https://github.com/grafana/oncall-private/issues/2302
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
---------
Co-authored-by: Dominik <dominik.broj@grafana.com>
2023-12-04 13:13:53 +00:00
Ildar Iskhakov
0b28815d46
Unhide direct paging integration ( #2483 )
...
# What this PR does
Fixes https://github.com/grafana/oncall/issues/2442
https://github.com/grafana/oncall/assets/2262529/08bb8e5f-acc6-4f2d-9e38-717c9f37e3da
## Which issue(s) this PR fixes
## Checklist
- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-13 13:41:31 +08:00
Vadim Stepanov
2b0abf018c
Hide direct paging integrations ( #1162 )
...
# What this PR does
Hide direct paging integrations from the web UI. Related to
https://github.com/grafana/oncall/issues/823
## Checklist
- [x] Tests updated
- [ ] Documentation added (N/A)
- [ ] `CHANGELOG.md` updated (N/A)
2023-01-20 13:29:57 +00:00
Vadim Stepanov
920a863262
Revert "Alert group search by title ( #466 )" ( #479 )
...
This reverts commit f1f4303825 .
2022-09-05 11:44:22 +01:00
Vadim Stepanov
f1f4303825
Alert group search by title ( #466 )
...
* use web title template to render alert group verbose name
* remove group_verbose_name from tests
* clean up group_verbose_name
* remove verbose_name from API & plugin
* verbose_name migration
* update verbose name on web title template change
* use long queue for updating verbose name
* use first alert for updating verbose name
* improve batch_ids
2022-09-05 10:05:19 +01:00
Innokentii Konstantinov
4765c9b07c
Insight logs ( #348 )
...
* Entity events insight logs
* Insight logging
* Fix event for updating templates
* Format fixes
* Remove organization_log_type.py
* Simplify signature of chatops_insight_log
* insight logs formatting
* Add possibility to enable all insight logging via DynamicSetting
* Fixes
* Style fixes
* Add migration
* Fix migration
2022-08-24 12:04:44 +05:00
Innokentii Konstantinov
48bfe86d62
Add cloud connection statuses on user page ( #34 )
...
* Add cloud connection statuses on user page
* Add fixes for oncall hobby docker-compose installation
* Fix for links and for cloud user status at User settings
* Delete cloud api token on cloud disconnect
* Merge branch 'dev' into cloud_connection_statuses_on_user_page
* Fix cloud statuses for users
* Fix usagestats service
* Fix phone verification message in users table
* added request after syncing user
* Add endpoint to create CloudHeartbeat and polish code
* Fix imports
* Check token and heartbeat setting in setup_hertbeat_integration
* Add macthed_users_count in cloud users
* Sync users on token change
* Fix query param
* Fix tests
* Heartbit button logic, tab width fix, coount users fix
* Solve problem of existent cloud heartbeat integration
* Solve problem of existent cloud heartbeat integration 2
* Solve problem of existent cloud heartbeat integration 3
* fix build
* build fix, styles for env variables description
Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-13 16:29:08 +04:00
Matias Bordese
0e26568857
Remove demo token related code/logic
2022-06-09 09:16:10 -03:00
Michael Derynck
6b40f95033
World, meet OnCall!
...
Co-authored-by: Eve832 <eve.meelan@grafana.com>
Co-authored-by: Francisco Montes de Oca <nevermind89x@gmail.com>
Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
Co-authored-by: maskin25 <kengurek@gmail.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
Co-authored-by: Matvey Kukuy <motakuk@gmail.com>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Richard Hartmann <richih@richih.org>
Co-authored-by: Robby Milo <robbymilo@fastmail.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-03 08:09:47 -06:00