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

285 Commits

Author SHA1 Message Date
Colin Yang
e93dec4a16 limit choices of input with select
1. for user key, limit the choices with select/option
2. for team key, use datalist to provide autocomplete for a list of team names
2020-04-15 12:50:55 -07:00
Colin Yang
a2fbd80be2 version 1.2.1 v1.2.1 2020-03-30 16:26:38 -07:00
Colin Yang
effed14242 mark public_calendar_additional_message as safe 2020-03-30 16:25:34 -07:00
Colin Yang
0bf56264df version 1.2.0 v1.2.0 2020-03-30 11:25:13 -07:00
Colin Yang
9d36b7b05c Merge pull request #310 from colinxy/ical-ui
Ical Key Creation UI
2020-03-30 11:20:13 -07:00
Colin Yang
cd660fc912 check if team exists and is active when creating a new key (#311)
Loosen team ical key request: do not check team membership
2020-03-27 13:21:13 -07:00
Colin Yang
bae57f4f02 fix button not loading bug 2020-03-25 20:28:20 -07:00
Colin Yang
99ddd9d948 make "+ ical key" buttons work 2020-03-25 20:18:25 -07:00
Colin Yang
fd9d176c02 make calendar keys links and add additional messages to FAQ 2020-03-25 11:55:07 -07:00
Colin Yang
a491cc6bab add instructions on how to subscribe to public oncall calendar 2020-03-24 17:21:10 -07:00
Colin Yang
9faa4d6d92 add buttons to regenerate and delete ical keys 2020-03-24 16:26:17 -07:00
Colin Yang
e915a5eec7 display existing ical keys 2020-03-23 18:14:38 -07:00
Colin Yang
8abb8a824a render calendar keys tab under settings page 2020-03-23 15:23:32 -07:00
Colin Yang
f15051e83d return newly created key on post (#309)
* return newly created key on post

* abstract away ical_key generation
2020-03-23 10:03:16 -07:00
Colin Yang
3b8a3ecd36 version 1.1.10 (#308) v1.1.10 2020-03-16 13:55:34 -07:00
Colin Yang
f11c344256 grant permissions to key requesters (owners) (#307) 2020-03-16 13:36:28 -07:00
lyveng
3f92ee19fd Copying README.md to docker context so that long_description field of the module can be populated (#304)
Co-authored-by: S E Livingstone <livingstone.se@flipkart.com>
2020-03-15 11:52:39 -07:00
Colin Yang
5bf99246eb version 1.1.9 (#306) v1.1.9 2020-03-12 16:26:42 -07:00
Colin Yang
1d50e7df5a filter events for calendar by end time rather than start time (#305)
* filter events for calendar by end time rather than start time

If the user request for the calendar if the middle of an event, we can
now show the event (it did not show up because start time is after the
current time).

* include subscription by default for team oncall calendar
2020-03-12 16:18:43 -07:00
Colin Yang
5dfb019198 version 1.1.8 (#303) v1.1.8 2020-03-10 15:42:42 -07:00
Colin Yang
1ad2de4d90 add api endpoints to invalidate ical keys (#302)
* add api endpoints to invalidate ical keys

* invalidate ical_key during user-sync process
2020-03-10 13:39:33 -07:00
Colin Yang
d54b76ecf4 Implement public ical endpoint (#301) 2020-03-09 12:00:55 -07:00
Colin Yang
651ca21fd2 CRUD operations for ical_key (#299)
* CRUD operations for ical_key

All HTTP endpoints around ical_key should be authenticated so that we
can easily track what keys are created by this logged-in user.

* add missing semicolon

* store unix_timestamp as BIGINT
2020-03-06 13:55:45 -08:00
Xinyu (Colin) Yang
5b9520837f [oncall] optionally hide oncall contact information (#297)
Still defaults to showing the contact information.
2020-02-28 14:51:08 -08:00
James Won
b6bd71f5ae Fix version parsing regex in workflow 2020-02-06 22:07:14 -08:00
James Won
dbe01ad85e Update README.md 2020-02-04 11:01:49 -08:00
James Won
fdff37a417 Version 1.1.7
Create unified github workflow to create release and also publish that release to pypi
v1.1.7
2020-02-04 10:58:36 -08:00
James Won
3b589b69f3 Delete unneeded workflows 2020-02-04 10:57:29 -08:00
James Won
61a439cf8f Update and rename create-release.yml to create-release-and-publish.yml 2020-02-04 10:56:58 -08:00
James Won
17c905b071 Version 1.1.6
Testing github workflows to automatically create release on version bump
v1.1.6
2020-02-04 10:46:25 -08:00
James Won
2d10b68ede Create create-release.yml 2020-02-04 10:45:11 -08:00
James Won
1a57f31243 Update README.md 2020-02-04 10:09:04 -08:00
James Won
59f0dfd3f9 Update __init__.py v.1.1.5 2020-02-04 10:04:30 -08:00
James Won
d57a68d33a Update README.md
Add github workflow badge
2020-02-04 10:02:54 -08:00
James Won
4637d39faa Update pythonpublish-test.yml 2020-02-04 09:59:43 -08:00
James Won
f1b3c4e65e Update pythonpublish.yml 2020-02-04 09:59:27 -08:00
Diego Cepeda
93c665967b Update __init__.py v1.1.4 2020-01-30 14:30:10 -08:00
James Won
63743cba82 Bump to 1.1.3 v1.1.3 2020-01-24 15:57:55 -08:00
James Won
88809d7911 Add more metadata to setup.py so it shows up on pypi 2020-01-24 15:46:45 -08:00
James Won
7cb9528111 Bump to v1.1.2 v.1.1.2 2020-01-24 11:37:28 -08:00
James Won
a4b133fcbf Create pythonpublish.yml 2020-01-24 10:40:22 -08:00
James Won
c8ff942412 Bump to v1.1.1
Trying to get a workflow to publish these builds to PyPI
v.1.1.1
2020-01-22 12:43:32 -08:00
James Won
d872f63c49 Update and rename pythonpublish.yml to pythonpublish-test.yml 2020-01-22 12:22:28 -08:00
James Won
b88aaed3e2 Test using Github Actions to publish to test.pypi.org 2020-01-22 12:16:51 -08:00
Diego Cepeda
23c3fccb54 Auto increment footer year (#294)
* auto increment footer year

* comment
2020-01-19 16:02:21 -08:00
Diego Cepeda
c416d91876 add bonus events endpoint (#292)
* add bonusd events endpoint

* change to get to avoid possible error

* rename object
2020-01-17 15:20:56 -08:00
Joe Gillotti
e4daa3049e Merge pull request #291 from linkedin/py3_merge
Promote py3 branch to new master
2020-01-15 15:54:56 -08:00
Diego Cepeda
c1df110d99 Merge branch 'master' into py3_merge 2020-01-15 15:43:06 -08:00
Diego Cepeda
af327b4e4a Py3 (#290)
* Py3 migration

* Update to Python 3 for CircleCI

* Fix auth bugs for python 3

Also fix notifier bug to check for active users

* Update notifier exception handling

Ignore role:target lookup failures from Iris, since these don't represent
problems with the underlying system, just that people have inactive users
on-call in the future.

* Add get_id param option (#246)

* add get_id param option

* removed superfluous select and simplified logic

* Flake8 typo (#247)

* Hide confusing team settings in an advanced dropdown

* Fix test fixtures

* Add "allow duplicate" scheduler in UI

Already in backend, so enable in FE too

* Add Dockerfile to run oncall in a container

* Move deps into a virtualenv.
Run app not as super user.
Mimick prod setup by using uwsgi

* Fix issue with Dockerfile not having MANIFEST.in and wrong passwords in (#257)

config

* Update to ubuntu:18.04 and python3 packages and executables

* Open config file as utf8

The default configuration file has utf8 characters, and python3
attempts to open the file as ASCII unless an alternate encoding
is specified

* Switch to the python3 uwsgi plugin

* Update print and os.execv statements for python3

Python3 throws an exception when the first argument to os.execv is empty:
ValueError: execv() arg 2 first element cannot be empty

The module documentation suggests that the first element should be the
name of the executed program:
https://docs.python.org/3.7/library/os.html#os.execv

* Map config.docker.yaml in to the container as a volume

./ops/entrypoint.py has the start of environment variable support
to specify a configuration file, but it is incomplete until we
update ./ops/daemons/uwsgi-docker.yaml or add environment support
to oncall-notifier and oncall-scheduler.

This commit allows users to map a specific configuration file in
to their container and have it used by all oncall programs.

* Convert line endings to match the rest of the project.

* Add mysql port to docker configuration

* Assume localhost mysql for default config.yaml

* Update python-dev package and MySQL root password

* Use password when configuring mysql

The project has started using a password on the mysql instance.
Once password auth is consistently working we can consider extracting
the hardcoded password into an env file that is optionally randomly
generated on initial startup.

* Fix preview for round-robin (#269)

* #275 fix for Python3 and Gunicorn load config

* Fixed E303 flake8

* Change encoding & collation + test  unicode name

Co-authored-by: Daniel Wang <dwang159@gmail.com>
Co-authored-by: ahm3djafri <42748963+ahm3djafri@users.noreply.github.com>
Co-authored-by: TK <tkahnoski+github@gmail.com>
Co-authored-by: Tim Freund <tim@freunds.net>
Co-authored-by: Rafał Zawadzki <bluszcz@bluszcz.net>
2020-01-15 15:38:25 -08:00
Diego Cepeda
450383df5d Merge pull request #265 from timfreund/quickstart
Quickstart documentation update
2019-12-16 10:26:58 -08:00