Commit Graph
100 Commits
Author SHA1 Message Date
tanner ff72500e70 Host CSS, remove dependency of Google Fonts and CDN 2020-01-23 23:42:32 +00:00
tanner f44d1d9d98 Move success messages under submit button 2020-01-23 22:44:42 +00:00
tanner 273e514ee3 Add script to hammer API with test requests 2020-01-23 22:32:49 +00:00
tanner 3f293f2cea Rename process image function 2020-01-23 22:32:31 +00:00
tanner c0fa194818 Fix cards typo in docs 2020-01-23 20:50:40 +00:00
tanner 5ac30ebf6c Fix import error 2020-01-23 07:29:38 +00:00
tanner 77e90e090f Log when we run without old portal data 2020-01-23 07:25:53 +00:00
tanner f29f8a9c75 Freeze requirements 2020-01-23 06:55:11 +00:00
tanner c6182c8984 Allow importing the old portal to be optional 2020-01-23 06:54:34 +00:00
tanner 6dcdeffa9e Add link to docs in README 2020-01-23 03:33:57 +00:00
tanner b840889379 Add button to log out all sessions 2020-01-23 03:32:54 +00:00
tanner 664859dd26 Only allow admins to change member's names 2020-01-23 03:11:37 +00:00
tanner 66c959db59 Import validation exception 2020-01-23 02:55:28 +00:00
tanner 9719867ebd Move <Router> to index.js, go home on log out 2020-01-23 02:54:33 +00:00
tanner 78f67e845b Update serialize-javascript package 2020-01-22 22:38:30 +00:00
tanner 8b48ff9c05 Move utils and permissions to own file, clean up code 2020-01-22 22:32:58 +00:00
tanner 0a13f52053 Fully document API and move dev setup instructions 2020-01-21 23:49:01 +00:00
tanner 15f736809d Make member_id int, ignore username case 2020-01-21 23:46:44 +00:00
tanner f84171de83 Confirm user logout 2020-01-21 23:45:54 +00:00
tanner 72d502d0b7 Set up boilerplate sphinx docs 2020-01-21 06:18:09 +00:00
tanner 3af9f51fb0 Misc fixes 2020-01-21 05:00:45 +00:00
tanner a3e14c434d Add missing green color for Prepaid 2020-01-20 09:47:23 +00:00
tanner eb472c815e Add unit testing instructions 2020-01-20 06:05:10 +00:00
tanner aa9045e49e Add door controller cards route to API 2020-01-20 06:01:10 +00:00
tanner 872a51f5f5 Change pause and unpause routes to POST 2020-01-20 04:42:50 +00:00
tanner 5a69e5d88d Improve nginx caching 2020-01-20 03:05:26 +00:00
tanner 047833b5cc Display correct icon color based on status 2020-01-20 02:54:44 +00:00
tanner 6c7464fe67 Display "Former Member" for all non-member statuses 2020-01-20 02:31:38 +00:00
tanner b214dc230f Add UI for pausing and unpausing members 2020-01-20 02:25:58 +00:00
tanner c9faca94ad Add API routes to pause / unpause membership 2020-01-20 01:57:05 +00:00
tanner e92182724b Fix fake missing membership tests 2020-01-20 00:46:07 +00:00
tanner 45965b29b2 Make expire and paused date read-only, add fake months individually 2020-01-20 00:29:28 +00:00
tanner 8ca8970092 Add django command for running member tally cron daily 2020-01-19 10:57:56 +00:00
tanner 712a6c533f Retally membership months on any transaction change 2020-01-19 08:59:16 +00:00
tanner 73b6d19c19 Add a fake membership transaction when importing old portal 2020-01-19 06:58:51 +00:00
tanner 0fe999ca97 Add utils and tests for calculating membership status 2020-01-19 03:00:05 +00:00
tanner f9c21b7001 Fix margins on attendance buttons 2020-01-18 07:54:17 +00:00
tanner 3755969ead Allow admins to add transactions to users 2020-01-18 04:47:54 +00:00
tanner 6a7f409986 Add transaction editor to UI 2020-01-18 03:34:55 +00:00
tanner 08bd52704b Use object IDs instead of array indices as keys 2020-01-18 01:36:53 +00:00
tanner cb8ac3cf63 Force refresh of states instead of modifying objects 2020-01-18 01:27:56 +00:00
tanner 6c8f6f7baa Add transactions to admin member search result 2020-01-18 00:55:08 +00:00
tanner 1839616aa9 Limit sign ups from Protospace only 2020-01-17 09:20:55 +00:00
tanner df1490dd2d Add API route for transactions 2020-01-17 07:20:07 +00:00
tanner 0f39901c76 Only show course description character count over 3000 2020-01-17 04:16:42 +00:00
tanner 94a296744c Improve old portal timezone correction
(Still off by an hour during DST)
2020-01-17 04:16:09 +00:00
tanner 92ac996952 Add README 2020-01-16 23:38:11 +00:00
tanner 699449e1f1 Move DB and whitelist localhost 2020-01-16 23:15:37 +00:00
tanner dc50eb13d0 Increase short logo icon size 2020-01-16 23:13:43 +00:00
tanner ec5f17d4d3 Correct timezone data from old portal scrape 2020-01-16 09:46:11 +00:00
tanner b6573f1d72 Add UI for class sign up and attendance 2020-01-16 09:09:45 +00:00
tanner 57407be11e Add API route for training 2020-01-16 06:17:33 +00:00
tanner 801d35aa88 Add icon to short logo 2020-01-16 04:05:30 +00:00
tanner 27c6ca65e1 Fix class sorting bug and move datetime picker down 2020-01-16 03:00:10 +00:00
tanner 1a8b12ceb4 Add favicons and site title 2020-01-16 02:49:09 +00:00
tanner d171f19d4e Display max student count 2020-01-16 02:35:01 +00:00
tanner a58aa22bbf Display times in local timezone 2020-01-16 02:03:23 +00:00
tanner df0d83983d Add UI for instructors to add and edit classes 2020-01-16 01:32:52 +00:00
tanner 561e3f99d0 Fix bug where search seq number was float on Chrome 2020-01-15 08:21:22 +00:00
tanner 036a39febb Show if a class is cancelled 2020-01-15 08:19:55 +00:00
tanner 2040875fe0 Improve course field validation 2020-01-15 08:03:25 +00:00
tanner 8a8161c976 Calculate instructor name correctly 2020-01-15 07:51:00 +00:00
tanner 200df3fdc8 Sanitize HTML input 2020-01-15 07:07:12 +00:00
tanner 83ab4dffbe Add shortcuts for viewset mixins 2020-01-15 06:26:12 +00:00
tanner 9617d9776b Add UI for instructors to edit courses 2020-01-15 06:24:38 +00:00
tanner 9b27c41433 Add UI for instructors to create a new course 2020-01-15 05:12:00 +00:00
tanner a0489be82d Simplify Card views and allow editing courses 2020-01-15 02:02:16 +00:00
tanner a178516811 Add separate session serializer for course list 2020-01-15 01:31:41 +00:00
tanner 4e82f13f74 Add UI for admins to view and edit member cards 2020-01-15 00:12:50 +00:00
tanner 4d44e2c3cb Allow member card creation 2020-01-14 04:12:46 +00:00
tanner f869cdff36 Recognize portal is_staff as admin in webclient 2020-01-14 01:54:05 +00:00
tanner 437376fc36 Handle admin member detail form errors and simplify info 2020-01-14 01:52:13 +00:00
tanner 384964ca07 Add member cards api route 2020-01-14 01:51:46 +00:00
tanner c22a19736d Add option to make someone portal staff 2020-01-14 01:14:23 +00:00
tanner 579966e7aa Move search result member into its own object 2020-01-14 00:52:15 +00:00
tanner f52ee5532d Add UI for admins to view and edit member's details 2020-01-13 08:01:42 +00:00
tanner 0c814790a7 Mark some member fields as required 2020-01-13 04:58:41 +00:00
tanner bd3146f413 Add address and minor fields to member in API and client 2020-01-13 03:18:41 +00:00
tanner f50a3ca129 Change /me to /user and allow email changes 2020-01-13 01:03:02 +00:00
tanner 56a187c576 Add change password form to webclient 2020-01-12 08:54:32 +00:00
tanner e256e32341 Add api route and webclient page for account settings 2020-01-12 08:16:09 +00:00
tanner 82dfa132e7 Move Home member info into table and use preferred name 2020-01-12 04:58:29 +00:00
tanner f937dfdbce Allow updating emails 2020-01-12 00:34:22 +00:00
tanner 3ff81633a7 Use item list for members and add member detail view 2020-01-11 23:53:42 +00:00
tanner 58f3021cb1 Add a footer 2020-01-11 08:56:31 +00:00
tanner fada97dab0 Move api and static urls to subdomains 2020-01-11 07:09:24 +00:00
tanner 5f486695ba Add 404 image 2020-01-11 06:57:08 +00:00
tanner 946c70d776 Import old photos and link to members 2020-01-11 06:27:30 +00:00
tanner 5091ff2977 Git ignore data and old_photos folders 2020-01-11 04:51:14 +00:00
tanner 0e228b3211 Git keep data and old_photos folders 2020-01-11 04:50:39 +00:00
tanner 8c1f1ab3de Change search to POST and add sequence numbers 2020-01-11 04:20:07 +00:00
tanner 4e78087338 Add searchable member list to webclient 2020-01-11 02:50:55 +00:00
tanner 402ec28ff5 Add member search api route 2020-01-11 00:47:13 +00:00
tanner fddaf083b4 Adjust courses and class list 2020-01-10 23:56:10 +00:00
tanner 027a5fdfc1 Split classes into upcoming and recent 2020-01-10 07:39:05 +00:00
tanner 6698c04e91 Add courses and classes to webclient 2020-01-10 06:24:37 +00:00
tanner c80bf1e56a Add API routes for courses and sessions 2020-01-10 06:22:56 +00:00
tanner b1ff647c6e Add user's training to webclient 2020-01-10 00:29:52 +00:00
tanner 42f3594e38 Import old courses, classes and link to members 2020-01-09 23:58:44 +00:00
tanner 06c111dbbe Break components out into their own files 2020-01-09 22:11:56 +00:00