Commit Graph

11 Commits

Author SHA1 Message Date
Hannes Mannerheim
a37a4cb9f9 remote profiles open locally, and "find someone" user search/remote follow input field 2017-04-06 13:45:13 +02:00
Hannes Mannerheim
7285e3a8b4 set api format so client errors work 2016-02-01 18:22:35 +01:00
Hannes Mannerheim
a47ea60100 fixes issue #4 2016-01-24 13:58:57 +01:00
Hannes Mannerheim
cff9c53f78 small fixes 2015-11-19 18:32:46 +01:00
Hannes Mannerheim
d5a3c0f003 faster retrieval of external profiles 2015-06-02 13:53:36 +02:00
Hannes Mannerheim
4677503011 reintroduce the old getRedirectUrl()
cc @mmn

the new getRedirectUrl() didn't work with quitter.es, either from
quitter.se or quitter.no

it also looked like the HTTPClient-based function downloaded the whole
file, instead of only the headers. (but i'm not sure)
2015-06-02 09:13:21 +02:00
Mikael Nordfeldth
69b86c86a4 Use GNU social HTTPClient to GET and HEAD (consistent HTTP config)
The GNU social node has configured HTTPClient (HTTP_Request2 object) with
certain characteristics, which won't be respected when just using the PHP
built-in fetchers. This way we can have the same TLS certificate policy,
timeouts etc.

Also removed one test if get_headers() had returned an array, which it
never will since the "Location" is always a single absolute URL:
   "The field value consists of a single absolute URI."
        - https://tools.ietf.org/html/rfc2616#section-14.30
2015-02-07 16:06:43 +01:00
Hannes Mannerheim
010666c20c removes a php warning 2014-11-25 02:38:46 +01:00
Hannes Mannerheim
c6c5a28959 remove error log spam 2014-11-25 02:34:49 +01:00
Hannes Mannerheim
2d1ed0e038 external user popup bugfixes 2014-11-24 16:10:59 +01:00
Hannes Mannerheim
2950f0a23b v4. design, img upload, avatar, bg img, etc etc 2014-11-24 13:47:45 +01:00