dendrite/clientapi/routing
0x1a8510f2 46902e5766
Take advantage of changes in recent Go versions (#3361)
Given that #2714 wasn't merged but we are now at a minimum supported Go
version of 1.20 (soon to be 1.21), I wanted to carry over some of the
changes. Namely:
- Fix the log typo
- Simplify build constraints for unix
- Use stdlib atomic package

### Pull Request Checklist

<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->

* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off)
_or_ I have already signed off privately

Signed-off-by: `0x1a8510f2 <admin@0x1a8510f2.space>`

---------

Co-authored-by: devonh <devon.dmytro@gmail.com>
2024-05-01 00:38:36 +00:00
..
account_data.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
admin.go Add getting/deleting single event report (#3344) 2024-03-22 21:54:29 +00:00
admin_whois.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
aliases.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
auth_fallback.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
auth_fallback_test.go Remove `BaseDendrite` (#3023) 2023-03-22 09:21:32 +01:00
capabilities.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
createroom.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
deactivate.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
device.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
directory.go Return `M_INVALID_PARAM` instead of `M_BAD_JSON` when setting aliases (#3297) 2024-01-09 20:05:45 +01:00
directory_public.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
directory_public_test.go refactor: use latest GMSL which splits fed client from matrix room logic (#3051) 2023-04-06 09:55:01 +01:00
joined_rooms.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
joinroom.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
joinroom_test.go Use `IsBlacklistedOrBackingOff` to determine if we should try to fetch devices (#3254) 2023-11-09 08:43:27 +01:00
key_backup.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
key_crosssigning.go Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00
keys.go Remove unused `token` (#3331) 2024-02-19 19:19:06 +00:00
leaveroom.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
login.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
login_test.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
logout.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
membership.go Fix `/createRoom` and `/invite` containing displayname/avatarURL of inviter (#3326) 2024-02-13 19:28:52 +01:00
memberships.go Move `/joined_members` back to the clientapi/roomserver (#3312) 2024-01-25 21:35:05 +01:00
notification.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
openid.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
password.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
peekroom.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
presence.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
profile.go Fix state resets (#3231) 2023-10-23 15:17:21 +02:00
pusher.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
pushrules.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
receipt.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
redaction.go Support for room version v11 (#3204) 2023-09-27 08:27:08 +02:00
register.go Don't send device list updates upon registration (#3307) 2024-01-20 21:20:37 +01:00
register_secret.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_secret_test.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_test.go Refactor registration tests, remove hard-coded username validation (#3138) 2023-11-22 12:15:16 +00:00
report_event.go Add event reporting (#3340) 2024-03-21 19:27:34 +01:00
room_hierarchy.go Fix spaces over federation (#3347) 2024-03-28 20:40:45 +01:00
room_tagging.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
routing.go Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
sendevent.go Appservice Login (2nd attempt) (#3078) 2023-11-24 22:34:13 +01:00
sendevent_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
sendtodevice.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
sendtyping.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
server_notices.go Fix `/createRoom` and `/invite` containing displayname/avatarURL of inviter (#3326) 2024-02-13 19:28:52 +01:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
state.go Move pseudoID ClientEvent hotswapping to a common location (#3199) 2023-09-15 15:25:09 +00:00
state_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
thirdparty.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
threepid.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
upgrade_room.go Cleanup remaining statekey usage for senderIDs (#3106) 2023-06-12 11:19:25 +00:00
userdirectory.go Move fedclient interface over to gmsl (#3061) 2023-04-24 16:23:25 +00:00
voip.go Move MakeJoin logic to GMSL (#3081) 2023-05-17 00:33:27 +00:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00