Commit Graph

669 Commits

Author SHA1 Message Date
065afd966d Improve request logging 2021-11-29 01:19:01 +00:00
07559714ff Rate limit allow_last_scanned 2021-11-28 21:43:24 +00:00
cac6a7223f Link paypal hints when generating users 2021-11-28 06:49:02 +00:00
b4510831f6 Rename hints to paypal hints 2021-11-28 05:33:56 +00:00
ef24a264a6 Merge branch 'member_id' 2021-11-28 05:30:58 +00:00
82ab56668b Convert - to . during username generation 2021-11-28 05:13:48 +00:00
70764ee53e Allow secrets to be optional 2021-11-26 03:29:30 +00:00
09ec97fccc Fix requirements.txt 2021-11-26 02:58:40 +00:00
bebbdd5762 Freeze requirements 2021-11-26 00:47:56 +00:00
02f080df77 Handle username generation better 2021-11-25 06:02:58 +00:00
4af72a43e5 Load more search results, maintain scroll position 2021-11-17 06:17:30 +00:00
bbc9f03bdf Remove all references to member_id hint 2021-11-16 22:18:47 +00:00
be40624331 Remove password reset portal migration hint 2021-11-15 06:14:54 +00:00
04fa121fe9 Remove old member registration 2021-11-15 05:57:18 +00:00
fc70bbca00 Add script to generate user accounts 2021-11-15 04:37:04 +00:00
42ad1ac327 Convert Card last_seen_at Date to last_seen DateTime 2021-11-14 03:49:18 +00:00
e511723c07 Allow sorting by Last Scanned 2021-11-12 04:16:19 +00:00
66784c457a Add more sorting options 2021-11-12 03:30:08 +00:00
64e7f4d8f4 Explain when people need to sign up for Spaceport 2021-11-11 06:05:52 +00:00
e928937d43 Add course description to class page 2021-10-23 07:28:52 +00:00
dependabot[bot]
8631c99347
Bump babel from 2.8.0 to 2.9.1 in /apiserver
Bumps [babel](https://github.com/python-babel/babel) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.8.0...v2.9.1)

---
updated-dependencies:
- dependency-name: babel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-21 18:33:45 +00:00
0b25fa173b Add Discourse users to Protospace Members group on auth 2021-10-07 06:39:04 +00:00
ef44815d7a Allow non-vetted members to see the alarm status 2021-10-06 20:24:21 +00:00
8edff64d94 Fix bug with default discourse_username 2021-10-04 06:27:42 +00:00
90b14026d0 Switch to Mailgun 2021-10-02 04:49:35 +00:00
bef5ac437a Allow users to customize their Discourse username 2021-10-02 04:45:00 +00:00
Tanner Collin
b0b480c95b
Merge pull request #60 from Protospace/dependabot/pip/apiserver/pillow-8.3.2
Bump pillow from 8.2.0 to 8.3.2 in /apiserver
2021-09-25 19:39:21 -06:00
Tanner Collin
3a08a671c0
Merge pull request #64 from Protospace/dependabot/pip/apiserver/django-3.1.13
Bump django from 3.1.12 to 3.1.13 in /apiserver
2021-09-25 19:38:29 -06:00
3dd606b0af Add new users to protospace_members Discourse group 2021-09-25 23:00:35 +00:00
6cc2b44711 Update Discourse group membership in daily cronjob 2021-09-25 23:00:35 +00:00
c2ea455750 Display the recorder of each Transaction 2021-09-23 21:04:18 +00:00
dependabot[bot]
3ecafb6683
Bump django from 3.1.12 to 3.1.13 in /apiserver
Bumps [django](https://github.com/django/django) from 3.1.12 to 3.1.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.12...3.1.13)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 18:25:01 +00:00
e75cd254d8 Update stats when is_allowed_entry has changed 2021-09-22 03:19:30 +00:00
c741c498cb Update password change/reset progress text 2021-09-18 21:24:19 +00:00
95295a712e Display progress updates during password resets 2021-09-18 21:12:14 +00:00
33a95d0604 Display progress updates during password changes 2021-09-18 20:45:12 +00:00
77ce7c0f9b Add a setting for if a member is allowed entry 2021-09-16 22:28:24 +00:00
7aebffa329 Raise error on invalid backup key 2021-09-08 18:41:31 +00:00
feff5914ff Update CNC-Precix-Users LDAP group based on certifications 2021-09-08 06:18:17 +00:00
18c8ab1ea9 Add cnc key back into Lockout API 2021-09-08 06:04:09 +00:00
996e063014 Rename CNC cert to Tormach, add Precix CNC cert 2021-09-08 05:24:05 +00:00
dependabot[bot]
f7788051d9
Bump pillow from 8.2.0 to 8.3.2 in /apiserver
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 01:36:20 +00:00
c2705338f5 Register new users on the Wiki and Discourse 2021-09-05 01:05:59 +00:00
7dfc32f4df Increase auth server API timeout 2021-09-05 00:53:14 +00:00
77def611cc Add Discourse auth 2021-09-05 00:47:44 +00:00
fa8d68ad52 Fix bug setting wiki password 2021-09-04 23:47:45 +00:00
58b3e4bcc5 Handle orphan cards 2021-09-04 23:38:46 +00:00
8f0b278dd4 Rename auth functions to wiki auth functions 2021-09-04 23:34:43 +00:00
77653e9eb9 Display progress updates during registration 2021-09-04 22:28:12 +00:00
1f5f99c971 Hide Sign Up form from IPs outside Protospace 2021-09-04 20:28:05 +00:00
e6d230a04e Fix newest overall sort bug 2021-08-27 21:33:15 +00:00
fa36a1bec9 Fix empty last name bug 2021-08-21 19:14:06 +00:00
aa5a01681f Hide member last names from non-vetted members 2021-08-19 07:42:01 +00:00
17da308f37 Include AGM in next meeting stats 2021-08-16 20:10:41 +00:00
9afa2fce32 Log door card access time in Calgary timezone 2021-08-12 00:45:49 +00:00
e9727fc5d2 Update registration email not found error 2021-07-29 01:32:47 +00:00
3a1d5e9c66 Move hammertime 2021-07-29 01:07:34 +00:00
9cfde3e3ca Move old scripts into scripts/ directory 2021-07-29 01:06:28 +00:00
349b5941fb Add member sorting by recently inactive 2021-07-24 21:47:58 +00:00
403b0be895 Add options to sort the member list 2021-07-24 01:17:58 +00:00
f4d7060e5b Increase password reset token length in URL route 2021-07-21 22:42:21 +00:00
dependabot[bot]
d9f07a3802
Bump django from 3.1.10 to 3.1.12 in /apiserver
Bumps [django](https://github.com/django/django) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.10...3.1.12)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:14:50 +00:00
Tanner Collin
ee528c06d9
Merge pull request #52 from Protospace/dependabot/pip/apiserver/pillow-8.2.0
Bump pillow from 8.1.1 to 8.2.0 in /apiserver
2021-06-10 00:01:23 -06:00
dependabot[bot]
04b5bb2cd8
Bump django from 3.1.9 to 3.1.10 in /apiserver
Bumps [django](https://github.com/django/django) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.9...3.1.10)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 17:39:47 +00:00
dependabot[bot]
bb9d3f1716
Bump pillow from 8.1.1 to 8.2.0 in /apiserver
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 20:49:50 +00:00
Tanner Collin
137f37b2fe
Merge pull request #49 from Protospace/dependabot/pip/apiserver/urllib3-1.26.5
Bump urllib3 from 1.25.8 to 1.26.5 in /apiserver
2021-06-05 00:22:28 -06:00
Tanner Collin
b2b4105d0f
Merge pull request #50 from Protospace/dependabot/pip/apiserver/django-3.1.9
Bump django from 3.0.14 to 3.1.9 in /apiserver
2021-06-05 00:22:10 -06:00
2fee937a5a Update perms 2021-06-05 01:29:39 +00:00
b272469625 Add script to sync member statuses in DB 2021-06-05 01:26:08 +00:00
1924ea9399 Keep track of Former Members in member table status 2021-06-05 01:20:38 +00:00
832397ec20 Add script to export member list and statuses 2021-06-05 01:20:38 +00:00
dependabot[bot]
7aae12e707
Bump django from 3.0.14 to 3.1.9 in /apiserver
Bumps [django](https://github.com/django/django) from 3.0.14 to 3.1.9.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.14...3.1.9)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 22:18:53 +00:00
dependabot[bot]
defbe64a7f
Bump urllib3 from 1.25.8 to 1.26.5 in /apiserver
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.8...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 00:55:54 +00:00
7dabdc4809 Increase LDAP API timeout 2021-05-29 03:27:39 +00:00
dependabot[bot]
0017971166
Bump urllib3 from 1.25.7 to 1.25.8 in /apiserver
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.7 to 1.25.8.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.7...1.25.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 21:52:50 +00:00
884cdafacb Revert usage tracking 2021-04-25 20:30:33 +00:00
0c184e9b1d Remove history for UsageTrack 2021-04-25 20:24:32 +00:00
b14bd0ebf0 Decrease initial track time to 0 2021-04-16 03:08:16 +00:00
3fa7e86a9f Alert Tanner on username mismatch 2021-04-16 02:56:55 +00:00
a0c9c52475 Fix usages bug when member's not a Spaceport user 2021-04-16 01:14:01 +00:00
74dfdc6c06 Improve search with legal first name 2021-04-16 01:13:36 +00:00
Tanner Collin
d2191bae2c
Merge pull request #26 from Protospace/dependabot/pip/apiserver/bleach-3.3.0
Bump bleach from 3.1.4 to 3.3.0 in /apiserver
2021-04-15 17:49:06 -06:00
Tanner Collin
894ad568cc
Merge pull request #29 from Protospace/dependabot/pip/apiserver/pillow-8.1.1
Bump pillow from 7.2.0 to 8.1.1 in /apiserver
2021-04-15 17:48:47 -06:00
Tanner Collin
430ee32efc
Merge pull request #30 from Protospace/dependabot/pip/apiserver/djangorestframework-3.11.2
Bump djangorestframework from 3.11.0 to 3.11.2 in /apiserver
2021-04-15 17:48:37 -06:00
dependabot[bot]
659fb141ff
Bump pillow from 7.2.0 to 8.1.1 in /apiserver
Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.2.0 to 8.1.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/7.2.0...8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15 23:48:23 +00:00
dependabot[bot]
9c9426679c
Bump jinja2 from 2.10.3 to 2.11.3 in /apiserver
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.3 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15 23:48:15 +00:00
Tanner Collin
5419c560ec
Merge pull request #36 from Protospace/dependabot/pip/apiserver/pygments-2.7.4
Bump pygments from 2.5.2 to 2.7.4 in /apiserver
2021-04-15 17:47:34 -06:00
Tanner Collin
3042c00aa7
Merge pull request #39 from Protospace/dependabot/pip/apiserver/django-3.0.14
Bump django from 3.0.7 to 3.0.14 in /apiserver
2021-04-15 17:47:14 -06:00
cad4caf518 Reset backup canaries 2021-04-15 23:30:16 +00:00
3f34a3aaf8 Simplify the race condition fix using F() 2021-04-15 22:58:56 +00:00
9a3a9db4ee Fix tracking race condition 2021-04-15 22:38:46 +00:00
677b4086e5 Add basic tracking of devices 2021-04-10 23:39:58 +00:00
dependabot[bot]
2e4b82d829
Bump django from 3.0.7 to 3.0.14 in /apiserver
Bumps [django](https://github.com/django/django) from 3.0.7 to 3.0.14.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.7...3.0.14)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-08 19:11:45 +00:00
868e3636dc Only track mumble stat if URL is set 2021-04-03 19:07:07 +00:00
dependabot[bot]
28fad66f7e
Bump pygments from 2.5.2 to 2.7.4 in /apiserver
Bumps [pygments](https://github.com/pygments/pygments) from 2.5.2 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.5.2...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 21:42:37 +00:00
dependabot[bot]
5de5cc7fdd
Bump djangorestframework from 3.11.0 to 3.11.2 in /apiserver
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.11.0 to 3.11.2.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.11.0...3.11.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 23:01:05 +00:00
dependabot[bot]
1115daa677
Bump bleach from 3.1.4 to 3.3.0 in /apiserver
Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.4 to 3.3.0.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v3.1.4...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 22:25:38 +00:00
247e221ac6 Improve logging 2021-01-12 02:42:53 +00:00
a7051f80ac Make generate_backups function atomic, increase DB timeout 2020-11-24 23:00:45 +00:00
e516ab1263 Add script to import historical number of vetted members 2020-11-19 00:53:06 +00:00
276e9b9b5b Add stats for number of vetted members 2020-11-19 00:52:33 +00:00
af68f6b941 Add script to import historical number of members older than six months 2020-11-18 23:57:37 +00:00
4b74bc8ade Add stats for number of members older than six months 2020-11-18 23:54:44 +00:00
d990a64efb Return alarm light value over /stats/ API 2020-11-17 20:25:25 +00:00
750eed0fb6 Add API route for logging alarm light value 2020-11-17 08:15:16 +00:00
d7c1f8e291 Adjust member form generation 2020-11-16 02:33:05 +00:00
6337b314c7 Update member form template 2020-11-15 17:31:00 -07:00
3b412d35e4 Update member form template 2020-11-15 17:20:03 -07:00
a87993b9de Correct blank member form font import 2020-11-15 16:30:24 -07:00
944be50dbf Add checks to card photo generation 2020-11-15 23:01:55 +00:00
a083a7814f Add limits to possible monthly_fees 2020-11-15 05:33:15 +00:00
d56a530312 Add some limits to class cost and student count 2020-11-15 05:10:52 +00:00
e69a65ae0b Stop generating card files 2020-11-15 05:10:28 +00:00
67a019811b Generate card photos on the fly instead of saving files 2020-11-15 04:35:16 +00:00
19fa620296 Merge branch 'member-summary' 2020-11-15 01:54:00 +00:00
4bc2965f60 Increase ldap api call timeout 2020-11-15 01:47:04 +00:00
ed8df13946 Add django command to delete unused static files 2020-11-15 01:45:07 +00:00
429a6c0354 Merge remote-tracking branch 'origin/member-summary' 2020-11-15 00:55:04 +00:00
03ebe8c7aa Improve development docs 2020-11-15 00:53:07 +00:00
e8198f7b2a Filter logging /lockout/ 2020-11-07 21:27:10 +00:00
93d3731507 Add Mumble user list to stats 2020-10-31 22:53:44 +00:00
bf0030504a Show members application date instead of start date 2020-10-05 21:30:06 +00:00
d5b8ffa0e2 Link to member pages in the Instructor Attendance panel 2020-10-05 21:20:15 +00:00
84a479752b Allow instructors to see other member's training 2020-10-05 21:20:15 +00:00
127ce130a4 Increase backup logging 2020-10-05 20:27:05 +00:00
8454a8faf6 Capitalize laser user's names 2020-10-05 20:25:56 +00:00
4afedefd89 Add more detailed warning messages to signup / reset 2020-10-03 20:54:26 +00:00
4420a675d3 Simplify transaction form 2020-10-01 22:14:16 +00:00
8d82b7e85b Don't change ldap group membership if it's not configured 2020-09-27 04:07:42 +00:00
ced94ae019 Fix serializer set_password bug 2020-09-27 04:03:34 +00:00
06fffca262 Add script to delete member addresses from database 2020-09-27 04:02:07 +00:00
ca8083859c Fix utils auth bugs 2020-09-20 00:27:48 +00:00
3bf8743e9a Display who used the lasers last 2020-09-20 00:23:27 +00:00
9a105908a3 Add API routes for Spaceport auth 2020-09-18 05:03:05 +00:00
b45f86e0cc Add Auth API connection to apiserver 2020-09-16 22:52:17 +00:00
131a8a46a6 Abstract updating certs to a method 2020-09-15 20:59:39 +00:00
ddb83a1b58 Only change group membership if cert changes 2020-09-15 20:59:39 +00:00
854db4b258 Add execution permissions to scripts 2020-09-15 20:59:39 +00:00
f55d8c609e Add scripts to import laser certs based off groups 2020-09-15 20:59:39 +00:00
dcdfbfa953 Change LDAP group membership based on certification 2020-09-15 20:59:39 +00:00
44d50735bf Add rabbit and trotec cert dates 2020-09-15 20:59:39 +00:00
28b8de41a8 Alert Tanner about LDAP server errors 2020-09-15 20:59:39 +00:00
164aa3c9c7 Stop checking old_models.py on registration 2020-09-15 20:59:38 +00:00
5f08bd5e01 Add missing LDAP server requirements 2020-09-15 20:59:38 +00:00
4e6df6ebd0 Upgrade Pillow to fix exif image data bug 2020-08-20 23:53:28 +00:00
0fb481ca94 Automatically certify students on course attendance 2020-08-13 22:57:19 +00:00
Emrah Atil
693219d49e Common tool certification added as prereq to other tool certifications 2020-08-13 15:04:23 -06:00
7111ccb821 Fix quotes 2020-08-11 21:01:27 +00:00
Emrah Atil
9fa6210345 Add Woodworking-2 and CNC tool certification 2020-08-11 14:33:36 -06:00
0dd7e5a00e Make member's street address optional 2020-08-09 00:01:24 +00:00
890fa996af Add script to export member addresses 2020-08-08 23:48:22 +00:00
bf6abb8737 Show member's training to admins 2020-08-08 22:46:19 +00:00
0d1ab359a4 Add PayPal transaction memo to note field 2020-08-08 22:45:43 +00:00
9f5d54d83f Improve ping route logging 2020-08-03 03:22:35 +00:00
e4ad7e9865 Bump Pillow version to 7.1.0 2020-08-03 02:27:37 +00:00
83cba3e896 Document /stats/ API route 2020-08-02 19:28:09 -06:00
8f42f7ad80 Add prepaid members to ready to vet list 2020-08-03 01:11:45 +00:00
335e152ffb Add more logging to IPN verification 2020-08-03 01:11:45 +00:00
250ea89aa0 Prevent adding cards for unvetted members 2020-07-27 21:05:26 +00:00
0f826015f7 Add stats endpoint for tracking computer logins 2020-07-26 00:04:07 +00:00
04e0bbc7a2 Handle member photo Exif data orientation in the API 2020-07-18 06:13:02 +00:00
892bb09e4c Add script to generate previous member cards 2020-07-17 04:46:05 +00:00
33e9ddd30f Accept photo crop data over member details API 2020-07-17 04:45:35 +00:00
d5be3b65de Adjust member card template 2020-07-16 16:50:32 -06:00
0c2b011055 Adjust card positions to match mirrored template 2020-07-16 16:28:56 -06:00
a849b5f887 Add field for card_photo to database 2020-07-16 22:03:46 +00:00
e3514a1768 Add border to card member photo and check font size 2020-07-16 22:03:46 +00:00
9281abf853 Add function to generate member card photo 2020-07-16 22:03:46 +00:00
ee7c9d53d1 Mirror member card template to hide white line 2020-07-16 16:03:12 -06:00
b9a7d118dc Adjust member card template 2020-07-12 15:18:59 -06:00
d8c93fed06 Add member card template image 2020-07-11 23:54:38 -06:00
8561ed2ff4 Add an API route for members ready to be vetted 2020-07-12 03:09:24 +00:00
f3d96b4019 Alert Tanner when an IPN fails to verify 2020-07-03 23:03:00 +00:00
2a381402e2 Try to verify PayPal IPNs twice 2020-07-03 22:50:14 +00:00
f3167a245e Be more explicit about which URLs we can use 2020-06-29 22:44:08 +00:00
bdbab31a17 Look up emails case insensitive 2020-06-26 03:12:56 +00:00
ca808e1d67 Document password reset URL change 2020-06-23 20:59:58 +00:00
a6e1876b93 Send reset password to LDAP server 2020-06-23 20:58:53 +00:00
8ddb1ca949 Document password reset route change 2020-06-20 03:49:18 +00:00
c5767f033c Add custom password reset check 2020-06-20 03:48:31 +00:00
1e685187df Document password reset route 2020-06-20 00:35:58 +00:00
41e1359516 Add URL for password reset confirm 2020-06-20 00:29:24 +00:00
00bcf3fee7 Add email relay credentials 2020-06-19 23:49:05 +00:00
16a989fdd8 Improve member form headers 2020-06-19 04:54:41 +00:00
82316e914a Recount when there's a scan, add count to stats 2020-06-16 04:22:42 +00:00
5311c31480 Remove default last_seen_at 2020-06-16 04:21:10 +00:00
537b0e7339 Document bypass code 2020-06-11 01:20:01 +00:00
f23c3ecc4c Add a bypass code to allow registration outside Protospace 2020-06-10 21:14:43 +00:00
84b83baf13 Remove bypass from debugging 2020-06-08 21:46:03 +00:00
97e1d78acd Improve card scan logging 2020-06-08 20:16:29 +00:00
77b2db0b06 Improve registration logging 2020-06-08 20:06:10 +00:00
dependabot[bot]
c86fa197ed
Bump django from 3.0.3 to 3.0.7 in /apiserver
Bumps [django](https://github.com/django/django) from 3.0.3 to 3.0.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.3...3.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-05 20:34:56 +00:00
e0c36f69ef Don't allow non-admins to edit their lockout cert dates 2020-06-05 03:50:33 +00:00
2656ed3ff0 Correct timezone for date in lockout auth update script 2020-06-05 03:43:56 +00:00
9ad64cbf5a Resolve member objects in lockout auth update script 2020-06-05 03:29:32 +00:00
86f4862dbe Remove Emrah's training_record_fix.py
member_id is only a hint from the old portal scrape import used to
link objects when people register on Spaceport if they had an account on
the old portal. It shouldn't be used going forward.
2020-06-05 03:10:07 +00:00
8e9855c408 Return true/false instead of 1/0 for lockouts 2020-06-05 02:52:53 +00:00
Emrah Atil
7c9cbfa1c3 Utility to populate tool certification dates from training data 2020-06-04 19:22:26 -06:00
Emrah Atil
163d0eff55 Utility to add missing user info to training record 2020-06-04 19:21:07 -06:00
Emrah Atil
e07cb9a1af Lockout authorization api 2020-06-04 19:19:26 -06:00
Emrah Atil
57b3b7d869 Added member tool authorization fields 2020-06-04 19:10:12 -06:00
0231394cef Add any missing days to card scan import script 2020-06-04 03:04:06 +00:00
146d324025 Add hourly task to count card scans 2020-06-04 02:41:28 +00:00
9b98ebf23a Add card scan stats to API 2020-06-04 02:35:38 +00:00
bdbf21f75a Add script to import old card scan counts 2020-06-04 02:35:38 +00:00
ea3f1fc6e4 Set card last_seen_at date to Alberta timezone 2020-06-04 02:35:06 +00:00
33e5b7d8e6 Update docs specs 2020-05-31 00:40:33 +00:00
828298edbd Mention old portal data import is optional 2020-05-31 00:30:31 +00:00
7273eaf815 Add missing installation dependencies 2020-05-31 00:26:36 +00:00
7cfe73580b Allow searching by member IDs 2020-05-17 00:30:59 +00:00
99c1c53f12 Calculate retained member counts for each month 2020-05-17 00:18:08 +00:00
d0402ea388 Return an error message when backup's not ready 2020-05-08 04:57:09 +00:00
89b3ea6e4f Obfuscate admin page url 2020-05-08 04:57:09 +00:00
5367470daa Set same-origin referrer policy 2020-05-08 04:57:09 +00:00
32eeebaf00 Don't update Minecraft player list on error 2020-05-08 04:57:09 +00:00
77b1f932b4 Add option to exclude system changes from History API 2020-05-08 04:53:37 +00:00
2ffaa4c28c Document public_bio and private_notes 2020-05-01 03:59:23 +00:00
4de91204f9 Add fields for public bio and private notes to API 2020-05-01 03:20:37 +00:00
def5c31d0b Add santiy check to backup download 2020-05-01 01:21:06 +00:00
d99e4e3b23 Add signup counts to /charts/ API 2020-04-26 04:23:48 +00:00
7d370fe4b2 Add function to calculate member signup counts 2020-04-26 04:06:15 +00:00
d7a529dd94 Rename table to StatsSignupCount 2020-04-26 03:39:38 +00:00
3d85448b0e Add script to import old member signup counts 2020-04-26 03:36:59 +00:00
1cbf951ab4 Add member signups count table 2020-04-26 03:36:39 +00:00
9223da6b90 Add member counts to /charts/ API 2020-04-21 21:12:50 +00:00
20c93cd5c4 Add script to import old member counts from csv 2020-04-21 05:46:40 +00:00
8d4a63fbfc Add member count stats table and update it hourly 2020-04-21 05:45:20 +00:00
0c3805d86d Correct member count to remove "Past Prospect" members 2020-04-21 00:15:19 +00:00
118c32ca7c Add Minecraft players to /stats/ API 2020-04-21 00:12:51 +00:00
d3a7616686 Clear next meeting and clean stats if there's none 2020-04-16 05:03:54 +00:00
01703d55dc Update info about /door/ API route auth in docs 2020-04-04 02:01:39 +00:00
dependabot[bot]
27417852cd
Bump bleach from 3.1.2 to 3.1.4 in /apiserver
Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v3.1.2...v3.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-30 20:14:09 +00:00
Tanner Collin
adaa0e0d3c
Merge pull request #14 from Protospace/dependabot/pip/apiserver/bleach-3.1.2
Bump bleach from 3.1.1 to 3.1.2 in /apiserver
2020-03-28 20:50:01 -06:00
a3db260e08 Allow searching for members by email 2020-03-29 02:46:36 +00:00
3a9fd875b2 Filter out cancelled meetings and cleanups 2020-03-29 02:46:36 +00:00
dependabot[bot]
edcb5fe80e
Bump bleach from 3.1.1 to 3.1.2 in /apiserver
Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-24 18:05:32 +00:00
4153f7ed6e Change backup folder depending on DEBUG 2020-03-08 01:12:56 +00:00
301b1603ef Convert print statements to logger calls 2020-03-08 01:07:09 +00:00
464db5cf28 Set up proper logging 2020-03-08 00:36:16 +00:00
8ff4997810 Add fields for Protospace wifi pass and door code 2020-02-29 00:50:34 +00:00
1cc3087148 Stop tracking Card's last_seen_at 2020-02-29 00:48:33 +00:00
ba5361f660 Add script to clean member names 2020-02-28 07:24:09 +00:00
091c81e411 Capitalize names, disallow extra spaces 2020-02-28 07:00:55 +00:00
1db63c9615 Remove redundant authenticated check from cards API 2020-02-28 01:33:14 +00:00
05642c01a3 Document LDAP server setup 2020-02-28 00:55:40 +00:00
5bf9b26180 Document door API auth 2020-02-27 23:16:13 +00:00
314e4da620 Require "Bearer" to be on custom auth tokens 2020-02-27 23:06:23 +00:00
4a117eff83 Return stats about last backup download times 2020-02-27 22:46:09 +00:00
221e83ccab Increase search result count and sort by expire_date 2020-02-27 22:46:09 +00:00
f82c7e4a73 Hide door card list behind auth token 2020-02-27 22:44:55 +00:00
ecefa479ee Limit card actions only to admins 2020-02-27 22:34:34 +00:00
bbd57e1885 Merge remote-tracking branch 'remotes/github/dependabot/pip/apiserver/bleach-3.1.1' 2020-02-26 01:47:34 +00:00
4ff0900a20 Wrap history index signal with giant try: except: 2020-02-26 01:45:49 +00:00
bcb34cf63e Add min and max to num membership months 2020-02-26 01:45:26 +00:00
d4f5ab03cf Pause / unpause using alberta timezone date 2020-02-26 00:56:46 +00:00
37d0030966 Exclude member_forms history change, fix truncation bug 2020-02-26 00:54:07 +00:00
4ecb84bc96 Link old members with update() for efficiency 2020-02-26 00:52:27 +00:00
37c2aeb5b3 Remove last name Tester work around 2020-02-25 23:33:26 +00:00
ce4602018b Serialize History and expose to API 2020-02-25 23:32:28 +00:00
73362b69c6 Create an index of all history changes 2020-02-24 23:49:14 +00:00
dependabot[bot]
fb5c51bbce
Bump bleach from 3.1.0 to 3.1.1 in /apiserver
Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-24 20:10:04 +00:00
9de7368174 Remove debugging bypass 2020-02-23 07:44:02 +00:00
c2035924bb Process Paymaster PayPal transaction categories 2020-02-23 04:31:58 +00:00
65ffdcc00f Categorize PayPal membership tx, increase page size, sort tx by new 2020-02-22 05:21:33 +00:00
063c7bd1f5 Return a list of transactions by month 2020-02-21 23:25:05 +00:00
ed13e203f8 Force secure cookies 2020-02-21 22:46:26 +00:00
fb41b3b3d9 Add a script to link old instructors with their new user 2020-02-21 00:41:19 +00:00
ca54c48d39 Add students emails to instructor sessions 2020-02-21 00:09:48 +00:00
c57c782eb5 Change method of generating backups 2020-02-21 00:09:48 +00:00
fe758271f2 Truncate task run times 2020-02-21 00:09:48 +00:00
cd27c1ee4b Add API routes for POSTing temperature data 2020-02-18 07:07:23 +00:00
613369d9e9 Add API route for paste 2020-02-17 03:27:41 +00:00
be6375566e Allow instructors to sign members up for classes 2020-02-16 07:17:15 +00:00
8b9486fc5f Add API route to get backup URL 2020-02-16 04:59:02 +00:00
8c630ada1f Add script and command for creating backups 2020-02-16 02:37:22 +00:00
3f37dd8940 Git keep backups directory 2020-02-16 02:37:03 +00:00
da7aa42251 Check old emails against current portal 2020-02-16 02:35:31 +00:00
3400f80f42 Fix PayPal IPN training status capitalization 2020-02-14 23:00:20 +00:00
091880b034 Correct PayPal IPN email, deal with missing tx ID 2020-02-14 22:40:42 +00:00
7d2f99072f Make some member details optional for admin PATCH 2020-02-14 22:40:18 +00:00
c9c0145bbb Add my.protospace.ca to allowed hosts 2020-02-14 22:39:44 +00:00
d4871feb8d Allow users not yet in LDAP to claim old portal accounts 2020-02-14 05:19:59 +00:00
ef16bf1cb3 Move PayPal out of sandbox in API, add hosts 2020-02-13 22:51:57 +00:00
42cd4ef0e7 Add script to import missing paypal txs from their API 2020-02-13 22:49:08 +00:00
5837694a2d Add favicon to docs 2020-02-13 03:26:11 +00:00
095fec4681 Don't register historical tables in admin interface 2020-02-13 02:16:21 +00:00
c45a671cff Undocument ability to set directors and staff 2020-02-13 02:05:20 +00:00
c9b572dbc0 Add page for feature specs to docs 2020-02-13 02:02:58 +00:00
f70861b7c0 Disallow setting of new directors and staff 2020-02-12 09:19:43 +00:00
dfb3c7cacc Extract IPN data safely 2020-02-12 09:19:27 +00:00
ca7250171a Upgrade Django 2020-02-11 22:47:14 +00:00
3d2ddcc206 Stop printing IPN / LDAP status 2020-02-10 09:21:01 +00:00
ae6f71a236 Log when daily and hourly tasks start 2020-02-10 09:15:14 +00:00
67c1d480df Send password to LDAP on password change 2020-02-10 08:54:29 +00:00
6fa73af0be Correctly get next meetings when there's multiple 2020-02-10 08:13:00 +00:00
5ffb6c034a Calculate entire daily task time 2020-02-10 08:02:10 +00:00
49f6da8ae5 Add hourly task to calculate next events and member counts 2020-02-10 08:01:43 +00:00
82b9955a56 Calculate _Overdue_ status the same way as old portal 2020-02-10 04:47:24 +00:00
dd68adfe68 Ignore Contractor member accounts on portal import 2020-02-10 02:09:39 +00:00
f4af053c91 Calculate status the same way as old portal 2020-02-10 01:42:28 +00:00