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
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]>github.com/userstyles-world/userstyles.world - 22a9d6aeac866d520591b10667d5aa90bc8587b9 authored over 2 years ago by vednoc <[email protected]>
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]>github.com/userstyles-world/userstyles.world - c57ee3c340da74243e3521d605660ba10ffd463e authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 20490b74b877c9db8f83f0251fa46a973bfa14eb authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 27adce41a678dd595c0dd3e80f702fcd843151d5 authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - ff5575433e7d27f0291cc84652ea11ec0951e6ad authored over 2 years ago by vednoc <[email protected]>
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 - b7d56764638441f74002d6375d42cae752f96b03 authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - f5bee110a447762bc5a3d112cacaceadcc5e4013 authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 68dc0f844bdc14f9975eb335a952ee3a41f5d59a authored over 2 years ago by vednoc <[email protected]>
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]>github.com/userstyles-world/userstyles.world - 39362110c2d4ea4f668228b31161e96acb7af916 authored over 2 years ago by vednoc <[email protected]>
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]>github.com/userstyles-world/userstyles.world - 91d1e9a209639c3ddd14f8841d85d92ef335e278 authored over 2 years ago by vednoc <[email protected]>
The `* */2 * * *` runs at every minute of every second hour, meanwhile
`30 */2 * * *` runs at ev...
github.com/userstyles-world/userstyles.world - ab1ae8cd020911ae0f44a88d5380d0729d232477 authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 3ddcf63d2dd3e3a5e331849f33d06ca52e7031ac authored over 2 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - f72eda782ff5c69f40a9c843a7698b682e400ffb authored over 2 years ago by Gusted <[email protected]>
- Converted current pagination item into a link
- Improved screen reader accessibility
- Used ...
github.com/userstyles-world/userstyles.world - 270830366d1c9312e665991d7d7a9154e6959ea4 authored over 2 years ago by Gusted <[email protected]>
- Resolves #115
github.com/userstyles-world/userstyles.world - a0dd827dae9b04fcd5fc252b78621a626031bb64 authored over 2 years ago by Gusted <[email protected]>github.com/userstyles-world/userstyles.world - 3b80c1fbea0f980e31383044ff24697cecf22916 authored over 2 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 79228aeb6dc5af41707058600227d9b90d91d3a6 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - ac188ac8587cf2ba6a5d294ca5f38dbe83342b82 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 4dd2628becd52066a13fddde432c66151b8356c7 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - f3e3f62f93a293c216bc24e2dc0118ee7359682c authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 2d0819ae5d09915b899ecf15b9645ba1bfc3091d authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 719e7271d0be2e21e85cf8619df92275b1da8eb5 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 5b854321ad5c424a41fd3202de0bba0824f9d846 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 8b152a55035a7f785dbb1bc307a744d10f2a06f1 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 1299a016218ce7be7942445fb4dc1188d9d93e49 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - bd374a8598872f50c1e080df2072909cba87685f authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 539578c95c27561624cbcd94a765d3da5960d56a authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - cb315d4f5853047b8eb4aa87696c92c0a506f8a4 authored almost 3 years ago by vednoc <[email protected]>
Looks like a newer version of GORM requires an embedded `struct` when
joining tables. A sub quer...
github.com/userstyles-world/userstyles.world - 46d2235bef1f84e62c1cfa588adc3de74088c876 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 922dee895889a37b29896caab13a35168ecc07cd authored almost 3 years ago by Gusted <[email protected]>
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](h...
github.com/userstyles-world/userstyles.world - f49bba4c78f9ca58ec1d4e94a295c42700183f0d authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 3c7cf6d55b07b88156cfbe1e9db43ed4a6f2679c authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - be8ae3819de5bc98bf3c98629773f54ebb201a9a authored almost 3 years ago by Gusted <[email protected]>
- 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]>
- Make sure that a author cannot review it's own style.
- Only show GET /styles/review/:id for a...
While we could truncate decimals, this is a much faster way to reach the
same end result. Maybe...
Fixes #110
github.com/userstyles-world/userstyles.world - 6fb7d999a954a365f3147043f20e591cb38c4539 authored almost 3 years ago by vednoc <[email protected]>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]>
GORM skips initial values for struct fields, so using a map is required
in order to update nil v...
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 - c436f526e83c6980e353f8742d4ad857efe2f118 authored almost 3 years ago by vednoc <[email protected]>
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 - c42e481dfd27db4dc6da41dc1ffd73d826305aae authored almost 3 years ago by vednoc <[email protected]>
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 - 97054abc46a33c582b9e4029881dad215980c87e authored almost 3 years ago by vednoc <[email protected]>
I may have forgotten to add this use-case in the previous commit:
2111313cd5993516eb5bfcf5fcf6aa...
- 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]>- 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]>- Potentially resolves #107
github.com/userstyles-world/userstyles.world - 0b29e865268b7c8568d48b861407cd3d3bebeb2a authored almost 3 years ago by Gusted <[email protected]>github.com/userstyles-world/userstyles.world - 47068381b3e5eaf3d193c889e75aa9610462f9a1 authored almost 3 years ago by Gusted <[email protected]>
- 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]>github.com/userstyles-world/userstyles.world - d3d6f07205ff0ef9a6d5c5e899b9ffdc5530d329 authored almost 3 years ago by Gusted <[email protected]>
- 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]>
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 - f41b02f56430a32edb71f426de12019d7c67777a authored almost 3 years ago by vednoc <[email protected]>
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 - 2111313cd5993516eb5bfcf5fcf6aaf38f845be0 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - c05e05d92f3285c7b5d4bc4cd77f3ae0a32edeab authored almost 3 years ago by vednoc <[email protected]>
To be used in Stylus. We'll probably add them to other index endpoint
at a later date.
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 - 71b56ba7f9c65a0590c01854dbbf50fdbd8aeb13 authored almost 3 years ago by vednoc <[email protected]>
Well... I did it again!
github.com/userstyles-world/userstyles.world - fa77c9e6864e3921bfae83f634a524eb8f66bc5c authored almost 3 years ago by vednoc <[email protected]>github.com/userstyles-world/userstyles.world - 3d531b9323a08e65cf0ce869571cd6472226577d authored almost 3 years ago by vednoc <[email protected]>
I forgot to add `return` to stop going further with setting userstyle
metadata in case the impor...
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 - 354a61728bb15f9ff169ce7f2534d25978492e04 authored almost 3 years ago by vednoc <[email protected]>
Simple, single-binary deployments — here we come!
github.com/userstyles-world/userstyles.world - 2835c1a53dd0e1814e65c386853b9b86820824b1 authored almost 3 years ago by vednoc <[email protected]>
This way, `http.FS` and `http.Dir` should behave the same way. Without
`fs.Sub`, we would have ...
github.com/userstyles-world/userstyles.world - 89d94479c6472976e4775d199f701185b6eed067 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 1caab200fd4e77970bdd438cc6f3a3d2aa164273 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - fadc8de99f7391fc80481bbe503597400f433447 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 4b732ed7eae1acefeea1447bc39ade79c08a756f authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 4b15d43f55cc435fd27c490c469ab3282039d950 authored almost 3 years ago by vednoc <[email protected]>
It seems that we don't need to use `template.HTML` type everywhere. If
the output renders HTML,...
github.com/userstyles-world/userstyles.world - ce01c627435c15dbb558ed50639479805b3faa88 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - b9d962d2514075ebe97360c2ef13eaf1e276807c authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - bf0be0f5bacd04565f13b0df72118766dab92189 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - cb23199ff2ce591fb42d270d6c39b613a48e4476 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - c1f635d7343aff1a2152004eaa1b389f506b7df8 authored almost 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/userstyles.world - 3a510bd6bb8718f532689c60d5713117c3db9668 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 929fe66aa2ca080a9b57e6f5a4bd0878cbf4d2d9 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - a7f378c73da4b53e904adac20e506039f0b744d4 authored almost 3 years ago by Gusted <[email protected]>
github.com/userstyles-world/userstyles.world - 18d1b8737fdde7677403eb8b46a04b7b9bace74a authored almost 3 years ago by Gusted <[email protected]>
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]>
- Move it to be the first item.
- Resolves #102
github.com/userstyles-world/userstyles.world - 8202e268d0f91b93a18fc233c07038a85f8a0ccd authored about 3 years ago by Gusted <[email protected]>
- 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]>
The StyleCard struct is using int64 for stats. We might change that in
the future. For now, th...
Failing to get data from the database would result in a panic, because
Go would try to dereferen...
github.com/userstyles-world/bot - 79359f930707857772e4edc27410236dcf315e1b authored about 3 years ago by vednoc <[email protected]>
github.com/userstyles-world/bot - 03b85f2d3b8c699daa1af39ec63e47bb51a0eb8f authored about 3 years ago by vednoc <[email protected]>