279 Commits

Author SHA1 Message Date
9a900bbece
PHPStan Level 5
Decreases the PHPStan level back down to 5. Level 6 was too verbose for my liking.
2024-09-17 02:18:23 -04:00
297937a2ea
Scribe API Documentation
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.
2024-09-17 01:41:00 -04:00
d70a38bf08
API Filters Clean-up
Generalized similar API filter methods and moved them into a FilterMethods trait. Rewrote ModFilter and UserFilter methods to use the general trait methods.
2024-09-17 01:38:28 -04:00
2199e34569
Mod Updated Column
Updating a ModVersion model now updates it's parent Mod's updated_at column.
2024-09-16 15:43:25 -04:00
c2d36e8b09
Simplifies Expression
Null not possible.
2024-09-15 23:46:02 -04:00
7909f629c6
Homepage Query Caching 2024-09-15 23:27:00 -04:00
e1b406f75e
Updates Deps 2024-09-15 23:06:21 -04:00
45a211b66d
Listing Query & Relationship Clean-up
Rebuilt the filtering queries and many of the mod-to-modVersion-to-sptVersion relationships.

Resolves #38
2024-09-15 23:05:38 -04:00
58e8adb730
Adds TODO for query. 2024-09-13 00:17:13 -04:00
d1b142c2ee
Reworked Mod Listing
Updates the mod listing components to be a little more friendly.
2024-09-13 00:08:00 -04:00
d9b7d6fcc8
Resolves Remaining Larastan Issues 2024-09-12 13:19:52 -04:00
bbb8fab1a1
Resolves Some Larastan Issues 2024-09-11 23:08:58 -04:00
bd2d38b4e4
Seeder Updaes
- 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
2024-09-11 23:07:45 -04:00
0dc21378ab
Workflow: Updates MySQL CI Port 2024-09-11 17:13:38 -04:00
1bce328db5
Workflow: Removes Port Map & Adds HealthCMD 2024-09-11 17:10:26 -04:00
945062d6f1
Workflow: Change MySQL Port 2024-09-11 17:00:28 -04:00
d4c62817f1
Workflow: Change Port & Dump HealthCMD 2024-09-11 16:57:12 -04:00
711650fa34
Workflow: Updates test mysql connection information 2024-09-11 16:49:41 -04:00
001039b6fc
Workflow: Updated MySQL Package Name 2024-09-11 16:48:08 -04:00
30f7d60cc4
Workflow: Use Latest Ubuntu
Also, apt update before install.
2024-09-11 16:43:53 -04:00
c7114df136
Workflow: Remove Sudo Call 2024-09-11 16:41:02 -04:00
290db63093
Workflow: Install MySQL Client 2024-09-11 16:40:05 -04:00
1c25b3edde
Workflow: Test MySQL Connection Step 2024-09-11 16:37:08 -04:00
df01366697
Possible Gitea Action Fix
Changes MySQL host to `mysql`.
2024-09-11 16:01:07 -04:00
aaf8ee4249
Chaperone
Add chaperone calls to all of the relationships that support it.
2024-09-11 15:09:38 -04:00
bf5593ae72 Merge pull request 'display seeder progress' (#51) from waffle.lord/forge:impl/seeder-progress into develop
Reviewed-on: SPT/forge#51
2024-09-11 18:48:01 +00:00
1e7b150bb9 Merge branch 'develop' into impl/seeder-progress 2024-09-11 18:47:30 +00:00
fb757fcdcb Merge pull request 'update list stats' (#50) from waffle.lord/forge:update-mod-list-stats into develop
Reviewed-on: SPT/forge#50
2024-09-11 18:41:40 +00:00
1874dab621 display seeder progress 2024-09-11 14:41:31 -04:00
0190e0431d Merge remote-tracking branch 'upstream/develop' into update-mod-list-stats 2024-09-11 14:38:32 -04:00
2932e48c7f Merge pull request 'add link to sections' (#49) from waffle.lord/forge:fix/view-all-filtering into develop
Reviewed-on: SPT/forge#49
2024-09-11 18:29:24 +00:00
cc2cc71c26 Merge branch 'develop' into fix/view-all-filtering 2024-09-11 18:25:48 +00:00
b5516d3a7e update list stats 2024-09-11 14:20:39 -04:00
8211731c32 remove clear filters call 2024-09-10 09:20:53 -04:00
ed2091fb23 remove session properties 2024-09-10 09:10:16 -04:00
75ebc827dc
Carbon dynamicFormat macro
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
2024-09-09 23:14:30 -04:00
fe68d6eb1b Merge pull request 'Improve Mod Card' (#41) from waffle.lord/forge:improve-mod-card into develop
Reviewed-on: SPT/forge#41
2024-09-10 01:32:37 +00:00
d772b9d31e Merge branch 'develop' into improve-mod-card 2024-09-10 01:31:57 +00:00
0a271ff03e add link to sections 2024-09-09 16:20:54 -04:00
cb1fb7c90e
Updates deps 2024-09-08 22:51:26 -04:00
164a649cd4
Removes old SPT versions from search results
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
2024-09-08 22:06:52 -04:00
ffd5117028
Renames $availableSptVersions to $activeSptVersions in Mod Listing 2024-09-08 22:00:26 -04:00
552ecf3ac2
Removed mention of Github Discussions
We moved to Gitea and there's no discussions implementation. Discord #website-general FTW!

Resovles #47
2024-09-08 19:05:20 -04:00
9d3dd60207 Merge pull request 'Update README.md with correct wiki URLs' (#46) from Schrader/forge:bugfix/readme-links into develop
Reviewed-on: SPT/forge#46
2024-09-06 12:08:02 +00:00
Schrader
1ce5c86751 Update README.md with correct wiki URLs 2024-09-06 13:51:10 +02:00
4490cd4de1 make versionScope truely optional
and add checks for null
2024-09-03 14:42:50 -04:00
424a329688
Merge branch 'develop' 2024-08-31 11:52:41 -04:00
48c4d5b44d
Back to Frankenphp!
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
```
2024-08-31 11:41:25 -04:00
8175c853ae
Updates Deps 2024-08-31 11:10:25 -04:00
16e3a67efd
Query Optimization
- 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.
2024-08-31 01:19:22 -04:00