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
|
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
|
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 |
|
Alex Gleason
|
a10e810068
|
Create push_subscriptions table
|
2024-10-02 13:14:37 -05:00 |
|
P. Reis
|
7c29c81226
|
test: pass languagesIds in getTrendingTagValues() function
|
2024-10-01 13:58:51 -03:00 |
|
P. Reis
|
d8b2c057b0
|
feat: make trends fast again
remove previous JOIN, now if a language is set, it will do '''query.where('trends.value', 'in', languagesIds);''', which is faster than a JOIN
|
2024-10-01 13:58:08 -03:00 |
|
P. Reis
|
b549cdef53
|
refactor: rename TREND_LANGUAGES to DITTO_LANGUAGES
|
2024-10-01 13:52:30 -03:00 |
|
Alex Gleason
|
141d5be999
|
Merge remote-tracking branch 'origin/main' into push
|
2024-09-30 20:33:41 -05:00 |
|
Alex Gleason
|
50733d6e0b
|
Retain uploads for 6 hours
|
2024-09-30 20:33:17 -05:00 |
|
Alex Gleason
|
bece384124
|
Add Web Push skeleton
|
2024-09-30 19:12:53 -05:00 |
|
P. Reis
|
c0d9a90bfa
|
refactor: remove un-used variable
|
2024-09-30 14:09:19 -03:00 |
|
P. Reis
|
5e23f4d636
|
test: trends without language and with language
|
2024-09-30 14:03:22 -03:00 |
|
P. Reis
|
61bc57c778
|
feat: support trendings by language
|
2024-09-30 14:02:12 -03:00 |
|
P. Reis
|
b33a6cdfe0
|
feat: add TREND_LANGUAGES environment variable
|
2024-09-30 13:53:30 -03:00 |
|
Alex Gleason
|
64a6d7170c
|
Add initial webmanifest controller
|
2024-09-26 13:50:51 -05:00 |
|
Alex Gleason
|
2fcaa9fe31
|
publicTimelineController: add conditional around filters.search assignment
|
2024-09-25 15:16:17 -05:00 |
|
Alex Gleason
|
68ab9f638c
|
Merge branch 'pglite-policy' into 'main'
Fix PGlite in local development
See merge request soapbox-pub/ditto!520
|
2024-09-25 20:15:46 +00:00 |
|
Alex Gleason
|
2fdf68552c
|
Merge branch 'filter-global-feed-by-language' into 'main'
feat: filter global and local feed by language
Closes #223
See merge request soapbox-pub/ditto!519
|
2024-09-25 20:12:17 +00:00 |
|
Alex Gleason
|
ff658cf496
|
policy: fix Error constructor
|
2024-09-25 15:10:12 -05:00 |
|
P. Reis
|
8ad101ce7b
|
refactor: remove max(2) in languageSchema
|
2024-09-25 17:03:30 -03:00 |
|
Alex Gleason
|
f50b41f22b
|
Refactor PolicyWorker error handling
|
2024-09-25 15:01:40 -05:00 |
|
P. Reis
|
77f5965cdc
|
refactor: return zod errors in publicTimelineController
|
2024-09-25 16:52:54 -03:00 |
|
P. Reis
|
12aaf8c678
|
refactor: use languageSchema in createStatusSchema
|
2024-09-25 16:51:59 -03:00 |
|