mattermost/server/channels
Alejandro García Montoro 2b075c9b74
MM-65970: New way to build routes in Client4 (#34499)
* Add Client4 route building functions

* Make DoAPIRequestWithHeaders add the API URL

This makes it consistent with the other DoAPIXYZ functions, which all
prepend the provided URL with the client's API URL.

* Use the new route building logic in Client4

* Address review comments

- clean renamed to cleanSegment
- JoinRoutes and JoinSegments joined in Join
- newClientRoute uses Join

* Fix new routes from merge

* Remove unused import

* Simplify error handling around clientRoute (#34870)

---------

Co-authored-by: Jesse Hallam <jesse@mattermost.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-01-29 14:26:47 +00:00
..
api4 MM-65970: New way to build routes in Client4 (#34499) 2026-01-29 14:26:47 +00:00
app Fix bad merge (#35079) 2026-01-27 15:50:38 -05:00
audit [MM-64686] Expose audit logging functionality via plugin API (#31204) 2025-06-25 20:37:32 -04:00
db Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
doc/help Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
jobs [MM-66359] Recaps MVP (#34337) 2026-01-13 11:59:22 -05:00
manualtesting MM-28765: Fix errcheck issues in server/channels/manualtesting/manual_testing.go (#30613) 2025-04-09 11:41:56 +02:00
store Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
testlib Remove vestigial MySQL support (#34865) 2026-01-20 21:01:59 +00:00
utils [MM-66918] Return descriptive errors from IsValidWebAuthRedirectURL (#34712) 2026-01-06 10:19:22 +01:00
web [MM-67138][MM-67139] Update Audit/Activity logging for Desktop App external auth (#34928) 2026-01-16 13:28:44 -05:00
wsapi Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00