Commit Graph

19 Commits

Author SHA1 Message Date
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
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
e2d2dd9ed2 Revert removal of imports 2023-05-30 23:21:53 -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
5de95a9a4f Test that email signup works 2023-04-28 16:11:47 -07: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
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
f8d2910c1d 👕 Linter 2023-03-09 12:23:12 -08:00
Lacey Williams Henschel
37d6dbbb76 Add method to create stub user 2023-03-09 12:17:18 -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
85c2dfa650 Add task to update github photo 2023-03-02 09:19:25 -08:00
Lacey Williams Henschel
7791706ee5 User can upload their own profile photo 2023-02-22 12:58:18 -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
59a72c9a9a 👕 Linter 2023-02-15 14:44:28 -08:00
Lacey Williams Henschel
0e452aaa5a 🏦 Add user profile image 2023-02-15 14:12:48 -08:00
Lacey Williams Henschel
80743c8a70 👚 Add tests and lint 2022-11-29 12:18:59 -08:00
Frank Wiles
29878c3f90 Rework versions models
- Added ListView and DetailView
- Move to pytest style tests
- Fix migrations to be clean to rebuild and throw away existing data
- Add model_bakery
2022-05-28 16:00:24 -05:00
GabbyPrecious
0ca0a0b9ac alphakit setup 2021-10-09 09:53:46 +01:00