Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

Table of Contents

1.7.0 (2021-08-27)

Features

  • account: implement ‘change password’ form (8d393e4), closes #82
  • account: restructure and improve HTML forms (72436f6)
  • api: add basic style stats endpoint (327e720)
  • api: add simpler endpoint for style stats (812f1d9)
  • cron: speed up mirroring userstyles (555b5fa)
  • notifcations: add notification when style is removed (9490916)
  • register: add ‘confirm password’ field (b839244), closes #82
  • search: add perf metrics (b7d7184)
  • search: style perf metrics (9a089cf)
  • styles: add content guidelines notice (299acf4)
  • styles: improve mirroring of code/metadata (d7d6fda), closes #83
  • take advantage of unsafe.Slice() since go v1.17+ (5f44ea0)
  • ui: add basic system stats in a new bar (2404e92)
  • ui: improve overflow for tables (add6f4d)
  • ui: improve table styles on Mod Log page (f75cecb)
  • ui: redirect to edited form on account page (9b0027e)
  • ui: simplify short dates in tables (a654bd8)

Bug Fixes

  • account: allow clearing display names (71f8bef)
  • archive: update base archive URL (d6157e5), closes #86
  • charts: skip rendering history for new styles (3e55cb4)
  • correct golang version for CodeQL (3350705)
  • css: prevent overflow in ‘Share style’ area (a1018f6)
  • css: prevent overflow on the actual element (397e615)
  • dashboard: link to correct data (2fb0b55)
  • dashboard: skip generating bad bar charts (25138ff)
  • db: remove stats for deleted/banned styles (857ff6a)
  • handlers: move HSTS/CSP middlewares to prod (8d0b692)
  • html: improve a11y for pagination component (2fb0042)
  • html: update references to Codeberg.org (42d1de4), closes #84
  • images: add more data to error logs (585acae)
  • images: allow images from GitHub blob pages (c0de89b), closes #81
  • images: extend and improve raw image URL fix (c6cdc9d)
  • specify correct view directory (2937dd4)
  • styles: fix an edge-case for mirror options (76ff117)
  • styles: prevent creation of broken userstyles (67827be)
  • ts: make previous page work with CSP (cffcafe)
  • ui: hide overflow on touch-based devices (86a6ec5)
  • ui: make style card overflow pixel-perfect (e63ea09)
  • ui: switch to accent color for footer links (a5ef219)

1.6.1 (2021-08-12)

Bug Fixes

  • db: revert duplicate style conditional (02a8101), closes #79

1.6.0 (2021-08-11)

Features

  • api: add in-memory cache for index endpoint (1242ffd)
  • api: cache USo-format JSON to disk (2842895)
  • api: optimize caching USo-format index (16ad0a1)
  • api: speed up sorting on Explore page (344168b)
  • api: speed up USo-format endpoint (7735365)
  • css: improve colors used for buttons (eeefef3)
  • css: improve focus states for elements (4da4081)
  • dashboard: add humanized values to stats (2a14207)
  • dashboard: add Style history bar chart (b66f3bb)
  • dashboard: make dates/numbers more readable (85f788a)
  • dashboard: show data for system status (c3bc5b8)
  • dashboard: speed up User and Style overviews (cc026a3)
  • db: speed up sorting styles on Explore page (24f2bf4)
  • docs: add Kind Communications Guidelines (b1c7230), closes #69
  • docs: add ToC to all on-site documentation (683a2a8)
  • docs: document mirroring source code updates (4a94aa0)
  • docs: fix typo in crypto file. (4ccdd57)
  • docs: revise wording/typos in crypto file (71200d1)
  • handlers: Add CSP headers (fe3da38)
  • handlers: add more CSP header values (9d45a55)
  • handlers: add route to shorten external URLs (7b2405c)
  • handlers: add security-policy redirect (073fcaa)
  • html: add release code name to page footer (a3958e7)
  • html: improve functionality for pagination (7c9766d)
  • html: make ‘Write a review’ button public (ae40992)
  • images: bump cache to 3 months (aeb9fe9)
  • log: implement file-based logging (ff2458c)
  • oauthP: allow vendor_data to be passed (59b2eb8)
  • oauthP: use provided name if possible (983c2ef)
  • policy: add security.txt (b4b2387)
  • robots: disallow ModLog and API routes (15053ff)
  • SEO: correct canonical for public pages (4729b35)
  • static: add our public GPG key (4d76e2c)
  • stats: add redundant checks for style IDs (30d79cf)
  • templates: add sort parameter to pagination (1bd76b9)
  • templates: make pagination more extendable (dc8193e)
  • tools: add ‘fonts’ command to run tool (#76) (56c6dfb)
  • tools: download latest release of fonts (2b2bfb5)
  • ts: check if style is installed (2d3b0e0)
  • ui: add disabled icon state to pagination (3fcce76)
  • ui: add links to our chat platforms (8c71410)
  • ui: add new info and styles for new footer (83b2de4)
  • ui: improve usability for pagination (877cc91)
  • ui: rewrite and expand info in page footer (e99c3f1)
  • update site’s description (90e8a08)
  • users: allow 3–32 characters-long usernames (f0a6d19)

Bug Fixes

  • accessibility: improve accessibility (95180bc)
  • api: replace wrong logging function (9b5d629)
  • config: update Matrix invite link (dc15bca)
  • CSP: add exception for special case (f713aad)
  • CSP: fix typo (f8ca9ef)
  • css: better alignment for flexbox link icons (665689b)
  • css: improve button cursor and transitions (62840de)
  • css: improve styles for select element hack (1323abd)
  • css: improve visuals for new invalid forms (cd0c651)
  • css: remove extra white space from checkboxes (72a3f7b)
  • css: remove invert filter from GitHub icon (0f12e47)
  • css: resolve bugs on new style via OAuth page (2e2b181)
  • dashboard: add parameter links in templates (2e77bdd)
  • dashboard: improve visuals for history charts (5661557)
  • dashboard: sort slices with proper data (7e82111)
  • db: add back sorting styles by views/installs (79ee371)
  • db: add default clause for USo-format index (8fcb9a1)
  • db: don’t take into account for deleted styles (a44fa96)
  • docs: correct parameters for security.md (27fa97c)
  • dropdown: match Gitea’s sort menu (#74) (cf43988)
  • explore: correct ordering of styles (f6ac390)
  • handlers: correct CSP values (a856544)
  • html: add boxes around forms on account page (9d7bb79)
  • html: fix typo on review page (d1ab4b9)
  • html: improve text info on Review page (bab897a)
  • html: remove last new line on description (334817f)
  • html: resolve backdrop images being hidden (fafd942)
  • oauth: ensure correct redirect page after login (e0514d9)
  • robots: correct CSP value for robots.txt (ffcfb0b)
  • search: no exception for notExist (860f8fd)
  • stats: try until all style IDs are returned (0e6db8c)
  • style: correct canonical (5f4738f)
  • ts: correct copy mechanism for span element (0ca4543)
  • ts: correct function ordering (5842c7e)
  • ts: defer script execution (668b4d7)
  • ts: initialize log for watch mode (f7bace6)
  • ts: remove redirect when on correct page (1540f39)

1.5.0 (2021-07-18)

Features

  • client: improve UI for pagination component (d48d2b1)
  • cron: speed up updating mirrored styles (d94f27a)
  • css: add highlight to modlog entry (047a9ee)
  • dashboard: add total History graph (14906d2)
  • dashboard: add User History charts (08ac417)
  • dashboard: summarize new daily users/styles (b4223a7)
  • email: change email when password is resetted (fd7eea6)
  • html: add anchors to Review entries (03f531b)
  • html: improve the look for Review entries (67c0820)
  • html: show current release tag in the footer (2b04944)
  • mock db: add style scope for default oauth app (0ac8ab8)
  • models: add notifications for style reviews (b943c95)
  • modlog: add don’t hide behavior (5d9b56b)
  • modlog: add modlog entry for removed styles (74fa19f)
  • modlog: add option to change censor behavior (deb9db1)
  • modlog: allow entries to inside spoilers (18ab383)
  • modlog: send email about mod actions to designated person (7efcece)
  • oauthP: add metadata validation (7c6d2c5)
  • reviews: add core logic for Style reviews (6b2d97f)
  • reviews: add logic to render Review form (d95ce85)
  • reviews: add spam prevention for reviews (1d4f3d1)
  • reviews: connect database logic to front-end (15bde83)
  • reviews: prevent too long or tall comments (458791b)
  • server: increase limiter’s max connections (827f2a7)
  • styles: 150k -> 100k chars for large styles (acaf361)
  • styles: add promotions to notifications (c5477ad)
  • styles: add total History graph in details (92b0503)
  • styles: implement ban functionality (12fac37)
  • styles: implement pagination on Explore page (17f78a9)
  • styles: send email on style promotion (8a790a5)
  • templates: add global config function (3544371)

Bug Fixes

  • alloc: ensure it’s non-zero initialized (b4e6e1b)
  • archive: return nil instead of empty style (2eb7196)
  • charts: avoid rendering empty History charts (775c7cb)
  • charts: remove total updates from the charts (f3ba4fb)
  • core: account for remainder in pagination (4f5f02a)
  • core: Correct incorrect page numbers (d834b82)
  • crypto: don’t use non-zero initalizion (17068bb)
  • css: add @media (0b57dcc)
  • css: resolve some issues with buttons/forms (231fb3a)
  • css: switch back to flexbox in Style previews (968605c), closes #67
  • dashboard: improve item order in User History (d2815c4)
  • dashboard: make User History chart readable (7c8c804)
  • email: globalify email struct (d03ada8)
  • errors: don’t expose literal errors (899f88e)
  • gocritic: fix false positive (ba8f23c)
  • imports: use import from defined name (9c39b79)
  • log: use correct log functions (9feaea3)
  • mail: Fix mail with only 1 part. (7629d73)
  • oauth_login: correct codebergStr (2b54c05)
  • oauth: broken code (4d7e52b)
  • printf: use correct type for string (674018d)
  • reviews: add correct data for review entries (75dba69)
  • reviews: check if rating is out of range (5b8fafe)
  • reviews: resolve empty/multi-line comments (60713ec)
  • reviews: use correct time function (fd91a39)
  • search: sort by default on relevance (6f860fa)
  • styles: hide review link to logged-out users (d2082a3)
  • styles: resolve a bug with preview image URLs (e18255a), closes #67
  • styles: update to new USo-archive links (1427178)
  • todo: remove non-possible todo (9561f2c)
  • typecheck: don’t force types without checks (f39bebb)

1.4.0 (2021-07-12)

Features

  • core: add more sorting options for styles (d14f171)
  • crypto: add nonce scrambling (972e88a)
  • crypto: add nonce scrambling into crypto functions (63e2b29)
  • css: improve styles for charts (bc9820d)
  • css: improve styles for content in docs (5c2145f)
  • css: tweak and improve styles for graphs (8084d3a)
  • dashboard: add functionality to ban users (8a400b7)
  • dashboard: allow moderators to ban users (5f8bad4)
  • dashboard: show History chart for all styles (8388dfa)
  • dashboard: show user’s email field to admins (dd58541)
  • db: improve error checking for table actions (7e61f23)
  • db: improve migrate/drop/seed functionality (7c054b8)
  • docs: add more content to FAQ page (8f29262)
  • docs: expand our internal documentation (458efc6)
  • html: add ‘default’ option to sort menus (4559fe3)
  • html: add icons for Style action buttons (9fb1f62)
  • html: add icons to homepage/save buttons (adfb0cf)
  • html: add icons to search/sort buttons (fa7d515)
  • html: add legends to History chart (fca0ff8)
  • html: append git commit hash to JS file (920ad65)
  • html: implement meta tags for User profiles (f1e7070)
  • html: improve meta tags for Style pages (5e45f38)
  • html: show counters on dashboard page (89cfa53)
  • images: bump image caching to a month (eab65f9)
  • images: increase quality for screenshots (55b7182)
  • login: bump remember me to a month (8457887)
  • modlog: add reason & log when banned user (ea0c575)
  • modlog: create modlog prototype (664f3eb)
  • styles: add data for combined statistics (68bda02)
  • styles: add logic for visualizing statistics (8be681d)
  • styles: get history data for Style stats (fd7b739)
  • styles: show userstyle stats in History area (5e82d06)

Bug Fixes

  • api: add missing logic for JPEG screenshots (e5bd33b)
  • auth: resolve cookie issues with Vim Vixen (b37d8c1)
  • core: trim spaces in reason field for Mod Log (2ba5457)
  • crypto: don’t panic on incorrect input (6e665fe)
  • css: hide horizontal overflow on body element (fb45db9)
  • css: hide overflow in style cards (0bc94b5)
  • css: improve styles for textareas and select (65cd64e)
  • css: improve styles on Style’s link page (f56268a)
  • dashboard: prevent being able to ban yourself (bacff96)
  • db: add created date to search cards query (5bd8ff6)
  • err: add missed letter (24b7611)
  • html: add missing History chart on dashboard (925687d)
  • html: resolve a bug with alerts (61ac607)
  • images: remove avif (9e13023)
  • json: fix json tags (d23c405)
  • modlog: add Modlog to nav menu (0df8fa6)
  • modlog: add User and Title to render (f55fc2b)
  • revert this line (609729d)
  • styles: remove History if data doesn’t exist (f63ed61)
  • styles: resolve an issue with SEO logic (d6cea95), closes #62
  • ts: auto-fill proper metadata for homepage (afc459b)
  • ts: prevent prototype pollution (a086a49)

1.3.0 (2021-06-19)

Features

  • dashboard: add WIP moderation tools (c2495ce)
  • html: enable more Markdown extensions (fee7ced)
  • oauth_login: retrieve email from authorized user (6f026ba)
  • oauthP: create new Style based off styleInfo (31813da)
  • oauthP: enable option to pre-fill information (461ddb0)
  • search: sync with database (e736e84)
  • ts: add more fields to auto-fill (7d8c4c1)
  • ts: allow description to be set (5a5476e)
  • ts: set default meta (8e1405e)

Bug Fixes

  • css: align thumbnails on the left side (cef75dc)
  • css: avoid resizing userstyle screenshots (d9adc11)
  • db: default to null instead of time.Time’s default (846fbec)
  • history: update queries for stat history (2bb1110)
  • js: make sure data is an object (71303e7)
  • oauth_login: set default role to regular (2717bf6)
  • oauthP: listen to POST request instead of GET (869b69d)
  • stats: improve accuracy of style statistics (d9910a1)
  • stats: include data from previous scheme (2bf7ce4)
  • stats: update queries on the home page (17809dc)
  • styles: update queries for style cards (2885dde)
  • ts: compile production version (c7f58e0)
  • ts: safe remove of element (30c2a39)

1.2.1 (2021-05-30)

Features

  • oauthP: show all oauth of user (76b832b)
  • oauthP: show clientID + clientSecret (5491705)

Bug Fixes

  • core: sort by created date by default (9611b53)
  • css: add back hints to various links (62949f4)
  • html: add custom checkbox to register page (c2d39c3)
  • oauth: redirect to oauth after creation (e080ea6)
  • tools: don’t watch static folder (df9c0b3)

1.2.0 (2021-05-29)

Features

  • api: add /style endpoint (b05a87d)
  • css: improve reduced motion CSS (0b4fb9f)
  • css: improve the look for Style share button (7bc3750)
  • css: limit resize to vertical on textarea (5b7170b)
  • css: tweak white space for Markdown headings (a35aea0)
  • html: add sorting on Search/Explore pages (f2570ee), closes #42 #46
  • html: remember state for select elements (5dd8170)
  • login: add redirect_uri after login (5f98efa)
  • oauthP: return Style ID on authorize_style (2f724da)
  • actually glue it together (8868ade)
  • Add documentation (4696462)
  • add first endpoints (635ae9e)
  • add scope information (2b96bbb)
  • add style (9c95227)
  • add/edit oauth (294714f)
  • allow access_token retrieval (0ac7699)
  • delete style (c3ff6d7)
  • edit styles programmatically (621836c)
  • Faster json encoding (e9ef25f)
  • list all styles of user (38c6212)
  • make authorize protected (7104481)
  • process authorization (a324ecf)
  • try to glue this linking style (ed0bcb7)
  • use callback helper (d420e16)
  • use OJG for decoding (47f3391)
  • use userID (af72bfd)
  • validate OAuth input (c104429)
  • validate upon authorize (7dfdd20)
  • html: add tooltip to style card (cbc1e87)

Bug Fixes

  • conflicts: patch up conflicts from rebase (70a0535)
  • css: update selector for card background (d52ddd4)
  • db: resolve failing auto-migration for OAuth (7ef03a5)
  • html: add custom checkboxes to Import page (5ffc920)
  • html: add custom checkboxes to OAuth page (b39ae38)
  • html: add missing sign-in icon (ea2ba87)
  • html: prevent adding styles with empty names (f7be151)
  • html: relax validation for search/style names (b1eb15b), closes #60
  • login: just include path within after_login (133de35)
  • models: resolve a bug with UpdateOAuth query (e024042)
  • oauth: resolve a panic from bad validation (b64229a)
  • oauthP: correct link (98a55dc)
  • security: validate style’s userID (dd8d7b1)
  • server: remove unused imports (aac127a)
  • tools: don’t watch node_modules (87f719e)
  • actually renders authorize page (59b63b8)
  • add explanation to weird filter func (85143cd)
  • correct biography (f412ef7)
  • correct table formatting (116a746)
  • correct token_type (5115b57)
  • correct url’s (6aa6393)
  • handle multiple scopes (7900436)
  • it’s username (2603e36)
  • naming :D (90acb75)
  • pass options correctly (pointer reference) (6750a9c)
  • use correct go.mod/sum (75b1426)
  • use Post (8efc8b4)
  • styles: make url relative to canonical (93eded2)

1.1.0 (2021-05-21)

Features

  • build: exclude templates and scss from air (48b388b)
  • css: enable color-scheme meta in Chromium (9953239), closes #59
  • css: improve responsive design for bars (c496da7)
  • css: improve styles for card images (b79ee27)
  • css: improve the look of style cards (2badb7a)
  • html: add confirm page for style deletion (3046537)
  • html: add custom checkboxes on sign in page (b56728d)
  • html: add new checkboxes on style edit page (8067200)
  • html: move updated date to card footer (fd2cc79)
  • html: truncate source code from large styles (15e7620)
  • ts: add user settings + programmatic color-scheme (37be14a)
  • ts: change color-scheme meta (1254d50)
  • ts: add ESLint (194a320)
  • ts: add typescript workflow (12593be)

Bug Fixes

  • css: improve auto fill colors across browsers (5e255c5)
  • css: improve max-width for search in nav menu (c21d246)
  • css: improve position for short screenshots (9b9f916)
  • css: truncate author names in style cards (e98b41f)
  • html: hide unset display name fields (f8cd137)
  • html: remove blurred preview image from cards (928467d)
  • html: remove useless element (c8c1ab7)
  • html: resolve bad text alignment in buttons (9e50327)
  • models: add missing methods to MinimalStyle (dd0d748)
  • tools: don’t watch for data folder (2c089e2)
  • ts: yoda-compatible (224c3d4)
  • ts: don’t error that esbuild isn’t used (85f616c)

1.0.0 (2021-05-16)

Features

  • add an option to set custom style mirror URL b8ee98c
  • add base functionality for display names cd502d6
  • add base style statistics to style cards d0b8fb0
  • add changelog links and template 91c053d
  • add form for user display names fa4fba2
  • add HSTS a3cb8e6
  • add input validation to display name form dba3d4a
  • add legal into server 3981c47
  • add legal into server 0335d41
  • add more info to account/profile pages f24a5bd
  • add privacy policy ea91d75
  • add privacy policy 50f181d
  • add server-side validation for display names c74226a
  • add ToS 0c958bc
  • add ToS 2c2f696
  • cache up to 2 weeks c5db4c6
  • improve accuracy of style stats on home page fa8e8f3
  • improve colors for input areas and buttons d50ff19
  • improve form validation for display names 8d85f39
  • improve styles for page footer template 19cafcf
  • improve styles of non 16:9 preview images 040f909
  • show stats for weekly updates on home page 232c657
  • show weekly update statistics on style page afa236b
  • truncate long style names in userstyle cards 43e6d8c
  • tweak background colors for dark/light mode dbdc2bd
  • use Stylus cyan color for our gopher mascots 89cdd18

Bug Fixes

  • add missing icons used by style cards 99f1384
  • allow more characters 38794e0
  • allow parallel test 0412562
  • change email ae03616
  • change email 490ef83
  • check proper values for social links c1a312e
  • don’t count new installs as updated stats 3654cf0
  • improve accuracy for statistics on style page 39849bb
  • improve contrast ratio (3 -> 8.3) f57b58d
  • improve Lighthouse score for accessibility 62bf063
  • include logic for blurred preview images 461ec76
  • increase width of style stats and share field 7c0c4dc
  • provide good search results 2875bf8
  • remove required attr from mirror URL field 252c9b4
  • show user state on docs route 9bec8b5
  • skip showing site stats if user is logged in 9461eb1
  • test cases 2790679
  • tweak code selectors in Markdown areas f0bbfc6
  • use correct package name 713c2da
  • fix formatting for API’s index endpoint 7ba7d51