1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-28 23:20:23 +02:00
Commit Graph

347 Commits

Author SHA1 Message Date
Diego Cepeda
a08c030d27 Merge remote-tracking branch 'upstream/master' 2022-11-30 15:58:44 -06:00
Adam Vartanian
c6991e27aa Small updates to Slack user syncing (#382)
* Small updates to Slack user syncing

Makes some small changes to make Slack user syncing work:

* Don't try to decode() the phone number, it's already a str

* Skip users with `is_bot` set

* Check if `phone` is nonempty before trying to parse

* Fix formatting error
2022-10-11 10:07:37 -05:00
Chris Carini
57e2ce4c7d Remove reference to internal tool for service ownership backfill. (#377) 2022-05-09 09:40:07 -07:00
Chris Carini
466e6998af Pin markupsafe to 2.0.1 (#378) 2022-05-09 09:39:09 -07:00
Diego Cepeda
26bb396fe3 Update setup.py 2022-04-27 11:53:27 -07:00
Diego Cepeda
3a4c43f05c bump jinja2 2022-04-27 11:51:14 -07:00
Diego Cepeda
2b05594e4c Update setup.py 2022-04-27 11:49:35 -07:00
Diego Cepeda
0f02220de5 Update __init__.py v1.4.5 2022-04-27 11:39:18 -07:00
Diego Cepeda
94876afd4f pin jinja2 version 2022-04-27 11:38:51 -07:00
Diego Cepeda
0f8ce97894 pin jinja2 2022-04-27 11:23:49 -07:00
Roman Pertl
f48a7f39c6 Update Dockerfile (#373)
* Update Dockerfile

- update to Ubuntu 20.04
- run package installation noninteractive
- before installing any other pip dependencies, install wheel first
  to remove any waring about messages about missing wheel

* Update Dockerfile

- include LICENSE in the container image
- remove unneeded copy of all files e.g. git directory
2022-04-25 07:12:11 -07:00
Bill Franklin
262af21037 Minor fixes to make integrating with Iris easier (#372)
Couple of of bugfixes and update docker-compose to enable
networking between oncall and iris in docker containers.
podman setup will need to be slightly different.

Co-authored-by: Bill Franklin <b.franklin@mwam.com>
2022-04-14 08:37:08 -07:00
Diego Cepeda
f2fcbd0a93 Update __init__.py v1.4.4 2022-03-29 10:20:30 -07:00
Andrew Carter
00d37fa8e3 Adding team_services/team_users routes (#370)
These routes essentially dump the corresponding SQL tables.
Added tests for the new routes.
2022-03-29 10:04:52 -07:00
Ben Curtis
ab0b4fd6cd Handle when Azure AD returns byte/list for contact mode (#367) 2022-02-25 12:50:39 -08:00
Diego Cepeda
099057a4f5 remove bare exceptions 2022-02-01 12:07:11 -08:00
Diego Cepeda
c5d1a60f13 change error log wording 2022-02-01 12:07:11 -08:00
Diego Cepeda
c56de7cfbb add error logging to healtcheck 2022-02-01 12:07:11 -08:00
Diego Cepeda
d0c373c7d4 remove bare exceptions 2022-02-01 11:36:21 -08:00
Diego Cepeda
94623ef2ba change error log wording 2022-01-31 17:37:50 -08:00
Diego Cepeda
db720b2358 add error logging to healtcheck 2022-01-31 17:31:09 -08:00
mighq
8c94bbbcad actually use the mysql port in entrypoint (#360)
* port option from the config was only used in WSGI app until now

Co-authored-by: Michal Zubac <michal.zubac@inuits.eu>
2021-11-05 10:50:35 -07:00
mighq
e26a01081d support utf-8 when parsing YAML (#359)
* this is needed in Python v3 for support of the UTF8
* otherwise it will fail when using ascii codec
  `UnicodeDecodeError: 'ascii' codec can't decode byte`
* there is C2A9 character in the example config.yaml :)
* tested with Python 3.6 and PyYAML 6.0

Co-authored-by: Michal Zubac <michal.zubac@inuits.eu>
2021-11-05 10:46:14 -07:00
Diego Cepeda
36bdf087e1 Update __init__.py v1.4.3 2021-06-09 14:51:51 -07:00
ddurruty-li
11cec535b8 fixed bug where team name w/ a trailing/leading space was not going to the right page after team creation + replaced create_audit function call w/ the team_name variable (#351)
* fixed handling of teams with trailing/leading spaces in team name

* fixed handling of teams with trailing/leading spaces in team names

* specified precise mysql-server version to allow CircleCI checks to pass

* fixed bug where team name w/ a trailing/leading space was not going to the right page after team creation + replaced create_audit function call w/ the team_name variable

Co-authored-by: Damian Durruty <ddurruty@ddurruty-mn2.linkedin.biz>
2021-06-09 14:51:07 -07:00
Diego Cepeda
fcf2f74043 Update __init__.py v1.4.2 2021-06-04 16:40:56 -07:00
ddurruty-li
57b4c2d194 fixed handling of teams with trailing/leading spaces in team name (#350)
* fixed handling of teams with trailing/leading spaces in team name

* fixed handling of teams with trailing/leading spaces in team names

* specified precise mysql-server version to allow CircleCI checks to pass

Co-authored-by: Damian Durruty <ddurruty@ddurruty-mn2.linkedin.biz>
2021-06-04 16:40:03 -07:00
Diego Cepeda
aa14690a9b fix ldap_sync encoding bug 2021-03-10 14:44:14 -08:00
Diego Cepeda
416991f2cd Update __init__.py v1.4.1 2021-02-05 16:56:42 -08:00
Diego Cepeda
843bc106a1 prevent potential XSS from searchbar results (#342)
* prevent potential XSS from searchbar results

* use built in handlebars expression escaping

* use handlebars encodeURIComponent
2021-02-05 15:30:43 -08:00
Diego Cepeda
605d10ef5d Update __init__.py v1.4.0 2021-01-29 11:43:00 -08:00
Diego Cepeda
f3dbde4a2d directly import logging.handlers (#340) 2021-01-29 11:42:23 -08:00
Diego Cepeda
8c925c5c1f Update __init__.py v1.3.9 2021-01-28 14:35:19 -08:00
Diego Cepeda
a7b3827083 return GOOD instead of DEBUG for debug healthcheck 2021-01-28 14:34:00 -08:00
Diego Cepeda
f0d08f2d5e Update __init__.py v1.3.8 2021-01-28 10:20:34 -08:00
Diego Cepeda
cb403a226e log rotation for notifier and scheduler (#338) 2021-01-27 17:18:49 -08:00
Diego Cepeda
eb3183c0e9 Update __init__.py v1.3.7 2021-01-26 12:55:05 -08:00
Diego Cepeda
4aefa78dff unpin cryptography (#337) 2021-01-26 12:54:40 -08:00
Diego Cepeda
8ab4d4ea5e Update __init__.py v1.3.6 2021-01-25 09:46:46 -08:00
Diego Cepeda
4b830b7c36 Fix no-skip-match preview bug (#336)
* fix no-skip-matching preview bug

* remove extra whitespace
2021-01-22 17:09:52 -08:00
dependabot[bot]
e5b75accb7 Bump cryptography from 2.3 to 3.2 (#325)
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.3 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.3...3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 16:01:33 -08:00
Diego Cepeda
fef155f35f alter foreign key referential actions (#335) 2021-01-22 14:00:51 -08:00
Diego Cepeda
db26fa7104 Switch to updated docker repository (#334)
* update quay repo

* Update values.yaml

* pin idna version
2021-01-19 17:50:56 -08:00
lukdz
13eda2e31f chart v3 (#333)
Co-authored-by: lukasz.dzwoniarek <lukasz.dzwoniarek@codewave.pl>
2021-01-11 12:59:54 -08:00
lukdz
e66474b3a7 chart added ingress and auth (#332)
Co-authored-by: lukasz.dzwoniarek <lukasz.dzwoniarek@codewave.pl>
2021-01-04 09:33:15 -08:00
adamszmajdzinski
e401388191 add readiness probe to oncall deployment (#330)
Co-authored-by: Adam Szmajdzinski <adam.szmajdzinski@codewave.pl>
2021-01-04 09:32:16 -08:00
lukdz
653382dbcb chart v1 (#329)
Co-authored-by: lukasz.dzwoniarek <lukasz.dzwoniarek@codewave.pl>
2020-12-10 09:41:06 -08:00
Colin Yang
6c26a7ae09 Merge pull request #328 from colinxy/master
bump version
v1.3.5
2020-12-07 12:21:11 -08:00
Colin Yang
80d1c68db6 bump version 2020-12-07 12:17:15 -08:00
Colin Yang
8b9ab2cd8e making oncall ical events transparent (#327)
so that they don't show up as busy on people's calendar
Reference: https://www.kanzaki.com/docs/ical/transp.html
2020-12-07 12:10:05 -08:00