Louis Chemineau
bea293487e
Modernize e2e tests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 14:01:43 +02:00
Maxence Lange
f999cfa305
ignore headers
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-16 15:13:07 -01:00
Maxence Lange
f64f753db5
delete actor on 410
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-06 16:35:48 -01:00
Maxence Lange
0efe47743e
fixing psalm
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-01-04 22:38:31 -01:00
Maxence Lange
0ebc496d81
favourites and notifications
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-12-03 15:55:44 -01:00
Maxence Lange
17699ac911
fix digest, error on curl
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-24 09:27:40 -01:00
Maxence Lange
a7f910a693
filter request-target from header
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-23 11:40:06 -01:00
Maxence Lange
3bce7b4dd1
-TNCRequest
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-11-23 10:08:21 -01:00
Carl Schwan
9061a6812e
Embeed tools lib
...
And fix method signature for 25
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-20 09:41:40 +02:00
Carl Schwan
d868df186b
Merge pull request #1179 from mnd/peertube-interoperability-fix
...
Allow to follow to PeerTube 3.0.0 users
2022-05-12 11:06:10 +02:00
Carl Schwan
46df90a0fb
Add psalm static analysis
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 17:40:33 +02:00
Carl Schwan
9e20993c4d
Php cs:fix
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:35:51 +02:00
Carl Schwan
be80ca5d0f
Update to php 7.4 type hinting
...
Using rector
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-15 13:02:31 +02:00
Nikolai Merinov
e577395e40
Allow to follow to PeerTube 3.0.0 users
...
Solved three issues:
* lib/Service/ConfigService.php: With "Accept: application/json" PeerTube
returns user page in HTML format. Replace header with
"Accept: application/ld+json".
* lib/Service/CurlService.php: Do not broke "$host" variable if host-meta
resultion failed.
* lib/Service/SignatureService.php: POST to https://framatube.org/accounts/fsf/inbox
ends with error "(request-target) was not a signed header". Added
(request-target) to signature.
Signed-off-by: Nikolai Merinov <nikolai.merinov@member.fsf.org>
2021-01-10 04:00:01 -05:00
Maxence Lange
6866088431
using TNC20Request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-30 23:58:32 -01:00
Maxence Lange
58f22f961d
remote testing
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-08-01 00:12:01 -01:00
Maxence Lange
3b782315b9
filters self-signed certs unless configured to
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-07-07 10:25:50 -01:00
Maxence Lange
745810e2b0
database & requests
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-06-17 12:41:58 -01:00
Maxence Lange
b8f3525600
update cache in stream
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 22:43:51 -01:00
Maxence Lange
7fccfc2325
fixing some conversion
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 18:26:34 -01:00
Maxence Lange
a7f7c0368d
rewrite of the url/host config
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-11 14:20:09 -01:00
Maxence Lange
c16f477e73
fixing headers
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-09 18:54:51 -01:00
Maxence Lange
9411cf6046
Service as Actor
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-24 23:04:05 -01:00
Maxence Lange
35389b47af
update account on retreive
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 11:00:14 -01:00
Maxence Lange
50fb954e66
request on host-meta
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-21 10:59:53 -01:00
Maxence Lange
a1221cacf6
new announce system
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
gotActor->hasActor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
retrieve Person if missing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix async
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
avoid async duplicate
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-20 22:59:40 -01:00
Maxence Lange
37dd4f763e
more loggin
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-12 16:34:56 -01:00
Maxence Lange
db5ff4e09b
revert routes changes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-06-02 19:53:41 -01:00
Maxence Lange
f77883eb92
fixing routes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 17:06:48 -01:00
Maxence Lange
b53e5209ab
limit incoming/outgoing requests
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-30 14:04:15 -01:00
Maxence Lange
4878aa05e9
also, try port 80 if 443 is not available
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 09:22:35 -01:00
Maxence Lange
e72748fa0d
allow self-signed certificate
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-27 09:19:54 -01:00
Maxence Lange
77af4db6b4
allow non-https
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-17 13:20:02 -01:00
Maxence Lange
9038dc4fb4
small fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-05-03 16:31:15 -01:00
Maxence Lange
1bd6e3f44f
fixing & cleaning
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-03-05 16:25:08 -01:00
Maxence Lange
8a92d5680a
Merge branch 'master' into feature/noid/announce
2019-02-21 08:38:04 -01:00
Maxence Lange
910583e122
get link for remote to follow local account
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-20 20:55:35 +01:00
Maxence Lange
c0f304cd5b
cleaning and renaming upsteam request caching
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange
c20aaf1ad6
allow FOLLOWLOCATION
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-31 17:25:43 -01:00
Julius Härtl
13d61f6507
Merge pull request #336 from nextcloud/feature/noid/not-json-exception-on-request
...
throw RequestResultNotJsonException on unusual result
2019-01-19 12:48:59 +01:00
Maxence Lange
7ab0a7f334
get_class in log
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 16:43:23 -01:00
Maxence Lange
5d48497717
+RequestResultNotJsonException
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 12:30:02 -01:00
Maxence Lange
ed98204d47
rewrite of the exceptions while requesting remote instance
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-29 13:07:57 -01:00
Maxence Lange
3906c391d5
+strtolower()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 15:52:59 -01:00
Maxence Lange
35be62836f
checking if the account is a valid mail address
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 19:24:05 -01:00
Maxence Lange
eefada0e39
checking that the returned Person is from the remote instance
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:48:24 -01:00
Maxence Lange
b7e6609707
checking origin of actor when retrieving a remove account
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:25:15 -01:00
Maxence Lange
a1f0ff0198
renaming services
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:12:27 -01:00
Maxence Lange
374f312102
logging in/out request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:22 +01:00
Maxence Lange
c240faab18
timeout is defined depends on when the request is done
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:58:00 -01:00