Commit Graph

485 Commits

Author SHA1 Message Date
Lacey Williams Henschel
8baaaedc8f 🔧 Reorder functions 2023-03-03 13:48:44 -08:00
Lacey Williams Henschel
f9247e7d24 🔧 Start moving things to testable util functions
- Move extract_email to util
- Correct get_names method to strip the formatted email from the string before parsing
2023-03-03 13:47:18 -08:00
Lacey Williams Henschel
ffddd0afa2 🐛 Fix conditional
Can't check for an image URL if there is no image!
2023-03-03 13:18:02 -08:00
Lacey Williams Henschel
f97e2c44b5 🚧 Command to upload lib authors and maintainers
WIP. Uses a single, randomly-retrieved library to test.

- Gets the library GH libraries.json
- Extracts author and maintainer data
- For each person:
  - Extracts the email if available, or autogenerates a placeholder and marks the email as invalid
  - Separates the name fields into First and Last
- For authors, adds the author's User record to the Library's `authors`
- For maintainers, adds the maintainer's User record to the LibraryVersion's `maintainers` (using the most recent Version)
2023-03-03 13:16:30 -08:00
Lacey Williams Henschel
f8c6d2510d Add new fields 2023-03-03 13:12:41 -08:00
Lacey Williams Henschel
2497be4eaa Add ordering to admin 2023-03-03 13:12:03 -08:00
Lacey Williams Henschel
bb4bd37713 🏦 Move maintainers M2M to LibraryVersion 2023-03-03 13:11:46 -08:00
Lacey Williams Henschel
6e07a89462 📝 Change help text on new fields 2023-03-03 13:11:25 -08:00
Lacey Williams Henschel
7dea27d1d1 🏦 Add valid_email and claimed fields to User model
Default to `True` because the only conditions in which these would be False is on import of author/maintainer data for the Libraries from GitHub. After the initial launch, these fields won't be used with nearly the frequency.
2023-03-03 10:46:29 -08:00
Lacey Williams Henschel
0e9551764d Merge pull request #132 from revsys/121-refresh-gh-photo
#121 Allow user to import their GH profile photo
0.0.116
2023-03-02 10:05:46 -08:00
Lacey Williams Henschel
8c4b10a50a 🔧 Call task on a delay 2023-03-02 10:03:53 -08:00
Lacey Williams Henschel
14f01f5444 🔈 Use structlog 2023-03-02 09:59:46 -08:00
Lacey Williams Henschel
5c7e39370c Allow user to update photo to their GH photo 2023-03-02 09:59:34 -08:00
Lacey Williams Henschel
1b0c8fa66a Merge branch 'main' of github.com:revsys/boost.org into 121-refresh-gh-photo 2023-03-02 09:24:43 -08:00
Lacey Williams Henschel
85c2dfa650 Add task to update github photo 2023-03-02 09:19:25 -08:00
Lacey Williams Henschel
597253addb 🔧 👕 Light refactor 2023-03-02 09:12:34 -08:00
Greg Newman
0ee95beb32 Merge pull request #131 from revsys/36-google-search
Styles and forum fixes
0.0.115
2023-03-01 10:23:35 -05:00
Greg Newman
afa09a49eb blackened 2023-03-01 10:20:44 -05:00
Greg Newman
9cf9a08491 🎨 style messages
Styles messages and removes them from forum base template so they are global.

Issue: #83
2023-03-01 10:15:55 -05:00
Greg Newman
891cc54afc 🐛 fixes forum permissions
Sets default forum permissions for authenticated users.  Staff was the only persona that was allowed to access the forums without this setting.
2023-03-01 10:00:42 -05:00
Greg Newman
f7192ff685 🎨 add github style permalink 2023-03-01 09:57:01 -05:00
Greg Newman
322fa7b1aa adds google search
Issue: #36
2023-03-01 09:34:08 -05:00
Frank Wiles
e5057f076e Fix env/setting mismatch 0.0.114 2023-02-27 10:49:48 -06:00
Frank Wiles
faad67f47b Merge pull request #129 from revsys/setup-django-storages
Setup django-storages for S3 compatible storage when deployed
0.0.113
2023-02-27 10:02:36 -06:00
Frank Wiles
0e51087e82 Use default file storage in CI 2023-02-27 10:00:31 -06:00
Frank Wiles
b41769aa16 Fixing local vs CI issue 2023-02-27 09:56:00 -06:00
Frank Wiles
45b9b7fb79 Fix typo in settings 2023-02-27 09:39:43 -06:00
Frank Wiles
8fc5d76057 Setup django-storages for S3 compatible storage when deployed 2023-02-26 14:48:47 -06:00
Greg Newman
315d11f439 Merge pull request #128 from revsys/127-profile-link
 profile link and photo form style
0.0.112
2023-02-23 15:39:44 -05:00
Greg Newman
f6b0820cee 🎨 build styles 2023-02-23 15:37:31 -05:00
Greg Newman
83eaec0614 Merge branch 'main' into 127-profile-link
# Conflicts:
#	static/css/styles.css
2023-02-23 15:37:15 -05:00
Lacey Williams Henschel
89395a4794 Merge pull request #125 from revsys/fix-versions-display
🔧 Only show 'current version' if it's actually the current version
0.0.111
2023-02-23 12:34:32 -08:00
Greg Newman
f60ed2a685 profile link and photo form style
* adds link to top menu when authenticated to link to profile
* styles the upload profile photo form

Issue: #127
2023-02-23 15:32:47 -05:00
Greg Newman
77cd85cfa3 🎨 style version
Conditionally style the version badge so that current is green and past is orange.
2023-02-23 15:13:27 -05:00
Lacey Williams Henschel
1cf25da012 Merge pull request #120 from revsys/100-breadcrumbs
🐛 Hide "Categorized" in breadcrumb if no category
0.0.110
2023-02-23 09:23:33 -08:00
Lacey Williams Henschel
357fe8fc02 Merge pull request #126 from revsys/121-upload-new-photo
 User can upload a new profile photo
0.0.109
2023-02-23 09:22:47 -08:00
Lacey Williams Henschel
7791706ee5 User can upload their own profile photo 2023-02-22 12:58:18 -08:00
Lacey Williams Henschel
2dbe106b62 ⬆️ Add Pillow 2023-02-20 12:11:02 -08:00
Lacey Williams Henschel
c3fc679cf7 Merge pull request #124 from revsys/121-socialaccount-signal
Add signal to get GitHub profile photo when new user account is created
0.0.108
2023-02-17 15:09:36 -08:00
Lacey Williams Henschel
80720a21b7 👕 Linter 2023-02-17 15:05:52 -08:00
Lacey Williams Henschel
cb33d7a4fa 📝 Add comment to point to signals 2023-02-17 13:14:50 -08:00
Lacey Williams Henschel
c674b2d4a8 🔧 Only show 'current version' if it's actually the current version 2023-02-17 13:10:58 -08:00
Lacey Williams Henschel
c7549b6188 Merge branch 'main' of github.com:revsys/boost.org into 121-socialaccount-signal 2023-02-17 09:42:51 -08:00
Greg Newman
6c74657434 Merge pull request #123 from revsys/images-css-fixes
Images css fixes
0.0.107
2023-02-17 10:49:47 -05:00
Greg Newman
8eed4681b9 🎨 sets a default icon if no profile image 2023-02-17 10:47:53 -05:00
Greg Newman
020c0fc8b3 🎨 adds images to library detail 2023-02-17 10:32:05 -05:00
Greg Newman
8b1c5d4eb0 🎨 adds images to library list 2023-02-17 10:29:37 -05:00
Greg Newman
ac2472f8ce 🎨 size image and css fixes
* Sizes the profile image to match designs on the profile page.
* Fixes regression of gray text
2023-02-17 10:19:12 -05:00
Frank Wiles
ff1b06db8b Merge pull request #122 from revsys/121-profile-photos
Underlying code for profile photos
0.0.106
2023-02-17 07:58:54 -06:00
Lacey Williams Henschel
f2a0da771e Add signal for saving profile data upon a new GH login
I did skip the tests -- my first tries with `patch` didn't work and I wanted to have this working for the demo, at least locally.
2023-02-16 15:22:06 -08:00