summaryrefslogtreecommitdiff
path: root/web/assets
AgeCommit message (Collapse)AuthorFiles
2025-07-30[feature/frontend] Add Ninety Eight theme (#4348)Libravatar Jade Arson1
This pull request adds a new theme that I've just put together after procrastinating for 7 or 8 months lol I made this pull request mainly because tobi already considered adding it to GtS upstream 5 minutes after [I made a fedi post about it](https://gts.apicrim.es/@awoo/statuses/01K18MJ1SD56581TANEKAKA6GV) ^^" (does this technically count as "discussing the proposed change"? probably not-) (though to be fair, this shows a slightly older revision of the theme -- you can see the most current one on [one of my fedi accounts](https://gts.apicrim.es/@128293). (…also I think it's quite obvious that I took the Ecks Pee theme as a basis ><) Co-authored-by: Jade Arson <awoo@wolfyja.de> Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4348 Co-authored-by: Jade Arson <codeberg@wolfyja.de> Co-committed-by: Jade Arson <codeberg@wolfyja.de>
2025-05-30[bugfix/frontend] Fix text-shadow on dark mode themes (#4216)Libravatar tobi4
Just deals with a few remaining straggler bits of css fuckery that I introduced in https://codeberg.org/superseriousbusiness/gotosocial/pulls/4201 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4216 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-30[feature/frontend] Respect color scheme preference for highlighted code ↵Libravatar tobi13
blocks (#4201) That's it! It just conditionally imports prism light or prism dark depending on the theme. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4201 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-29[feature/frontend] Add four new monospace themes (#4199)Libravatar tobi6
This pull request adds four new themes with auto light/dark switching options too! Tested for color contrast etc in firefox with all three local test rig accounts. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4199 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-07[chore/frontend] Put fonts in folders, update ecks pee to ↵Libravatar tobi110
atkinson-hyperlegible next/mono (#4148) Juggles our fonts around a bit to use subdirs for font families, and also updates atkinson hyperlegible to atkinson hyperlegible next, which includes monospace fonts. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4148 Reviewed-by: Daenney <daenney@noreply.codeberg.org> Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-04-18[feature/frontend] Hide "engagement" stats, edits, and other info under a ↵Libravatar tobi4
little drop down to unclutter status info bar (#4021) * dick about with stats a bit * more dicking abuot * lil tweaks * more about-dicking * weee * comments * fixie uppie
2025-04-14[bugfix/frontend] Fix photoswipe layout issues, keyboard shortcuts (#4010)Libravatar tobi3
* fix photoswipe layout issues (chrome) * aaaaaaaaaaaaaa * wwwwwwwwwwww
2025-04-14[chore] Update + add fonts for additional scripts, use locally installed ↵Libravatar tobi99
font if available (#3997) * [chore] Update + add fonts for additional scripts, use locally installed font if available * update comments
2025-04-03[bugfix] Fix Atkinson Hyperlegible font embedding on Ecks Pee theme. (#3964)Libravatar Kelson Vibber1
Most browsers just take the second src line and they're fine, but Tor has trouble displaying the woff version on Linux. With two separate lines it doesn't fall back correctly.
2025-03-26[feature] Allow user to choose "gallery" style layout for web view of ↵Libravatar tobi2
profile (#3917) * [feature] Allow user to choose "gallery" style web layout * find a bug and squish it up and all day long you'll have good luck * just a sec * [performance] reindex public timeline + tinker with query a bit * fiddling * should be good now * last bit of finagling, i'm done now i prommy * panic normally
2025-02-09[feature/frontend] add light mode color scheme of base css, adapt to ↵Libravatar CDN5
prefers-color-scheme (#3765)
2025-01-27[feature/frontend] Add login button to index page which reiterates info ↵Libravatar Vivian Lim ⭐1
about clients (#3377) * Add login button to index page which reiterates info about clients * bit of CSS fiddling, move apps from front page to login info * fix indentation --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-12-02[feature/themes] Add auto-switching themes for blurple/brutalist/solarized ↵Libravatar CDN3
(#3588)
2024-10-06[chore/themes] Tweak colors on new themes (#3397)Libravatar tobi2
2024-10-05[feature/frontend] Add Moonlight hunt theme (#3393)Libravatar tobi1
* [feature/frontend] Add Moonlight Hunt theme * make almost see through a bit less see through * update
2024-09-27[chore] final bits of fiddling with solarized (#3364)Libravatar tobi2
* [chore] final bits of fiddling with solarized * block quote
2024-09-26[chore] Fix some contrast issues in themes; performance tweaks (#3358)Libravatar tobi9
2024-09-21[feature/frontend] Add solarized light + dark themes (#3325)Libravatar tobi3
2024-09-20[chore/frontend] Make ecks pee theme even more ecks pee er (#3324)Libravatar tobi1
2024-09-14[feature/frontend] Add dark version of brutalist theme (#3294)Libravatar tobi2
2024-09-07[chore] Change ecks pee font size to large (#3276)Libravatar tobi1
2024-09-07[feature/frontend] Add brutalist b&w theme (#3275)Libravatar tobi1
2024-09-07[feature/frontend] ecks pee theme (#3274)Libravatar tobi9
2024-07-24[feature] Allow user to set "bot" flag; show bot icon on profile (#3135)Libravatar tobi2
* [feature] Allow user to set "bot" flag; show bot icon on profile * tweak * update customs
2024-07-20[chore/frontend] Use smaller webp images for logo and default avatars (#3119)Libravatar tobi16
2024-07-08[chore/frontend] Put ActivityPub logo on index page (#3087)Libravatar tobi1
* [chore/frontend] Put ActivityPub logo on index page * tidy up * embiggen the logo a bit * use light logo instead * ensmallen link container
2024-06-23[feature/frontend] Rain Forest Theme (#3021)Libravatar ghose1
* Create sweet-home.css new green-ish theme * Rain Forest theme v1 changes since *draft* version: * lighter green for links (better contrast ratio) * higher «show more/less» button contrast * post's border thinner and darker (papaya) * lighter "glow" (shadow) * button has not shadow * polls themed (dark blues) * papaya scrollbar * code box border thinner (not rounded) * accesibility tested in firefox dev options (no issues) * release ready v1.0 * Rename rain-forest.css to rain-forest.css delete "theme" folder and move to "themes"
2024-03-26[chore/frontend] Adjust contrast, mute blurple a bit (#2785)Libravatar tobi4
2024-03-25[feature] User-selectable preset CSS themes for accounts (#2777)Libravatar tobi5
* [feature] User-selectable preset themes * docs, more theme stuff * lint, tests * fix css name * correct some little issues * add another theme * fix poll background * okay last theme i swear * make retrieval of apimodel themes more conventional * preallocate stylesheet slices
2023-08-08[chore] Add Feditext as recommended client (#2081)Libravatar Daenney1
With Feditext now accepting beta users, this adds it as the third client to recommend so we have web and the dominant mobile platforms covered. This also removes the screenshots from the README, because it became a mess trying to add a third one. Either the cells become very narrow, or the table doubles in height. As the UI may also change over time, it might be better to point folks at the apps instead who'll hopefully have up to date screenshots in their storefronts.
2023-05-11[frontend] Profiles with fields & more (#1764)Libravatar f0x522
* redesign status template * separate index page styling * redesign profile template * fix header styling/wrapping * remove old spoiler js * fix status cw button wrapping * fix status info variables * profile responsiveness, accessibility tweaks * fix variable use, mobile * remove duplicate id's * rss icon, fix indent * fix toot border-radius * fix toot spacing * emojify and html profile fields * refactor (sensitive) media rendering * plaintext profile fields * bundle plyr icon svg * only pause video when switching photoswipe slides * yarn upgrade * profile fields formatting * replace uglifyify with @browserify updated fork * fix profile field templating (yet again) * fix React classes * testrig: add testing profile field for admin user * fix sensitive media interactions * Revert "testrig: add testing profile field for admin user" This reverts commit 80490c183e6639ce5b57fcfca6772d8f96df8706. * settings interface wrapping * fix reported toot styling * add role to profile sr-only text * comment fallback rule * remove currently unused image description lacking indicator
2023-03-27[chore] License sloth logo + default avatars under CC by-sa 4.0 (#1651)Libravatar tobi1
2023-02-15use woff(2) fonts for Noto Sans (#1509)Libravatar f0x527
2022-12-14[chore] Add svg version of sloth logo as logo.svg (#1265)Libravatar tobi1
2022-10-12[frontend] small fixes (#907)Libravatar f0x521
* add missing watchify dependency * replace svg rss icon with forkawesome+styling * use $white1 instead of hardcoding white * fix toot overflow
2022-10-08[feature] Add opt-in RSS feed for account's latest Public posts (#897)Libravatar tobi1
* start adding rss functionality * add gorilla/feeds dependency * first bash at building rss feed still needs work, this is an interim commit * tidy up a bit * add publicOnly option to GetAccountLastPosted * implement rss endpoint * fix test * add initial user docs for rss * update rss logo * docs update * add rssFeed to frontend * feed -> feed.rss * enableRSS * increase rss logo size a lil bit * add rss toggle * move emojify to text package * fiddle with rss feed formatting * add Text field to test statuses * move status to rss item to typeconverter * update bun schema for enablerss * simplify 304 checking * assume account not rss * update tests * update swagger docs * allow more characters in title, trim nicer * update last posted to be more consistent
2022-10-06[chore] Reduced distributed assets with 'optipng -o7 -zm1-9 -keep FILENAME' ↵Libravatar EchedeyLR8
between 28-56% (#890)
2022-09-04[feature] Set default header and avatar for API accounts to GtS ones (#799)Libravatar tobi13
* validate web-asset-base-dir * move default icons into converter * always ensure avatar + header on api accounts * update tests * add default header * don't return error from web module creation anymore * tidy a bit * use pngs for default avatars rather than svgs
2022-07-30[frontend] Update client list and apply some minor fixes (#734)Libravatar Martijn de Boer1
* Add logos for Fedilab, Toot and Mastodon to assets folder Adds multiple logo's for the changes on the client list. * Add clients to the index page to give users a wider choice and some minor fixes Adds Fedilab, Toot! and "More clients" to the client list. Also adds periods after all descriptions, so they are unified in writing style. Adds target blank and rel noopener to external links. Changes the pinafore.social link to link to the homepage, like the other clients. * Add 'the' to the description text Adds the missing 'the' to the More clients description * Delete fedilab.png * Delete toot.png * Remove added clients, but keep More clients text. Removes the Fedilab and Toot! clients.
2022-07-04[frontend] Redesign / color scheme (#688)Libravatar tobi3
* fix css indentation * profile styling update * update status styling to match profile * empty header fix * generate random avatars for thread views * appease the linter gods * upgrade deps * turn profile accent into border + $bg background * upgrade deps * small accessibility tweaks * general redesign, clearer css variables * configure instance.Version for testrig * footer styling * add sublte borders to box-shadow for separation * accessible blues, other tweaks * background bg_accent * fix viewport * change client entry buttons to links * cw button styling * status display+username spacing * small thread view tweaks * color tweaks for accessible contrasts * use Noto Sans * biiit less dark bg * .info contrast, border Co-authored-by: f0x <f0x@cthu.lu>
2022-06-09[frontend] Restructure Frontend Sources (#634)Libravatar f0x524
* 🐸restructure frontend stuff, include admin and future user panel in main repo, properly deduplicate bundles for css+js across uses * rename bundled to dist, caught by gitignore * re-include status.css for profile template * default to localhost * serve frontend panels * add todo message for abstraction * refactor oauth registration flow * oauth restructure * update footer template * change panel routes * remove superfluous css imports * write bundle to disk from test server, use forked budo-express * wrap all page content in container for robustness with addons etc injection other elements in body * update documentation, goreleaser, Dockerfile * update template meta tags * add AGPL-3.0+ license header everywhere * only attach update listener on EventEmitter * cleaner config for various frontend bundles * fix bundler script paths * Merge commit 'd191931932b9293ce1be44ed08a1e69b9fcc1e25' * fix up dockerfile, goreleaser * go mod tidy * add uglifyify * move status hide/show js to frontend bundle * fix stylesheet color( func regressions * update contributing docs for new build path * update goreleaser + docker building * resolve dependency paths properly * update package name * use api errorhandler Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-06-08[frontend] linkify header mascot+title (#633)Libravatar f0x521
2022-05-28[frontend] Reduce width of profile img with screen width (#615)Libravatar Sashanoraa1
The commit makes the profile image on the profile page reduce in width if the screen width is less then it's normal width while maintaining it's 1:1 aspect ration. Signed-off-by: Sashanoraa <sasha@noraa.gay>
2022-05-28[frontend] Add padding to the bottom of main (#616)Libravatar Sashanoraa1
This way the footer doesn't touch on the content on mobile. Signed-off-by: Sashanoraa <sasha@noraa.gay>
2022-04-15[feature] Web profile pages for accounts (#449)Libravatar tobi8
* add default avatars * allow webModule to error * return errWithCode from account get * add AccountGetLocalByUsername * check nil requesting account * add timestampShort function for just month/year * move loading logic to New + add default avatars * add profile page view * update swagger docs * add excludeReblogs to GetAccountStatuses * ignore casing when selecting local account by username * appropriate redirects * css fiddling * add 'about' heading * adjust thread page to work with routing * return AP representation if requested + authorized * simplify auth check * go fmt * golangci-lint ignore math/rand
2022-02-07[feature] add authorization to the already-existing authentication (#365)Libravatar Forest Johnson1
* add ensureUserIsAuthorizedOrRedirect to /oauth/authorize * adding authorization (email confirm, account approve, etc) to TokenCheck * revert un-needed changes to signin.go * oops what happened here * error css * add account.SuspendedAt check * remove redundant checks from oauth util Authed function * wip tests * tests passing * stop stripping useful information from ErrAlreadyExists * that feeling of scraping the dryer LINT off the screen * oops I didn't mean to get rid of this NewTestRouter function * make tests work with recorder * re-add ConfigureTemplatesWithGin to handle template path err Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2021-10-13add new logo + credits (#277)Libravatar tobi2
2021-09-13include Fork-Awesome files in-repo (#222)Libravatar f0x5214
2021-09-13Thread views on the web (#207)Libravatar f0x525
* Webviews for status threads * fix up templates * add ForkAwesome and gotosocial-styling into repo * clean up gotosocial-styling, old styling * update CONTRIBUTING with new css building, and nodemon recommendation * update Dockerfile with new css bundling * those weren't supposed to make it in * upgrade gotosocial-styling deps * update authorize template with main wrapper * update css pipeline * abstract status from thread to avoid copy-pasting * basic CW implementation * fix PR review suggestions * fix no-image-desc icon alignment * remove template loading println * remove println * remove changes to testmodels * reset changes to testmodels
2021-07-13frontpage template tweaks (#99)Libravatar f0x521