* 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
* 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
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>
* 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>
* 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>
* 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>
* Add slack channel notifications
* typo in comments
* flake8
* update original schema for CI
* add dummy data
* typo in tests
* 8 %s
* remove # from test data, whitespace
* add #s
* add to cols filter
Co-authored-by: Joel Krauska <jkrauska@linkedin.com>