Commit Graph

24 Commits

Author SHA1 Message Date
Natalia
80eae90184 Initial model for User's preferences, specifically for email notifications.
Part of #343. The news' notifications module was also changed to the user
preferences is honored when sending news emails.

Also exclude migrations from the black check.
2023-06-16 13:00:16 -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
f1095f031a 🏦 Add display_name field and property to User model
- Add a display_name field to the User model
- Implement get_display_name property to return display_name, full name, or a single name, depending on the available information
- Add tests for the get_display_name property
2023-03-28 10:44:40 -07:00
Lacey Williams Henschel
37b56805b9 🔧 Improve catching duplicates 2023-03-27 13:32:00 -07:00
Lacey Williams Henschel
f64c2ad405 📝 Changes find_user method to find_contributor 2023-03-21 10:42:55 -07:00
Lacey Williams Henschel
6346497b04 📝 Match contributors by name when uploading
Reduces the duplicates by a lot. Some still remain, mostly related to differences in spelling (Jeff versus Jeffrey) or differences in diacritical marks.
2023-03-15 12:31:45 -07:00
Lacey Williams Henschel
d86cc4b51e Merge branch 'main' of github.com:CPPAlliance/boost.org into upload-authors-maintainers 2023-03-10 09:38:49 -08:00
Lacey Williams Henschel
37d6dbbb76 Add method to create stub user 2023-03-09 12:17:18 -08:00
Lacey Williams Henschel
3f2cceb764 🏦 Add claimed and valid_email 2023-03-09 12:00:32 -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
597253addb 🔧 👕 Light refactor 2023-03-02 09:12:34 -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
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
Lacey Williams Henschel
2a957910e9 Add method to save profile image from GitHub 2023-02-16 12:51:46 -08:00
Lacey Williams Henschel
0e452aaa5a 🏦 Add user profile image 2023-02-15 14:12:48 -08:00
Frank Wiles
80437ce06f Black 2022-04-01 10:18:02 -05:00
gabbyprecious
4300633274 badge model added 2022-02-09 16:46:59 +01:00
GabbyPrecious
be1aa07a3a fixed RemovedInDjango40Warning error 2021-11-21 13:00:50 +01:00
GabbyPrecious
4bb4d30ec8 version app, test and black fixes 2021-11-21 12:54:59 +01:00
GabbyPrecious
cc396d2081 black changes and redis 2021-11-14 09:30:59 +01:00
GabbyPrecious
9c969dda55 forum migfration data and edits on new django 2021-11-05 11:02:16 +01:00
GabbyPrecious
0ca0a0b9ac alphakit setup 2021-10-09 09:53:46 +01:00