Commit graph

421 commits

Author SHA1 Message Date
ppdom
e1a2ffbec7
Merge pull request #126 from danieldupriest/test-report
Tests for report get, review, finalize, delete and one date bug fix
2019-03-08 22:07:17 -08:00
kououken
b91778537e Updated date_submitted date when report is finalized. 2019-03-08 22:05:27 -08:00
kououken
48e9f043a4 Merge remote-tracking branch 'origin/master' into test-report 2019-03-08 17:11:28 -08:00
kououken
f3a6ab91db Revert "Remove .env file entirely!"
This reverts commit d64ec6e46a.
2019-03-08 17:08:03 -08:00
ppdom
f8d08ae7fd
Merge pull request #124 from danieldupriest/template-boolean-fix
Fixes three bugs relating to email and report formatting
2019-03-08 17:02:46 -08:00
kououken
6b7189d6cf Preparing .gitignore to track .env file. 2019-03-08 17:00:16 -08:00
Daniel Dupriest
d64ec6e46a
Remove .env file entirely! 2019-03-08 15:44:15 -08:00
Daniel Dupriest
a67b61cce8
Remove .env file altogether! 2019-03-08 15:43:39 -08:00
kououken
26fd2af9a0 Created test for finalizing another user's report. 2019-03-08 15:40:55 -08:00
kououken
fd8d9ca9a8 Create 'get report', 'delete report' tests. 2019-03-08 14:57:36 -08:00
kououken
b60f10e924 Correct some test logic. 2019-03-08 14:36:28 -08:00
kououken
88a9cbf158 Create 'finalize report' tests. 2019-03-08 14:34:54 -08:00
kououken
977c5dd175 Fix created/submitted dates to use timezone and call function when needed instead of at initialization. 2019-03-08 14:31:29 -08:00
kououken
a05a952960 Create 'submit for review' tests. 2019-03-08 14:14:22 -08:00
kououken
305ac3980d Fixed bug where title was misplaced in subject line. 2019-03-08 13:01:42 -08:00
kououken
01139ad361 Fixed bug where all sections were showing in text email. 2019-03-08 12:57:07 -08:00
kououken
7d83a8ccaa Fixed booleans to appear as yes/no in emailed report 2019-03-08 12:43:47 -08:00
Daniel Dupriest
901102a304
Merge pull request #120: Add finalize and review buttons
Finalize and review buttons
2019-03-08 11:21:33 -08:00
Preston Doman
90f77f9ca1 Merge branch 'master' into finalize-and-review-buttons 2019-03-07 13:17:05 -08:00
Preston Doman
c7b7e8f1f5 Fix stuff 2019-03-07 13:16:46 -08:00
ppdom
318cb0a985
Merge pull request #118 from danieldupriest/FixesFor108
fixes for ticket #108 changed "true" to true
2019-03-07 12:59:18 -08:00
ppdom
59f7ca655b
Merge pull request #117 from danieldupriest/review_error_msg
Review error msg
2019-03-07 12:41:17 -08:00
Preston Doman
66bb614e74 Change order of alert and button update 2019-03-07 00:20:10 -08:00
Preston Doman
ec148d870d Fix argument to animateButton 2019-03-06 23:26:55 -08:00
Preston Doman
84210d6dac Add button animations 2019-03-06 23:13:09 -08:00
Preston Doman
729cce46b7 Resolve merge conflicts 2019-03-06 21:16:40 -08:00
Preston Doman
0c1e1c6359 Add finalize and submit for review buttons 2019-03-06 21:10:51 -08:00
Jack
dd83414b2f fixes for ticket #108 changed "true" to true 2019-03-06 21:01:35 -08:00
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
sliang17
4a3cac48bd
Merge pull request #116 from danieldupriest/testing-mock
Implemented tests for create_report and get_report
2019-03-06 17:44:05 -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
ddeaef8894 Merge remote-tracking branch 'origin/master' into testing-mock 2019-03-06 15:25:11 -08:00
Daniel Dupriest
d8b9788c6f
Merge pull request #115 from danieldupriest/createCard-unit-tests
Create card unit tests
2019-03-06 15:18:37 -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
Preston Doman
62cebfba0f Move tests directory 2019-03-06 13:36:51 -08:00
joe-arriaga
f2943e1d69
Update policy.py 2019-03-06 09:50:52 -08:00
Preston Doman
7ec581b627 Finish displayListOfReports tests 2019-03-05 16:20:06 -08:00
Preston Doman
5ac57e88e2 Add displayListOfReports tests 2019-03-05 15:58:41 -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
rupikad
5e8836f18c
Merge pull request #114 from danieldupriest/finalize_report_api
Finalize report api
2019-03-04 16:49:17 -08:00
Rupika
eec0af4211 fixed email subject line 2019-03-04 16:45:52 -08:00
Preston Doman
839edcf794 Add createReportForm tests 2019-03-04 15:34:03 -08:00
Preston Doman
f250e3adda Add createCardFooter tests 2019-03-04 13:32:18 -08:00
Preston Doman
7a68ec8bac Add createCollapsibleCard and createCollapsibleCardBody tests 2019-03-04 00:36:36 -08:00