Commit graph

146 commits

Author SHA1 Message Date
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
08033fc117 fixed merge conflicts FINALLYgit add .! 2019-02-04 17:17:48 -08:00
Rupika
ba1146f9fd replaced old db.sqlite3 with updated one from master 2019-02-04 17:16:50 -08:00
Rupika
c2e3d3640c removed extra comments from dummy api 2019-02-04 17:14:29 -08:00
Rupika
ae86657fcd Deleted serializer.py and committing final changes 2019-02-04 12:10:12 -08:00
Rupika
ebed65f723 Committing my work from api-remove-endpoint to new branch 2019-02-04 09:51:36 -08:00
kououken
c8ae149510 CSRF backend issue fixed. If cookies are maintained, it seems to work. 2019-02-03 18:30:42 -08:00
kououken
20d0c48839 Token authentication, api endpoints and 'BearerAuthentication' working. 2019-02-03 16:56:34 -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
Logan Miller
9edf870a27
Merge pull request #49 from danieldupriest/database-merge-fields
Merged data fields into Field table, added 'required' and 'auto_submi…
2019-02-01 19:29:53 -08:00
kououken
b3ea00e135 Reordered apps and middleware in settings.py 2019-02-01 14:10:02 -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
ppdom
c569993f75
Merge pull request #45 from danieldupriest/rework-policy-files
Moved policy files into 'backend/' and fixed (most) formatting issues.
2019-01-30 01:16:02 -08:00
rupikad
0b04057da2
Merge pull request #43 from danieldupriest/api-endpoint-rework
Reworked API endpoints with correct types and some sample JSON.
2019-01-29 17:03:12 -08:00
kououken
875641fbe4 Fixed policy file spacing. 2019-01-29 16:56:56 -08:00
kououken
a70d9aa6bc Moved policy files into 'backend/' and fixed (most) formatting issues. 2019-01-29 16:39:35 -08:00
Logan Miller
0a930a21ed
Merge pull request #39 from danieldupriest/example_policy
Created example policy config file
2019-01-28 13:53:44 -08:00
Logan Miller
c665a83729
Merge pull request #37 from danieldupriest/model-string-representations
Gave all models string representations and set up file storage.
2019-01-28 13:49:52 -08:00
kououken
1ff30226f9 Added 'report_pk' to report list json. 2019-01-28 13:23:49 -08:00
kououken
a4dbb3f644 Reworked API endpoints with correct types and some sample JSON. 2019-01-27 14:22:42 -08:00
joe-arriaga
0f7d844dda
Update hasher.py 2019-01-26 12:05:07 -08:00
Joe Arriaga
368bc0964c Replaced tabs with spaces in simple_poicy.py. 2019-01-25 21:29:38 -08:00
Daniel Dupriest
fbe95aac0b
Merge pull request #29 from danieldupriest/example_policy
Added example policy
2019-01-25 19:45:29 -08:00
kououken
1a68176f80 Gave all models string representations and set up file storage. 2019-01-25 14:37:03 -08:00
Rupika
c9fbe8d60e adding model = models.report 2019-01-25 12:45:34 -08:00
Rupika
496ec5626e fix errors 2019-01-23 18:18:19 -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
Rupika
4bc54d5dcc fixed merge conflict in settings.py? 2019-01-23 10:25:50 -08:00
Rupika
c2f1899e20 updating my code 2019-01-22 23:11:41 -08:00
joe-arriaga
ab3366529b
Merge branch 'master' into create-custom-user 2019-01-22 17:56:02 -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
64b47c3345 Enabled cors headers for django 2019-01-22 13:34:47 -08:00
Joe Arriaga
e88cb95010 Added policy file. 2019-01-21 16:34:58 -08:00
Daniel Dupriest
b3177b906b Updated django version to fix vulnerability. 2019-01-20 15:16:56 -08:00
Daniel Dupriest
36252079d7 Database models all implemented. Migrations made. 2019-01-20 14:39:11 -08:00
Joe Arriaga
609eab2ca0 Created example policy config files. Added my name to the README. 2019-01-20 13:59:03 -08:00
Rupika
f18d36e42d Removed database migration 2019-01-20 12:33:19 -08:00
Rupika
5d55d9d66f Fixed functionality and added JSON responses for corresponding views. 2019-01-20 11:58:30 -08:00
Rupika
c5e7fc879f Code is functional, but doesn't display corresponding JSON text for each view? 2019-01-20 00:24:39 -08:00
Rupika
be5c722eca Fixed merge conflict in reimbursinator/urls.py 2019-01-19 22:39:07 -08:00
Rupika
82c9a5fc46 Updating my code 2019-01-19 22:29:25 -08:00
Daniel Dupriest
660c556ca1 Recreated django project with v2.1.4 and updated docker config to match. 2019-01-17 14:12:20 -08:00
kououken
83e5743ac5 Changed docker-compose.yml version to '3.3' and added 'localhost' to django ALLOWED_HOSTS. 2019-01-09 17:06:57 -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