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
|
8e58b1a7d4
|
feat: create translatorMiddleware
|
2024-10-07 15:00:46 -03:00 |
|
P. Reis
|
a2d8478e1a
|
test(LibreTranslateTranslator): create multiple tests
|
2024-10-07 14:59:05 -03:00 |
|
P. Reis
|
c23ddb7d84
|
feat: create LibreTranslateTranslator class that implements DittoTranslator
|
2024-10-07 14:58:33 -03:00 |
|
P. Reis
|
321d26b470
|
test(DeepLTranslator): create multiple tests
|
2024-10-07 14:55:12 -03:00 |
|
P. Reis
|
27f435a93c
|
feat: create DeepLTranslator class that implements DittoTranslator
|
2024-10-07 14:54:10 -03:00 |
|
P. Reis
|
ea4d0f002a
|
feat: create dittoTranslations LRUCache, create DittoTranslator interface, create MastodonTranslation type, create DittoTranslation type, create Provider type and some other minor ones
|
2024-10-07 14:42:10 -03:00 |
|
P. Reis
|
f434f87584
|
feat(instanceV2Controller): enable translation
|
2024-10-07 14:39:42 -03:00 |
|
P. Reis
|
c6626313bc
|
feat: get TRANSLATION_PROVIDER, TRANSLATION_PROVIDER_ENDPOINT & TRANSLATION_PROVIDER_API_KEY enviornment variables
|
2024-10-07 14:38:55 -03:00 |
|
P. Reis
|
de8eba4079
|
feat: create getLanguage() function, used for testing purposes
|
2024-10-07 14:37:53 -03:00 |
|
P. Reis
|
0d126ad3b7
|
feat(languageSchema): split value to extract only language and not country code
pt-BR becomes pt
en-US becomes en
|
2024-10-07 14:36:26 -03:00 |
|
Alex Gleason
|
3aaf5030ca
|
captcha: add a small amount of noise
|
2024-10-05 15:24:44 -05:00 |
|
P. Reis
|
f3b7f91a07
|
feat: languageSchema converts value to lowercase and returns type LanguageCode
|
2024-10-04 23:37:01 -03:00 |
|
Alex Gleason
|
1cd7c99bda
|
Add account.source.ditto.captch_solved field
|
2024-10-04 19:26:47 -05:00 |
|
Alex Gleason
|
3b5b4cbd6b
|
Expose the Ditto pubkey to the policy worker
|
2024-10-04 19:21:56 -05:00 |
|
Alex Gleason
|
a2e8de6c36
|
Rate-limit the captcha endpoints
|
2024-10-04 16:48:24 -05:00 |
|
Alex Gleason
|
5ed683b146
|
Add puzzle source files
|
2024-10-04 16:43:33 -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
|
0bf41bc913
|
Use Pleroma's captcha endpoint (we basically match their return type)
|
2024-10-03 19:37:14 -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 |
|
Alex Gleason
|
205b9a77fe
|
Merge branch 'wallet' into 'main'
Add an HD wallet
See merge request soapbox-pub/ditto!532
|
2024-10-03 22:56:58 +00:00 |
|
P. Reis
|
2ca421bef2
|
Merge branch 'main' into translate-status
|
2024-10-03 19:56:13 -03:00 |
|
Alex Gleason
|
e153020597
|
Add an HD wallet
|
2024-10-03 17:51:47 -05:00 |
|
Alex Gleason
|
cec16487ba
|
Merge branch 'trends-any-language' into 'main'
Trends in any language
Closes #222
See merge request soapbox-pub/ditto!523
|
2024-10-03 22:44:37 +00:00 |
|
P. Reis
|
67b0684a81
|
refactor(trends.ts): move logic one level up, rename 'languagesIds' to 'values', remove WITH SQL statement
|
2024-10-03 19:40:29 -03:00 |
|
Alex Gleason
|
bd3d7fda94
|
Treat .ts links in statuses as application/typescript
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/241
|
2024-10-03 13:02:40 -05:00 |
|
Alex Gleason
|
dfae0b15c7
|
Merge branch 'use-sticky-notes-zap' into 'main'
refactor(lnurl): use Stickynotes instead of legacy Debug
See merge request soapbox-pub/ditto!528
|
2024-10-03 16:07:53 +00:00 |
|
P. Reis
|
e42c047362
|
refactor: use Stickynotes instead of legacy Debug
|
2024-10-03 12:56:40 -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
|
ff361a4106
|
Recreate nip46_tokens in down migration
|
2024-10-02 18:34:19 -05:00 |
|
Alex Gleason
|
432857c2ff
|
Rework auth tokens table to use hashed/encrypted data
|
2024-10-02 18:28:24 -05:00 |
|
Alex Gleason
|
e73a8d71dc
|
auth: add encryptSecretKey & decryptSecretKey functions
|
2024-10-02 17:56:30 -05:00 |
|
Alex Gleason
|
70f56af281
|
Add auth utils for generating/hashing/encoding/decoding tokens
|
2024-10-02 15:05:37 -05:00 |
|
Alex Gleason
|
23bedd82a0
|
utils: remove unused sha256 text function
|
2024-10-02 13:36:00 -05:00 |
|
P. Reis
|
7c29c81226
|
test: pass languagesIds in getTrendingTagValues() function
|
2024-10-01 13:58:51 -03:00 |
|