Renovate Bot
f83239f41a
Update dependency @material-ui/core to v4.11.3
2021-03-01 10:50:11 -05:00
Renovate Bot
533481c6a6
Update dependency @testing-library/jest-dom to v5.11.9
2021-03-01 10:49:38 -05:00
Siddharth Sahoo
8d71ca19b0
Typing mistakes
2021-02-26 14:19:08 -05:00
Dustin J. Mitchell
863ffb88de
typo
2021-02-26 17:53:28 +00:00
Dustin J. Mitchell
142e5dc7c2
limit concurrency
2021-02-26 09:09:04 -05:00
Renovate Bot
f3977ebd9b
Add renovate.json
2021-02-26 09:09:04 -05:00
Alberto del Barrio
4fc77d6d9b
CI job for building and pushing Docker containers
2021-02-22 11:52:33 -05:00
Alberto del Barrio
a45bca5e86
Consolidate location of env vars for prod
2021-02-19 12:10:38 -05:00
Alberto del Barrio
b451a6df92
Get ready for production;
...
* export DJANGO_SETTINGS_MODULE to fix "django.core.exceptions.ImproperlyConfigured: Configuration cannot be imported, environment variable DJANGO_SETTINGS_MODULE is undefined."
* Do not force SSL Redirection in the app. This is going to be done at the loadbalancer level, which terminates SSL traffic. Enforcing this setting in the app layer makes it not possible to test the deployment in "Production" mode without creating fake certs.
2021-02-19 12:10:38 -05:00
John Whitlock
4902936711
Fix link formatting for participation guidelines
2021-02-18 16:51:32 -05:00
Dustin J. Mitchell
a509b3e685
Add an ErrorDialog component and use it consistently
2021-02-18 11:28:41 -05:00
Dustin J. Mitchell
c1e098aaa6
Use pip-tools to keep a requirements.txt up to date, with hashes
2021-02-18 10:19:58 -05:00
Dustin J. Mitchell
183e14be9d
Require valid manager_email
...
This avoids 400's from the Django backend on submission.
2021-02-18 09:52:46 -05:00
Dustin J. Mitchell
d5690c3c74
Use DATABASE_URL for production deploys
2021-02-17 13:44:34 -05:00
Dustin J. Mitchell
c832ac4e4b
Use gunicorn to run app in production
2021-02-17 13:36:56 -05:00
Dustin J. Mitchell
34e3b86c15
do not use axios cache
2021-02-16 13:43:57 -05:00
Dustin J. Mitchell
edf2a7bc88
Build a docker image for deployment.
2021-02-16 09:46:59 -05:00
Dustin J. Mitchell
cdbf944924
make it more clear that controls are disabled, with both text and color
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
abf178043a
swap mentor and learner interests, to line up with the switches at the top
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
de8f27cbb7
lint
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
3402ab5863
use camelCase until translating things to an API object
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
f30243c7bf
Rename InterestsControl.onChange to onInterestChange
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
879e578c09
Replace AvailabilitySelector.default with LOCAL_NINE_TO_FIVE
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
c9d4926377
Fix typo in tests
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
9f11ae3ebb
Support adding/updating enrollment
...
This completes the enrollment flow.
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
e3a68dbe75
use AvailabilitySelector
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
fe81afc615
Support loading existing enrollment via REST API
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
ffdd11573b
Add and use an InterestsControl
...
The way this control tries to synchronize its state and controlling prop
is buggy, especially when multiple interests have the same text. But,
it will do for now and provides a good room for improvement.
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
308a49eac0
Basic enrollment form that doesn't push anything anywhere
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
d7e45574d6
add a menu for non-admins
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
b675943114
offset main content beyond the AppBar
2021-02-12 15:07:42 -05:00
Dustin J. Mitchell
dba7ac676b
docs for using storybook
2021-02-05 17:31:08 +00:00
Dustin J. Mitchell
2d79b1142d
Add tests for new component
2021-02-04 10:58:28 -05:00
Dustin J. Mitchell
165cf1cafd
Add a time-availability selector component
...
This provides both "simple" and "custom" views, with simple covering the
more common daily-working-hours option and custom covering the more
unusual cases like "4 hours in my morning and 4 hours in my night"
2021-02-04 10:58:28 -05:00
Dustin J. Mitchell
6a58bf273b
Use storybook for component testing/development
2021-01-28 12:20:29 -05:00
Dustin J. Mitchell
e31fede738
Display only appropriate fields depending on role
2021-01-26 12:59:30 -05:00
Dustin J. Mitchell
63f36d247b
split interests into a field for mentor and a field for learner
2021-01-26 12:59:30 -05:00
Dustin J. Mitchell
9ec133a71d
Combine mentor and learner rows into a single row.
...
The intent of the separation was to allow distinct answers for
enrollment as a mentor and a learner, but in looking at the fields for
each, most are identical.
Note that this is a "lossy" migration (it deletes all rows). That's OK
at this point because the application is not currently deployed.
This removes the enrollment form, as that was intended to connect to
Alchemer and is being replaced in #13 .
2021-01-26 12:59:30 -05:00
Dustin J. Mitchell
4087125aa4
trust proxy header even in dev
2021-01-25 16:06:13 +00:00
Dustin J. Mitchell
8269c7d3ec
fix migrations
2021-01-22 11:50:08 -05:00
Dustin J. Mitchell
18b49edc88
Check migrations in CI
2021-01-22 11:50:08 -05:00
Dustin J. Mitchell
8714109b69
consistently use sandbox/bin/python3 in CONTRIBUTING.md
2021-01-22 15:55:00 +00:00
Dustin J. Mitchell
3935c517b3
be more explicit about conditions where these tasks run
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
f361aad5db
remove bogus requirement
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
26457f8b31
add pycodestyle checks
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
b74fbe4d0c
test with the latest node
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
d861215720
only run on some PR events and pushes
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
1378306375
add Django tests to CI
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
b7daf31dff
Set up distinct Development and Production configs
2021-01-22 09:56:55 -05:00
Dustin J. Mitchell
979359f5b4
switch to using django-configurations
2021-01-22 09:56:55 -05:00