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
|
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
|
406cc6506b
|
Merge branch 'captcha' into 'main'
Puzzle Captcha API
See merge request soapbox-pub/ditto!536
|
2024-10-05 20:59:37 +00: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
|
045508c4ba
|
Merge branch 'more-dockerfile-fixes' into 'main'
remove expose directive in Dockerfile
See merge request soapbox-pub/ditto!534
|
2024-10-04 00:22:07 +00:00 |
|
Alex Gleason
|
d0666ff818
|
Merge branch 'fix-db-export' into 'main'
fix filter generation in db:export
See merge request soapbox-pub/ditto!533
|
2024-10-04 00:20:00 +00:00 |
|
Siddharth Singh
|
92aebbc847
|
remove stupid expose directive
|
2024-10-04 05:46:49 +05:30 |
|
Siddharth Singh
|
04f155580c
|
fix filter generation in db:export
|
2024-10-04 05:33:24 +05:30 |
|
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 |
|
P. Reis
|
a5def9fa6c
|
refactor: just import config.ts directly instead of loading dotenv in trends.ts script
|
2024-10-03 18:16:23 -03:00 |
|
Alex Gleason
|
e064531ca2
|
Merge branch 'run-dockerfile-as-root' into 'main'
run Dockerfile as root
See merge request soapbox-pub/ditto!531
|
2024-10-03 21:03:45 +00:00 |
|
Siddharth Singh
|
018600058a
|
run Dockerfile as root
|
2024-10-04 02:29:54 +05:30 |
|
Alex Gleason
|
4f0f341f01
|
Merge branch 'dockerfile-changes' into 'main'
Update dockerfile for tribes
See merge request soapbox-pub/ditto!530
|
2024-10-03 20:55:09 +00:00 |
|
Siddharth Singh
|
7107e38915
|
fix port nonsense
|
2024-10-04 02:14:58 +05:30 |
|
Siddharth Singh
|
baae2974f3
|
typo fix
|
2024-10-04 02:14:21 +05:30 |
|
Siddharth Singh
|
eac375b99d
|
update dockerfile for tribes
|
2024-10-04 02:06:10 +05:30 |
|
Alex Gleason
|
cb78799997
|
Merge branch 'ts-ext' into 'main'
Treat .ts links in statuses as application/typescript
Closes #241
See merge request soapbox-pub/ditto!529
|
2024-10-03 18:07:00 +00: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 |
|