64 Commits

Author SHA1 Message Date
874bd38f5a
Fixes rollback issue
Fixes an issue when refreshing or rolling back a database migration. The incorrect table was specified in the down method.
2025-01-28 22:52:40 -05:00
d4d0a1495a
User About Markdown Formatting 2024-10-12 13:09:42 -06:00
80f3da13b9
Optimize User Follow Components
Much better, still not perfect. The mobile and the desktop components are being rendered twice, and each of their methods are running twice as well. Going to see if I can modify the structure to get away with only using one.
2024-10-05 14:09:22 -04:00
8b71dc2c02
Fixes Tests 2024-10-01 00:50:38 -04:00
746fed1746
OAuth Management
Adds a edit-user-profile section to allow a user to remove an OAuth connection from their account when they have a local account password set.
2024-09-27 20:41:36 -04:00
46550b5d8f
OAuth Account Password Creation
This allows a user that was created via OAuth to set a local password on their account.
2024-09-27 16:51:13 -04:00
88aa9b1ad8
Discord OAuth
Creates the base structure for Discord OAuth.
2024-09-26 16:55:44 -04:00
4e33dd9ec5
Updates About Field Default
Updates the about column to have a default of an empty string. Curse you, MySQL!
2024-09-24 00:46:44 -04:00
7c4753d38e
Simplifies user_follows Table Columns
The column and FK can be defined together using the `foreignId` method.
2024-09-17 15:26:30 -04:00
743ed27bd0 Merge remote-tracking branch 'upstream/develop' into user-profile-info 2024-09-16 09:38:30 -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
cdaddbb44f Merge remote-tracking branch 'upstream/develop' into user-profile-info 2024-09-12 09:12:41 -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
2179da3c4d Merge remote-tracking branch 'upstream/develop' into user-profile-info 2024-09-11 14:52:24 -04:00
1874dab621 display seeder progress 2024-09-11 14:41:31 -04:00
f16b3fe497 pint and some mod data changes 2024-09-11 14:15:13 -04:00
5d152f0c51 add about to user objects 2024-09-10 13:31:14 -04:00
73cb9a9ccf Merge remote-tracking branch 'upstream/develop' into user-profile-info 2024-08-31 15:17:26 -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
6c86d6b370 Merge remote-tracking branch 'upstream/develop' into user-profile-info 2024-08-30 10:36:41 -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
a7cd60a164 add user follows 2024-08-28 16:59:28 -04:00
71a336ecab collect progress when needed 2024-08-28 14:03:33 -04:00
dbcbbc4d14 cleanup seeder 2024-08-28 13:07:00 -04:00
681ef3ac91 add full progress to seeder 2024-08-28 13:00:23 -04:00
0e010252f9 add some basic logging to database seeding 2024-08-26 12:39:19 -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
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
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
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
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
5fe0541593 move disabled property 2024-07-31 14:51:50 -04:00
d4c6675155 make publish_at nullable 2024-07-26 10:53:37 -04:00
7ee542856d add published_at 2024-07-26 09:34:57 -04:00
74f61df875
Adds Mod Version Dependency System
Pretty nifty, but it still needs a few things before merge. Factory & front-end work, at least.
2024-07-26 02:19:42 -04:00
9b081aef47 randomize mod version dates 2024-07-23 09:27:36 -04:00
33ad76849e
Redis Sessions
Back to Redis sessions. Speed, baby, YEAH!
2024-07-05 17:52:23 -04:00
a927f10941
Import Multiple Mod Authors
The import script has been updated to pull in additional mod authors from the hub.
2024-07-05 14:35:00 -04:00
c1a58e29dd
Multiple Mod Authors
The mod-to-user relationship has been modified to be a many-to-many relationship. Mods can now have multiple authors, and an author can have multiple mods.
2024-07-04 22:10:48 -04:00
a1504fe622
Global Search Structure
Reconfigured the global search to include more than one model. Refactored the search front-end to work inline instead of inside a model/popup.
2024-07-03 17:47:02 -04:00
aae4a7e7ea
Adjusts migration constraints 2024-06-27 00:13:12 -04:00
27361b6128
Moves tables indexes into initial table migrations
We can do this kind of crap until launch
2024-06-27 00:05:14 -04:00
96e87680a8
Ensures Test User
Change ensures that an administrator of test@example.com/password is always created when seeding the database.
2024-06-23 10:01:51 -04:00
5ee07f7498
Removes Cache & Job Database Tables 2024-06-20 22:06:53 -04:00
a0b0dd0841
Removes Team User Column & Refreshes Users Migration
Fuck it, we're in development.
2024-06-20 12:12:34 -04:00
121d26d5e4
Updates Seeder Format 2024-06-20 12:11:49 -04:00
5e1c05f49d
Sync Admin Roles
Roles (or "ranks" as they're called on the hub) are now being pulled down into the local database.
2024-06-18 00:41:12 -04:00