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
|
df27959d35
|
fix(relay.ts): purify event
|
2024-10-08 14:15:48 -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 |
|
Alex Gleason
|
18f1a94520
|
captcha: show a random image, preload backgrounds into memory
|
2024-10-04 16:42:02 -05:00 |
|
Alex Gleason
|
c81005a050
|
captcha: refactor canvas size globals
|
2024-10-04 15:56:32 -05:00 |
|
Alex Gleason
|
6d09f69e26
|
Move captcha graphics
|
2024-10-04 15:48:34 -05:00 |
|
Alex Gleason
|
71873997e5
|
captcha: refactor canvas calls
|
2024-10-04 15:42:01 -05:00 |
|
Alex Gleason
|
cdf727e5c7
|
captcha: use an already transparent png with stroke to make the hole
|
2024-10-04 15:10:42 -05:00 |
|
Alex Gleason
|
030bfa94d6
|
captcha: rename puzzle to bg, and piece to puzzle
|
2024-10-04 14:22:17 -05:00 |
|
Alex Gleason
|
68c0d437ee
|
captcha: resize pieces, require nip98 auth
|
2024-10-04 13:34:12 -05:00 |
|
Alex Gleason
|
952d5e4370
|
Publish a label when the user solves a captcha
|
2024-10-04 12:53:37 -05:00 |
|
Alex Gleason
|
467a49bd40
|
Add captcha verify controller
|
2024-10-04 12:43:29 -05:00 |
|
Alex Gleason
|
e57dd8911c
|
captcha: don't do the encryption thing, just use a ttl cache
|
2024-10-04 12:07:12 -05:00 |
|
Alex Gleason
|
03c9340eb2
|
Mask the puzzle piece
|
2024-10-03 20:15:16 -05:00 |
|
Alex Gleason
|
707674db7c
|
Add captcha token comment
|
2024-10-03 19:38:03 -05:00 |
|
Alex Gleason
|
8d1b1b8abc
|
Add encrypted captcha answer, move AES utils
|
2024-10-03 19:36:44 -05:00 |
|
Alex Gleason
|
f83ad0dbce
|
Add preliminary captcha controller
|
2024-10-03 19:23:22 -05:00 |
|
P. Reis
|
2ca421bef2
|
Merge branch 'main' into translate-status
|
2024-10-03 19:56:13 -03:00 |
|
P. Reis
|
ab85360d2f
|
refactor: move getConfigs() function and frontendConfig logic to 'src/utils/frontendConfig.ts'
|
2024-10-03 11:17:21 -03:00 |
|
Alex Gleason
|
7f8697f4f3
|
Fix zap tag logic
|
2024-10-02 22:52:07 -05:00 |
|
Alex Gleason
|
031297f253
|
Improve relay/pubkey hints when creating a status
|
2024-10-02 22:46:52 -05:00 |
|
Alex Gleason
|
4561ec0d00
|
Store the Push Subscription in the database
|
2024-10-02 22:20:47 -05:00 |
|
Alex Gleason
|
049d99af9b
|
Merge remote-tracking branch 'origin/main' into push
|
2024-10-02 19:26:37 -05:00 |
|
Alex Gleason
|
432857c2ff
|
Rework auth tokens table to use hashed/encrypted data
|
2024-10-02 18:28:24 -05:00 |
|
Alex Gleason
|
bece384124
|
Add Web Push skeleton
|
2024-09-30 19:12:53 -05:00 |
|