39 Commits

Author SHA1 Message Date
daveoconnor
5f022aca0a Upgrade django to 5.2, python to 3.13 (#1915) 2025-10-22 13:24:26 -07:00
daveoconnor
029756e576 Account for CDN with csrf cookie generation (#1958) (#1963) 2025-10-16 11:05:17 -07:00
daveoconnor
adebb47258 Added contributor email address claim validation (#1710) (#1866) 2025-09-05 13:55:33 -07:00
daveoconnor
1344c85617 Link commit authors to users (#1709, #1711) (#1717) 2025-03-31 11:34:25 -07:00
daveoconnor
91f36c3eeb Simplified/centralised version dropdowns population (#1500) (#1510) 2024-12-10 09:29:50 -08:00
Gavin Wahl
527a5cf83e 10-day grace period for user deletion (#1445) 2024-11-15 08:27:18 -05:00
Gavin Wahl
3f30722d6b Option to delete user data (#1368)
Fixes #965
2024-10-25 13:49:12 -06:00
daveoconnor
8022c5c969 Resolve issue with avatars on docs/guide page (#1349)
Related to #1307, couldn't reproduce that specific issue, but did see an
issue with the avatar sizing and styling, so added tailwind to docs
template
2024-10-09 17:28:18 -07:00
daveoconnor
4c17724f00 Updated login flow to match Figma (#1167, #1128) (#1311)
Includes email for various signup/login related events which we'll need
to ensure there's support for in staging and prod
2024-10-04 10:09:44 -07:00
Brian Perrett
45a3fa7870 Create an avatar tag to be usable anywhere we need an avatar. (#1298)
- fixes https://github.com/boostorg/website-v2/issues/1285
- Use a django tag to render an avatar component.
2024-09-27 15:30:46 -07:00
Greg Newman
ae84eb9d77 🐛 sets user on mobile 2023-12-15 09:43:13 -05:00
Greg Newman
c6d6b85bab adds an api call to get Avatar
The user avatar content in the header is now populated with a htmx get request. The request object is used to show either the join link, avatar or no avatar icon.

Issue: #850
2023-12-08 12:03:36 -05:00
Lacey Williams Henschel
8db6603814 Allow admin users to disallow other users from updating profile pictures.
- Add field can_update_image to User model and user admin
- Prevent user from updating photo if they field is false
- Add docs
2023-11-08 11:23:40 -08:00
Lacey Williams Henschel
0519ff98aa Change color of alert when existing contributor tries to create an account 2023-10-20 12:44:46 -07:00
Lacey Williams Henschel
2ede94073c Update message when user has unclaimed account 2023-10-13 12:46:31 -07:00
Lacey Williams Henschel
73c310fd1c Mark users as claimed when they reset passwords
from key

Mark users as claimed when they reset password from profile page

Add method to claim user, and use that method instead

Add docs on unclaimed user accounts
2023-10-06 08:10:30 -07:00
Lacey Williams Henschel
db542663fb Allow user to claim account via password reset when trying to connect via social auth 2023-10-05 06:18:26 -07:00
Lacey Williams Henschel
f638c3d930 Allow users to claim existing accts via pw reset
- Start intercepting signup process to catch existing, unclaimed users
- Add message for unclaimed user trying to register, refactoring as I figured out what I actually needed to touch.
- Got the happy path working; no tests yet
- Need to add tests, docs, the ability to switch the user to `claimed` once they have successfully reset their password
2023-09-29 14:34:52 -07:00
Lacey Williams Henschel
9e23ceb533 Use new template instead of old template 2023-08-08 12:19:46 -07:00
Lacey Williams Henschel
69565648b0 Remove preferences url, old profile templates 2023-08-08 12:19:46 -07:00
Lacey Williams Henschel
ebe07d249e Remove old profile page 2023-08-08 12:19:46 -07:00
Lacey Williams Henschel
ffb20e4c79 Allow logged-in user to connect social accounts
- Add link to social account management from the profile page
- Override allauth templated related to managing social account connections
- Did my best to apply reasonable styles per other pages
2023-08-03 12:42:38 -07:00
Lacey Williams Henschel
ff193d9811 Add first name, last name, and email to profile form 2023-07-28 10:13:06 -04:00
Lacey Williams Henschel
ea2b45b49e Add a single-page profile update form
- Add password reset form to single-page profile
- Add profile photo form to single-page profile
- Add button to import photo from GitHub
- Add preferences form to single-page profile
- Add tests for unauthenticated/authenticated users
- Add tests that forms are present
- Add tests that the forms submit, without changing other data
2023-07-26 15:08:06 -04:00
Frank Wiles
0e2c98817b Remove leftover forum bits 2023-07-18 08:03:09 -05:00
Greg Newman
cb7f549b00 ⚙️ working on antora header and footer
Antora is properly pulling the header and footer but the user is not exposed yet.
2023-07-11 08:27:42 -04:00
Greg Newman
e28af1ed18 🚜 feed header components to antora
* Adds django-cors-headers
* temp endpoint to prove out how this works
* temp template - change this to pull entire header

Issue: #396
2023-07-11 08:27:42 -04:00
Natalia
06cd04f263 Expose view for user preferences (email notifications so far).
Added tests for the new form and view for updating user preferences.
2023-06-20 12:24:40 -03:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
Lacey Williams Henschel
9552ffc118 📝 Fix maintained library name, fix duplicates 2023-03-15 12:54:15 -07:00
Lacey Williams Henschel
8c4b10a50a 🔧 Call task on a delay 2023-03-02 10:03:53 -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
7791706ee5 User can upload their own profile photo 2023-02-22 12:58:18 -08:00
Greg Newman
c6192f9537 🚧 hooks up libraries to profile
* Breaks library markup into a template
* Adds authored and maintained context objects
* Adds loops to include template for authored and maintained
2022-11-14 18:23:58 -05:00
Greg Newman
e47898e8bd 🚧 sets user in profile view
Sets the image, name and join date above subnav in the profile view.
2022-11-14 18:06:12 -05:00
Greg Newman
407f838b4c black 2022-11-13 14:21:03 -05:00
Greg Newman
1d62e449a3 🚧 stats view/template 2022-11-13 14:20:03 -05:00
GabbyPrecious
4bb4d30ec8 version app, test and black fixes 2021-11-21 12:54:59 +01:00
GabbyPrecious
0ca0a0b9ac alphakit setup 2021-10-09 09:53:46 +01:00