Commit Graph

6 Commits (da809f9eec45cdac0fa31ba89df91cd4ce4a5398)

Author SHA1 Message Date
Eugen Rochko cd9b2ab2f7 Fix - Connect signed PuSH subscription requests to instance domain ()
* Fix  - Connect signed PuSH subscription requests to instance domain

Resolves 

* Fix return of locate_subscription

* Fix tests
Matt Jankowski 73540ffe6b Clean up for api/base controller ()
* Move ApiController to Api/BaseController

* API controllers inherit from Api::BaseController

* Add coverage for various error cases in api/base controller
Matt Jankowski 04166c4a35 Specs for API push controller, with refactor ()
* Coverage for api push controller

* Refactor the api/push controller
Eugen 17c591ffba Punycode URI normalization ()
* Fix  - Whenever about to send a HTTP request, normalize the URI

* Add test for IDN request in FetchLinkCardService

* Perform IDN normalization on domains before they are stored in the DB
ThibG a9529d3b4b Allow running mastodon on a different domain as the one used for identifying users ()
* Allow running mastodon on a different domain as the one used for identifying users

* Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing

* Compare to web_domain instead of local_domain when dealing with feeds/API

* Correctly identify mentions to local accounts

Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.
Eugen Rochko 2d2c81765b Adding embedded PuSH server