Sven Sauleau
56ebf6d688
Fix tests
2023-02-08 18:51:38 +00:00
Sven Sauleau
13b827dcfa
MOW-139: support federated Note deletion
2023-02-08 17:32:44 +00:00
Sven Sauleau
bf26dcca14
MOW-135: prevent duplicated reblogs
2023-02-08 15:11:02 +00:00
Sven Sauleau
a177452778
regenerate the home timeline after status deletion
2023-02-07 14:43:27 +00:00
Sven Sauleau
e13c0fb670
MOW-133: add idempotency for posting
2023-02-07 12:01:48 +00:00
Sven Sauleau
4485afbfe9
Deliver Delete activity to followers
2023-02-07 10:24:27 +00:00
Dario Piotrowicz
7c3353e90e
handle sub-domains correctly in enrichStatus
2023-02-06 23:29:29 +00:00
Sven Sauleau
0a16029f38
various changes to status deletion
2023-02-06 19:50:44 +00:00
Sven Sauleau
f0a6b695a6
MOW-126: basic local status deletion
...
This change deletes the Note from local object and Actor's
outbox tables.
2023-02-06 18:31:18 +00:00
Sven Sauleau
cd9551b58f
MOW-132: redirect to /first-login for unkown user
2023-02-06 14:38:02 +00:00
Sven Sauleau
460759787d
fix tests
2023-02-06 11:51:05 +00:00
Sven Sauleau
b843eb8a62
add more mention tests
2023-02-06 11:35:08 +00:00
Sven Sauleau
5929db73f8
MOW-130: NodeInfo 2.0 and 2.1
...
Closes https://github.com/cloudflare/wildebeest/issues/160
2023-02-03 11:57:52 +00:00
Sven Sauleau
646b83cf93
getAndCache Actor of any types
...
Closes https://github.com/cloudflare/wildebeest/issues/178
2023-02-03 11:14:10 +00:00
Sven Sauleau
39e76bfb48
MOW-128: collect and expose peers
2023-02-02 15:48:17 +00:00
Sven Sauleau
e236855d71
move internal Object fields to symbols
2023-02-02 14:28:17 +00:00
Sven Sauleau
ddeadd0b67
fix: switch Note tag as mentions
2023-02-02 11:24:41 +00:00
Sven Sauleau
95584c78a0
serve Object
2023-02-01 17:39:36 +00:00
Sven Sauleau
3b4cbcd575
Add `tag` on note
2023-02-01 17:08:29 +00:00
Sven Sauleau
ea1e2c522d
Enrich status with HTML Microformats
2023-02-01 16:09:20 +00:00
xmflsct
79c8c7e776
Add oauth state param
2023-02-01 00:05:24 +01:00
Sven Sauleau
dea30c143c
MOW-125: show non-public Notes sent to followers
2023-01-31 17:01:50 +00:00
Sven Sauleau
4d68c3b27d
gh-86: implement authorization screen
2023-01-30 11:52:03 +00:00
Dario Piotrowicz
67109a2601
implement createStatus to reduce code duplication
2023-01-23 21:31:48 +00:00
Dario Piotrowicz
e6e59c7b5e
implement createReply shared test util to reduce code duplication
2023-01-23 21:29:43 +00:00
Dario Piotrowicz
96c9242298
implement createReblog function to reduce reblog code duplication
2023-01-23 21:29:43 +00:00
Dario Piotrowicz
c7978d4ea5
Merge pull request #75 from cloudflare/minor-backend-linting-improvements
...
improve be (+functions) linting
2023-01-23 11:42:57 +00:00
Dario Piotrowicz
3738c7dda1
improve be (+functions) linting:
...
- enable no-unsafe-call for be/functions linting
- enable backend await-thenable eslint rule
- enable backend no-misused-promises eslint rule
2023-01-23 11:38:16 +00:00
Sven Sauleau
e00f05cdf2
MOW-100: protect first-login behind Access
2023-01-20 15:03:52 +00:00
Sven Sauleau
1e539df615
MOW-119: preserve attachement from remote statuses
2023-01-20 11:06:15 +00:00
Sven Sauleau
4a0d413c00
MOW-87: implement remote followers/following
2023-01-19 13:56:56 +00:00
Sven Sauleau
9c11b74c2e
MOW-118: switch from KV to DO for caching
2023-01-19 09:09:30 +00:00
Sven Sauleau
06975b8a5e
Fix post status formdata
2023-01-18 14:40:09 +00:00
Sven Sauleau
736110c47e
upload user content forwards request to Images
2023-01-18 13:47:52 +00:00
Sven Sauleau
145c0038e2
MOW-116: handle status list with invalid max_id
2023-01-18 12:19:52 +00:00
Sven Sauleau
f2bddedabc
MOW-112: reuse code and attachments on account's statuses
2023-01-18 11:35:41 +00:00
Sven Sauleau
d5e92d5e00
MOW-113: limit status attachements
2023-01-18 10:44:09 +00:00
Sven Sauleau
2f9c55dd17
MOW-114: fix id in account's statuses
2023-01-18 10:39:47 +00:00
Sven Sauleau
6f86378812
MOW-109: configure Cloudflare Images variants
2023-01-18 09:45:36 +00:00
Sven Sauleau
0d4dfbd53d
Consistent `url` on status and reuse code in status endpoint
2023-01-17 16:16:29 +00:00
Sven Sauleau
18c48cbde7
Use mastodonId in account statuses
2023-01-17 15:40:05 +00:00
Sven Sauleau
fb88422a67
MOW-107: post in reply to
2023-01-17 15:22:36 +00:00
Sven Sauleau
6209cad8c6
Merge pull request #119 from cloudflare/sven/pleroma-compatible
...
Pleroma-compatible version string
2023-01-17 13:42:42 +01:00
Sven Sauleau
efbeaf7dd4
Pleroma-compatible version string
...
Refs https://github.com/cloudflare/wildebeest/pull/70
2023-01-17 12:29:28 +00:00
Pete Bacon Darwin
abd41ae8ab
MOW-102 - Add sanitization to ActivityPub Objects ( #118 )
...
* Add sanitization to ActivityPub Objects
2023-01-17 12:00:07 +00:00
Sven Sauleau
1b030eef1c
MOW-106: /api/v1/apps support JSON and FormData
2023-01-17 08:35:43 +00:00
Sven Sauleau
fe547a7cb7
MOW-105: regenerate home timeline after post
2023-01-16 19:10:49 +00:00
Sven Sauleau
03de5cb433
Update backend/test/activitypub.spec.ts
2023-01-16 16:20:03 +01:00
Sven Sauleau
196d6fa896
MOW-101: hide DM from public
2023-01-16 14:50:06 +00:00
Sven Sauleau
20661b527c
ignore duplicated follow
2023-01-16 13:26:10 +00:00
Sven Sauleau
c0a6911570
MOW-75: deliver to followers via Queue
2023-01-16 12:24:49 +00:00
Sven Sauleau
7513a88c91
MOW-75: handle inbox via a Queue
2023-01-12 19:38:10 +00:00
Sven Sauleau
a2722a18d9
Fix follow notification get
...
Follow notifications don't have a corresponding Object so make the SQL
join optional.
2023-01-12 13:57:22 +00:00
Sven Sauleau
eecccb5e01
Revert "add content-type in image upload"
...
This reverts commit f75c0f31fb
.
2023-01-12 12:29:45 +00:00
Sven Sauleau
f75c0f31fb
add content-type in image upload
2023-01-12 12:06:22 +00:00
Sven Sauleau
26fbb26cec
MOW-95: use instance config in Env instead of DB
2023-01-11 17:38:45 +00:00
Sven Sauleau
92c2b063ff
handle empty timeline
2023-01-11 15:27:10 +00:00
Sven Sauleau
2f961a029b
stub account blocks API
2023-01-11 09:15:38 +00:00
Sven Sauleau
4e4b6afe0a
fix statuses tests
2023-01-11 08:17:48 +00:00
Sven Sauleau
c9cd93033f
stub few ios endpoints
2023-01-10 16:26:03 +00:00
Sven Sauleau
050d6c1878
add v2 instance endpoint
2023-01-10 15:26:47 +00:00
Sven Sauleau
483b4ab40f
/oauth/token supports both JSON and FormData
2023-01-10 11:07:46 +00:00
Sven Sauleau
aefa2429b8
MOW-92: switch /oauth/token to form data
2023-01-10 10:09:19 +00:00
Sven Sauleau
fc339aa26f
Merge pull request #30 from cloudflare/be-no-unused-vars
...
enable no-unused-vars eslint rule for BE
2023-01-07 20:13:34 +00:00
Dario Piotrowicz
870dd60c3b
enable no-unused-vars eslint rule for BE
2023-01-06 18:50:39 +01:00
Sven Sauleau
6e413923a4
optimize loading remote statuses
2023-01-06 16:52:07 +00:00
Sven Sauleau
33b43d06f9
refactor remote statuses and detect duplicated objects on create
2023-01-06 15:18:46 +00:00
Sven Sauleau
26c25adac4
remove Access configuration leftovers
2023-01-06 11:14:27 +00:00
Sven Sauleau
bf9ac13aef
remove caching from /api/v1/instance
2023-01-06 11:00:45 +00:00
Sven Sauleau
178a6dcb9b
remove v2 instance endpoint
2023-01-06 10:49:49 +00:00
Sven Sauleau
34340585ff
refactor: createPerson returns a Person
2023-01-05 12:33:33 +00:00
Sven Sauleau
e86398a31d
MOW-85: configure Access via env
2023-01-04 17:06:48 +00:00
Sven Sauleau
6873eb78e2
Merge pull request #12 from cloudflare/be-lint-prefer-const
...
enable BE prefer-const eslint rule
2023-01-04 16:44:56 +00:00
Dario Piotrowicz
d44d1e6103
enable BE prefer-const eslint rule
2023-01-04 15:41:26 +01:00
Dario Piotrowicz
e344006f26
enable be no-unsafe-return eslint rule
...
also apply some related refactoring to make the
code more DRY
2023-01-04 15:01:00 +01:00
Sven Sauleau
25be15b2a0
Import wildebeest code
...
Co-authored-by: Sven Sauleau <sven@cloudflare.com>
Co-authored-by: Dario Piotrowicz <dario@cloudflare.com>
Co-authored-by: André Cruz <acruz@cloudflare.com>
Co-authored-by: James Culveyhouse <jculveyhouse@cloudflare.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
2023-01-04 09:51:17 +00:00