Alex Gleason
d2df2a5e22
Linkify profile field values
2024-11-20 11:06:36 -06:00
Alex Gleason
81780bec72
Let field limits be configurable
2024-11-20 10:58:21 -06:00
Alex Gleason
39cb1ec0c9
renderAccount: only display up to 10 profile fields
2024-11-20 10:50:49 -06:00
Alex Gleason
7227202a86
Instruct Soapbox to use up to 10 custom profile fields
2024-11-20 10:49:19 -06:00
Alex Gleason
098e1b7fff
Add a custom parseFormData helper to simulate Mastodon's (Rails) formdata parser
2024-11-20 09:46:09 -06:00
Alex Gleason
281f57d88e
Include fields in account.source
2024-11-20 09:45:52 -06:00
Alex Gleason
154056f8d6
Add custom profile fields
2024-11-20 08:58:12 -06:00
P. Reis
8fccd7eb03
fix(updateInstanceSchema): remove zod strict()
2024-11-15 11:49:38 -03:00
Alex Gleason
ee4373bdab
Merge branch 'fix-update-instance-admin-only' into 'main'
...
fix(updateInstanceController): use updateAdminEvent() function
See merge request soapbox-pub/ditto!588
2024-11-15 14:29:16 +00:00
P. Reis
d9cc8cc7c2
refactor(updateInstanceController): move async function out of callback
2024-11-15 11:20:10 -03:00
P. Reis
33b36ba0ed
fix(updateInstanceController): use updateAdminEvent() function
2024-11-15 11:08:47 -03:00
Alex Gleason
aea31bce5d
csp: use the sentry origin instead of the URL itself
2024-11-14 20:28:14 -06:00
Alex Gleason
3d376ba8b3
csp: fix connect-src
2024-11-14 20:18:15 -06:00
Alex Gleason
02ada73f48
Include Soapbox sentryDsn in CSP
2024-11-14 20:12:27 -06:00
Alex Gleason
55f50ba93d
PleromaConfigDB: implement .getIn
2024-11-14 19:54:29 -06:00
Alex Gleason
3e27e902d5
Add PleromaConfigDB test
2024-11-14 17:49:30 -06:00
Alex Gleason
5e523cbb1a
Merge remote-tracking branch 'origin/main' into configdb
2024-11-14 17:00:36 -06:00
P. Reis
65ea84f429
Merge branch 'main' into make-sizes-optional
2024-11-13 19:15:00 -03:00
Alex Gleason
515c70f038
Switch to httpbingo in tests so testing over https works
2024-11-13 15:34:41 -06:00
Alex Gleason
674781daf1
Upgrade safe-fetch
2024-11-13 15:23:42 -06:00
P. Reis
acee8784ee
fix(screenshotsSchema): make sizes field optional
2024-11-13 17:19:11 -03:00
Alex Gleason
0bba4393ba
Remove unused ActivityPub schema
2024-11-11 19:54:59 -06:00
Alex Gleason
858692d2f3
Merge branch 'fix-updateInstanceController-schema' into 'main'
...
Update updateInstanceController schema
See merge request soapbox-pub/ditto!584
2024-11-07 21:34:17 +00:00
P. Reis
3a656e6f61
fix: remove unused imports
2024-11-07 18:31:28 -03:00
P. Reis
715908082f
fix(updateInstanceController): stop using screenshot_ids and thumbnail_id
2024-11-07 18:18:33 -03:00
Alex Gleason
459adadd4c
Deny reading .env
2024-11-07 13:32:53 -06:00
Alex Gleason
6fae72b4cf
upload: append file size if it hasn't been
2024-11-07 13:10:15 -06:00
P. Reis
115641b3c2
fix: add short_description to instanceV2Controller
2024-11-07 15:22:28 -03:00
Alex Gleason
f987effc15
Make media analyze optional (disabled by default)
2024-11-07 11:18:39 -06:00
Alex Gleason
721fe52142
Reorganize sharp/blurhash into upload.ts
2024-11-07 11:09:20 -06:00
Alex Gleason
a294724946
Merge remote-tracking branch 'origin/main' into ipfs-image-metadata
2024-11-07 10:13:30 -06:00
Siddharth Singh
e96a9e4f35
replace toByteArray with Response(stream).bytes()
2024-11-06 12:12:27 +05:30
P. Reis
9907d7ffd8
fix(updateInstanceController): allow for setting the tagline
2024-11-05 14:36:48 -03:00
Alex Gleason
7f02657306
Merge branch 'feat-set-kind-0-api' into 'main'
...
Create updateInstanceController endpoint (allow for setting the kind 0, screenshots go into kind 0 content)
Closes #259 and #257
See merge request soapbox-pub/ditto!577
2024-11-05 17:02:08 +00:00
P. Reis
af0211d65b
fix(updateInstanceController): remove 'event' field from meta
2024-11-05 09:46:33 -03:00
P. Reis
ea24050a27
refactor: change thumbnailSchema to schemas/mastodon.ts
2024-11-05 09:02:27 -03:00
Alex Gleason
e3aed99605
Let users host arbitrary .well-known paths
2024-11-04 17:23:30 -06:00
Alex Gleason
1a50578b39
Add PleromaConfigDB module
2024-11-04 10:12:58 -06:00
P. Reis
f92c382da9
refactor: remove unused imports
2024-11-04 11:16:36 -03:00
P. Reis
bac2c51bc1
refactor: use screenshot_ids and thumbnail_id in updateInstanceController
2024-11-04 11:12:16 -03:00
P. Reis
cd7e6bbd43
feat: create thumbnailSchema
2024-11-04 11:10:27 -03:00
P. Reis
34d604dded
refactor: sizesSchema
2024-11-03 20:27:52 -03:00
P. Reis
c411a871ef
Merge branch 'main' into feat-set-kind-0-api
2024-11-01 23:19:53 -03:00
P. Reis
f0be2a1c02
fix: set thumbnail in
2024-11-01 23:19:17 -03:00
P. Reis
339b13c084
feat: create updateInstanceController
...
for now only update: title, description, screenshots (user must provide the image URL) and thumbnail (user must provide the image URL)
screenshots array is stored in the content of the kind 0 of the
2024-11-01 23:14:59 -03:00
P. Reis
c6ff4a9d25
feat: add sizesSchema
2024-11-01 23:07:51 -03:00
P. Reis
03d93ff810
fix: 'Context' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
2024-11-01 18:14:51 -03:00
Alex Gleason
e766f6c757
pipeline: improve error handling, include special treatment for ephemeral and NIP-46 events
2024-10-31 16:06:58 -05:00
P. Reis
a883aea585
refactor: remove stripimeta in 'about' of renderAccount
2024-10-31 14:03:36 -03:00
P. Reis
e3fec6b938
fix: render HTML link in bio
2024-10-31 11:48:43 -03:00