Sven Sauleau
3e7fa81cfa
display image description
2023-02-09 14:53:03 +00:00
Sven Sauleau
b01148c9b2
implement media update
2023-02-09 14:40:28 +00:00
Sven Sauleau
8ce71e007a
MOW-143: handle missing avatar in notifications
2023-02-09 13:05:26 +00:00
Sven Sauleau
e6617788c1
ensure the original Actor is deleting
2023-02-09 12:11:24 +00:00
Dario Piotrowicz
5366e8a5d7
improve links parsing
2023-02-08 19:37:47 +00:00
Sven Sauleau
f7e31d8dd6
Merge pull request #224 from cloudflare/sven/fix-test2
...
Fix tests
2023-02-08 18:57:58 +00:00
Sven Sauleau
51fb115b79
Merge pull request #221 from cloudflare/account-href
...
adjust account urls
2023-02-08 18:56:57 +00:00
Sven Sauleau
56ebf6d688
Fix tests
2023-02-08 18:51:38 +00:00
Dario Piotrowicz
c8e9f04b9b
adjust account urls
...
resolves #216
2023-02-08 18:28:18 +00:00
Sven Sauleau
7c083b31bb
fix: delete by original ObjectId
2023-02-08 18:03:11 +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
7cea876ed8
clarify UA used for federation
2023-02-07 16:05:56 +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
bedd52e34f
chunk queue.sendBatch
...
Queues are limited to 100 messages per batch.
2023-02-06 17:36:40 +00:00
Sven Sauleau
67f76d2a19
delivery user-agent and accept header
...
refs https://github.com/cloudflare/wildebeest/issues/80
2023-02-06 16:55:35 +00:00
Sven Sauleau
bca11422b4
Merge pull request #197 from cloudflare/enrichStatus-regex-2
...
apply regexes to enrichStatus (again)
2023-02-06 14:59:22 +00:00
Sven Sauleau
cd9551b58f
MOW-132: redirect to /first-login for unkown user
2023-02-06 14:38:02 +00:00
Dario Piotrowicz
c6a3da522b
apply regexes to enrichStatus (again)
2023-02-06 12:20:04 +00:00
Sven Sauleau
460759787d
fix tests
2023-02-06 11:51:05 +00:00
Sven Sauleau
33f6e30966
fix lint
2023-02-06 11:37:25 +00:00
Sven Sauleau
b843eb8a62
add more mention tests
2023-02-06 11:35:08 +00:00
Sven Sauleau
c9c87b4209
Revert "simplify enrichStatus method by using regexes"
...
This reverts commit 4644405add
.
2023-02-06 11:35:08 +00:00
Sven Sauleau
cd4a6429bf
remove uneeded async closure
2023-02-03 16:53:38 +00:00
Dario Piotrowicz
6298220010
implement account page
2023-02-03 12:43:27 +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
0b4ce39873
Ignore unsupported Object updates
2023-02-03 11:28:30 +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
a122cb99af
also log error.cause for D1
2023-02-02 16:48:49 +00:00
Sven Sauleau
ef5848bb1d
expose peers endpoint publicly
2023-02-02 16:19:50 +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
96d10a1afe
Merge pull request #174 from cloudflare/sven/fix-tag-as-mention
...
fix: switch Note tag as mentions
2023-02-02 11:28:52 +00:00
Sven Sauleau
a11567df8e
Merge pull request #172 from cloudflare/regex-refactor
...
simplify enrichStatus method by using regexes
2023-02-02 11:26:01 +00:00
Sven Sauleau
ddeadd0b67
fix: switch Note tag as mentions
2023-02-02 11:24:41 +00:00
Dario Piotrowicz
4644405add
simplify enrichStatus method by using regexes
2023-02-01 22:27:39 +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
Dario Piotrowicz
2cdb55ed0f
improve image and video handling
...
by:
- adding MediaGallery
- adding missing controls to video element
- renaming ImageGallery to Image
- fixing video attachments not being correctly recognized
- standardizing mastodon media_attachmen types in mock db init
2023-01-30 15:38:13 +00:00
Sven Sauleau
4d68c3b27d
gh-86: implement authorization screen
2023-01-30 11:52:03 +00:00
Dario Piotrowicz
ab43afea34
rename ambiguous Object to APObject
2023-01-24 13:40:26 +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
a9d2b676fb
handle 404 from DO cache
2023-01-19 09:20:47 +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
bf9330b6c6
Merge pull request #134 from cloudflare/sven/MOW-116
...
MOW-116: handle status list with invalid max_id
2023-01-18 13:26:01 +01:00
Sven Sauleau
914f293d97
Merge pull request #136 from cloudflare/sven/MOW-115
...
MOW-115: improve logging for fetchKey failures
2023-01-18 13:24:49 +01:00
Sven Sauleau
145c0038e2
MOW-116: handle status list with invalid max_id
2023-01-18 12:19:52 +00:00
Sven Sauleau
dd944f46db
MOW-115: improve logging for fetchKey failures
2023-01-18 12:19:03 +00:00
André Cruz
43c6fd534f
parse form data locally in specific cases
...
In order to work around an EW bug, use local form data parsing
temporarly when receiving media.
2023-01-18 12:16:15 +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
29923fcf92
Merge pull request #123 from cloudflare/sven/share-cors
...
centralize CORS and add idempotency-key in allow headers
2023-01-17 15:21:13 +01:00
Sven Sauleau
a6c42f5204
centralize CORS and add idempotency-key in allow headers
2023-01-17 14:14:58 +00:00
Sven Sauleau
8d0eaef7a3
Merge pull request #122 from cloudflare/sven/fetch-keys-error-handling
...
improve error handling in fetchKey
2023-01-17 14:01:52 +01:00
Sven Sauleau
4d29d661ee
improve error handling in fetchKey
2023-01-17 12:56:48 +00:00
Sven Sauleau
cb65303df8
Merge pull request #121 from cloudflare/sven/EW-7148
...
EW-7148: workaround URL bug
2023-01-17 13:51:17 +01: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
537d1db8e5
EW-7148: workaround URL bug
2023-01-17 12:41:05 +00: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
f87cd4ba31
MOW-104: default followers/following/statuses_count
2023-01-16 18:28:43 +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
André Cruz
bcfc0e9a99
attempt manual form data parse
...
When content-type triggers a bug in EW, attempt to parse in
worker itself.
2023-01-13 17:04:32 +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
41846f2d42
MOW-98: add optional sentry
2023-01-12 11:06:39 +00:00
Pete Bacon Darwin
2ff36ac360
Add reblog boosts to the frontend UI
2023-01-11 22:06:56 +00:00
Sven Sauleau
59ea1eb90b
remove redirection to old /start-instance
2023-01-11 17:43:10 +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
Dario Piotrowicz
e4337540ab
Merge pull request #56 from cloudflare/eslint-functions
...
Linting improvements
2023-01-11 14:20:27 +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
916a63ca44
add comment
2023-01-11 08:07:54 +00:00
Sven Sauleau
335fb845cb
fix public endpoints
2023-01-11 08:07:07 +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
Dario Piotrowicz
68cf43df19
make backend linting pass
2023-01-10 12:53:18 +00:00
Sven Sauleau
bc2c5d7ef5
Merge pull request #57 from cloudflare/sven/debug-login
...
/oauth/token supports both JSON and FormData
2023-01-10 12:05:34 +00:00
Sven Sauleau
483b4ab40f
/oauth/token supports both JSON and FormData
2023-01-10 11:07:46 +00:00
Sven Sauleau
50a6a4c923
Merge pull request #55 from cloudflare/sven/mention-notif
...
fix mention notification
2023-01-10 10:35:36 +00:00
Sven Sauleau
a82098ada3
Merge pull request #50 from cloudflare/internal-server-error
...
reuse generateErrorResponse in errorHandling function
2023-01-10 10:28:52 +00:00
Sven Sauleau
9bf91e5ce6
fix mention notification
2023-01-10 10:26:54 +00:00
Sven Sauleau
aefa2429b8
MOW-92: switch /oauth/token to form data
2023-01-10 10:09:19 +00:00
Dario Piotrowicz
5c1f2acc36
reuse generateErrorResponse in errorHandling function
2023-01-10 09:56:41 +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
Sven Sauleau
7c468205c3
Merge pull request #29 from cloudflare/sven/optimize-remote-statuses
...
optimize loading remote statuses
2023-01-07 20:12:28 +00:00
James Culveyhouse
8cacee5a77
Mock the instance config in dev ( #33 )
2023-01-06 21:27:05 +00:00
Dario Piotrowicz
870dd60c3b
enable no-unused-vars eslint rule for BE
2023-01-06 18:50:39 +01:00
Sven Sauleau
df702efddd
fix federation uri
2023-01-06 17:06:23 +00: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
8699e329ec
configure thumbnail
2023-01-06 10:50:41 +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