Commit Graph

867 Commits

Author SHA1 Message Date
Alex Gleason 11d4d7e549 Merge branch 'sentry' into 'main'
Add Sentry hono middleware

See merge request soapbox-pub/ditto!49
2023-10-06 01:07:05 +00:00
Alex Gleason a15e28e48f
Add Sentry hono middleware 2023-10-05 20:04:27 -05:00
Alex Gleason 980e20ac35 Merge branch 'sentry' into 'main'
Add Sentry integration

See merge request soapbox-pub/ditto!48
2023-10-05 21:10:08 +00:00
Alex Gleason d646598879
Add Sentry integration 2023-10-05 16:08:12 -05:00
Alex Gleason 7a8cc9b46e Merge branch 'machina' into 'main'
Subscription: fix it with nostr-machina

See merge request soapbox-pub/ditto!46
2023-10-04 22:20:48 +00:00
Alex Gleason 233f671326
Subscription: fix it with nostr-machina 2023-10-04 16:09:23 -05:00
Alex Gleason 5847d95121 Merge branch 'fix-local-filter' into 'develop'
relay: fix querying by ids and authors

See merge request soapbox-pub/ditto!45
2023-09-12 00:47:31 +00:00
Alex Gleason 0f9ff5bcaa
relay: fix querying by ids and authors 2023-09-11 19:45:27 -05:00
Alex Gleason 334814056b Merge branch 'nip05-set' into 'develop'
accounts: set nip05 during update_credentials

See merge request soapbox-pub/ditto!44
2023-09-11 23:48:06 +00:00
Alex Gleason 62ac9bffa3
accounts: set nip05 during update_credentials 2023-09-11 18:44:44 -05:00
Alex Gleason 3394474ee2 Merge branch 'upload-avatar' into 'develop'
Refactor media, upload avatar

See merge request soapbox-pub/ditto!43
2023-09-11 23:03:37 +00:00
Alex Gleason 93d8e0b22b
accounts: support updating avatar and banner 2023-09-11 18:02:17 -05:00
Alex Gleason d2760bc706
media: refactor upload code into a separate module 2023-09-11 17:49:38 -05:00
Alex Gleason 55d5197136
timelines: 3 seconds --> 1 second 2023-09-11 17:26:47 -05:00
Alex Gleason cdfdcb19bb Merge branch 'static' into 'develop'
Use default avatar and banner from repo, instead of linking out to image

See merge request soapbox-pub/ditto!42
2023-09-11 20:37:59 +00:00
Alex Gleason a44fb4c84f
Use default avatar and banner from repo, instead of linking out to image 2023-09-11 15:36:09 -05:00
Alex Gleason 34b022ea51 Merge branch 'csp-remote-media' into 'develop'
csp: load any media over https, not just local media

See merge request soapbox-pub/ditto!41
2023-09-11 20:18:51 +00:00
Alex Gleason 737c9f0364
csp: load any media over https, not just local media 2023-09-11 15:16:26 -05:00
Alex Gleason 6382f98a5e Merge branch 'installation' into 'develop'
Installation

See merge request soapbox-pub/ditto!40
2023-09-11 20:11:11 +00:00
Alex Gleason 3637eff468
installation: add nginx file 2023-09-11 15:09:20 -05:00
Alex Gleason 35d8b83b10
Add installation files 2023-09-11 14:42:39 -05:00
Alex Gleason 94671b6a98
s3: create the client instance from a function each time (so missing config doesn't crash it) 2023-09-11 14:42:29 -05:00
Alex Gleason c20e0a0200 Merge branch 'registrations' into 'develop'
Enable registrations, require proof-of-work

Closes #6

See merge request soapbox-pub/ditto!39
2023-09-11 17:59:28 +00:00
Alex Gleason ef96fa539a
Render status account from pubkey 2023-09-11 09:46:41 -05:00
Alex Gleason 31114b6094
accounts: return a blank account for verify_credentials if it isn't resolved 2023-09-11 09:08:15 -05:00
Alex Gleason 1b2f4d9a54
accounts: return token after registering account 2023-09-11 07:17:00 -05:00
Alex Gleason 10a804b60e
Remove POW requirement for now 2023-09-11 05:57:50 -05:00
Alex Gleason bacb872a18
Add /api not implemented controller 2023-09-11 04:55:15 -05:00
Alex Gleason a5bf09ed2b
Resolve any file in public/ 2023-09-11 04:14:08 -05:00
Alex Gleason 9cda8e3000
csp: use template literals to avoid escaping single quotes 2023-09-11 04:07:54 -05:00
Alex Gleason 4310bb7157
Add a CSP 2023-09-11 04:04:55 -05:00
Alex Gleason 8a9f8454bf
Serve a frontend through Ditto 2023-09-11 00:19:56 -05:00
Alex Gleason 82c4f0827e
Make registrations configurable by env 2023-09-10 23:44:30 -05:00
Alex Gleason 0adb6f5eba
Add messages to HTTPException's 2023-09-10 19:43:07 -05:00
Alex Gleason 75dd2652d2
app: remove unused account search fallback endpoint 2023-09-10 19:42:41 -05:00
Alex Gleason e3f11545b7
/api/v1/acccounts --> /api/v1/accounts 2023-09-10 19:23:50 -05:00
Alex Gleason 2d7398e9d1
nip98: fix pow check 2023-09-10 17:11:13 -05:00
Alex Gleason 607ef4b980
Make POW configurable, expose over the API 2023-09-10 15:38:49 -05:00
Alex Gleason b725550fc4
ci: remove `check` job, since `test` already does it 2023-09-10 15:14:01 -05:00
Alex Gleason 052c00821d
Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason 35b91812fc
Merge branch 'media' into 'develop'
Media uploads

Closes #50

See merge request soapbox-pub/ditto!37
2023-09-10 15:26:33 +00:00
Alex Gleason b9476ccbd6
pipeline: delete unattached-media rows when authoring an event 2023-09-09 22:27:37 -05:00
Alex Gleason 0d343fa190
db/unattached-media: refactor queries, DRY 2023-09-09 22:03:02 -05:00
Alex Gleason 43499f2dfd
media: add attachment view, unify types 2023-09-09 21:33:12 -05:00
Alex Gleason cf9a754b02
media: pukey --> pubkey, fix adding media tags to event 2023-09-09 20:12:47 -05:00
Alex Gleason 0b867afd8e
unattached-media: delete orphaned attachments after 15 minutes 2023-09-09 19:27:39 -05:00
Alex Gleason 46b9deffce
utils: add ipfs module 2023-09-09 19:13:42 -05:00
Alex Gleason e8053ba072
unattached-media: cid --> url 2023-09-09 18:12:54 -05:00
Alex Gleason c88b174d02
Add unattached_media table, insert one when uploading a file 2023-09-09 17:41:30 -05:00
Alex Gleason c6b20e68f6
db/events: refactor filterIndexableTags function 2023-09-09 16:24:53 -05:00