Commit graph

49 commits

Author SHA1 Message Date
kououken
37256dafc3 Remove user frank. 2019-03-22 14:54:47 -07: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
Rupika
3dd95a1b12 modified db 2019-03-06 16:44:44 -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
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
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
kououken
d0fa8dbea8 Added error-checking when accessing policy file to catch changes. 2019-03-01 14:11:05 -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
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
9ea335d68f Fixed bugs in rules returning strings. 2019-02-20 17:05:36 -08:00
kououken
deabfa8dd1 Reports can now be 'submitted', and you cannot modify submitted reports. 2019-02-19 12:45:39 -08:00
kououken
76974eb5c8 Implemented owner-checking and Unauthorized error messages. 2019-02-16 08:22:05 -08:00
kououken
4704b86f2a Set section boolean values to default to False, and set field numerical values to default to 0. 2019-02-14 14:23:05 -08:00
kououken
f95bd9ecee Implemented rule_violations in json for GET report. 2019-02-14 14:19:15 -08:00
Rupika
a2deb2b1bd updated database with field_type 2019-02-13 23:36:29 -08:00
kououken
70df4ec486 Changed 'type' references to 'field_type' in backend and a couple places in front end. 2019-02-13 17:38:27 -08:00
Rupika
7b2c58cb2d deleting the file in database if it exists in report 2019-02-10 19:23:12 -08:00
Rupika
7c1c41e828 made per diem link visible 2019-02-10 12:25:45 -08:00
Rupika
93d99e13f6 added delete report SQL call in views.py 2019-02-10 12:13:22 -08:00
Rupika
e315355e81 fixing db 2019-02-09 15:32:15 -08:00
Rupika
f3d76adf3c extracts just the file name from the file path 2019-02-09 13:23:01 -08:00
Rupika
f19781a682 added function that displays data values 2019-02-07 18:13:32 -08:00
Rupika
9552589e24 added filter by user_id -- now reports only display based on user id 2019-02-07 17:13:43 -08:00
kououken
38a9464870 Implemented policy parsing, applied policy to report creation, added field_name to fields. 2019-02-07 15:32:21 -08:00
kououken
d683ea8839 Fixed user authentication backend to allow login with email. 2019-02-06 13:22:40 -08:00
kououken
bdddb3cc03 Changed username frank to frank@frank.com. Password is still frank12345 2019-02-05 15:49:03 -08:00
kououken
6e8478cf67 Changed to email instead of username, added first and last name. 2019-02-05 15:38:34 -08:00
kououken
72ab00dd50 User registration endpoint working. 2019-02-05 14:56:48 -08:00
kououken
1ec02e1d22 Added report_pk to reports api endpoint> 2019-02-05 12:48:49 -08:00
Rupika
84aa01e008 1) added a user in the admin to change the user_id in report -- updated database!
2) removed double dictionary for fields in view.py
2019-02-04 18:02:32 -08:00
Rupika
ba1146f9fd replaced old db.sqlite3 with updated one from master 2019-02-04 17:16:50 -08:00
Rupika
e0611793f6 Printing the data from the database - need to update the functionality to prevent overwriting 2019-02-03 00:47:04 -08:00
kououken
0f12774c49 Fixed example data. 2019-02-01 12:09:52 -08:00
kououken
6ae79194d0 Merged data fields into Field table, added 'required' and 'auto_submit' fields to Section. 2019-01-31 16:55:11 -08:00
kououken
1a68176f80 Gave all models string representations and set up file storage. 2019-01-25 14:37:03 -08:00
Rupika
fe516ec96b Got serializer code to work, need to fix submitting null "date submitted" fields in report 2019-01-23 13:40:37 -08:00
Daniel Dupriest
63f3465ca4 Created initial user and some sample report objects. Initialized superuser to admin/admin 2019-01-22 17:03:07 -08:00
Daniel Dupriest
bd1bf44059 Created CustomUser and tweaked backend models. 2019-01-22 16:38:09 -08:00
Daniel Dupriest
36252079d7 Database models all implemented. Migrations made. 2019-01-20 14:39:11 -08:00
Rupika
f18d36e42d Removed database migration 2019-01-20 12:33:19 -08:00
Rupika
82c9a5fc46 Updating my code 2019-01-19 22:29:25 -08:00
kououken
79956e0186 Reimplemented front and back end SSL and made Docker copy in fresh files (database, html, etc.) every startup. 2018-12-22 17:57:39 -06:00
Renamed from app/db.sqlite3 (Browse further)