Rares Mardare
ea54d21b76
Merge branch 'dev' into 472-wrong-team
2022-09-26 13:34:46 +03:00
Michael Derynck
accee4ebbe
Use create_engine_url to add prefix to previous/next links ( #553 )
...
* Use create_engine_url to add prefix to previous/next links
* Remove override of get_paginated_response since it is unchanged from parent
* More concise override
* Make both overrides behave the same
* add test for public API alert groups pagination
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2022-09-23 10:45:28 +01:00
Matias Bordese
4412ae52d2
Merge pull request #552 from grafana/matiasb/fix-outgoing-webhook-resolve-hostname
...
Fix outgoing webhook to resolve IP from parsed hostname
2022-09-22 20:22:29 -03:00
Matias Bordese
2988c10c92
Fix outgoing webhook to resolve IP from parsed hostname
2022-09-22 14:35:37 -03:00
Matias Bordese
8c3d5656a2
Merge pull request #548 from grafana/matiasb/rework-bulk-actions
...
Rework queries for alert groups bulk actions
2022-09-22 10:41:30 -03:00
Joey Orlando
e16064c6ba
#539 - add slack permalink to alert group public API response ( #543 )
...
* add .python-version to .gitignore
* add .nvmrc to frontend
Also update DEVELOPER.md to mention optionally using nvm
* update DEVELOPER.md to reflect running successfully locally
* markdown autoformatter styling changes
* add slack permalink to alertgroup public api http response
* update changelog
* address PR comments
- rename permalink to permalinks in alert group public api seralizer
- add permalinks property to AlertGroup model
- update public api alert groups test
- update alertgroups public documentation to include permalinks property
* add default DEBUG = True in dev.py settings
2022-09-22 15:17:17 +02:00
Matias Bordese
859a04e42a
Add transaction blocks
2022-09-22 09:15:13 -03:00
Matias Bordese
8e7c6cf554
Rework queries for alert groups bulk actions
2022-09-21 15:50:31 -03:00
Michael Derynck
b6faf425fd
Handle parse exception
2022-09-21 12:36:52 -06:00
Michael Derynck
edac2e334f
Use phonenumbers package to validate live settings twilio number instead of regex to support EU number
2022-09-21 12:22:05 -06:00
Matias Bordese
1392994d26
Merge pull request #526 from grafana/matiasb/fix-all-day-filter-events
...
Fix support for all_day events in schedule filter_events
2022-09-21 08:58:06 -03:00
Maxim Mordasov
9330b89101
Schedules alpha fixes ( #541 )
...
* schedule alpha major fixes
* Fix shift update for web schedules
* Fix priority level regex, fix getting shifts without duration
* Fix shift update for web schedules
* Fix tests for shift update
* Fix priority level test
* schedule alpha fixes
* add final schedule click handler
* fix date time picker
* fix utc timzeonr time picker
* fix utc time data
* dont use user timezone on start
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
2022-09-21 11:19:59 +01:00
Julia
aeb8de96a2
Update comment for wrong_team_response in UserView
2022-09-20 14:47:42 +03:00
Vadim Stepanov
77984b77ab
Fix empty byday in ICAL rrule ( #535 )
2022-09-16 12:36:50 +01:00
Julia
c92faf23c6
Add tests for wrong team for user
2022-09-16 11:53:47 +03:00
Julia
4bcdcfa381
Wrong team error for user page
2022-09-16 11:52:38 +03:00
Michael Derynck
07468de0a8
Merge pull request #514 from grafana/fix-delete-organization-log-message
...
Fix log message
2022-09-13 08:33:25 -06:00
Matias Bordese
284fcfe74d
Refactoring, adding tests
2022-09-13 10:30:34 -03:00
Matias Bordese
4ec1727ecf
Fix support for all_day events in schedule filter_events
2022-09-12 17:25:46 -03:00
Julia
7d5636291a
Wrong team error for integrations and escalation chains pages
2022-09-12 17:30:45 +03:00
Julia
e4ae10c678
Wrong team error for schedules and custom buttons, add flag to get object from the whole organization
2022-09-12 17:26:23 +03:00
Matias Bordese
86dd8722c8
Merge pull request #519 from grafana/matiasb/fix-schedule-api-shifts-team-check
...
Fix shifts/schedule teams validation on schedule creation
2022-09-12 09:10:12 -03:00
Matias Bordese
2da2cfff56
Fix shifts/schedule teams validation on schedule creation
2022-09-09 12:24:07 -03:00
Innokentii Konstantinov
3e8c7a24c8
Add hiding personal phone numbers ( #411 )
...
* Add hiding personal phone numbers
* Fix tests
* phone number toggler
* fixed issue where id was not set
* some improvement changes
* show toggle just for validated phone numbers
* ux changes + refactored PhoneVerification
* minor changes
* linter
* hide banner
* ux changes for phone verification
* make it full width
* linter
* show action only if phone is verified
* linter
* revert isCodeSent once phone is forgotten
* fix UserHiddenFieldsSerializer
* await for loadUser
* missing WithPermissions wrapper
Co-authored-by: Rares Mardare <rares.mardare@grafana.com>
Co-authored-by: Rares Mardare <40542072+teodosii@users.noreply.github.com>
2022-09-09 12:42:40 +05:00
Michael Derynck
fa0d854ee5
Fix log message not displaying primary key for organization being deleted
2022-09-08 11:56:04 -06:00
Michael Derynck
455321938e
Merge pull request #475 from grafana/add-organization-cleanup-task
...
Add task to delete organizations if their stack has been deleted in gcom
2022-09-08 10:07:44 -06:00
Julia
67eb0b423d
Merge branch 'dev' into on-call-shifts-rotation-index
...
# Conflicts:
# engine/apps/schedules/models/on_call_schedule.py
2022-09-08 16:43:35 +03:00
Matias Bordese
62ace52ff0
Merge pull request #507 from grafana/matiasb/fix-preview-rotation-start
...
Update preview rotation start logic to match update logic
2022-09-08 10:32:31 -03:00
Matias Bordese
2d13f9116b
Update shift preview to return events for (all) affected shifts
2022-09-08 09:33:51 -03:00
Matias Bordese
70848425fb
Merge pull request #506 from grafana/matiasb/schedules-name-search-filter
...
Add name search filter to schedules API
2022-09-08 08:57:52 -03:00
Innokentii Konstantinov
d8365db8f5
is_icals_equal fixes ( #510 )
...
* is_icals_equal fixes
* treat None SEQUENCE as equal
2022-09-08 16:11:03 +05:00
Julia
f24aacfddc
Fix rotation index calculation
2022-09-08 12:51:39 +03:00
Yulya Artyukhina
84bcbb375f
Merge pull request #477 from grafana/shift-notifications-for-web-schedule
...
Fix slack notification for web schedules
2022-09-08 12:03:41 +03:00
Matias Bordese
a4c036d5aa
Update preview rotation start logic to match update logic
2022-09-07 15:37:03 -03:00
Matias Bordese
e5c247cf42
Add name search filter to schedules API
2022-09-07 14:34:43 -03:00
Julia
e029464fa2
Update calculating rotation index for updated shift, fix schedule preview with respect to rotation index
2022-09-07 19:02:24 +03:00
Julia
9f71b5d72f
Merge branch 'dev' into on-call-shifts-rotation-index
2022-09-07 18:54:39 +03:00
Matias Bordese
026474b43b
Merge pull request #486 from grafana/matiasb/update-preview-shift-pk-reuse
...
Update web schedule shift preview PK reusing logic
2022-09-07 11:35:34 -03:00
Matias Bordese
a7c44b4c08
Update preview to keep final behavior when changing a future shift
2022-09-07 11:23:40 -03:00
Matias Bordese
02326d81fa
Merge pull request #485 from grafana/matiasb/schedules-related-escalation-chains
...
Add related escalation chains details to schedule API
2022-09-07 11:17:05 -03:00
Matias Bordese
5a68847557
Refactoring schedule API annotations
2022-09-07 11:12:38 -03:00
Michael Derynck
c83b769023
Merge pull request #497 from grafana/switch-org-title-to-stack-slug
...
Use stack-slug instead of org-title
2022-09-07 08:00:04 -06:00
Michael Derynck
b79aa95d42
Tweaks from code review, add schedule and queue assignment
2022-09-07 07:58:44 -06:00
Matias Bordese
0a9c9eb59a
Merge pull request #487 from grafana/matiasb/next-shifts-per-user-list-all
...
Update next shifts per user to list all (web) schedule users
2022-09-07 10:26:28 -03:00
Matias Bordese
f929d18d6e
Merge pull request #496 from grafana/matiasb/events-fallback-rotation-id
...
Add rotation ID fallback for ical events
2022-09-07 10:10:47 -03:00
Matias Bordese
b48aadc01c
Merge pull request #473 from grafana/matiasb/fix-update-channel-filter-api-multiple-backends
...
Fix channel filter updates when there are multiple backends
2022-09-06 17:14:07 -03:00
Michael Derynck
c8fc19b402
Use stack-slug instead of org-title
2022-09-06 13:45:34 -06:00
Matias Bordese
1a133d33ff
Add rotation ID fallback for ical events
2022-09-06 15:33:58 -03:00
Michael Derynck
7acaf77d0f
Query deleted instances directly instead of checking all that have not sync'd recently
2022-09-06 10:21:05 -06:00
Michael Derynck
a8fd2d96e2
Merge pull request #467 from grafana/retrying-tasks-fixes
...
Handle exceptions on some retrying tasks
2022-09-06 09:20:24 -06:00