Commit graph

606 commits

Author SHA1 Message Date
P. Reis
0a7c0c60a9 fix: users can set their bio to a number 2024-10-30 13:48:35 -03:00
P. Reis
fef787faad refactor(streaming): use better Sticky 2024-10-28 20:41:07 -03:00
P. Reis
a690a2ff6f Merge branch 'main' into fix-statuses-posts-pagination 2024-10-27 15:39:39 -03:00
Alex Gleason
42f5e316a8
Let bunker_pubkey be different from user pubkey 2024-10-26 18:37:26 -05:00
P. Reis
d27ab3ce49 fix: pagination in searching statuses 2024-10-26 18:58:02 -03:00
P. Reis
89e475ca4a fix: offset of zero 0 in accountSearchController 2024-10-23 20:42:10 -03:00
P. Reis
994dff8e79 fix: search profiles with offset pagination 2024-10-23 20:37:31 -03:00
P. Reis
7d27a6e890 refactor: rewrite if statement 2024-10-19 23:16:04 -03:00
P. Reis
0abd567824 fix: duplicate pubkey of 'self' if zap tag 2024-10-19 22:31:41 -03:00
P. Reis
e5d0634864 feat: pagination with Link headers in trendingStatusesController 2024-10-18 19:23:02 -03:00
P. Reis
0516fb6ce8 fix(zapController): remove not needed arguments 2024-10-18 14:08:47 -03:00
Alex Gleason
b4b7381b49
Implement OAuth revoke endpoint 2024-10-17 14:20:42 -05:00
Alex Gleason
7ee1ca51d6
Delete not working controller test 2024-10-14 18:20:41 -05:00
Alex Gleason
a7d8d86fa7
Add GET /api/v1/notifications/:id endpoint 2024-10-14 17:27:30 -05:00
Alex Gleason
4019099c57
Add endpoint to GET a push subscription 2024-10-14 15:48:55 -05:00
Alex Gleason
b3928bac45
webpush: replace old subscriptions in transaction 2024-10-14 14:31:33 -05:00
Alex Gleason
94cf3b2931
Add push controller test 2024-10-13 23:29:06 -05:00
Alex Gleason
b6925a5491
webpush: enforce endpoint as a URL 2024-10-12 22:58:29 -05:00
Alex Gleason
b4e63afb8c
Merge remote-tracking branch 'origin/main' into push 2024-10-11 18:03:20 -05:00
Alex Gleason
d4f3c673a2
deno lint 2024-10-11 17:35:45 -05:00
Alex Gleason
a484634d36
Switch captcha_solved from a label event to an n-tag on a user event 2024-10-11 16:50:52 -05:00
Alex Gleason
c5ddd2ebb7
Make verify_credentials and update_credentials return a consistent CredentialAccount object 2024-10-11 16:25:29 -05:00
Alex Gleason
6fb3bfafc0
Mark registrations enabled in v2 instance 2024-10-11 02:52:41 -05:00
Alex Gleason
12d643e150
Add translation cache metrics, let the cache be configurable 2024-10-10 14:12:20 -05:00
Alex Gleason
d639d9a14d
Reorganize translation interfaces/files 2024-10-10 14:06:04 -05:00
Alex Gleason
d4767f56c6
Enable translations dynamically depending on whether a TRANSLATION_PROVIDER is set 2024-10-09 20:17:04 -05:00
P. Reis
b86bd81ed2 refactor: cast correct error type 2024-10-09 19:19:54 -03:00
P. Reis
87e0f594df refactor: throw new Error to have benefit of stack trace 2024-10-09 19:17:03 -03:00
P. Reis
54fa38795a feat: return translation not supported error to the frontend 2024-10-09 18:52:23 -03:00
P. Reis
728d7b33fb Merge branch 'main' into translate-status
Conflicts:
	deno.lock
        I have let the changes of main to prevail, I will update nostrify:db manually
2024-10-09 15:14:22 -03:00
P. Reis
4f8c8fd1de refactor: simply DittoTranslator interface and classes that implement it 2024-10-09 15:03:11 -03:00
Alex Gleason
455b2671f7
Merge remote-tracking branch 'origin/main' into push 2024-10-08 20:11:30 -05:00
Alex Gleason
198ec973b6
Load VAPID keys from configuration 2024-10-08 19:57:46 -05:00
P. Reis
fc5e9b2990 Revert "refactor: move getConfigs() function and frontendConfig logic to 'src/utils/frontendConfig.ts'"
This reverts commit ab85360d2f.

The discussion started publicly in Gitlab: https://gitlab.com/soapbox-pub/ditto/-/merge_requests/537#note_2148430111
Then it kept going in Element, basically the purpose of the commit is
correct, but the way Patrick did it is not good.
2024-10-08 16:58:42 -03:00
Alex Gleason
8abac7ffa7
InstanceV2: remove supported_mime_types property 2024-10-08 12:52:14 -05:00
Alex Gleason
6430dd11ad
Merge remote-tracking branch 'origin/main' into push 2024-10-08 12:37:11 -05:00
P. Reis
f76ee000b0 refactor: use 'lang' instead of 'target_language' 2024-10-08 14:35:51 -03:00
Alex Gleason
e6495c3687
Also add nostr to InstanceV2 2024-10-08 12:35:03 -05:00
Alex Gleason
248324f642
Add pleroma to InstanceV2 2024-10-08 12:32:00 -05:00
P. Reis
a3bc5ec5c3 refactor: remove translation enabled in instanceV1Controller 2024-10-08 14:27:00 -03:00
P. Reis
ba23931727 refactor: remove unused imports 2024-10-08 14:25:25 -03:00
P. Reis
17be4ab48f fix(instanceV1Controller): add translation field 2024-10-08 11:11:29 -03:00
P. Reis
6c93153117 refactor: get language from event itself 2024-10-07 17:55:50 -03:00
P. Reis
01a16473ab Merge branch 'main' into translate-status 2024-10-07 15:02:47 -03:00
P. Reis
b369b2171d feat: create translateController - /api/v1/statuses/:id/translate 2024-10-07 15:02:04 -03:00
P. Reis
f434f87584 feat(instanceV2Controller): enable translation 2024-10-07 14:39:42 -03:00
Alex Gleason
ff2553eb0f
Return a PushSubscription response 2024-10-06 16:07:32 -05:00
Alex Gleason
757b6c7e1c
Merge remote-tracking branch 'origin/main' into push 2024-10-06 15:51:50 -05:00
Alex Gleason
3aaf5030ca
captcha: add a small amount of noise 2024-10-05 15:24:44 -05:00
Alex Gleason
1cd7c99bda
Add account.source.ditto.captch_solved field 2024-10-04 19:26:47 -05:00