Commit Graph

14122 Commits

Author SHA1 Message Date
Oha-you e65e23e547 refactor: Prettier config, move options to global scope 2026-03-23 09:24:03 +03:00
Oha-you 3775699ce3 remove: Renamed user_tag Blade template from Prettier ignore 2026-03-23 06:29:19 +03:00
Oha-you 6bc0e08aed fix: Donation views, change type=number to inputmode=numeric, add required 2026-03-23 02:46:56 +03:00
Roardom d274132f35 Merge pull request #5350 from Oha-you/mdbook-fixes
(Update) mdBook documentation template to v0.5.2
2026-03-22 22:55:56 +00:00
Roardom 558bcf4f37 Merge pull request #5348 from Oha-you/donation-fixes-7
(Add) Pending donations counter to Staff Dashboard
2026-03-22 22:15:57 +00:00
Roardom 0abcee2efa Merge pull request #5342 from Oha-you/donation-fixes-1
(Fix) Change donation dates to timestamps, prevent time loss
2026-03-22 22:11:49 +00:00
Oha-you 55b6b1de7d fix: Change donation dates to timestamps, update statuses hourly 2026-03-23 00:52:10 +03:00
Oha-you 7c0815f795 add: Return previously added custom mdBook themes 2026-03-22 03:05:56 +03:00
Oha-you 28e3267d95 update: default mdBook index.hbs template from v0.5.2 2026-03-22 03:02:20 +03:00
Oha-you 8096e7cb06 fix: mdBook config for documentation, support v0.5.2 2026-03-22 02:36:18 +03:00
Oha-you 177d2826a0 add: Pending donations counter to Staff Dashboard 2026-03-21 22:18:51 +03:00
Oha-you 0ef81dfc0d fix: Donation Staff views, remove hardcoded currency, make consistent 2026-03-21 22:09:19 +03:00
Oha-you 7574500ab0 fix: Donation modal, replace hardcoded $, fix grammar and letter case 2026-03-21 21:58:37 +03:00
Roardom 685f09c76e Merge pull request #5340 from Roardom/person-homepage-length-limit
(Fix) Don't store person homepages longer than 255 chars
2026-03-20 01:39:22 +00:00
Roardom 83f9b7e633 Merge pull request #5336 from Roardom/lazy-loading-home
(Update) Lazy load avatars on home page
2026-03-20 01:36:37 +00:00
Roardom 1580d2e1df fix: don't store person homepages longer than 255 chars
The table is limited to 255 chars.
2026-03-20 01:23:55 +00:00
Roardom 178e9e8816 update: lazy load avatars on home page
Post avatars and top user avatars. Reduces the amount of HTTP requests.
2026-03-18 21:09:33 +00:00
Roardom 4d387b2cff Merge pull request #5330 from Roardom/bearer-apikey
(Security) Require passing apikeys as a bearer token
2026-03-18 04:45:50 +00:00
Roardom cc11efd981 Merge pull request #5329 from Roardom/fix-soft-deletion-inconsistency
(Fix) DB::table() and soft deletion inconsistency
2026-03-18 04:44:49 +00:00
Roardom 9aac192e36 Merge pull request #5326 from Roardom/remove-unused-chatbox-format-message-method
(Remove) Unused chatbox message format method
2026-03-18 04:43:41 +00:00
Roardom 2df3241fde Merge pull request #5324 from Roardom/fix-chatbox-message-validation
(Fix) Chatbox receiver_id message validation
2026-03-18 04:43:23 +00:00
Roardom 68e92b2032 Merge pull request #5322 from Roardom/slower-quick-search
(Update) Increase quick search debounce period
2026-03-18 04:43:00 +00:00
Roardom 18fc6c8566 Merge pull request #5321 from Roardom/optimize-file-tree
(Update) Optimize file-tree display
2026-03-18 04:42:47 +00:00
Roardom be2dc06bd5 Merge pull request #5320 from Roardom/outside-fl
(Update) Don't cache personal fl and tokens outside of announce
2026-03-18 04:42:25 +00:00
Roardom 958a6b593f Merge pull request #5319 from Roardom/fix-also-downloaded-works-total
(Fix) Totals not selected on also downloaded works component
2026-03-18 04:41:59 +00:00
Roardom b21e61f2b1 remove: announce url from torrent upload page
The user has to redownload the .torrent anyways because we change the hash, so no need for them to populate the torrent with the announce url ahead of time.
2026-03-17 01:52:23 +00:00
HDVinnie 2ee1dda263 Merge pull request #5332 from HDInnovations/deps
(Remove) Unused ajv + postcss deps
2026-03-14 20:38:13 -04:00
HDVinnie 230cc02a26 remove: unused ajv + postcss deps 2026-03-14 19:59:23 -04:00
HDVinnie c4b5943f4b Merge pull request #5331 from HDInnovations/vite
(Update) Vite 8 and optimize build performance
2026-03-14 19:57:12 -04:00
HDVinnie fa854f093a update: Vite 8 and optimize build performance
- Upgrade Vite from v7 to v8 (Rolldown/Oxc bundler)
- Replace sass with sass-embedded
- Enable modern-compiler Sass API for parallel SCSS processing
- Remove unused Laravel Mix dependencies (laravel-mix-purgecss, resolve-url-loader, sass-loader, cross-env)

Build time reduced from ~20s to ~4s locally
2026-03-13 19:43:31 -04:00
Roardom dd5865bbff security: require passing apikeys as a bearer token
Reduces chance of the apikey being logged via query string, and the user unknowingly posting the logs to GitHub for support of 3rd party software. 95% of api requests already use the bearer token, but let's enforce it server side to be safe.
2026-03-12 08:31:32 +00:00
Roardom 0e9ba12def fix: DB::table() and soft deletion inconsistency
These DB::table() instances are relics from when sites were using soft deletion before UNIT3D had full support for it. Fix the inconsistencies by using `->withoutGlobalScope()` and `->withTrashed()` while maintaining the previous intended logic. fixes #5116.
2026-03-12 08:02:28 +00:00
Roardom 670857e532 remove: unused chatbox message format method 2026-03-11 11:40:21 +00:00
Roardom f6917de1cc fix: chatbox receiver_id message validation
Messages to a chatroom should not be possible to set a receiver_id. It's not used anywhere now, but in the past it must have been possible as there are few records in an older database. Unfortunately, mysql doesn't allow adding check constraint to a column that has referential actions, otherwise I would have added a check constraint for (chatroom_id IS NULL XOR receiver_id IS NULL).
2026-03-11 11:24:40 +00:00
Roardom eefd6898a5 Merge pull request #5325 from Roardom/system-user-id
(Fix) Use system user id constant in chatbox
2026-03-11 11:14:36 +00:00
Roardom 3873a5385a Merge pull request #5323 from Roardom/simplify-chatbox-send-message-load
(Refactor) Simplify eager loads when sending chatbox message
2026-03-11 11:13:46 +00:00
Roardom 4e3f605ecf fix: use system user id constant in chatbox 2026-03-11 09:35:21 +00:00
Roardom 7710f0a3ac refactor: simplify eager loads when sending chatbox message 2026-03-11 07:55:11 +00:00
Roardom 6e98e38923 update: increase quick search debounce period
It's nice that a lower debounce period feels more instant, but it still triggers the rate limit too often. I tried to find an acceptable tradeoff.
2026-03-11 06:39:13 +00:00
Roardom c492302b9a Merge pull request #5314 from Roardom/fix-chatbox-audibles
(Fix) Erroneous logic around playing chatbox audibles
2026-03-11 03:08:35 +00:00
Roardom 44aaaed635 update: optimize file-tree display
Reduces html quanity on discs with 10s of thousands of files (35MB -> 27MB). Should be optimized more properly in the future, but this is low-lying fruit.
2026-03-10 23:30:25 +00:00
Roardom b45b15773b update: don't cache personal fl and tokens outside of announce
That way if you're using an external announce, the cache doesn't have irrelevant data.
2026-03-10 22:33:45 +00:00
Roardom 115abdde97 fix: totals not selected on also downloaded works component 2026-03-10 22:25:51 +00:00
Roardom 9d5088d811 Merge pull request #5313 from Roardom/fix-home-n-1
(Fix) Eager load featured torrents on home page
2026-03-10 22:21:41 +00:00
Roardom caf6aa2a1f Merge pull request #5312 from Roardom/fix-audible-status
(Fix) Audible status using wrong property name
2026-03-10 22:21:26 +00:00
Roardom 9462ffaf5d Merge pull request #5311 from Roardom/personal-fl-cache
(Fix) Clearing app cache clears personal freeleeches
2026-03-10 22:21:02 +00:00
Roardom 16e51e2542 Merge pull request #5316 from Roardom/improve-bon-allocation
(Update) Improve performance of bon allocation query
2026-03-10 22:17:10 +00:00
Roardom 057664ec9b Merge pull request #5318 from Roardom/fix-echoes-relationship
(Remove) Unused echoes property from ChatUserResource
2026-03-10 22:16:17 +00:00
Roardom 38cf311675 remove: unused echoes property from ChatUserResource
It missed the previous rename to chatConversations, but it's not used anyways, so let's remove it instead of fixing the relationship.
2026-03-10 09:59:34 +00:00
Roardom 41e10c806b Merge pull request #5317 from Roardom/fix-cors
(Security) Fix cors on api routes
2026-03-10 04:47:03 +00:00