about summary refs log tree commit diff
path: root/bskylink
Commit message (Collapse)AuthorAgeFilesLines
* xyz.blueskyweb.app → xyz.vikanezrimaya.voidskyVika10 days1-2/+2
|
* add cursor constraint to safelink (#8966)hailey2025-09-032-0/+33
|
* fix safelink package.json (#8959)hailey2025-09-022-0/+230
|
* rm unknown fields (#8958)hailey2025-09-021-3/+0
|
* safelink (#8917)hailey2025-09-0223-47/+1120
| | | | | | | | Co-authored-by: hailey <me@haileyok.com> Co-authored-by: Stanislas Signoud <signez@stanisoft.net> Co-authored-by: will berry <wsb@wills-MBP.attlocal.net> Co-authored-by: BlueSkiesAndGreenPastures <will@blueskyweb.xyz> Co-authored-by: Chenyu Huang <itschenyu@gmail.com>
* Upgrade prettier to 3.6 (#8558)Samuel Newman2025-06-232-12/+18
| | | | | | | * upgrade prettier * run prettier * more files
* Port post embeds to new arch (#7408)Eric Bailey2025-06-133-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Remove double decode of URI (#8068)Jason Culverhouse2025-03-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | At this point the URI is already decoded and decoding again will alter the uri ``` let link = req.query.u ``` example of a link that has `%` encoding... the initial redirect link is properly encoded. ``` curl -vv "https://go.bsky.app/redirect?u=https%3A%2F%2Fsurf.social%2Ffeed%2Fsurf%252Fcustom%252F01jpz5vyjwvw5yaa8bfkha5xn4" ``` The result is "double decoded", the proper link in this case should be `https://surf.social/feed/surf%2Fcustom%2F01jpz5vyjwvw5yaa8bfkha5xn4` ``` <html><head><meta http-equiv="refresh" content="0; URL='https://surf.social/feed/surf/custom/01jpz5vyjwvw5yaa8bfkha5xn4'" /><style>:root { color-scheme: light dark; }</style></head></html> ``` After changes: ``` curl -s "http://localhost:3000/redirect?u=https%3A%2F%2Fsurf.social%2Ffeed%2Fsurf%252Fcustom%252F01jpz5vyjwvw5yaa8bfkha5xn4" <html><head><meta http-equiv="refresh" content="0; URL='https://surf.social/feed/surf%2Fcustom%2F01jpz5vyjwvw5yaa8bfkha5xn4'" /><style>:root { color-scheme: light dark; }</style></head></html> ```
* blink: use meta for redirect (#8031)Hailey2025-03-203-3/+16
| | | | | | | | | * try using meta * color scheme * revert test change * escape
* blink: redirect on root route (#8029)Hailey2025-03-202-0/+16
| | | | | | | | | * make root route redirect to 301 * use config * end * add a comment
* add to blink (#7788)Hailey2025-02-244-34/+83
|
* offer a json response for grabbing short links (#4671)Hailey2024-06-272-3/+56
|
* tweak app clip AASA (#4641)Hailey2024-06-251-0/+9
|
* Bsky short link service (#4542)devin ivy2024-06-2124-0/+1979
* bskylink: scaffold service w/ initial config and schema * bskylink: implement link creation and redirects * bskylink: tidy * bskylink: tests * bskylink: tidy, add error handler * bskylink: add dockerfile * bskylink: add build * bskylink: fix some express plumbing * bskyweb: proxy fallthrough routes to link service redirects * bskyweb: build w/ link proxy * Add AASA to bskylink (#4588) --------- Co-authored-by: Hailey <me@haileyok.com>