Commit Graph

493 Commits

Author SHA1 Message Date
Jay Sizzla
160bb26c8b Add perks to the groups requirements view 2024-03-21 16:27:41 +01:00
HDVinnie
25eab6891e add: #3639
- closes #3639
2024-03-20 09:03:28 -04:00
HDVinnie
93b17f0419 chore: license 2024-03-19 17:56:44 -04:00
HDVinnie
084f87bf9d Merge pull request #3602 from Roardom/cleanup-thank
(Refactor) Clean up thank button
2024-03-03 14:03:43 -05:00
HDVinnie
f9117f30d1 Merge pull request #3601 from Roardom/cleanup-topic-labels
(Refactor) Cleanup topic label controller
2024-03-03 14:03:24 -05:00
Roardom
6a71b87f08 refactor: clean up thank button 2024-03-03 14:54:32 +00:00
Roardom
276f5bbb92 refactor: cleanup topic label controller 2024-03-03 14:38:56 +00:00
Roardom
89b09a593d refactor: clean up poll options a bit 2024-03-03 13:42:01 +00:00
HDVinnie
f279908c9b Merge pull request #3551 from Roardom/normalize-gifts 2024-03-02 10:09:51 -05:00
Roardom
f2dbdd324c fix: whitelisted image url domain matching
Use wildcards on the full url instead of just the hostname.
2024-02-28 22:54:47 +00:00
Roardom
98c32a38f3 update: remove request bon transactions
This data is already stored in the requests and bounty tables. At this point, the name and comment fields are duplicates of each other and don't need to both be kept.
2024-02-26 09:33:33 +00:00
Roardom
a37f414145 update: normalize post tips and torrent tips 2024-02-26 09:33:32 +00:00
Roardom
537ad1e831 refactor: normalize user gifts 2024-02-26 09:33:08 +00:00
Roardom
829101f093 add: bbcode image domain whitelist 2024-02-26 09:11:59 +00:00
Roardom
6e5b3d9e3b refactor: use scope for forum authorization 2024-02-25 10:23:56 +00:00
Roardom
4311507870 refactor: rename permissions to forum_permissions 2024-02-25 06:21:41 +00:00
HDVinnie
4918799072 Merge pull request #3567 from Roardom/many-internals
(Update) Allow users to be part of multiple internal groups
2024-02-23 21:02:02 -05:00
Roardom
c3c95c2d41 update: allow users to be part of multiple internal groups 2024-02-23 23:57:12 +00:00
Roardom
18675b57f1 update: sync peer counts asynchronously
Makes announce processing job code easier to deal with. There is negligible performance loss (<5%) by querying the peer count realtime on the torrents and torrent pages.
2024-02-23 10:30:29 +00:00
HDVinnie
da560b81f6 fix: app/Models/TopicRead.php 2024-02-18 23:15:44 -05:00
HDVinnie
e9b472558a Merge pull request #3525 from Roardom/add-forum-reads
(Update) Keep track of current post being read in a forum topic
2024-02-13 21:46:03 -05:00
HDVinnie
c63545a9a3 Merge pull request #3524 from Roardom/move-subscriber-notification-logic
(Refactor) Forum notification triggers
2024-02-13 21:45:49 -05:00
Roardom
45abd69c9d update: keep track of current post being read in a forum topic 2024-02-14 01:07:49 +00:00
Roardom
7490a7a39e refactor: forum notification triggers 2024-02-13 22:50:57 +00:00
Roardom
5277c08855 update: audit log exclusions
Sorts them alphabetically. Adds `num_torrent`. Removes Auditble trait from Bans, since they're only created and never updated/deleted.
2024-02-13 08:01:54 +00:00
Roardom
686f1560ca update: separate forum categories into their own model 2024-02-12 07:39:52 +00:00
Roardom
f30dec4a0c update: remove show_forum permission
This permission is used the same as the `read_topic` permission.
2024-02-10 19:50:05 +00:00
HDVinnie
2c55dc683e Merge pull request #3503 from Roardom/forum-topic-last-post-id
(Update) Normalize forums a little more
2024-02-10 13:35:45 -05:00
Roardom
834d438281 update: normalize forums a little more
We already make most of these queries anyways, and we'll need these foriegn keys when implementing future forum features like 'catch up'.
2024-02-09 16:44:52 +00:00
HDVinnie
fdf90b808d (Add) System required groups validation (#3502)
* add: system required validation

- this will stop site operators from renaming system required groups which breaks things like:

`$validatingGroup = cache()->rememberForever('validating_group', fn () => Group::query()->where('slug', '=', 'validating')->pluck('id'));`
2024-02-08 11:45:22 -05:00
HDVinnie
b823ade1b3 Merge pull request #3486 from Roardom/automatic-torrent-freeleeches
(Add) Automatic torrent freeleeches
2024-02-08 09:26:21 -05:00
HDVinnie
8a03bec818 add: model docblocks
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
2024-02-07 16:39:43 -05:00
Roardom
4422222a4b add: automatic torrent freeleeches
Automatically set torrents to freeleech if they match the given criteria.
2024-02-07 11:14:39 +00:00
HDVinnie
5bd70369b2 Merge pull request #3463 from Roardom/fix-nullable-permissions 2024-02-02 13:54:56 -05:00
Roardom
6024d7029a update: treat non existing permissions as denied
Otherwise, it causes 500 errors.
2024-02-02 01:05:39 +00:00
Roardom
cb80621c56 add: filters to person search 2024-02-01 08:31:32 +00:00
Roardom
c6f220bf84 add: email logging
Don't log the email addresses themselves to maintain user privacy.
2024-01-21 10:59:26 +00:00
Roardom
f11d1bb804 fix: phpstan level 7 errors in Models 2024-01-07 17:21:12 +00:00
Roardom
0ef7cc235a fix: phpstan level 7 controller errors 2024-01-07 17:13:20 +00:00
HDVinnie
aa3dc8ed18 refactor: enums 2024-01-04 03:26:10 -05:00
HDVinnie
568a422cad security: chatbox data 2023-12-30 10:04:35 -05:00
HDVinnie
7113b85ffe Merge branch '7.x.x' into Wikis 2023-12-29 01:50:29 -05:00
Roardom
7b02629c2b update: wikis to current code practices 2023-12-29 06:17:53 +00:00
Roardom
33a1da18c7 refactor: use plural table names
Leave out history and tv for now as their plural isn't obvious.
2023-12-23 03:44:45 +00:00
HDVinnie
757af7be3e add: wikis system
- migrations needed
- views need to be updated to latest unit3d structure
2023-12-19 18:21:43 -05:00
HDVinnie
9656dfe396 fix: auth events 2023-12-11 20:52:19 -05:00
HDVinnie
2804877b1e Merge branch '7.x.x' into announce-logging 2023-11-16 19:39:57 -05:00
Roardom
1221b6809b add: apikey logging 2023-11-16 18:27:49 +00:00
Roardom
9319f7fb66 add: announce logging for debugging 2023-11-16 16:37:38 +00:00
Roardom
17867ac777 add: rsskey logging 2023-11-16 09:53:56 +00:00