about summary refs log tree commit diff
path: root/bskyweb
Commit message (Collapse)AuthorAgeFilesLines
* [APP-836] Emoji picker for web (#1254)Ansh2023-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * add emoji-mart package for emoji dropdown picker * remove emoji picker modal * load emoji mart data not as part of the main bundle * remove @emoji-mart/data * setup emoji insertion with events * get emoji data from local static assets * close emoji picker after one emoji has been inserted * Switch emoji picker trigger to an icon * Update emoji-mart-data.js * make grabbing emoji data work on more browsers --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* bskyweb: cache /static/{images,js} for 1 week, other files for 1 hourJake Gold2023-08-231-2/+16
|
* add title attr to text text links (#1228)Eric Bailey2023-08-221-6/+64
| | | | | | | | | | | | | | | * add title attr to text text links * Revert "add title attr to text text links" This reverts commit c028cd184efd3b2788d8f46134eecf521e5d7b07. * use css tooltips * add to expanded post state * handle theming * add to bskyweb
* bskyweb: publish Bluesky IPsJake Gold2023-08-033-0/+32
|
* Fix missing post text in noscript post view (#981)Jonty Wareing2023-07-061-1/+1
|
* [APP-680] Allow users to add details when reporting (#854)Ansh2023-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * allow user to add text when reporting post * add DMCA override * increase modal size * fix dark mode text color * re-organize components * add details option when reporting account * hard-code modal size so it works on smaller devices * fix modal on web * Remove outline from textarea focus * Tweak some styles * Fix lint --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* remove X-UA-Compatible meta tag (#857)Keith Cirkel2023-06-061-1/+0
| | | | | | | | | | This meta tag allows Internet Explorer 7 through 11 to change which document mode they would use. As of 2013, however, [Microsoft Edge would ignore this value except under strict circumstances](https://learn.microsoft.com/en-gb/archive/blogs/ie/living-on-the-edge-our-next-step-in-helping-the-web-just-work). This meta tag is ignored in modern versions of Edge (Chromium based). [Internet Explorer 11 reached EOL in June 2022](https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/) and today makes up an exceedingly small proportion of internet traffic. It's unlikely that anyone is browsing on Internet Explorer, and less likely that they're browsing on IE<11, which makes this tag redundant. Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* remove trailing / on meta tags (#856)Keith Cirkel2023-06-062-12/+12
| | | | | | | | | | | | * remove trailing / on meta tags Meta tags are [void elements](https://html.spec.whatwg.org/multipage/syntax.html#void-elements) which means they are self closing, and do not require a closing tag, nor a trailing `/`. The trailing `/` is something that was required in XHTML but [is ignored in HTML](https://html.spec.whatwg.org/multipage/syntax.html#start-tags). Quoth the spec: > On void elements, [the trailing slash] does not mark the start tag as self-closing but instead is unnecessary and has no effect of any kind. For such void elements, it should be used only with caution — especially since, if directly preceded by an unquoted attribute value, it becomes part of the attribute value rather than being discarded by the parser. * remove trailing / on link tags
* bskyweb: add security.txtJake Gold2023-06-011-0/+4
|
* bskyweb: gzip HTTP responses + some other minor improvements (#826)Jake Gold2023-06-015-51/+146
| | | | | | | * bskyweb: gzip HTTP responses + JSON logging + minor refactoring * reduce timeout and max header size * add a security.txt
* bskyweb: run-dev-bskyweb in debug mode (#827)bnewbold2023-05-311-1/+1
|
* Spelling (#772)Josh Soref2023-05-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spelling: account Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: activated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: appropriate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bskyweb Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: description Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: display Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: highlighted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: javascript Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: locally-hosted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: occurring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: parenthetical Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: prefetched Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: punctuation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: simplicity Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* add/serve .well-known files (both files)Jake Gold2023-05-261-1/+1
|
* add/serve .well-known filesJake Gold2023-05-264-0/+33
|
* Merge branch 'custom-algos' into mainPaul Frazee2023-05-251-0/+5
|\
| * Add feeds tabPaul Frazee2023-05-251-0/+1
| |
| * Add feed discovery pagePaul Frazee2023-05-241-0/+1
| |
| * Add server-side routesPaul Frazee2023-05-181-0/+3
| |
* | Fix /api/waitlist API (#726)Jake Gold2023-05-181-3/+30
|/ | | | | * move /waitlist to /api/waitlist where its expected * parse waitlist API request as JSON, duh
* Remove max scale from viewport config `meta`Aaron Gustafson2023-05-151-1/+1
| | | Maximum scale creates accessibility issues for folks who need to zoom in
* [APP-635] Mutelists (#601)Paul Frazee2023-05-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists and profilelist screens * Implement lists screen and lists-list in profiles * Add empty states to the lists screen * Switch (mostly) from blocklists to mutelists * Rework: create a new moderation screen and move everything related under it * Fix moderation screen on desktop web * Tune the empty state code * Change content moderation modal to content filtering * Add CreateMuteList modal * Implement mutelist creation * Add lists listings * Add the ability to create new mutelists * Add 'add to list' tool * Satisfy the hashtag hyphen haters * Add update/delete/subscribe/unsubscribe to lists * Show which list caused a mute * Add list un/subscribe * Add the mute override when viewing a profile's posts * Update to latest backend * Add simulation tests and tune some behaviors * Fix lint * Bump deps * Fix list refresh after creation * Mute list subscriptions -> Mute lists
* bskyweb: iterate on HTML card metadata (#609)bnewbold2023-05-114-36/+74
| | | | | | | | | | | Probably still not perfect, but better. - don't user avatar image. use banner for profile and post img, or nothing - most twitter metadata fields were redundant; twitter will parse out opengraph ("og:"), so don't duplicate those - add regular HTML description (for google, etc) - include URI - actually include text
* bskyweb: middleware to remove trailing / (#598)bnewbold2023-05-091-0/+6
|
* Visual improvements to web autocomplete (#591)Ollie H2023-05-081-29/+9
| | | | | * Visual improvements to web autocomplete * Remove stray styling
* bskyweb: re-work HTML meta tags, for share cards (#596)bnewbold2023-05-084-50/+64
|
* bskyweb: update robots.txt (#595)bnewbold2023-05-071-1/+9
| | | | | | | This is to make crawling more explicitly allowed, communicating expectations. If we ever end up with "expensive" routes on this service, will want to add Crawl-Delay.
* Updates indigo golang packages post-lex-refactor (!), which fixes XRPC calls ↵bnewbold2023-05-044-39/+49
| | | | | | | | | (#582) * bskyweb: update modules * bskyweb: fix XRPC string type * gitignore: yarn web build output in bskyweb
* Remove focus outline on composer (#572)Ollie H2023-05-041-0/+3
|
* Remove text underline from lists (#574)Ollie H2023-05-041-0/+3
|
* add required security HTTP headers (#568)Jake Gold2023-05-031-0/+9
|
* [APP-601] Add muted accounts list (#565)Paul Frazee2023-05-021-0/+1
| | | | | * Add muted accounts list * Fix icon for muted accounts
* React Native accessibility (#539)Ollie H2023-05-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * React Native accessibility * First round of changes * Latest update * Checkpoint * Wrap up * Lint * Remove unhelpful image hints * Fix navigation * Fix rebase and lint * Mitigate an known issue with the password entry in login * Fix composer dismiss * Remove focus on input elements for web * Remove i and npm * pls work * Remove stray declaration * Regenerate yarn.lock --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Implement blocks (#554)Paul Frazee2023-04-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Quick fix to prompt * Add blocked accounts screen * Add blocking tools to profile * Blur avis/banners of blocked users * Factor blocking state into moderation dsl * Filter post slices from the feed if any are hidden * Handle various block UIs * Filter in the client on blockedBy * Implement block list * Fix some copy * Bump deps * Fix lint
* [APP-522] Create & revoke App Passwords within settings (#505)Ansh2023-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * create and delete app passwords * add randomly generated name * Tweak copy and layout of app passwords * Improve app passwords on desktop web * Rearrange settings * Change app-passwords route and add to backend * Fix link * Fix some more desktop web * Remove log --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Update bskyweb html stylesPaul Frazee2023-04-131-0/+8
|
* Update the bskyweb routes (#468)Paul Frazee2023-04-131-2/+4
|
* bskyweb: bump indigo version (#383)bnewbold2023-04-052-3/+3
|
* golang: update deps (minor) (#367)bnewbold2023-04-032-11/+8
| | | | | * golang: minor deps update * golang: update deps for latest indigo
* update for lex refactorJake Gold2023-04-023-80/+164
|
* Basic golang CI setup (#360)bnewbold2023-03-276-12/+54
| | | | | | | | | | | | | | | | | | | | * bskyweb: Makefile and dev env This matches the setup for local dev testing in atproto and indigo repos. * gitignore: don't ignore self and .github/ * CI: golang build+test and lint actions * bskyweb: better use of godotenv A recent change from indigo. * prettier: ignore top-level app.json * CI: bump from golang 1.19 to 1.20 * bskyweb: update to golang 1.20
* bskyweb additions (#296)Jake Gold2023-03-2011-84/+270
| | | Add some minor bskyweb improvements, Mailmodo endpoint, Dockerfile for bskyweb, container image push
* Create build step for the web server (#289)Paul Frazee2023-03-145-22/+136
| | | | | * Create build step for the web server * Update bskyweb routes and 404 behavior
* bskyweb: proof-of-concept golang daemon to serve SPA (#275)bnewbold2023-03-1419-0/+787
* gitignore: /dist/ * bskyweb: initial work-in-progress * bskyweb: import icons from bluesky-website * bskyweb: switch to pongo2 templates; iterate on views * bskyweb: example.env (and docs) * bskyweb: go fmt * bskyweb: remove plan file * bskyweb: README: tweak formatting * prettier: ignore /dist/, bskyweb templates --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>