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

205 Commits

Author SHA1 Message Date
Daniel Wang
dbd2f21176 Exclude busy users from roster suggest
Also, ignore W503/W504 in flake8 checks to allow line breaks
before or after binary operators
2018-10-25 13:27:51 -07:00
Daniel Wang
40982732fe Implement auth_required to force auth on API calls (#216) 2018-10-04 10:53:48 -07:00
Daniel Wang
c05869581d Group schedule events by role as well as chronologically (#218)
Break ties based on roles
2018-10-04 10:53:00 -07:00
Daniel Wang
c98962d7b6 Allow admins to edit past events (#217) 2018-10-03 17:52:44 -07:00
Daniel Wang
0ece55364d Upgrade versions for handlebars, JQuery (#214) 2018-09-21 11:29:33 -07:00
Diego Cepeda
68c07537d6 Merge pull request #212 from dwang159/empty_name
Disallow empty team name on PUT
2018-09-20 15:25:54 -07:00
Daniel Wang
05c68a23cc Disallow empty team name on PUT 2018-09-20 14:56:46 -07:00
Jordan Hamel
b40c938bcd mysql 8 breaks Authentication plugin 'caching_sha2_password' (#206)
https://github.com/docker-library/mysql/issues/419
ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded
Resolve by explicitly testing with mysql5.7 docker image... there are other ways around it but this guide is for devs to test quickly.
2018-09-05 11:56:54 -07:00
Diego Cepeda
9de81725d0 change preview date behavior to match populate behavior (#207)
* change preview date behavior to match populate
2018-08-27 13:01:03 -07:00
Diego Cepeda
7983b3dea2 Merge pull request #202 from dwang159/dst_12
Fix 12-hour event DST bug
2018-08-10 09:15:16 -07:00
Daniel Wang
9cb274576f Fix 12-hour event DST bug 2018-08-09 17:55:11 -07:00
Diego Cepeda
ff530d057f Fix javascript errors and explicitly drop temp table to avoid worker pool problems (#201)
* fix javascriot errors and only copy events that could be used

* explicitly drop table

* fix not displaying all types of roles in populate bug
2018-08-08 16:23:01 -07:00
Diego Cepeda
c07bc8f455 disable preview 2018-08-08 11:08:38 -07:00
Diego Cepeda
8157f9e943 Merge pull request #199 from dwang159/ci_change
Fix up some CI issues
2018-08-07 14:35:52 -07:00
Daniel Wang
d1387b1a43 Fix up some CI issues 2018-08-07 14:32:53 -07:00
Diego Cepeda
0bce230485 shorten lines for mint flake8 2018-08-07 14:27:55 -07:00
Diego Cepeda
260f9a8bcf Vacation makes users unavailable across teams (#197)
* takes into account vacation across teams and reduces size of temp table

* get vacation role id from table

* consolidated query

* add e2e test for vacation
2018-08-07 13:14:19 -07:00
Diego Cepeda
53a72b0621 Check for date validity in preview (#196)
* prevent invalid date selection

* added on eventalways
2018-08-06 14:03:20 -07:00
Diego Cepeda
fe57a4914a get rid of team auth check (#195)
* get rid of team auth check

* flake8
2018-08-03 14:31:53 -07:00
Diego Cepeda
57fae06277 Refactor preview functionality to use temp tables (#194) 2018-08-02 16:04:34 -07:00
Daniel Wang
025793a592 Migrate to cryptography from pycrypto 2018-07-31 16:48:46 -07:00
Daniel Wang
1f60eb3d28 Fix bug in search endpoint for services
Many to many mapping
2018-07-31 15:54:58 -07:00
Diego Cepeda
5ab4685414 team name change on deletion (#188)
* on delete change team name to uuid to avoid future conflicts

* string formating

* requested changes

* close connection
2018-07-30 15:28:48 -07:00
Daniel Wang
566801f0ad Make god field (and others) uneditable from user PUT 2018-07-30 15:09:24 -07:00
Diego Cepeda
b716769bf1 preview endpoint tests (#187) 2018-07-24 14:56:19 -07:00
Diego Cepeda
90ef1ac550 Preview functionality (#186)
Give users the ability to preview what the populate button will do without permanently changing the db
2018-07-24 11:51:03 -07:00
Daniel Wang
f1fe813c38 Fix RR scheduler bug
WHERE clauses are important
2018-07-18 22:42:26 -07:00
Daniel Wang
170f7145fc Fix routing issue 2018-07-18 11:28:37 -07:00
Daniel Wang
2f4e332c84 Flake8 changes, add flake8 to CI testing 2018-07-13 16:06:10 -07:00
Diego Cepeda
a60189e3ed Login splash page (#181)
* Add login splash page

* Edited config files to allow enablin/disabling of login splash

* Removed unused import

* Removed unnecesary js

* CSS fix

* Implemented requested changes

* requested changes
2018-07-11 11:59:55 -07:00
jeremybender-work
47bde5326b Added an IF statement to allow ldap sync when certfile is not specified. Consistent with #171 2018-07-09 10:44:05 -07:00
John Jensen
28a2ac7b34 influx metric field keys need to make sense (#179)
* influx metric field keys need to make sense
2018-07-05 14:20:19 -07:00
Diego Cepeda
cd152f1168 Add search by user functionality (#174)
* Added the ability to search by user.

* Removed unecessary function arguments.

* Fixed support for both hitting return and clicking.

* added full name display to user search results

* Fixed inconsistent css and simplified routing for typeahead search

* merge conflicts
2018-06-28 17:00:05 -07:00
Tjebbe Vlieg
82bb2b7b4c Fix prometheus_client not installed
This commit fixes #162.
2018-06-28 13:34:06 -07:00
jeremybender-work
70360e72ec Add password string to onfig.yaml 2018-06-28 13:33:29 -07:00
John Jensen
c78890cb1a don't use ldaps if there's no cert file in the config 2018-06-28 13:31:35 -07:00
Diego Cepeda
db6cfaa8fb descriptive page titles (#173)
* Page title now changes to reflect the page the user is currently on.

* added more descriptive page titles

* fixed typo tittle -> title

* Remeved redundant part in updateTitleTag function
2018-06-27 12:03:08 -07:00
Saif Ebrahim
4e1917ad0d Merge pull request #168 from dwang159/audit_ui
Add audit table UI
2018-06-22 15:21:35 -07:00
Daniel Wang
7694615193 Add audit table UI 2018-06-22 15:01:30 -07:00
Daniel Wang
8324d2c552 Fix flake8 errors 2018-06-19 13:40:33 -07:00
Daniel Wang
a92d87f8fa Fix round robin populate bug 2018-06-19 13:10:00 -07:00
Daniel Wang
06ad13ae62 Add GET API for audit log 2018-05-31 10:43:31 -07:00
Daniel Wang
c2fa89f6d8 Add API to suggest users to fill calendar gaps 2018-05-23 16:34:26 -07:00
Saif Ebrahim
a831ab6339 Merge pull request #159 from dwang159/xss
Escape event notes
2018-05-14 15:07:11 -07:00
Daniel Wang
7683e37f36 Escape event notes 2018-05-14 14:51:33 -07:00
Daniel Wang
16ab7cb79f Make calendar modal text selectable 2018-05-03 17:16:46 -07:00
Evan Tschuy
1f4944254b packer: fix README and tag name
The default mysql image is MySQL 8 now, which uses the caching_sha2_password module for auth. The version of mysql-client in the Ubuntu 16.04 repos doesn't have this since it's 7.x, so it's necessary to launch the mysql pod with an explicit --default-authentication-plugin=mysql_native_password.
2018-05-03 14:20:39 -07:00
Daniel Wang
fd47e12e01 Fix scheduler bug 2018-04-24 12:00:55 -07:00
Daniel Wang
956e228ac8 Flake8 2018-04-04 10:20:23 -07:00
Daniel Wang
7110142ebc API changes for round-robin scheduling
On the frontend: Show roster order when updating schedules with an
existing order. Remove "Round-robin" and rename "custom order" to
round robin, since these cases are very similar/the same.
2018-04-03 17:26:17 -07:00