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

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]>
docs(faq): revise grammar and update contact info

github.com/userstyles-world/userstyles.world - 22a9d6aeac866d520591b10667d5aa90bc8587b9 authored over 2 years ago by vednoc <[email protected]>
fix(cache): use proper time for static files

Although it doesn't really matter here, 3600_000_000_000 != 3600. :eyes:

CC @Gusted

github.com/userstyles-world/userstyles.world - 0b45075b0d24b8f953d6b10711d00a152dcc5d35 authored over 2 years ago by vednoc <[email protected]>
feat(ui): improve styles for links on profile page

github.com/userstyles-world/userstyles.world - c57ee3c340da74243e3521d605660ba10ffd463e authored over 2 years ago by vednoc <[email protected]>
refactor(ui): simplify logic for rendering reviews

github.com/userstyles-world/userstyles.world - 20490b74b877c9db8f83f0251fa46a973bfa14eb authored over 2 years ago by vednoc <[email protected]>
refactor(ui): simplify image variables

github.com/userstyles-world/userstyles.world - 27adce41a678dd595c0dd3e80f702fcd843151d5 authored over 2 years ago by vednoc <[email protected]>
refactor(ui): simplify rating scores

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

More optimized, albeit I haven't had a chance to write/run a benchmark
to see the actual differe...

github.com/userstyles-world/userstyles.world - 7b5a44c53696735f0b6d7b71d75ed0d5f2e02cb6 authored over 2 years ago by vednoc <[email protected]>
refactor(ui): improve cards when linking styles

github.com/userstyles-world/userstyles.world - b7d56764638441f74002d6375d42cae752f96b03 authored over 2 years ago by vednoc <[email protected]>
refactor(reviews): simplify setting rating colors

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

github.com/userstyles-world/userstyles.world - 68dc0f844bdc14f9975eb335a952ee3a41f5d59a authored over 2 years ago by vednoc <[email protected]>
refactor(ui): replace relative with absolute IDs

This is going to be a lot simpler and less prone to errors.

github.com/userstyles-world/userstyles.world - dd143206d0ad01b61a46ea0a381171d810007a38 authored over 2 years ago by vednoc <[email protected]>
refactor(httputil): simplify logic and comments

github.com/userstyles-world/userstyles.world - 39362110c2d4ea4f668228b31161e96acb7af916 authored over 2 years ago by vednoc <[email protected]>
feat(ui): add an icon for styles without an image

We'll likely re-purpose our Gopher illustration in error template.

github.com/userstyles-world/userstyles.world - 3e629c03003e58d0f9117305a37596a1ba9daad2 authored over 2 years ago by vednoc <[email protected]>
feat(httputil): port EmbedFS and add tests for it

github.com/userstyles-world/userstyles.world - 91d1e9a209639c3ddd14f8841d85d92ef335e278 authored over 2 years ago by vednoc <[email protected]>
fix(cron): use correct time for sitemap generation

The `* */2 * * *` runs at every minute of every second hour, meanwhile
`30 */2 * * *` runs at ev...

github.com/userstyles-world/userstyles.world - ab1f026a63f0e7ceb56829177afdcee0f363a86e authored over 2 years ago by vednoc <[email protected]>
refactor(style): remove unused template variable

github.com/userstyles-world/userstyles.world - ab1ae8cd020911ae0f44a88d5380d0729d232477 authored over 2 years ago by vednoc <[email protected]>
feat(httputil): port SubFS and add a test for it

github.com/userstyles-world/userstyles.world - 3ddcf63d2dd3e3a5e331849f33d06ca52e7031ac authored over 2 years ago by vednoc <[email protected]>
feat(docs): add contributing file (#118)

github.com/userstyles-world/userstyles.world - f72eda782ff5c69f40a9c843a7698b682e400ffb authored over 2 years ago by Gusted <[email protected]>
feat(html): improve accessibility of inputs (#117)

- Converted current pagination item into a link
- Improved screen reader accessibility
- Used ...

github.com/userstyles-world/userstyles.world - 88237c5c924a17c813f296ccec45ae3110fa94c2 authored over 2 years ago by mxdanger <[email protected]>
refactor(proxy): Unify codepath + better loopback check

github.com/userstyles-world/userstyles.world - 270830366d1c9312e665991d7d7a9154e6959ea4 authored over 2 years ago by Gusted <[email protected]>
feat(images): allow gist.githubusercontent.com

- Resolves #115

github.com/userstyles-world/userstyles.world - a0dd827dae9b04fcd5fc252b78621a626031bb64 authored over 2 years ago by Gusted <[email protected]>
chore(deps): Update deps

github.com/userstyles-world/userstyles.world - 3b80c1fbea0f980e31383044ff24697cecf22916 authored over 2 years ago by Gusted <[email protected]>
refactor(ts): tidy up page/ directory

github.com/userstyles-world/userstyles.world - 79228aeb6dc5af41707058600227d9b90d91d3a6 authored almost 3 years ago by Gusted <[email protected]>
ts(refactor): remove unneeded code

github.com/userstyles-world/userstyles.world - ac188ac8587cf2ba6a5d294ca5f38dbe83342b82 authored almost 3 years ago by Gusted <[email protected]>
ts(refactor): remove fallback

github.com/userstyles-world/userstyles.world - 4dd2628becd52066a13fddde432c66151b8356c7 authored almost 3 years ago by Gusted <[email protected]>
ts(refactor): remove unneeded code/inline function

github.com/userstyles-world/userstyles.world - f3e3f62f93a293c216bc24e2dc0118ee7359682c authored almost 3 years ago by Gusted <[email protected]>
ts(refactor): use newer clipboard web API

github.com/userstyles-world/userstyles.world - 2d0819ae5d09915b899ecf15b9645ba1bfc3091d authored almost 3 years ago by Gusted <[email protected]>
ts(refactor): remove dead-code

github.com/userstyles-world/userstyles.world - 719e7271d0be2e21e85cf8619df92275b1da8eb5 authored almost 3 years ago by Gusted <[email protected]>
ts(code-style): start functions with lower-letter.

github.com/userstyles-world/userstyles.world - 5b854321ad5c424a41fd3202de0bba0824f9d846 authored almost 3 years ago by Gusted <[email protected]>
ts(run): Use efficient blocking code

github.com/userstyles-world/userstyles.world - 8b152a55035a7f785dbb1bc307a744d10f2a06f1 authored almost 3 years ago by Gusted <[email protected]>
ts(dep): Update devDependencies

github.com/userstyles-world/userstyles.world - 1299a016218ce7be7942445fb4dc1188d9d93e49 authored almost 3 years ago by Gusted <[email protected]>
all: gofmt -w -r 'interface{} -> any' ./

github.com/userstyles-world/userstyles.world - bd374a8598872f50c1e080df2072909cba87685f authored almost 3 years ago by Gusted <[email protected]>
Fix workflow's go version

github.com/userstyles-world/userstyles.world - 539578c95c27561624cbcd94a765d3da5960d56a authored almost 3 years ago by Gusted <[email protected]>
refactor(html): hide review button to authors

github.com/userstyles-world/userstyles.world - cb315d4f5853047b8eb4aa87696c92c0a506f8a4 authored almost 3 years ago by vednoc <[email protected]>
fix(db): resolve a bug in database query

Looks like a newer version of GORM requires an embedded `struct` when
joining tables. A sub quer...

github.com/userstyles-world/userstyles.world - 85b44193fa26661748dd0f5f9fa45c10f5fae548 authored almost 3 years ago by vednoc <[email protected]>
refactor(db): migrate stats to the correct schema

github.com/userstyles-world/userstyles.world - 46d2235bef1f84e62c1cfa588adc3de74088c876 authored almost 3 years ago by vednoc <[email protected]>
Replace `UnsafeClone` with std library `strings.Clone`

github.com/userstyles-world/userstyles.world - 922dee895889a37b29896caab13a35168ecc07cd authored almost 3 years ago by Gusted <[email protected]>
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /typescript (#111)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](h...

github.com/userstyles-world/userstyles.world - 45981e620add56798c243dfcaa22fb9b3aedcf96 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
refactor(all): gofumpt the code

github.com/userstyles-world/userstyles.world - f49bba4c78f9ca58ec1d4e94a295c42700183f0d authored almost 3 years ago by Gusted <[email protected]>
Avoid usage of deprecated packages

github.com/userstyles-world/userstyles.world - 3c7cf6d55b07b88156cfbe1e9db43ed4a6f2679c authored almost 3 years ago by Gusted <[email protected]>
chore: Update dependencies

github.com/userstyles-world/userstyles.world - be8ae3819de5bc98bf3c98629773f54ebb201a9a authored almost 3 years ago by Gusted <[email protected]>
fix(reviews): Remove "Add your review" for author

- Don't show the "Add your review" button when you're viewing your own style.

github.com/userstyles-world/userstyles.world - 2e1efbf548573f68a76f1910f9e2d440266353fe authored almost 3 years ago by Gusted <[email protected]>
fix(style): cannot review own style

- Make sure that a author cannot review it's own style.
- Only show GET /styles/review/:id for a...

github.com/userstyles-world/userstyles.world - b3c3cfb3864079b861533211a3ac91a50e32f330 authored almost 3 years ago by Gusted <[email protected]>
fix(css): include colors for ratings with decimals

While we could truncate decimals, this is a much faster way to reach the
same end result. Maybe...

github.com/userstyles-world/userstyles.world - b02023216604c4eda699aba77569f2267603868e authored almost 3 years ago by vednoc <[email protected]>
fix(html): improve the regex for account links

Fixes #110

github.com/userstyles-world/userstyles.world - 6fb7d999a954a365f3147043f20e591cb38c4539 authored almost 3 years ago by vednoc <[email protected]>
fix(db): get proper data for statistics filter

Thanks to Michael and Decembre for reporting this issue.

Fixes #109

github.com/userstyles-world/userstyles.world - d692094a5820770ba401e0024d9de1e5080b6317 authored almost 3 years ago by vednoc <[email protected]>
fix(db): improve handling data on edit style page

GORM skips initial values for struct fields, so using a map is required
in order to update nil v...

github.com/userstyles-world/userstyles.world - b8c783275b4ed6f87bbacaa20fbb0b2b045f9d46 authored almost 3 years ago by vednoc <[email protected]>
fix(api): adjust style ratings for Stylus' search

Stylus' ratings are on a scale of 1 to 3, and our ratings are on a scale
of 1 to 5. To account ...

github.com/userstyles-world/userstyles.world - 227def23e5f0d5ff141d0f6718a519e4ece42b24 authored almost 3 years ago by vednoc <[email protected]>
docs(faq): document style ratings in Stylus

github.com/userstyles-world/userstyles.world - c436f526e83c6980e353f8742d4ad857efe2f118 authored almost 3 years ago by vednoc <[email protected]>
refactor(handlers): restructure router endpoints

There's plenty of work to do here, so that our endpoints are much more
consistent. This is a de...

github.com/userstyles-world/userstyles.world - 31d6691312e2167d9fedb044564e5eabbb5d654d authored almost 3 years ago by vednoc <[email protected]>
refactor(httputil): extract ProxyHeader function

github.com/userstyles-world/userstyles.world - c42e481dfd27db4dc6da41dc1ffd73d826305aae authored almost 3 years ago by vednoc <[email protected]>
feat(build): speed up the compilation speed

It's down from 80 to 60 seconds on my workstation, which is 25% faster.
Next step would be to re...

github.com/userstyles-world/userstyles.world - f7b7a919f92d8e75710b5fb8ecb1a7b0bea62726 authored almost 3 years ago by vednoc <[email protected]>
fix(db): include ratings in featured style cards

github.com/userstyles-world/userstyles.world - 97054abc46a33c582b9e4029881dad215980c87e authored almost 3 years ago by vednoc <[email protected]>
fix(api): evict from LRU cache when using Stylus

I may have forgotten to add this use-case in the previous commit:
2111313cd5993516eb5bfcf5fcf6aa...

github.com/userstyles-world/userstyles.world - efb82923c37c0db20d26da5f3bf573f0b4f817d1 authored almost 3 years ago by vednoc <[email protected]>
fix(emails): only allow to request email every 5 minutes

- Prevent that a user can request multiple password resets.

github.com/userstyles-world/userstyles.world - 51b0faa5065e90272845787beaae46a0b2a1187e authored almost 3 years ago by Gusted <[email protected]>
fix(styles): pass correct type

- Apparently `.Type()` parses the first argument and expects to be a extension time which would ...

github.com/userstyles-world/userstyles.world - f6cbe8721238b6f0b79b0ab4a4615e1ac4503da2 authored almost 3 years ago by Gusted <[email protected]>
fix(styles): force utf-8 encoding on raw files

- Potentially resolves #107

github.com/userstyles-world/userstyles.world - 0b29e865268b7c8568d48b861407cd3d3bebeb2a authored almost 3 years ago by Gusted <[email protected]>
fix(api): only allow numbers as styleID

github.com/userstyles-world/userstyles.world - 47068381b3e5eaf3d193c889e75aa9610462f9a1 authored almost 3 years ago by Gusted <[email protected]>
fix(dashboard): don't pass struct with mutex

- Avoid copying a mutex(go doesn't like that and nor do I)

github.com/userstyles-world/userstyles.world - 34ad42c832be23907bf91d34ff73f072e68316ec authored almost 3 years ago by Gusted <[email protected]>
test(errors): fix views location

github.com/userstyles-world/userstyles.world - d3d6f07205ff0ef9a6d5c5e899b9ffdc5530d329 authored almost 3 years ago by Gusted <[email protected]>
security(proxy): sanitize path files & disallow local requests

- Fixes a security issue whereby local files could be read(In production it was not found to be ...

github.com/userstyles-world/userstyles.world - ccbccfe77e490549a4991b2e4c44031cb47b8ceb authored almost 3 years ago by Gusted <[email protected]>
feat(dashboard): speed up getting history from DB

We probably don't need to see the full history, so 3 months should do it
for now. Even that see...

github.com/userstyles-world/userstyles.world - 200042210c9f5a256df6ecf9cd318aa2005430b7 authored almost 3 years ago by vednoc <[email protected]>
refactor(dashboard): simplify system statistics

github.com/userstyles-world/userstyles.world - f41b02f56430a32edb71f426de12019d7c67777a authored almost 3 years ago by vednoc <[email protected]>
fix(db): exclude counting deleted/removed ratings

While we don't have many of these for now, it's likely going to become a
problem at some point i...

github.com/userstyles-world/userstyles.world - e0a930eae0c5228bc2bb815fb7275114a539c6a4 authored almost 3 years ago by vednoc <[email protected]>
fix(cache): evict updated styles from LRU cache

github.com/userstyles-world/userstyles.world - 2111313cd5993516eb5bfcf5fcf6aaf38f845be0 authored almost 3 years ago by vednoc <[email protected]>
feat(ui): add ratings to userstyle cards

github.com/userstyles-world/userstyles.world - c05e05d92f3285c7b5d4bc4cd77f3ae0a32edeab authored almost 3 years ago by vednoc <[email protected]>
feat(api): add userstyle ratings to index endpoint

To be used in Stylus. We'll probably add them to other index endpoint
at a later date.

github.com/userstyles-world/userstyles.world - 137d31d7d98238bf9c522345ed26a80885005d99 authored almost 3 years ago by vednoc <[email protected]>
feat(db): speed up sorting by views and installs

This query now takes a fraction of what it used to take (roughly 10% or
less!) while trading off...

github.com/userstyles-world/userstyles.world - ca139c3277795f60d2fd6b01a4945e701420433a authored almost 3 years ago by vednoc <[email protected]>
refactor(models): extract sorting to pagination

github.com/userstyles-world/userstyles.world - 71b56ba7f9c65a0590c01854dbbf50fdbd8aeb13 authored almost 3 years ago by vednoc <[email protected]>
fix(templates): reverse day and month for ISO date

Well... I did it again!

github.com/userstyles-world/userstyles.world - fa77c9e6864e3921bfae83f634a524eb8f66bc5c authored almost 3 years ago by vednoc <[email protected]>
fix(modlog): reference the new ID schema in mails

github.com/userstyles-world/userstyles.world - 3d531b9323a08e65cf0ce869571cd6472226577d authored almost 3 years ago by vednoc <[email protected]>
fix(updater): resolve a panic caused by importing

I forgot to add `return` to stop going further with setting userstyle
metadata in case the impor...

github.com/userstyles-world/userstyles.world - 6e9953a9c0305e0324f570d2e00ed68ce950ac6e authored almost 3 years ago by vednoc <[email protected]>
fix(dashboard): add error checking everywhere

I *think* this might be enough to prevent panics during high server
load. We'll have to see onc...

github.com/userstyles-world/userstyles.world - a8d8b02b113be8baf3a29fb38c56b4d05977e665 authored almost 3 years ago by vednoc <[email protected]>
feat(ui): add more pages to pagination

github.com/userstyles-world/userstyles.world - 354a61728bb15f9ff169ce7f2534d25978492e04 authored almost 3 years ago by vednoc <[email protected]>
feat(build): embed files using `go:embed` package

Simple, single-binary deployments — here we come!

github.com/userstyles-world/userstyles.world - 2835c1a53dd0e1814e65c386853b9b86820824b1 authored almost 3 years ago by vednoc <[email protected]>
fix(build): strip prefix from files in production

This way, `http.FS` and `http.Dir` should behave the same way. Without
`fs.Sub`, we would have ...

github.com/userstyles-world/userstyles.world - 1cae3bb1d19f1a083dd3a4dfc873e0d9d1401f23 authored almost 3 years ago by vednoc <[email protected]>
feat(ui): add average GC stats in system navbar

github.com/userstyles-world/userstyles.world - 89d94479c6472976e4775d199f701185b6eed067 authored almost 3 years ago by vednoc <[email protected]>
refactor(templates): simplify subtract function

github.com/userstyles-world/userstyles.world - 1caab200fd4e77970bdd438cc6f3a3d2aa164273 authored almost 3 years ago by vednoc <[email protected]>
refactor(handlers): simplify proxyHeader returns

github.com/userstyles-world/userstyles.world - fadc8de99f7391fc80481bbe503597400f433447 authored almost 3 years ago by vednoc <[email protected]>
feat(api): speed up `index/uso-format` endpoint

github.com/userstyles-world/userstyles.world - 4b732ed7eae1acefeea1447bc39ade79c08a756f authored almost 3 years ago by vednoc <[email protected]>
feat(ui): proxy images on profile page

github.com/userstyles-world/userstyles.world - 4b15d43f55cc435fd27c490c469ab3282039d950 authored almost 3 years ago by vednoc <[email protected]>
refactor(templates): simplify some functions

It seems that we don't need to use `template.HTML` type everywhere. If
the output renders HTML,...

github.com/userstyles-world/userstyles.world - 1ff1d1403b40926b790978e6b7b7369460e6c5e3 authored almost 3 years ago by vednoc <[email protected]>
fix(html): truncate long description in meta tags

github.com/userstyles-world/userstyles.world - ce01c627435c15dbb558ed50639479805b3faa88 authored almost 3 years ago by vednoc <[email protected]>
feat(modlog): improve entries and make them links

github.com/userstyles-world/userstyles.world - b9d962d2514075ebe97360c2ef13eaf1e276807c authored almost 3 years ago by vednoc <[email protected]>
fix(modlog): move sticky headers over spoilers

github.com/userstyles-world/userstyles.world - bf0be0f5bacd04565f13b0df72118766dab92189 authored almost 3 years ago by vednoc <[email protected]>
feat(ui): improve SEO of most used page titles

github.com/userstyles-world/userstyles.world - cb23199ff2ce591fb42d270d6c39b613a48e4476 authored almost 3 years ago by vednoc <[email protected]>
feat(ui): improve date formatting

github.com/userstyles-world/userstyles.world - c1f635d7343aff1a2152004eaa1b389f506b7df8 authored almost 3 years ago by vednoc <[email protected]>
feat: reduce open goroutines from bleve

github.com/userstyles-world/userstyles.world - 3a510bd6bb8718f532689c60d5713117c3db9668 authored almost 3 years ago by Gusted <[email protected]>
refactor: remove debug line

github.com/userstyles-world/userstyles.world - 929fe66aa2ca080a9b57e6f5a4bd0878cbf4d2d9 authored almost 3 years ago by Gusted <[email protected]>
chore: update non-critical dependencies

github.com/userstyles-world/userstyles.world - a7f378c73da4b53e904adac20e506039f0b744d4 authored almost 3 years ago by Gusted <[email protected]>
refactor: correct indentation

github.com/userstyles-world/userstyles.world - 18d1b8737fdde7677403eb8b46a04b7b9bace74a authored almost 3 years ago by Gusted <[email protected]>
fix: handle nill pointer on Styles

And add a log warn when we aren't able to get the featured styles.

github.com/userstyles-world/userstyles.world - a42ba21c2a821f16109e92ae0d8846a755dfb03d authored almost 3 years ago by Gusted <[email protected]>
feat(templates): re-order new style

- Move it to be the first item.
- Resolves #102

github.com/userstyles-world/userstyles.world - b70d545a1cbb5c92ca20f442f59de5d955600408 authored almost 3 years ago by Gusted <[email protected]>
refactor: remove deadcode

github.com/userstyles-world/userstyles.world - 8202e268d0f91b93a18fc233c07038a85f8a0ccd authored about 3 years ago by Gusted <[email protected]>
chore(deps): update algorithms-go

- Update to newer function to include `lru.Remove` function.

As requested by @vednoc

github.com/userstyles-world/userstyles.world - 5c2ba37e804a17a9d8b130f5106150a9f0aa6875 authored about 3 years ago by Gusted <[email protected]>
fix(search): switch to proper types for card stats

The StyleCard struct is using int64 for stats. We might change that in
the future. For now, th...

github.com/userstyles-world/userstyles.world - f878b6928ad1bc8c476d315ae8e86d04b7a2b39f authored about 3 years ago by vednoc <[email protected]>
fix(styles): resolve a server crash from histories

Failing to get data from the database would result in a panic, because
Go would try to dereferen...

github.com/userstyles-world/userstyles.world - e82a84d054f51830d56c4e80a781e2c92fd7971f authored about 3 years ago by vednoc <[email protected]>
feat(cmd): update 'help' command with new info

github.com/userstyles-world/bot - 79359f930707857772e4edc27410236dcf315e1b authored about 3 years ago by vednoc <[email protected]>
feat(status): redo where embed messages are sent

github.com/userstyles-world/bot - 03b85f2d3b8c699daa1af39ec63e47bb51a0eb8f authored about 3 years ago by vednoc <[email protected]>