Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

UserStyles.world

Free/Libre and Open-Source platform for hosting userstyles.
Collective - Host: opensource - https://opencollective.com/userstyles - Website: https://userstyles.world - Code: https://github.com/userstyles-world

refactor(search): reduce max returned search items

Let's fill grid on search page with items on all screen sizes: (2*3*4)*4

github.com/userstyles-world/userstyles.world - 8ec1104043d663215055cca31a2aac3509a3c411 authored over 2 years ago by vednoc <[email protected]>
refactor(search): tidy up code and add comments

github.com/userstyles-world/userstyles.world - ae7f9e25ef50b5de4bfe1925a40afcc25ea503f8 authored over 2 years ago by vednoc <[email protected]>
feat(storage): optimize indexing individual styles

github.com/userstyles-world/userstyles.world - 669c7da92ce5f5074a32f27b8f50c56881f7ab6e authored over 2 years ago by vednoc <[email protected]>
feat(storage): optimize style cards for search

github.com/userstyles-world/userstyles.world - 8626d57ec7c27e38500c43df7676ed8458ddd3b9 authored over 2 years ago by vednoc <[email protected]>
refactor(search): tidy up searching for styles

github.com/userstyles-world/userstyles.world - d6ce2089bfc14204753f9e08191348b01e90aa6c authored over 2 years ago by vednoc <[email protected]>
refactor(tools): add logging time to `air` files

github.com/userstyles-world/userstyles.world - bde8f191564ed18e076ed6fc5842e0fafbe545d8 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): add `vips` to dependency check

github.com/userstyles-world/userstyles.world - 228ba8a73620ae76e538585012d822583dafc1f0 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): resolve issues in `setup` command

github.com/userstyles-world/userstyles.world - 8d2c77e9aa8bf58ac0cb3ec0eb35c643a5c95eb4 authored over 2 years ago by vednoc <[email protected]>
refactor(search): simplify code for empty keywords

github.com/userstyles-world/userstyles.world - 2396c6eda025de4df5c795cd371f536051b033e4 authored over 2 years ago by vednoc <[email protected]>
refactor(search): improve errors on search page

github.com/userstyles-world/userstyles.world - caf5d7a985342c9cba0967fd406f3b900fbc19c6 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): split different dependency checks

I'd like to make a use of `run build prod` in CI and this commit helps
with that. Namely, we do...

github.com/userstyles-world/userstyles.world - 287276d082787ccb50e96f8aee04a7060585b632 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): tidy up code for getting fonts

github.com/userstyles-world/userstyles.world - c4b5e09a7c1eaa295330e65be0d156c2eacc3e74 authored over 2 years ago by vednoc <[email protected]>
refactor(build): move main executable to cmd

github.com/userstyles-world/userstyles.world - 18ce51a76cae366510d39884f7ad9311cda808ec authored over 2 years ago by vednoc <[email protected]>
refactor(tools): split TS to dev and prod builds

github.com/userstyles-world/userstyles.world - 771d2cb87a560d0f4fe10047b44d12917e23712f authored over 2 years ago by vednoc <[email protected]>
refactor(tools): reuse `run` commands with `air`

One more reason to use CLI: interoperability between tools is awesome
and, oftentimes, really si...

github.com/userstyles-world/userstyles.world - 58a3e0b2d8506abed793d219a560e6205e0c6219 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): swap to Air for watching TS files

github.com/userstyles-world/userstyles.world - fa584a8ac187b2dbf56e444e886ab485978b6713 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): restructure main function

github.com/userstyles-world/userstyles.world - 4aae193a9d04c0b452c236a2f36f18d9ddaa08f5 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): sync `build` and `watch` commands

github.com/userstyles-world/userstyles.world - 694c34948fe75b45be41779a7ecd17c176bc4144 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): check all dependencies at once

While it's an interesting idea to check dependencies on demand, so to
speak, this change is negl...

github.com/userstyles-world/userstyles.world - 1116a75f0805964d95ad8b1e27a1166c2d25e81f authored over 2 years ago by vednoc <[email protected]>
refactor(ts): move esbuild to cmd directory

github.com/userstyles-world/userstyles.world - dba4a50311ce9ef894ab170f4ec8d42579196b10 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): tidy up code for fonts

github.com/userstyles-world/userstyles.world - ffeb75f1aa52e8f25e9a11134d86d890129458d2 authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a build/setup timer

github.com/userstyles-world/userstyles.world - c87152dd373f0a73f7245b08cc0f2ab47459b7ec authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a `setup` command

github.com/userstyles-world/userstyles.world - 80c0ca37eaed256e424ca83bad6d43446893b944 authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a `start` command

github.com/userstyles-world/userstyles.world - 02da75fb5c93553c20a11b5069e7ff693170aa36 authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a `build` command

github.com/userstyles-world/userstyles.world - 2c619a2f3ace5c50435b5917ee958f4691b8c6e6 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): replace old dev and prod commands

github.com/userstyles-world/userstyles.world - ea58871b477f075e46d36719926fd4ce9e83d533 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): extract Sass into small functions

github.com/userstyles-world/userstyles.world - c62bbf3d9e0e2f3cd0d4ac16a09f8de651b27e82 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): reformat argument parser

github.com/userstyles-world/userstyles.world - f27409b1a9fd0a412fe6a2e97439b3518b34263f authored over 2 years ago by vednoc <[email protected]>
refactor(tools): split logic from argument parsing

github.com/userstyles-world/userstyles.world - f32de9e9ac140abf860e544f50580c793ce23e44 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): make build command more flexible

We don't really need to hard-code `GOOS` here. I also decoupled assets
in preparation for chang...

github.com/userstyles-world/userstyles.world - 6dcbdd85c78bc50d941a6ddb704cefb70ee559b8 authored over 2 years ago by vednoc <[email protected]>
feat(tools): allow "chaining" commands

github.com/userstyles-world/userstyles.world - 961cf4db5e9b00e1740833f187a23ac997fe464e authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a `config` command

github.com/userstyles-world/userstyles.world - 068e022861820c4512e00634513e30248d4b2b70 authored over 2 years ago by vednoc <[email protected]>
feat(tools): implement a `watch` command

github.com/userstyles-world/userstyles.world - d31ba622b700e8a2dc195fa519e4c3a0af787189 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): remove dependency on notify-tools

Air already has exactly the same capabilities, and it's easier to
install once you have Go toolc...

github.com/userstyles-world/userstyles.world - 8a1036a2bfaf7fd5b1824791ba53571f85dd4f8a authored over 2 years ago by vednoc <[email protected]>
fix(images): remove color profile optimization

It was causing thumbnail images to be darker than they should be. Only
resizing the input image...

github.com/userstyles-world/userstyles.world - 28ea9e09b7fc37a8d07b9e9c40b856242fbe2acb authored over 2 years ago by vednoc <[email protected]>
fix(db): resolve bugs with migration for images

First, we set proper base URL that depends on the environment. Second,
we set a thumbnail image...

github.com/userstyles-world/userstyles.world - 236c74f370fc19907559693893d4e6f4131ff95e authored over 2 years ago by vednoc <[email protected]>
refactor(tools): remove most manual error handling

github.com/userstyles-world/userstyles.world - 4ff871d5a72f66b24ffa639508c709fe9c24b3f7 authored over 2 years ago by vednoc <[email protected]>
refactor(images): simplify repeating code

github.com/userstyles-world/userstyles.world - e7ef4747874beda4476871d06c043ea70b275bf5 authored over 2 years ago by vednoc <[email protected]>
fix(images): add error handling to IO reader

github.com/userstyles-world/userstyles.world - 94faf213217fc0b5b95d1a32021d146e29f540f7 authored over 2 years ago by vednoc <[email protected]>
fix(images): handle an error more gracefully

While this was fine during development, we don't want to stop running
the application if this fu...

github.com/userstyles-world/userstyles.world - 35e559a4f169a705358a5a09c01e6ad759dc978c authored over 2 years ago by vednoc <[email protected]>
refactor(tools): add variadic arguments in check

github.com/userstyles-world/userstyles.world - e948f6d056dab89240c6f27976224714e08dbe4e authored over 2 years ago by vednoc <[email protected]>
refactor(images): simplify decodeImage function

github.com/userstyles-world/userstyles.world - 9494340aac313712fbd92cfe6a3b2140b21aacb8 authored over 2 years ago by vednoc <[email protected]>
fix(images): show filename for file uploads

github.com/userstyles-world/userstyles.world - e42f305907e3ba7f77071c8bec053bb085d13bab authored over 2 years ago by vednoc <[email protected]>
refactor(tools): add more dependency checks

github.com/userstyles-world/userstyles.world - 1d7918a5ca892e938b36b6e176fd17212201c725 authored over 2 years ago by vednoc <[email protected]>
fix(tools): resolve a bug in installing `air`

github.com/userstyles-world/userstyles.world - 918897491df75a5c564a972c17814bde8b12917f authored over 2 years ago by vednoc <[email protected]>
refactor(tools): inline code for a bad command

github.com/userstyles-world/userstyles.world - 0a61a81d8bfc9bb89448cfcdcf952f97b5992b43 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): add date and time to logging

github.com/userstyles-world/userstyles.world - 0c207b0c74383d2903ba414ea1551217191549c5 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): revise log messages for options

github.com/userstyles-world/userstyles.world - 09c185b996d3bc4e85285f4e7ac76b9b20f0966b authored over 2 years ago by vednoc <[email protected]>
feat(tools): error out on missing arguments

github.com/userstyles-world/userstyles.world - 4c2989270bcd399e8f9f95a2302d3f1bc89fef03 authored over 2 years ago by vednoc <[email protected]>
refactor(config): de-duplicate source code link

github.com/userstyles-world/userstyles.world - 3bd73fcb3f300b326eee0e0d807f61f11bf6609c authored over 2 years ago by vednoc <[email protected]>
fix(config): simplify getting env variables

I wish I could go back in time and understand what was going through my
head when I wrote the or...

github.com/userstyles-world/userstyles.world - 19670cfe0dc4df2136209c4e42befb72a796a523 authored over 2 years ago by vednoc <[email protected]>
refactor(tools): simplify dependency checks

We can immediately stop the script, so that we don't have to add
explicit checks and/or `check c...

github.com/userstyles-world/userstyles.world - 256de7defe26d2d19e13705413253db0b993641f authored over 2 years ago by vednoc <[email protected]>
refactor(tools): simplify going to root project

It doesn't make sense to work around Git as a dependency, so we're going
to use a feature that a...

github.com/userstyles-world/userstyles.world - a0a788afc1152195e73289a5f2b5a8284fbaa115 authored over 2 years ago by vednoc <[email protected]>
fix(httputil): resolve a bug with environments

These functions have subtle differences... or so it seems.

github.com/userstyles-world/userstyles.world - 2e7851c0ac5066ec8c057985dcacf02b19ed18da authored over 2 years ago by vednoc <[email protected]>
refactor(config): allow custom BaseURL variable

One step closer to having a testing/staging area.

github.com/userstyles-world/userstyles.world - 24c7df4acb017ac3a180959077c30363e0764cec authored over 2 years ago by vednoc <[email protected]>
refactor(ui): improve styles for OAuth buttons

github.com/userstyles-world/userstyles.world - f4b91ae8220ebe8d0b7665f0a10b749e0f71622e authored over 2 years ago by vednoc <[email protected]>
refactor(ui): use borders instead shadows in cards

github.com/userstyles-world/userstyles.world - a5af5540173a5f35229b5fe288b39aad96146d4e authored over 2 years ago by vednoc <[email protected]>
refactor(css): adjust `bg-2` color in dark mode

github.com/userstyles-world/userstyles.world - 1f67b96ced9bd1720a3db51763b411f39216ed57 authored over 2 years ago by vednoc <[email protected]>
refactor(docs): split project and website files

The former is only needed on our Git forge of choice, and the latter
will be embedded into the b...

github.com/userstyles-world/userstyles.world - e65eda85034cb2014198fe9df18ef737fc280cc7 authored over 2 years ago by vednoc <[email protected]>
refactor(services): extract leftover packages

github.com/userstyles-world/userstyles.world - d0a2aa2ab98af34f4e3f3483bfb06fc00d2ed617 authored over 2 years ago by vednoc <[email protected]>
refactor(ui): remove hover effects from cards

We could add this back to the USw Tweaks userstyle.

github.com/userstyles-world/userstyles.world - 0c38a652b7db87499ca5ebd7191b9b56e5ac4150 authored over 2 years ago by vednoc <[email protected]>
refactor(ui): improve event styles for anchor tags

github.com/userstyles-world/userstyles.world - 59fe3d88d80da5eb44929c5508e802525f4b7f97 authored over 2 years ago by vednoc <[email protected]>
refactor(web): unify files in a shared directory

Due to the nature of how `go:embed` works, I've decided to move all
files related to front-end a...

github.com/userstyles-world/userstyles.world - 36d0ababeffb90f03d3b298832ead845c1714f10 authored over 2 years ago by vednoc <[email protected]>
fix(models): resolve a bug with getting user by ID

Thank you to @Gusted for finding this bug. The original commit that
introduced this is c785932b...

github.com/userstyles-world/userstyles.world - 5d9d1d3f656bc074d7da8e852b6b776480367db3 authored over 2 years ago by vednoc <[email protected]>
fix(ui): improve how we display thumbnail images

Thank you to @Gusted for the suggestion.

github.com/userstyles-world/userstyles.world - b97271b2488ed67d2113cb900376b0b2f0c7fa25 authored over 2 years ago by vednoc <[email protected]>
refactor(templates): deduplicate function

github.com/userstyles-world/userstyles.world - 020db36976e8a03d75d31cd3cadad7c287c89445 authored over 2 years ago by Gusted <[email protected]>
fix(search): also index rating

github.com/userstyles-world/userstyles.world - 0aa2cd65d3b622596c2c09afb58fb6c31594f051 authored over 2 years ago by Gusted <[email protected]>
refactor(images): avoid compiling expensive regexp

github.com/userstyles-world/userstyles.world - fe4fbe8f7bf9fe73c519d0b1c58dee75f1b3ad5a authored over 2 years ago by Gusted <[email protected]>
Refactor(templates): simplify floor func

github.com/userstyles-world/userstyles.world - 144b84108c5ed18220b6eb8053ce40bec5b25795 authored over 2 years ago by Gusted <[email protected]>
fix(styles): add UserCSS validation to edit page

I honestly don't know how we missed this. It resulted in some
userstyles not being able to be i...

github.com/userstyles-world/userstyles.world - 82169d58eb77c62355f9ce818be69369b382119d authored over 2 years ago by vednoc <[email protected]>
fix(docs): update invalid table of contents links

github.com/userstyles-world/userstyles.world - 970581cd4bd34da61efca6a4786c65140b5950c5 authored over 2 years ago by vednoc <[email protected]>
fix(styles): allow a hack-y way to remove image

github.com/userstyles-world/userstyles.world - 4c9b8de7eea0ffa2c3e86bc1f5e1d655d942a6fc authored over 2 years ago by vednoc <[email protected]>
feat(ui): use our 404 gopher for styles w/o images

github.com/userstyles-world/userstyles.world - bbf09a14979b8934dc13d3ef6969db0d47bdab19 authored over 2 years ago by vednoc <[email protected]>
fix(html): resolve incorrect import/mirror logic

Thank you to XDCeder for reporting this bug.

github.com/userstyles-world/userstyles.world - 7bb1868ba111b0c8251ecbd1c1cb2c9023cfbff2 authored over 2 years ago by vednoc <[email protected]>
fix(templates): tweak string-to-HTML conversion

github.com/userstyles-world/userstyles.world - 7661a5a88003772142e14c5529ad0b555ff3fdd1 authored over 2 years ago by vednoc <[email protected]>
feat(md): switch to a new Markdown parser

Thank you to Gotenks on Stylus' Discord for the reminder about issues
with lists in the old Mark...

github.com/userstyles-world/userstyles.world - b7c11b2bea57f96eca087fcb89a315f78dfdb85b authored over 2 years ago by vednoc <[email protected]>
fix(ui): tweak image width in Markdown areas

Thank you to tutah1 for reporting this issue.

github.com/userstyles-world/userstyles.world - 4a0088186faf4b46be2e0577fe9c4e82491462f7 authored over 2 years ago by vednoc <[email protected]>
feat(ui): add a link to user profile in the navbar

Thank you to tutah1 for suggesting this tweak.

github.com/userstyles-world/userstyles.world - cdf50a0500d34a45c2ed07494435c008e3e9b14b authored over 2 years ago by vednoc <[email protected]>
refactor(tools): automate image conversion script

This commit will re-purpose the old thumbnails script that I wrote for
v0 of USw, which was runn...

github.com/userstyles-world/userstyles.world - 797d4bf228051d8a7b44f3d0232069cae3df06b9 authored over 2 years ago by vednoc <[email protected]>
refactor(log): combine all loggers into one output

This will help greatly with debugging issues in the production.

github.com/userstyles-world/userstyles.world - e07423a573c1239b1c3f02d413c6c4e5fc8f66aa authored over 2 years ago by vednoc <[email protected]>
feat(search): add missing (re)indexing to handlers

Not sure why this wasn't added before, but it's here now.

github.com/userstyles-world/userstyles.world - 6c67d9c96c637b21bae18431652e49c4dbf301ce authored over 2 years ago by vednoc <[email protected]>
chore(db): migrate style previews to new schema

github.com/userstyles-world/userstyles.world - e35bd8f967f278be014dc3fd4b3a2b9515d24b00 authored over 2 years ago by vednoc <[email protected]>
refactor(images): revise code in Generate function

github.com/userstyles-world/userstyles.world - bb580051c2f77b0c5c004ef07535ea01f6d3d1d6 authored over 2 years ago by vednoc <[email protected]>
fix(styles): resolve incorrect/broken preview URLs

By doing this, we won't end up setting a broken preview URL in the
database, because that's the ...

github.com/userstyles-world/userstyles.world - 70b297119f8d78ef4da9ef0dfaad43b3a676b9d9 authored over 2 years ago by vednoc <[email protected]>
refactor(styles): move back to struct on edit page

Using a map, while powerful in and of itself, was more of a temporary
hack than a long-term solu...

github.com/userstyles-world/userstyles.world - abfc471f91c6689a054895bb3b4e3f13c9fcde6f authored over 2 years ago by vednoc <[email protected]>
chore(images): merge files for a leftover function

github.com/userstyles-world/userstyles.world - 2c86ccd3e9b71033771418d2fab85e0659e6900a authored over 2 years ago by vednoc <[email protected]>
feat(images): expand CheckVips for all binaries

github.com/userstyles-world/userstyles.world - 3cb094d044a7ce0b82447c0753cb91735728a1d0 authored over 2 years ago by vednoc <[email protected]>
feat(images): implement preview thumbnails

This will drastically cut down on the amount of bandwidth, as well as
improve the loading speed,...

github.com/userstyles-world/userstyles.world - 0e9160226ddc520e4a16111b428382c7e4328fd4 authored over 2 years ago by vednoc <[email protected]>
refactor(images): extract setting preview URL

github.com/userstyles-world/userstyles.world - 51d38c5d02045d93fe1f052887b70351a4941b68 authored over 2 years ago by vednoc <[email protected]>
fix(images): enable file upload on import page

I spent over half an hour debugging why the image wasn't being uploaded.
All for this single att...

github.com/userstyles-world/userstyles.world - b04502236cc374194da870ee382ce93c2cb6928c authored over 2 years ago by vednoc <[email protected]>
feat(images): improve caching of preview images

We might want to create a struct in order to skip over passing 5
arguments to the function, 1–2 ...

github.com/userstyles-world/userstyles.world - b6ef9fdb5306468130a103cbf6310f2b15cb6583 authored over 2 years ago by vednoc <[email protected]>
refactor(images): tidy up decodeImage function

github.com/userstyles-world/userstyles.world - 7ed4a2b42cfb5d579c8dd4390a3c9df1797bda20 authored over 2 years ago by vednoc <[email protected]>
refactor(images): simplify for Vips binary check

We don't need to check if Vips is available whenever we want to generate
an image. Therefore, w...

github.com/userstyles-world/userstyles.world - f925e5f1f2ed7fda67b1f3c945462b402a96d06a authored over 2 years ago by vednoc <[email protected]>
refactor(images): rewrite and simplify public API

github.com/userstyles-world/userstyles.world - 78f348a062089d2636d0a51ea4c3c635c71e8b93 authored over 2 years ago by vednoc <[email protected]>
feat(styles): add uploading images on import page

github.com/userstyles-world/userstyles.world - f9008d69aca1741382f85d8312c0e67c9976e9a2 authored over 2 years ago by vednoc <[email protected]>
refactor(config): use OS-independent path handling

This commit will also create all necessary sub-directories under data
directory, which is anothe...

github.com/userstyles-world/userstyles.world - cc83acac04bc8e6c9bf58f13b637249b77f284e2 authored over 2 years ago by vednoc <[email protected]>
fix(images): use correct value for external images

In before I convert all values like this and let the compiler do the
work... or write more tests...

github.com/userstyles-world/userstyles.world - 2a1ad5e20e1b84fd62ec93b297b3c28c06f33dd5 authored over 2 years ago by vednoc <[email protected]>
fix(api): revise code for preview images

Additionally, we don't seem to need it in the `StylePost` function.

github.com/userstyles-world/userstyles.world - 62790d0f41a1286b897230edeb82451d99c19d9a authored over 2 years ago by vednoc <[email protected]>
fix(images): remove artifacts from WebP images

Adding this flag seems to not only remove the artifacts, but also reduce
the image size even fur...

github.com/userstyles-world/userstyles.world - 0e7c80bf4ed2368e772fbbfc4b0afc49cadd5ae9 authored over 2 years ago by vednoc <[email protected]>
fix(api): prevent accessing users without styles

I'm not sure whether we should allow someone to scrape all users, so I
added a hack that checks ...

github.com/userstyles-world/userstyles.world - c785932ba7a1990ffd5e134b8a17596dea274c00 authored over 2 years ago by vednoc <[email protected]>