Installs Scribe for (mostly) automatic API documentation. Does a pretty good job and it's pretty painless to set-up. I'll have to configure it to work in the CI and to ensure that the static files are being pushed to production as they should be, but this is a good start.
Generalized similar API filter methods and moved them into a FilterMethods trait. Rewrote ModFilter and UserFilter methods to use the general trait methods.
- Commented out the follower seeding function as it's not yet merged.
- SPT Versions are now being generated through the ModVersionFactory.
- After initial data has been generated, jobs are called to get the site to a 'ready' state.
- Clears cache
Adds a dynamicFormat macro/method on the Carbon facade to handle the logic of conditionally formatting the dates based on the difference to the current time.
Logic pulled from #48 (Thanks Waffle!)
Issue #45
The global search results are now limited to mods tagged with the last three minor SPT versions, like the mod listing filters.
I'm not 100% sure about this change. Open to suggestions and revisiting this in the future.
Resolves#26
Bug fix is in and we're back to the races!
This change requires:
1. You to update your .env file to:
`OCTANE_SERVER=frankenphp`
2. An already build sail container to be rebuilt:
```
docker compose down -v
sail build --no-cache
sail up -d
```
- Download counts were taking too long to calculate dynamically, so we're keeping track of a total count with observers and queued job.
- Optimized the SQL used to order a mod listing by mod version update times.