Commit Graph

149 Commits

Author SHA1 Message Date
Aaron Kimbrell
22ba2a7e0a Cleaning up
Separated out commands into it's own file, so more can be added if needed.
Pulled email templates into app template folder for easy access.
Added Argon2 settings to .... settings
2019-04-20 18:44:49 -05:00
Aaron Kimbrell
7283a86753 updated jinja2 verison
fixes CVE-2019-10906
2019-04-19 20:00:37 -05:00
Aaron Kimbrell
19315a4ea9 only show submission for the owner 2019-04-18 07:52:13 -05:00
Aaron Kimbrell
e2fd23e547 typo 2019-04-17 17:06:53 -05:00
Aaron Kimbrell
7f57cc050e I'm blind
Fixed thing with choices where I had curly braces and not parentheses. added some more secure logic
2019-04-17 13:06:01 -05:00
Aaron Kimbrell
9aa48b694a Don't let change own role
There has to be an admin
2019-04-15 21:41:32 -05:00
Aaron Kimbrell
629899bd1f User Management
Added page for user Management
2019-04-15 21:17:19 -05:00
Aaron Kimbrell
4d75430bc6 Submission Editing
Added functionality for submission editing
2019-04-15 18:54:21 -05:00
Aaron Kimbrell
d6348531e7 fixed returns
returning in unexpected ways is bad
2019-04-13 14:56:25 -05:00
Jordan Stremming
86c99f5240 Formatting and unused tag removal 2019-04-13 12:59:50 -05:00
Jordan Stremming
bb8ba1ed1e String formatting 2019-04-11 17:58:27 -05:00
Jordan Stremming
4553c2b0fd PEP8 Indents 2019-04-11 17:55:05 -05:00
Jordan Stremming
7f5f566140 String formatting usage 2019-04-11 17:54:38 -05:00
Jordan Stremming
6790e55052 String formatting usage 2019-04-11 17:51:56 -05:00
Jordan Stremming
0e23f782dd Padding OCD 2019-04-11 17:45:45 -05:00
Jordan Stremming
8a8c5ad857 Padding OCD 2019-04-11 17:41:40 -05:00
Aaron Kimbrell
c85ef77d34 Documents!
Added document viewing and upload page, with the ability to delete them.
Update styling to stop wasting precious vertical screen space
2019-04-11 16:04:05 -05:00
Jordan Stremming
e017cefeae Jumbotron consistency 2019-04-10 13:54:32 -05:00
Aaron Kimbrell
de0108eb52 Updated profile
Removed general dashboard since it was redundant and not being used.
Replace the dashboard button in the header with profile button for easier access. 
Made profile editing form use the base for the other profile, instead of the grey background modal
Added a bit more form masking to
2019-04-09 16:11:20 -05:00
Aaron Kimbrell
7d2664859b form format masking
Masking msu_id and zip code inputs to match formatting
2019-04-07 17:59:43 -05:00
Jordan Stremming
6269f3bdd9 Wider forms for large screens 2019-04-07 13:37:45 -05:00
Jordan Stremming
f22edc96e2 Adjustable width for forms 2019-04-07 13:37:33 -05:00
Aaron Kimbrell
17ffa6d690 fixed role name 2019-04-06 22:07:50 -05:00
Aaron Kimbrell
6b2e1505fd submission/revision/review restriction logic
Added a lot logic checks for all the submission/revision/review.
these checks make sure that no one can do anything they shouldn't or view something they shouldn't

removed the splash page since it wasn't being used
2019-04-06 21:25:55 -05:00
Aaron Kimbrell
102c60a07a @login_required fix
The route must be the outermost decorator
2019-04-06 13:34:31 -05:00
Aaron Kimbrell
36fdbd0213 Review complete
Added review form and hooked it into the database
Shows feedback and comments for revision after feedback has been given
A little bit of logic and error checking for revision submission, need to implement alot more across the entire submission /review process
removed duplicate fields on registration page
2019-04-06 00:57:18 -05:00
Aaron Kimbrell
79db6fcbde Submissions/revisions completed
uploading and submitting works flawlessly
made revision upload form
added CSS for Latex logo
fixed some broken links in header
fixed marshmallow not initialized correctly
cleaned up submission route

Made naming more consistent across functions and models
2019-04-05 20:12:11 -05:00
Aaron Kimbrell
8e55f622d5 Submission form & file upload/serve
The submission for is done-ish, doesn't actually put the data in the database yet, but it takes all the data and files properly.
Renamed TADs to be submissions, since that was the generalized name that we had agreed upon beforehand. 
Added major professor field to db and submission form.
updated links for dashboard and header
2019-04-05 02:15:57 -05:00
Aaron Kimbrell
39b2f1376e Merge branch 'master' into submission 2019-04-04 16:29:10 -05:00
Jordan Stremming
694906e59f formy forms 2019-04-03 14:18:15 -05:00
Aaron Kimbrell
55dea340e4 Docker, wooo!
Can be built and run in docker
2019-04-03 00:05:21 -05:00
Aaron Kimbrell
38f27f3dfe Cleanup
Remove old config base
removed unused form field
Reconfigrued the init_db command to work the way I should have done it in the first place, but did not know about (it's built into flask now, so flask scripts is unnecessary)
So just run `flask init_db` and it'll work
2019-04-02 22:46:42 -05:00
Jordan Stremming
b571611cdf Merge remote-tracking branch 'origin/master' into submission 2019-04-01 11:21:01 -05:00
Aaron Kimbrell
dfb8802839 Fixed registration and profile edit forms
the re-usable address form was breaking both forms due to how flask-user works, since it compares form field name directly to the database, this type of sub-fielding(?) does not work
2019-03-28 19:01:43 -05:00
Aaron Kimbrell
8035e7ae17 updated requirements
argon2i
2019-03-28 18:22:46 -05:00
Jordan Stremming
cbb1321cd8 DB Integration 2019-03-28 17:50:58 -05:00
Aaron Kimbrell
e2137e7bb2 Setup Script
Database initialization
`python manage.py init_db`
2019-03-28 17:49:48 -05:00
Jordan Stremming
e62ee424b9 Code organization and display 2019-03-25 13:36:12 -05:00
Jordan Stremming
d84b463bb5 Code organization and display 2019-03-25 13:35:19 -05:00
Jordan Stremming
e5501d8a2c Code organization 2019-03-25 13:27:50 -05:00
Jordan Stremming
a65bd69954 Tab indexing 2019-03-25 13:19:00 -05:00
Jordan Stremming
0710562705 Reorder contact info 2019-03-25 13:18:12 -05:00
Jordan Stremming
4829d8bf06 Move login info to bottom of form, so password info is decided last 2019-03-25 13:17:01 -05:00
Jordan Stremming
1853951880 Merge remote-tracking branch 'origin/master' into submission 2019-03-25 13:03:33 -05:00
Jordan Stremming
0526ca69c2 Merge remote-tracking branch 'origin/auth' into submission 2019-03-24 14:59:57 -05:00
Aaron Kimbrell
feebbe613b User Profiles
Made it where the profiles display the user's info and then then user can edit their info
2019-03-23 20:12:01 -05:00
905315aa0b Merge pull request #1 from aronwk-aaron/auth
Auth
2019-03-23 18:24:03 -05:00
Jordan Stremming
f3c7c2f2c1 SCSS Variable for default link color 2019-03-23 18:15:04 -05:00
Jordan Stremming
87c499d521 Merge remote-tracking branch 'origin/auth' into auth
# Conflicts:
#	app/static/scss/site.scss
2019-03-23 18:13:55 -05:00
Jordan Stremming
d21980e416 SCSS Variable for default link color 2019-03-23 18:13:28 -05:00