257 Commits

Author SHA1 Message Date
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
09771d233a
Mod Filter Page - SPT Versions
Updated the mod filter page to only show SPT versions that have been tagged by mod versions.
2024-08-30 23:13:46 -04:00
4b3d04ff54
Mod Filter - Redirect To Last Page
If the page you're on doesn't have any results, then redirect to the last page that does.
2024-08-29 16:45:11 -04:00
1783a683ed
Semvar & Automatic Resolution - Remix
- Updated the SptVersion and ModVersion dependancies to resolve *all* compatible versions and introduced new relationships to pull just the latest compatible version. Had to rewrite a *bunch*, but it should be much more capable now. It can be expensive to resolve these properties when iterated over, so *make sure they're eager loaded using the `with` method when you're building the queries*.
- Updated the mod listing Livewire component to save the filter options within the PHP session instead of in browser local storage. *Much* cleaner.
- Removed caching from homepage queries to see how they preform on production. Will add back later.
- Updated ModVersion factory to create SptVersions if there are none specified.
- Probably lots of other changes too... I need to make smaller commits. :(
2024-08-29 15:46:10 -04:00
da706636a8
Dep Updates 2024-08-22 17:10:44 -04:00
db578071e4
SPT Semvar & Automatic Resolution
This update gives mod versions a supported SPT version field that accepts a semantic version. The latest supported SPT version will be automatically resolved based on the semvar.

Next up: I need to update the ModVersion to SptVersion relationship to be a many-to-many and expand the resolution to resolve multiple versions.
2024-08-22 17:04:07 -04:00
d1bfdf5424
Merge branch 'mod-listing-page' into develop 2024-08-16 00:15:02 -04:00
e3d1e74901
Featured Ribbon
Adds a featured ribbon to featured mods so that they can be visually distinct within the listing.
2024-08-16 00:11:47 -04:00
189275fb0c
Saves Filters to Local Storage
The filters on the mod listing page are now also saved to the browser's local storage system. This means you can set a bunch of filters and a sort order, browse away (or close the browser), and the next time you visit the page the site will remember the filters that you had set.
2024-08-15 23:45:17 -04:00
41714f337f
Filter Count
A count of the number of filters currently applied is now displayed.
2024-08-15 23:05:48 -04:00
6b889d1d01
Container Background
Adds a page container background, like the homepage.
2024-08-15 22:52:32 -04:00
7fe1fad01b
Mod Listing Page Changes
- Updated visual look of the listing to include all filters at the top of the page
- Updated SPT version filter to be able to filter more than one version at a time (defaults to current minor version)
- Moved location of Livewire components into subfolder
- Moved query building methods for the listing into a `ModFilter` class
- Adds a `isLatestMinor` method on the SptVersion model that checks if the current version number is of the latest minor version release
- Livewire filter properties are now saved to the URL when changed
- Updated the top navigation link to include a "Mods" menu item.

TODO:
- Search codebase for "TODO". I've left notes. :|
2024-08-15 17:57:35 -04:00
411514148b Merge pull request 'setup mod index page' (#20) from waffle.lord/forge:impl/mod-listing-page into mod-listing-page
Reviewed-on: SPT/forge#20
2024-08-13 13:50:41 +00:00
cc8accfb5a handle mobile and light theme 2024-08-12 14:42:28 -04:00
cc3cdddce3 display filtered spt version 2024-08-12 11:20:03 -04:00
5dade5dfcf update mod card 2024-08-10 14:18:56 -04:00
651979ccea Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-10 14:15:11 -04:00
a679cec98d wire up spt version filter
this isn't working correctly from what I can tell, but it's a start.
2024-08-10 14:04:00 -04:00
45506f4808
Merge branch 'develop' 2024-08-09 23:23:44 -04:00
d511d0c546
Version Scope Null Check
Checks for the existence of a version scope on the homepage mods lists.
2024-08-09 23:23:17 -04:00
1e8a55fdcd
Merge branch 'develop' 2024-08-09 23:13:52 -04:00
3d5697e04b
Mod Teaser Updates
- Updates the import script to import the full mod teaser text, up to 255 characters.
- Updates mod detail page to show teaser in the main detail card.
- Updates mod listing component to show the first 100 characters of the teaser.
- Adjusts padding on the mod listing component.

Resolves #22
2024-08-09 15:22:42 -04:00
593b44150c
Resolves Mod Detail Page Version Issue
The latest version on the mod detail page was being selected by created date instead of highest version number. This has been resolved. Also adds a test for this issue.
2024-08-09 12:35:46 -04:00