Commit graph

144 commits

Author SHA1 Message Date
Rupika
edece4092f Merge branch 'master' into review_error_msg 2019-03-06 20:24:41 -08:00
Daniel Dupriest
024e5dae9c
Merge pull request #113: Add economy ticket question/rule to policy
Added economy class check to policy.py file.
2019-03-06 18:00:18 -08:00
Rupika
3dd95a1b12 modified db 2019-03-06 16:44:44 -08:00
joe-arriaga
fdc3ebad96
Update policy.py 2019-03-06 16:42:58 -08:00
Rupika
0388be6802 added error message for submitting after review report, and fixed some variable names to avoid overshadowing from outer scope 2019-03-06 16:39:34 -08:00
kououken
b40b6e450e Changed test user to test_user_1, in case we need more. 2019-03-06 15:36:47 -08:00
kououken
08e915d216 Emptied reports from database. 2019-03-06 15:12:23 -08:00
kououken
8fc4a2ba88 Implemented tests for create_report API and get_report helper function. 2019-03-06 15:10:18 -08:00
joe-arriaga
cbac519687
Update policy.py 2019-03-06 14:49:50 -08:00
joe-arriaga
f2943e1d69
Update policy.py 2019-03-06 09:50:52 -08:00
rupikad
86055b38e2
Merge pull request #112 from danieldupriest/policy-tests
Implemented tests for all policy file rules and fixed more policy bugs
2019-03-04 16:52:40 -08:00
Rupika
eec0af4211 fixed email subject line 2019-03-04 16:45:52 -08:00
Rupika
09813acf30 added review/final status to email subject 2019-03-03 15:16:38 -08:00
Rupika
c8286778bc change report() function in views to create_report() 2019-03-03 14:46:12 -08:00
Rupika
dac67f8fc6 added finalize report api function & url 2019-03-03 12:59:26 -08:00
kououken
ea59dc6e69 Merge remote-tracking branch 'origin/master' into policy-tests 2019-03-03 01:09:46 -08:00
kououken
b0f41070ec Refreshed database and added frank user. 2019-03-03 01:08:20 -08:00
kououken
2a62eb94b1 Made fresh database with frank user. 2019-03-03 00:59:44 -08:00
Joe Arriaga
6cd7903555 Added economy class check to policy.py file. 2019-03-02 20:37:38 -08:00
kououken
fd39ca7df7 Implemented tests for all policy rules. 2019-03-02 14:10:00 -08:00
Daniel Dupriest
40e86aff34
Update .env 2019-03-01 14:41:38 -08:00
kououken
ba94134c45 Reinserted '.env' file. Whoops! 2019-03-01 14:13:05 -08:00
kououken
d0fa8dbea8 Added error-checking when accessing policy file to catch changes. 2019-03-01 14:11:05 -08:00
kououken
4c5c3fed63 Subject line will omit RT formatting if no number is provided. 2019-03-01 13:11:41 -08:00
kououken
4dee825973 Updated frontend to send reference number when creating report. 2019-03-01 12:53:57 -08:00
kououken
c94bede4be Added request tracker support as a 'reference_number' field in the report model. 2019-03-01 12:26:43 -08:00
kououken
b1b21c84c7 Added 'approved' field to sections. Added env to gitignore. 2019-03-01 11:38:12 -08:00
kououken
1d4d3912dc Merged latest changes from master. 2019-02-23 13:55:22 -08:00
kououken
1c8eb17e85 Fixed 'lowest_fare' rule bug. 2019-02-23 12:59:27 -08:00
kououken
b19cd21b41 Repaired all the broken field references. 2019-02-22 19:22:32 -08:00
Daniel Dupriest
b28a73d97f
Create placeholder config file for server settings 2019-02-22 12:42:54 -08:00
Rupika
87a3074b16 removed number, id, and completed attributes from the JSON data section 2019-02-22 11:39:12 -08:00
kououken
b23fcaa4a2 Fixed bug in subject line formatting. 2019-02-21 19:41:26 -08:00
kououken
d876852e7e Added rule violations to emails. 2019-02-21 16:43:39 -08:00
kououken
fbf89d4876 Implemented email sending code. 2019-02-21 16:18:39 -08:00
kououken
a07258c1f5 All sections added to policy file. 2019-02-20 17:38:57 -08:00
kououken
9ea335d68f Fixed bugs in rules returning strings. 2019-02-20 17:05:36 -08:00
kououken
bc7fc340f5 Initial update of policy file. 2019-02-20 16:20:44 -08:00
Logan Miller
161555b20f
Merge pull request #92 from danieldupriest/implement-submit-report
Reports can now be 'submitted', and you cannot modify submitted reports.
2019-02-19 15:40:12 -08:00
kououken
c899263f0c Changed error status to 409, which makes more sense. 2019-02-19 15:33:01 -08:00
kououken
deabfa8dd1 Reports can now be 'submitted', and you cannot modify submitted reports. 2019-02-19 12:45:39 -08:00
kououken
12e9b2a8be Updated django to 2.1.6 2019-02-18 18:17:45 -08:00
kououken
8586077a84 Added 3rd 'admin' server on port 8445 to serve admin css/js. 2019-02-18 17:48:51 -08:00
kououken
c864d4dd5a Merged changes from master. 2019-02-16 12:21:29 -08:00
kououken
d1bdab0701 Added docstring comments to all functions and classes. Renamed 'get_reports' to 'get_report'. 2019-02-16 12:11:37 -08:00
kououken
52fa39aa7a Merge remote-tracking branch 'origin/master' into owner-check 2019-02-16 10:37:32 -08:00
kououken
76974eb5c8 Implemented owner-checking and Unauthorized error messages. 2019-02-16 08:22:05 -08:00
Rupika
f987897ef7 prints out JSON with section & field details 2019-02-15 22:41:54 -08:00
rupikad
80c9c0add6
Merge branch 'master' into in-order-fields 2019-02-15 22:27:45 -08:00
Rupika
6bc9171e7e optimized "check_section" function to invoke field.completed boolean 2019-02-15 15:28:39 -08:00