58 Commits

Author SHA1 Message Date
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
Foo Bar
a55111ca74 Use display_name for "username" instead of first_name, last_name (#1640) (#1638) 2025-03-03 11:03:49 -08:00
Rob Beeston
ed7b20c27e Cancellation UI styling (#1454) 2024-11-18 10:02:13 -08:00
Gavin Wahl
527a5cf83e 10-day grace period for user deletion (#1445) 2024-11-15 08:27:18 -05:00
daveoconnor
1d31bef1e4 Library Version Based CPP versions and descriptions (#1422) 2024-11-12 15:49:16 -05:00
Gavin Wahl
3f30722d6b Option to delete user data (#1368)
Fixes #965
2024-10-25 13:49:12 -06:00
daveoconnor
274777a2e6 Track user last login option and fixes (#1312)
This also hides the pop up notifications after 6 seconds

For review, a review and merge of #1311 on which this is built would
make this easier to review.
2024-10-04 10:23:25 -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
Rob Beeston
3819abdbf4 Font update, home page, boostbook V2 (#1233) 2024-09-06 13:04:12 -07:00
Greg Newman
5439a61be0 🐛 fixes dropdown on docs and guide
The dropdowns for user profile and guide was not showing the border and shadow because of not using tailwind base, which we can’t use here.
2024-01-25 11:51:01 -05:00
Greg Newman
0e1091cc13 🐛 fixes cursor on no-avatar in header 2024-01-25 10:38:51 -05:00
Greg Newman
f296ce5be5 🐛 fixes rounded corners on avatar in header
On Docs and Userguide the avatar was not rounded.
2024-01-25 10:37:16 -05:00
Greg Newman
2f50377dfd 🐛 fixes avatar icon on docs
Issue: #872
2024-01-17 11:58:31 -05: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
Greg Newman
4825bf89a5 profile templates 2023-12-05 09:35:09 -05:00
Greg Newman
18d5e9fcb3 updates avatars to match styles on news
* Updates header avatar and no avatar styles
* Updates profile page avatar and no avatar styles

Issue: #809
2023-11-17 09:12:31 -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
Greg Newman
4d04b48a8d 🐛 fixes avatar sizes and aspect ratios
Issues: #774, #778
2023-11-02 10:41:45 -04:00
Greg Newman
79cdbfa55e 🎨 styles for social auth flow 2023-08-11 11:18:37 -04:00
Lacey Williams Henschel
9e23ceb533 Use new template instead of old template 2023-08-08 12:19:46 -07:00
Lacey Williams Henschel
2c8703b501 Remove old profile ttemplate 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
Greg Newman
ce209e35c6 cleanup 2023-07-28 11:15:08 -04:00
Greg Newman
09ce3a2462 Merge branch 'new-profile-styles' of github.com:cppalliance/temp-site into new-profile-styles 2023-07-28 11:09:24 -04:00
Greg Newman
fbbc40d3e9 conflict 2023-07-28 11:08:18 -04:00
Greg Newman
31c24b7d83 Merge branch 'develop' into new-profile-styles 2023-07-28 11:06:26 -04:00
Greg Newman
28e1902136 🚧 pull in new name fields
Pull in the new name fields and style them to match the rest of the page
2023-07-28 10:13:25 -04:00
Greg Newman
9ff2357c05 🚧 chunk into two columns
Split the form page into two columns on desktop, one column on mobile
2023-07-28 10:13:25 -04:00
Greg Newman
595faa8f10 🚧 styling the unified profile pages
* Breaking this down into includes for the fields to get the right
styles in place
* Adding checkbox inputs for proper styling
2023-07-28 10:13:25 -04: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
f65daf3eae Add first name, last name, and email to profile form 2023-07-27 14:35:39 -07:00
Greg Newman
ec98753c74 🚧 hook up route to the header
Hooks up the route to the header profile link
2023-07-27 15:54:32 -04:00
Greg Newman
9309724abe 🚧 chunk into two columns
Split the form page into two columns on desktop, one column on mobile
2023-07-27 15:48:51 -04:00
Greg Newman
20a8eb1250 🚧 styling the unified profile pages
* Breaking this down into includes for the fields to get the right
styles in place
* Adding checkbox inputs for proper styling
2023-07-27 14:46: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
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
Greg Newman
057c16bb9f 🎨 cleaning up some home page styles
First pass with rustywind is doing massive cleanup
2023-04-28 09:27:38 -04:00
Lacey Williams Henschel
9552ffc118 📝 Fix maintained library name, fix duplicates 2023-03-15 12:54:15 -07:00
Lacey Williams Henschel
56e71df5ba 📝 Add template for library_version due to maintainers M2M 2023-03-10 11:39:05 -08:00
Lacey Williams Henschel
a691fe70ab 🐛 Check for image before accessing image.url 2023-03-08 13:30:35 -08:00
Lacey Williams Henschel
5c7e39370c Allow user to update photo to their GH photo 2023-03-02 09:59:34 -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
Lacey Williams Henschel
7791706ee5 User can upload their own profile photo 2023-02-22 12:58:18 -08:00
Greg Newman
8eed4681b9 🎨 sets a default icon if no profile image 2023-02-17 10:47:53 -05:00