Commit Graph

2253 Commits

Author SHA1 Message Date
Roardom
995677bb4a fix: wrap bon store purchases within a transaction 2023-07-23 22:19:35 +00:00
HDVinnie
82122817dc Merge pull request #2941 from Roardom/fix-request-rejection-permissions
(Fix) Allow users to reject request fills
2023-07-23 15:21:43 -04:00
HDVinnie
9d57322143 Merge pull request #2940 from Roardom/fix-request-filler-anon
(Fix) Anon username in request fill rejections
2023-07-23 15:21:19 -04:00
HDVinnie
74c2252cf3 Merge pull request #2937 from Roardom/rename-sender-receiver
(Refactor) Use `_id` suffix on bon_transactions foreign keys
2023-07-23 15:19:01 -04:00
HDVinnie
1c085223c1 Merge pull request #2944 from Roardom/announce-prepared-statement
(Update) Use prepared statement instead of eager loading peers
2023-07-23 11:50:06 -04:00
HDVinnie
2880c1e8c9 Merge pull request #2928 from Roardom/fix-resurrections
(Fix) User resurrection creation
2023-07-23 11:48:48 -04:00
HDVinnie
cfd4f05ab5 Merge pull request #2927 from Roardom/add-view-latest-post
(Add) Forum link to latest post
2023-07-23 11:48:29 -04:00
Roardom
4f95933797 update: use eager loading in torrent api 2023-07-23 10:49:28 +00:00
Roardom
eca50b5224 update: use prepared statement instead of eager loading peers 2023-07-23 09:16:44 +00:00
Roardom
f818cbee35 fix: allow users to reject request fills 2023-07-23 01:01:06 +00:00
Roardom
73cc757ea8 fix: anon username in request fill rejections 2023-07-23 00:59:06 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
8b08bdfd6d fix: user resurrection creation
This value needs to be nullable if it doesn't exist so that the seeditme can be set to 0 if there exists no history.
2023-07-21 10:39:43 +00:00
Roardom
f9db4c6c46 add: forum link to latest post 2023-07-21 10:32:54 +00:00
HDVinnie
dd2fc02a4b Merge pull request #2925 from Roardom/remove-distributor-position
(Update) Drop position column on distributors
2023-07-20 15:58:18 -04:00
HDVinnie
e67363e7f5 Merge pull request #2923 from Roardom/add-optgroups
(Add) Group forum categories on topic editing page
2023-07-20 15:57:40 -04:00
Roardom
5ec59675c4 update: drop position column on distributors
With almost 1000 distributors, it's a nightmare trying to add a new distributor and having to change its position. All the distributors are ordered alphabetically anyways so just order based on the `name` field instead.
2023-07-20 10:30:07 +00:00
Roardom
84d8f1d665 add: group forum categories on topic editing page 2023-07-20 08:08:32 +00:00
Roardom
9205f9ec36 fix: user gift styles 2023-07-20 07:46:08 +00:00
HDVinnie
d1f3750925 Merge pull request #2917 from Roardom/fix-inbox-read
(Fix) Inbox read indicator
2023-07-19 20:35:47 -04:00
HDVinnie
32ba4518c4 Merge pull request #2909 from Roardom/add-user-tickets
(Add) User tickets to profile
2023-07-19 20:35:29 -04:00
Roardom
a7c38c0590 add: user tickets to profile 2023-07-19 22:40:39 +00:00
Roardom
720c4b9dc8 fix: inbox read indicator 2023-07-19 22:04:13 +00:00
Roardom
d0272652dd fix: invite relations in route model binding 2023-07-19 08:25:28 +00:00
HDVinnie
ab1bcce48c PHP Style Change (Laravel Pint CI) 2023-07-18 04:53:41 +00:00
HDVinnie
3330e0aa1f fix: torrent deletion pms
- insert does not set timestamps automatically
2023-07-18 00:52:34 -04:00
HDVinnie
978a581724 Merge pull request #2908 from Roardom/update-db-perf
(Update) Various database performance improvements
2023-07-16 20:39:10 -04:00
Roardom
b6b4313bdc update: various database performance improvements
Use eager loading where necessary and add a few indexes. The existing index on private_messages for sender_id and read was probably a typo and intended for receiver_id. The first 3 tables indexes are added to are used for queries ran on every page load: namely the new pm, new notification and warnings indicator in the navbar. Additionally, another index on genre_movie proved useful for finding all the genres when given a movie id. Perhaps, another index for finding all movies within a genre would be good as well, but will leave that for a future optimization if deemed necessary.
2023-07-17 00:21:08 +00:00
Roardom
9ba5c7e7c3 update: lazily compute forum post permalink page number 2023-07-15 23:24:26 +00:00
HDVinnie
d0fb6d7bf8 Merge pull request #2901 from Roardom/fix-rss-search-by-uploader
(Fix) Authenticated user is null when searching by uploader via rss
2023-07-15 14:58:53 -04:00
HDVinnie
5c0e9217ff Merge pull request #2893 from Roardom/fix-torrent-deletion-message
(Fix) Torrent deletion message not allowing spaces
2023-07-15 14:55:56 -04:00
Roardom
e86c16df5f fix: authenticated user is null when searching by uploader via rss 2023-07-15 04:14:58 +00:00
Roardom
061fb0153d fix: torrent deletion message not allowing spaces 2023-07-14 21:11:38 +00:00
Roardom
219b2a5ed6 fix: send invite validation 2023-07-14 08:01:36 +00:00
HDVinnie
54fd289b9e Merge pull request #2886 from Roardom/similar-refresh
(Add) Refresh torrent metadata button
2023-07-12 20:31:01 -04:00
Roardom
e5d1fc9ba5 fix: assign ticket to selected staff member
Instead of the authenticated staff member.
2023-07-12 07:10:40 +00:00
Roardom
d1e466759e add: refresh torrent metadata button 2023-07-12 06:44:19 +00:00
Roardom
0ffeb4fcf5 fix: missing include in announce controller 2023-07-10 20:44:22 +00:00
HDVinnie
eb1d7f6ab0 Merge pull request #2879 from Roardom/fix-create-request-ids
(Fix) Requirement of ids on request creation
2023-07-10 12:08:29 -04:00
HDVinnie
5452194ebc Merge pull request #2830 from Roardom/add-moderation-scopes
(Add) Moderation scopes
2023-07-10 12:07:19 -04:00
Roardom
7f318e08d6 fix: requirement of ids on request creation
IDs irrelevant to the category should not be required.
2023-07-10 06:42:13 +00:00
Roardom
741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
HDVinnie
71b482fa6c Merge pull request #2875 from Roardom/add-playlist-bulk-add
(Update) Allow adding multiple torrents to a playlist
2023-07-10 00:04:45 -04:00
HDVinnie
d95f32e6e2 Merge pull request #2829 from Roardom/fix-migration-models
(Fix) Migration models
2023-07-09 23:54:07 -04:00
Roardom
7610359477 update: allow adding multiple torrents to a playlist
Instead of adding one torrent at a time through a text input, a textarea is offered instead where one id/url can be entered per line for convenience.
2023-07-09 08:13:22 +00:00
Roardom
f28282fa8a fix: incorrect route parameters on torrent update
Route model binding isn't used here. We need to use the id manually.
2023-07-08 04:53:27 +00:00
Roardom
097c60db72 fix: fetch relation result instead of relation.
We want the category database record, not the query builder instance.
2023-07-08 04:52:22 +00:00
Roardom
b4da1366f4 fix: append to correct keywords variable on torrent edit
The wrong variable was used. Previously the string was used instead of the array.
2023-07-08 04:51:12 +00:00
HDVinnie
d4de75cd73 Merge pull request #2867 from Roardom/fix-last-replied-topic 2023-07-07 18:34:20 -04:00
Roardom
abc4bcafc7 fix: editing topic's forum not updating forum's last replied topic 2023-07-07 20:03:20 +00:00