366 Commits

Author SHA1 Message Date
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
5c02d237e3 add featured section filter 2024-08-09 11:45:53 -04:00
f3cedfbb0f update mod card 2024-08-09 11:31:11 -04:00
c1e73dc73b Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-09 11:31:00 -04:00
9244d48713 wire up search and section filters 2024-08-09 11:21:46 -04:00
7acdee1b6c switch to using livewire 2024-08-09 10:15:05 -04:00
713ea7e076
Download Number Macro
Adds a `Number:downloads()` macro to format the number of downloads depending on how many there are. Example: 1259000 is converted into 1.25M, 125900 is converted into 125.9K.

Updated the views to use this macro. Also included a title tag with the exact number so they can be viewed on hover.
2024-08-09 00:35:18 -04:00
3aefae4bb8
Resolves Mod Dependancy Display Error
Fixes a display error when a mod dependancy is created, but can not be resolved into an actual available version.
2024-08-09 00:11:32 -04:00
40884ae1c4
Mobile Download Button Location
Moves the mobile download button to above the tabs.

Resolves #23
2024-08-08 23:54:43 -04:00
d247b8cbe6
Resolves CSS Link/Container Issue
This resolves an issue with the mod cards where the anchor tag was larger than the containing div on smaller breakpoints.

Resolves #21
2024-08-08 23:46:24 -04:00
0978aa14b9
Adds Social Links
Social links to our Discord server and our Subreddit have been added to the footer.

Resolves #30
2024-08-08 23:19:23 -04:00
ecc2d1ca1a
Mod Detail Page Main Card
Cleans up the main card on the mod detail page to make the SPT version more in-sync with the rest of the site.

Resolves #28
2024-08-08 23:02:48 -04:00
23a9cabf99
Implements API Sorting
You can now sort mod and user data by whitelisted attributes.
2024-08-08 18:18:05 -04:00
3a334033fe
API Updates
Brings the API in close sync to the rest of the site.
- Adds resources for License, UserRole, and ModVersion models
- Adds filtering on attribute data
- The `includes` data is now disabled by default and available conditionally
2024-08-08 16:11:50 -04:00
1d174ab8b3 layout WIP 2024-08-08 15:50:50 -04:00
65e416e4d9
Merge branch 'user-profiles' into develop 2024-08-08 14:01:29 -04:00
0ed25fec03
User API Updates
Adds user profile links to the user API resource.
Fixes structure of relationship data and link sections.
Adds parameter to include related user data when requesting mod data.
2024-08-07 23:30:09 -04:00
c2f1eed35c
Adds link to profile in user navigation. 2024-08-07 17:04:02 -04:00
35cd00e39d
Adds Cover Photo Field
Adds the cover photo field to the Jetstream edit profile form.
2024-08-07 16:23:55 -04:00
b868b5a75c setup mod index pagination 2024-08-07 14:33:11 -04:00
aa61c63bd1 create mod card component 2024-08-07 14:32:37 -04:00
a05b5499de revert mod.index on list section
I have no idea how this was changed, but it breaks stuff
2024-08-05 10:10:00 -04:00
632799cb44 Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-05 09:31:20 -04:00
55273e5a90
Hub Imports of User Avatars and Cover Photos
TODO: Cover photos need to be added to the profile page so users can edit them.
2024-08-03 17:36:33 -04:00
11453db596
Model Comments, Yay! 2024-08-03 17:36:33 -04:00
0e3d32c4d5
Start of Profile Page
Profile photo is linked up, cover photo is not. Both profile and cover photos need to be migrated over from the hub. That's next.
2024-08-03 17:34:41 -04:00
115f81fe96
Basic structure to load user profile view 2024-08-03 17:34:41 -04:00
2680e21325
Import Script - Temp Table Charset/Collation
Sets the charset to `utf8mb4` and the collation to `utf8mb4_0900_ai_ci` when the temporary tables are created in the import script. Prevents conversion errors when the MySQL defaults are not set to match the expected charset and collation.
2024-08-03 12:06:01 -04:00
5d6dcd4a2c setup mod index page 2024-08-02 12:23:05 -04:00
c6fcca6063
Merge branch 'mod-dependencies' into develop 2024-08-01 17:20:54 -04:00
b46dbf58b7
Updates Deps 2024-08-01 17:16:28 -04:00
c6f252ace7
Mod Version Dependency Updates
- Handles circular mod version dependencies
- Optimizes mod show query to only pull the versions relationship
- Adds a mod dependency factory
- Refactored tests to use mod dependency factory
- Adds mod dependency generation into the default seeder
- Adds unique index on mod dependencies table
- Adds mod dependencies on the mod show view
2024-08-01 17:15:02 -04:00
20e1ab2dae
Import Script, Published Date
Updates the import script to ignore any scopes on the Mod and ModVersion models when making inserts. Adds the `published_at` field.
2024-08-01 17:03:03 -04:00
02957f75c1
Merge branch 'mod-publish-dates' into mod-dependencies 2024-07-31 20:31:00 -04:00
0776ee426f
Adds published_at Data to Factories 2024-07-31 20:30:50 -04:00
f94204e978
Mod Publish Dates (#17) 2024-07-31 19:53:09 -04:00
203626d043 run pint? 2024-07-31 15:14:22 -04:00
5fe0541593 move disabled property 2024-07-31 14:51:50 -04:00
a1ae15fb67 check all mods, use refresh db 2024-07-31 14:40:19 -04:00
82a466eb58 update scope and tests
to not include null published at fields
2024-07-31 14:06:56 -04:00
fe280faf36 add test 2024-07-26 10:53:47 -04:00
d4c6675155 make publish_at nullable 2024-07-26 10:53:37 -04:00