Commit Graph

729 Commits

Author SHA1 Message Date
Roardom
9efc2d3c5c add: playlist categories 2025-04-01 09:54:31 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
a447269552 refactor: use moderation status enum and cast
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom
1af1862229 fix: store user-uploaded files in private directories
Filenames were randomized for a few of these to prevent public access, but it's still much better to put user-uploaded files behind auth.
2025-02-24 16:03:01 +00:00
HDVinnie
6080308758 Merge pull request #4485 from Roardom/tinyint-bool
(Fix) Migrate boolean columns to tinyint(1)
2025-02-20 18:05:21 -05:00
Roardom
58ff976f12 update: hide 'flush ghost peers' button when external tracker is enabled
The button doesn't do anything anyways for the external trackers. Users have to just wait it out.
2025-02-19 06:32:41 +00:00
Roardom
b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
Roardom
dc8ba9530e fix: updating bon earning with no conditions 2025-02-02 11:44:39 +00:00
HDVinnie
22ee788343 Merge pull request #4450 from Roardom/fix-bon-earning-dashboard
(Fix) Various staff dashboard issues with new bon system
2025-01-28 12:01:11 -05:00
HDVinnie
d2452f478f Merge pull request #4447 from Roardom/spellcheck
(Add) Spell check ci
2025-01-28 12:00:43 -05:00
Roardom
604b7e1937 add: spell check ci
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
Roardom
1c5b3c5c26 fix: storing bon earnings without conditions 2025-01-24 09:32:57 +00:00
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
Roardom
d922562f86 update: make bonus point allocation more customizable 2025-01-16 21:40:25 +00:00
HDVinnie
455ba75337 Merge pull request #4380 from Roardom/group-permissions
(Add) Edit forum permissions when creating/editing group
2024-12-16 19:52:22 -05:00
Roardom
1e342d98fe add: edit forum permissions when creating/editing group 2024-12-16 11:04:27 +00:00
HDVinnie
193c280358 fix: eager loading regression from #2908
- category was duplicated awhile back in https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/2908
2024-12-03 23:03:48 -05:00
HDVinnie
192b5ed15d chore: remove unused imports that pint is missing 2024-12-01 20:52:32 -05:00
HDVinnie
a56c0cf73d (Add) New torrent moderator group (#4351)
* add: new torrent moderator group

- this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions
2024-11-26 20:17:49 -05:00
Roardom
18b3735085 add: log unregistered torrents 2024-11-13 09:56:43 +00:00
HDVinnie
8eb1e64cc1 Merge pull request #4300 from Roardom/ansi-db
(Refactor) Use ANSI-compatible syntax for raw database queries
2024-11-03 21:15:37 -05:00
Roardom
0e4bcb570d refactor: use ANSI-compatible syntax for raw database queries 2024-11-02 04:26:49 +00:00
HDVinnie
98b7bad411 add: donation package soft deletes
- fixes #4277
2024-10-31 23:09:35 -04:00
HDVinnie
ea448effa6 add: editors to audit stats 2024-10-21 15:54:41 -04:00
HDVinnie
c8662e0348 Merge pull request #4249 from Roardom/bot-bool-active 2024-10-20 09:54:30 -04:00
Roardom
e4ac5caa30 fix: use bool for bot active instead of int
Also update docblocks. Related: #4085.
2024-10-20 10:26:00 +00:00
Roardom
69d1bb47c1 fix: use bool for rss is_private instead of int 2024-10-20 10:14:28 +00:00
Roardom
ff5e30295a add: staff-configurable events with daily prizes 2024-10-15 08:20:13 +00:00
HDVinnie
2b94479b22 update: report notification blip
- exclude snoozed reports.
2024-10-10 20:21:18 -04:00
HDVinnie
9eec2794ba update: donation controller 2024-10-06 17:18:38 -04:00
HDVinnie
0e58d810f3 update: donation charts
- @json is deprecated
- move colors to css variables
- cleanup query
- cleanup JS
2024-10-03 21:43:22 -04:00
HDVinnie
6f3a2a6c17 add: daily + monthly donations charts 2024-10-03 20:52:25 -04:00
Roardom
3878bb85d7 update: add indexes to audits to speed up staff activity counts
Speeds up the queries from 1.1 s to 75 ms.
2024-09-27 07:39:25 +00:00
HDVinnie
f629f8d3f0 update: donation controller 2024-09-15 19:04:51 -04:00
HDVinnie
9c61d724b6 update: donation system 2024-09-14 23:05:13 -04:00
HDVinnie
f37067a4a8 update: DonationController.php 2024-09-14 10:55:23 -04:00
HDVinnie
428bf63910 add: base donation system 2024-09-12 13:03:38 -04:00
Roardom
f51bfab180 add: option to snooze reports 2024-09-03 01:36:07 +00:00
Roardom
b36639db54 update: make reports searchable, filterable and sortable 2024-09-02 22:34:11 +00:00
Roardom
9ab8ba18e5 refactor: reduce usage of numeric strings 2024-08-26 10:14:52 +00:00
HDVinnie
ea83b46d09 Merge pull request #4054 from Roardom/eloquent-relations
(Refactor) Use eloquent relations directly
2024-08-18 01:17:23 -04:00
Roardom
a0299daa16 refactor: use eloquent relations directly 2024-08-18 03:26:41 +00:00
HDVinnie
ec32982755 Merge pull request #4063 from Roardom/password-reset-history
(Add) Password reset history logging
2024-08-17 12:02:11 -04:00
Roardom
5f28892153 add: password reset history logging 2024-08-17 15:05:47 +00:00
Roardom
7af1a9963c refactor: don't call ->toDateTimeString() on carbon instances
Eloquent already does this for us automatically by calling __toString() on Carbon instances with the default format being the same as the mysql timestamp format.
2024-08-17 09:20:08 +00:00
HDVinnie
784e783af7 update: AuditController 2024-08-15 15:52:18 -04:00
HDVinnie
66b82e6ae1 add: staff audit activity 2024-08-13 20:57:06 -04:00
Roardom
ee55abcd3b refactor: use relational upserts
New feature added to laravel 11.18-11.19 that results in cleaner code.
2024-08-10 09:43:58 +00:00
HDVinnie
0b23f629af Merge pull request #4031 from Roardom/fix-larastan-relations 2024-08-09 23:07:04 -04:00
Roardom
64a60089d9 refactor: treat sprintf as native function
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00