Gwyneth Morgan
9a1d5c549c
[gitea] Drop "@" from email sender to avoid spam filters ( #29109 )
...
Commit 360b3fd17c
(Include username in email headers (#28981 ),
2024-02-03) adds usernames to the From field of notification emails in
the form of `Display Name (@username)`, to prevent spoofing. However,
some email filtering software flags "@" in the display name part of the
From field as potential spoofing, as you could set the display name part
to another email address than the one you are sending from (e.g.
`From: "apparent@email-address" <actual@email-address>`). To avoid
being flagged, instead send emails from `Display Name (username)`.
Closes: #29107
---------
Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 5b2fd0fc19a2a77414c8e2989b4794b6617221f5)
2024-02-11 13:47:44 +01:00
Michael Jerger
6d17f45986
fix misspell
2024-02-10 15:22:38 +01:00
Michael Jerger
eecb9b8040
fmt fix
2024-02-10 15:22:30 +01:00
Michael Jerger
3ef57385ec
fix linting
2024-02-10 15:21:22 +01:00
Michael Jerger
3b244d673b
small fixes
2024-02-10 15:21:17 +01:00
Michael Jerger
e733809ef2
symetric handling for value/reference
2024-02-10 15:20:33 +01:00
Michael Jerger
d2d5e84977
federated user is not entity - so no need for ID
2024-02-10 15:20:26 +01:00
Michael Jerger
91f7541add
refactor for semantic and cycle free deps
2024-02-10 15:20:17 +01:00
Michael Jerger
66bc7a9a0c
Search federatedUser instead of loginName
2024-02-10 15:20:09 +01:00
Michael Jerger
e44be72251
Add tx around user creation
2024-02-10 15:20:01 +01:00
Michael Jerger
edf7f61b83
mv federated_user_creation to user package
2024-02-10 15:19:55 +01:00
Clemens
e180467760
added user creation from ap
2024-02-10 15:19:47 +01:00
Michael Jerger
a702da69cc
added test for federated user
2024-02-10 15:19:40 +01:00
Clemens
67f3f66be4
Created FederatedUser
2024-02-10 15:19:36 +01:00
Michael Jerger
5a7f6f15a6
ensure federation info fqdn to lowercase
2024-02-10 15:19:08 +01:00
Michael Jerger
c58a995fb2
refactor FederationInfo -> FederationHost
2024-02-10 15:18:56 +01:00
Michael Jerger
0453598e3d
add some todos
2024-02-10 15:18:51 +01:00
Michael Jerger
0ddc2db46a
mitigate Block by future StartTime
2024-02-10 15:18:46 +01:00
Michael Jerger
1b35bd2911
lint fix
2024-02-10 15:18:46 +01:00
Michael Jerger
c4eb763f4a
lint fix
2024-02-10 15:18:45 +01:00
Michael Jerger
9a9ac33766
lint fix
2024-02-10 15:18:44 +01:00
Michael Jerger
ca5eaa8c6b
introduce FI Factory
2024-02-10 15:18:43 +01:00
Michael Jerger
dabd773f6b
Fix error handling & add timestamp check
2024-02-10 15:18:43 +01:00
Clemens
7d30d14c76
breaking struct adjustment
2024-02-10 15:18:42 +01:00
Clemens
1f989f2ecd
Added FederationInfo Create function
2024-02-10 15:18:41 +01:00
Michael Jerger
380d3db0bf
integrate federation info in api call
2024-02-10 15:18:40 +01:00
Clemens
52400f7978
Added FederationInfo get methods for repository
2024-02-10 15:18:37 +01:00
Michael Jerger
bbccc24ed1
test federationinfo validation
2024-02-10 15:18:32 +01:00
Michael Jerger
c67be3b668
start work on federationinfo
2024-02-10 15:18:29 +01:00
Michael Jerger
8610d94af8
start work on federationinfo
2024-02-10 15:18:29 +01:00
Michael Jerger
6e46739090
validate person
2024-02-10 15:17:14 +01:00
Michael Jerger
0505baab2b
ad validation for like activity
2024-02-10 15:17:13 +01:00
Michael Jerger
3ab2d9a449
rename star -> ForgeLike
2024-02-10 15:17:12 +01:00
Michael Jerger
4473fb788a
start refactoring star->like
2024-02-10 15:17:11 +01:00
Michael Jerger
38438b592f
rebase conflicts to fix
2024-02-10 15:17:10 +01:00
Michael Jerger
8116214727
introduce nodeinfo
2024-02-10 15:17:07 +01:00
bom
310d740cee
Start NodeInfo implementation
2024-02-10 15:17:05 +01:00
Michael Jerger
3c2493902d
adjust to ugly linting
2024-02-10 15:17:05 +01:00
Michael Jerger
e704e5adcc
adjust to ugly linting
2024-02-10 15:17:04 +01:00
erik
1e40b814a1
Linting
2024-02-10 15:17:03 +01:00
erik
8585edc47a
Linting
2024-02-10 15:17:03 +01:00
Michael Jerger
a64ce2feb1
removed resolved todos
2024-02-10 15:17:02 +01:00
erik
2e031a9763
WIP Generic IsValid for *Id structs
2024-02-10 15:17:01 +01:00
erik
e69e5df089
Assume validated url.URL for NewActorID
2024-02-10 15:17:00 +01:00
Michael Jerger
6e4467d49d
experiment on generalization
2024-02-10 15:16:59 +01:00
erik
75cc5b900d
Add review todo
2024-02-10 15:16:59 +01:00
erik
1dd3084f66
Split test according to actor.go
2024-02-10 15:16:58 +01:00
erik
c887bddb72
Attempt generalization of Id creation
2024-02-10 15:16:57 +01:00
erik
0378b2dc7d
Add questions for review discussion
2024-02-10 15:16:36 +01:00
Michael Jerger
1704ac5bc2
fix most of the tests
2024-02-10 15:14:35 +01:00