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

242 Commits

Author SHA1 Message Date
William Leese
7110d18ee7 convert duration to correct val and unit
Change-Id: I03ef0fd94b6044c82e8e7d3ac5a4af47964cfbb4
2018-02-12 18:21:41 -08:00
William Leese
0ead7d1c10 allow editing calendar 2018-01-25 17:01:02 -08:00
William Leese
80d0cf7f2a expose god field through users api instead of team/admins api 2018-01-25 17:01:02 -08:00
William Leese
083f6ee512 allow gods to do anything an admin can 2018-01-25 17:01:02 -08:00
wvl
edeb33e678 address comment 2018-01-25 17:00:51 -08:00
William Leese
9eac895b29 ldap sync: allow image_url to be empty 2018-01-25 17:00:51 -08:00
William Leese
4455c84ddf zsh doesnt like unquoted globbing
Fails with: zsh: no matches found: .[dev]
2018-01-24 16:19:44 -08:00
Daniel Wang
22cf342a2d Flake8 2018-01-19 11:37:01 -08:00
William Leese
30eda364ab add e2e test for updating user contacts, change from tuple to list 2018-01-12 10:11:42 -08:00
William Leese
d019ee280e move telmodes to model, fix syntax issue 2018-01-12 10:11:42 -08:00
William Leese
cb0c1b9bd8 move telmodes to model 2018-01-12 10:11:42 -08:00
William Leese
6f871ceb96 remove labels, cleanup template, javascript 2018-01-12 10:11:42 -08:00
William Leese
6ce3a71f66 Revert "schema update"
This reverts commit 4924eac637.
2018-01-12 10:11:42 -08:00
William Leese
2bce1b4889 schema update 2018-01-12 10:11:42 -08:00
William Leese
8813d85504 Revert "add pyflakes for tests"
This reverts commit 1915f8fe24.
2018-01-12 10:11:42 -08:00
William Leese
8df1e739d9 add pyflakes for tests 2018-01-12 10:11:42 -08:00
William Leese
fc768b4a02 fix tests 2018-01-12 10:11:42 -08:00
wvl
f68e361aef Set actual default to readonly is True 2018-01-12 10:11:42 -08:00
William Leese
2e7ec71e2e restore previous pretty print phonenumbers 2018-01-12 10:11:42 -08:00
William Leese
27c7bd763a add setting to enable editable user settings 2018-01-12 10:11:42 -08:00
William Leese
9ab3174485 simplify to 1 ajax call, change user api to actually handle timezone+contacts changes 2018-01-12 10:11:42 -08:00
William Leese
e96dcf3b32 allow user settings to be changed 2018-01-12 10:11:42 -08:00
William Leese
284a92e6fa make the user setting page show all values for all modes 2018-01-12 10:11:42 -08:00
Daniel Wang
29ad8e3d02 Add override phone number to teams
Allows teams to configure a phone number that overrides a user's
regular number when they're the current primary on-call. This
lets teams pass around an on-call pager with a single phone
number, for example.
2018-01-10 16:17:14 -08:00
Daniel Wang
5d0076fc60 Revive worker tasks in notifier 2018-01-10 16:13:54 -08:00
Daniel Wang
ebedfd15a4 Add apt-get update to CI install.sh 2018-01-05 11:51:30 -08:00
William Leese
f5f7df27d0 Update packer documentation 2018-01-04 16:14:19 -08:00
William Leese
2c589b2f2b tag docker images 2018-01-04 16:14:03 -08:00
Daniel Wang
454ced9efa Revert scheduler change in 20873e6
Accidentally included unfinished work
2017-12-08 15:51:48 -08:00
Daniel Wang(Application Operations)
20873e6f37 Add rocketchat messenger 2017-12-08 13:48:04 -08:00
wvl
fb4f414c37 Allow http login without resorting to debug mode (#121)
* allow http in non-debug mode

* add config example

* Update config.yaml
2017-12-08 10:49:29 -08:00
wvl
b4ce22d56e document user importing (#120)
* document user importing

* typo
2017-12-08 10:29:41 -08:00
wvl
58d7d71a22 Add LDAP bind account with DN lookup support (#116)
* Add LDAP bind account and DN lookup support
Also add some logging for important errors

* Change method used to check cert file readable

* Re-add accidentially removed TLS

* address comments
2017-12-06 18:16:39 -08:00
William Leese
c54dd9724e Use the configured ldap_sync[attrs][username] value
Solves this exception against non-AD ldap

Traceback (most recent call last):
  File "/home/oncall/env/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/oncall/env/local/lib/python2.7/site-packages/oncall/user_sync/ldap_sync.py", line 306, in main
    sync(config, engine)
  File "/home/oncall/env/local/lib/python2.7/site-packages/oncall/user_sync/ldap_sync.py", line 180, in sync
    ldap_users = fetch_ldap()
  File "/home/oncall/env/local/lib/python2.7/site-packages/oncall/user_sync/ldap_sync.py", line 123, in fetch_ldap
    username = ldap_dict['sAMAccountName'][0]
KeyError: 'sAMAccountName'
2017-12-05 10:57:23 -08:00
Daniel Wang(Application Operations)
42263ffc15 Fix override bug 2017-11-20 15:39:18 -08:00
sebrahim
3963e7aaa9 Fix today button 2017-11-14 08:56:47 -08:00
Daniel Wang
f08deba762 Update dummy data and docker config 2017-11-13 12:52:21 -08:00
David V. Lu!!
0656e225a7 Update README.md 2017-11-09 16:48:04 -08:00
Daniel Wang
d1173af41b Flake8
Fixed pre-commit hook
2017-11-08 17:04:05 -08:00
Daniel Wang
2aee0c316c Add team subscriptions 2017-11-07 10:36:17 -08:00
Daniel Wang
7bb10a04d2 Flake8 fixes 2017-11-06 17:38:29 -08:00
Daniel Wang
1ea7fbb8ea Pluggable schedulers, round robin scheduling, roster order 2017-11-01 13:43:01 -07:00
sebrahim
7f44029085 Fix typeahead staying open on search, show only 5 services with link to count 2017-10-25 15:42:26 -07:00
Daniel Wang
3bc7d0af75 Add configurable grace period to event changes
Allow people to modify events some amount of time in the past, to
fix mistakes
2017-10-25 14:53:43 -07:00
Fellyn Silliman
ba7c651c2a Merge pull request #99 from dwang159/timezone
Add Asia/Shanghai timezone
2017-10-19 14:57:35 -04:00
Daniel Wang
ac6115bf67 Add Asia/Shanghai timezone 2017-10-18 12:34:04 -07:00
Daniel Wang
7d411a0335 Add way to make 12 hour events 2017-10-12 09:51:22 -07:00
Daniel Wang
f03910fad4 Fix event link PUT bug/config 2017-10-10 17:04:21 -07:00
Daniel Wang
d435e0f153 Tweak team_oncall and service_oncall
Add endpoints for getting current oncall without specifying role,
add information to team/service oncall data returned
2017-10-10 10:42:27 -07:00
Daniel Wang
baf1440451 Whitespace 2017-10-09 10:08:07 -07:00