Matthias Pfefferle
958b712e5b
Merge branch 'signature_verification' of https://github.com/mediaformat/wordpress-activitypub into pr/299
2023-05-02 09:50:11 +02:00
Matthias Pfefferle
857fae9db1
serve_request is not needed any more
...
this was only for handling the signing, so no more need for that
2023-05-02 09:50:08 +02:00
Django Doucet
b641cb03f3
fix phpcs
2023-04-21 16:16:52 -06:00
Django Doucet
023ba25f38
PHPDoc
2023-04-21 15:27:02 -06:00
Django Doucet
f396c6da4e
Optimize verification code and returns WP_Errors
2023-04-21 15:25:39 -06:00
Django Doucet
7dbce74a96
ensure signature block has algorithm
2023-04-21 09:36:17 -06:00
Django Doucet
1631f1c7dc
fix rest api endpoint
2023-04-21 09:18:24 -06:00
Django Doucet
d23ff46073
fix merge omission
2023-04-21 08:45:10 -06:00
Django Doucet
036ee3180b
move signature verification to callback
2023-04-21 07:53:12 -06:00
Django Doucet
bb21803b18
Add Secure mode setting
2023-04-21 07:48:19 -06:00
Django Doucet
038bf25b2e
remove guessing function
2023-04-21 07:48:19 -06:00
Matthias Pfefferle
a8b963ec26
some code cleanups
2023-04-21 08:51:38 +02:00
Matthias Pfefferle
5faddba511
this function should not work without $request
2023-04-21 08:51:25 +02:00
Matthias Pfefferle
5a6f8aff02
Merge branch 'master' into signature_verification
2023-04-20 22:23:15 +02:00
Matthias Pfefferle
eeb3ba2952
remove unused "use function"
2023-04-20 15:32:38 +02:00
Matthias Pfefferle
c32eec2390
some code cleanup
2023-04-20 15:22:11 +02:00
Matthias Pfefferle
cf426ab8ab
Merge pull request #265 from pfefferle/optimize-publish
...
optimize publishing
2023-04-20 15:04:34 +02:00
Django Doucet
590c990e21
phpcs
2023-04-14 23:59:04 -06:00
Django Doucet
30d78417d8
Fixes key retrieval
2023-04-14 23:53:43 -06:00
Matthias Pfefferle
15adf639a8
Merge pull request #302 from jeherve/fix/warning-webfinger-no-user
2023-04-10 16:41:40 +02:00
Jeremy Herve
643c47dcb7
Webfinger info: avoid PHP warning when user isn't defined
...
This should avoid warnings like this one:
```
PHP Warning: Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/activitypub/includes/class-webfinger.php on line 27
```
2023-04-10 13:10:46 +02:00
Django Doucet
e1722cd4d3
Simplify signature_algorithm
2023-04-05 13:25:39 -06:00
Django Doucet
3a0f62b092
phpcs
2023-04-04 20:36:25 -06:00
Django Doucet
9eb903ac15
phpcs compat
2023-04-04 20:33:00 -06:00
Django Doucet
502bf8b5a6
Get actor from key with non-standard uri
2023-04-04 19:58:08 -06:00
Django Doucet
d6169f4bc3
Add content-length header if present in sig headers
2023-04-02 20:38:10 -06:00
Django Doucet
2293c0b3d7
use verify_http_signature in validate_callback
...
rename verify_signature
2023-04-02 16:38:39 -06:00
Django Doucet
90b45438b2
cleanup
2023-04-02 00:30:17 -06:00
Django Doucet
9ec09c5407
remove unneeded dependencies
2023-04-02 00:12:02 -06:00
Django Doucet
504bbb9999
code style phpcs
2023-04-01 23:59:49 -06:00
Django Doucet
0c7cec3eba
Fix signature parse verification
2023-04-01 10:17:56 -06:00
Matthias Pfefferle
70edb2392f
Merge pull request #297 from Soean/master
2023-03-26 09:32:28 +02:00
Sören Wrede
7d11d3e208
Fix documentation and typos.
2023-03-23 08:35:26 +01:00
Matthias Pfefferle
b88b1e81b8
Merge pull request #296 from pfefferle/improve-readme
...
improve readme
2023-03-19 15:15:30 +01:00
Matthias Pfefferle
70fe654c95
fix ordered lists
2023-03-19 08:42:33 +01:00
Matthias Pfefferle
becef59452
improve readme
...
thanks a lot @cavalierlife
2023-03-18 21:59:09 +01:00
Matthias Pfefferle
3c367f8eb1
remove shortcodes that might confuse people
2023-03-15 17:50:22 +01:00
Django Doucet
8f80a70ee5
Merge branch 'master' into signature_verification
2023-03-11 16:12:05 -07:00
Django Doucet
a6b057b69d
Merge branch 'master' into signature_verification
2023-03-11 16:10:29 -07:00
Matthias Pfefferle
abef17b9ad
add Automattic
...
as Co-Author
2023-03-11 10:58:05 +01:00
Matthias Pfefferle
ced22eebf2
remove donation link
2023-03-07 19:40:47 +01:00
Matthias Pfefferle
5f1859275b
version bump
2023-03-03 09:06:43 +01:00
Matthias Pfefferle
c99d25b12e
whitelist more html elements
...
fix #285
2023-03-03 08:56:15 +01:00
Matthias Pfefferle
753f964ce9
fix #286
2023-03-03 08:55:23 +01:00
Matthias Pfefferle
c0cb540c4d
Fix handling of password protected posts
2023-03-02 09:54:52 +01:00
Matthias Pfefferle
2274bd0074
check if post is password protected
2023-02-27 08:15:02 +01:00
Matthias Pfefferle
62ef84aff7
version bump
2023-02-20 21:19:52 +01:00
Matthias Pfefferle
72f12de96a
remove scripts later in the queue
2023-02-20 21:18:03 +01:00
Matthias Pfefferle
9b642858f6
add user registration date as published
...
fix #276
2023-02-20 18:42:00 +01:00
Matthias Pfefferle
08ce46a1a4
Merge branch 'master' into optimize-publish
2023-02-20 18:22:17 +01:00