Commit Graph

11710 Commits

Author SHA1 Message Date
Roardom 2e91e1157f fix: some user group permissions
These permissions were never meant to be directly edited by staff. They should never have been added to the staff user edit page as it just caused confusion when the settings reset at the daily group change. I've now added these settings to the group directly and allow the settings on the user edit page to override the group settings. I refrained from fixing the can_download permission for now, because so many different things affect it and it will need at 3 separate permissions to control everything it does. Trying to fix it will take much more effort than what can be fixed today. Because of this, I removed the setting from the user edit page to reduce confusion from staff who don't realize it is controlled by the scheduler. Relevant issue: #1820.
2024-07-26 22:35:45 +00:00
HDVinnie b0ed0263fb Merge pull request #4009 from Obi-Wana/add-poll-expiry-date 2024-07-24 13:28:10 -04:00
Jay 2ef73fa0ef Remove down() migration 2024-07-24 17:18:32 +00:00
Jay Sizzla 6894cca148 Allow polls to expire after a certain date 2024-07-24 16:23:06 +02:00
HDVinnie c98dd69c17 Merge pull request #4007 from Roardom/history-primary-key
(Update) Use composite primary key for history
2024-07-23 16:12:10 -04:00
HDVinnie 1cdb23fc54 Merge pull request #4004 from Roardom/fix-bookmarks-4
(Fix) Bookmarks deleting themselves after navigating to next page
2024-07-23 15:52:02 -04:00
Roardom 8a54a2390d fix: ci 2024-07-23 06:37:44 +00:00
Roardom e9fe52ac6d update: use composite primary key for history 2024-07-23 06:24:57 +00:00
Roardom 380794a1b1 fix: bookmarks deleting themselves after navigating to next page
Apparently `destroy()` is a special function in alpinejs and runs whenever a component is cleaned up.
2024-07-23 01:36:27 +00:00
HDVinnie b525ba0832 Merge pull request #4001 from Roardom/fix-bookmarks-3
(Fix) Small bookmark button again again
2024-07-22 01:31:39 -04:00
Roardom d8f10b40da fix: small bookmark button again again
Goodbye livewire. Livewire's diffing algorithm kept messing up this livewire component.
2024-07-22 05:02:17 +00:00
HDVinnie 55377e5674 Merge pull request #4000 from HDInnovations/Request-3660
(Add) Request #3660
2024-07-22 00:50:23 -04:00
HDVinnie 16a39010d7 Blade Style Change (Prettier Blade CI) 2024-07-22 04:36:15 +00:00
HDVinnie ebef69d541 add: #3660
- closes #3660
2024-07-22 00:35:18 -04:00
HDVinnie 1debb1ff7f Merge pull request #3999 from HDInnovations/Bug-3735
(Fix) Bug #3735
2024-07-21 23:53:33 -04:00
HDVinnie 81b48e0218 PHP Style Change (Laravel Pint CI) 2024-07-22 03:50:42 +00:00
HDVinnie e5a0f99da4 fix: #3735
- We dont need to auto update anymore. This is killer in loops. We already have a command that updates on weekends. We wrap the command in a if else that only executes if cache is present in case of redis restart.
2024-07-21 23:49:43 -04:00
HDVinnie 0a2894eabb Merge pull request #3998 from HDInnovations/Bug-3815
(Fix) Bug #3815
2024-07-21 22:49:49 -04:00
HDVinnie 56b3f802f0 fix: torrent icons
- As seen in #3815 there are many selects missing for resources/views/components/partials/_torrent-icons.blade.php. It is pointless to add them all just to omit a few. There was no performance loss locally.
- closes #3815
2024-07-21 22:42:32 -04:00
HDVinnie 480fe42d0f fix: demo seed command 2024-07-21 18:44:03 -04:00
HDVinnie a1a4942dc7 Merge pull request #3996 from HDInnovations/GiitHub-Actions
(Update) GitHub Actions
2024-07-20 18:14:49 -04:00
HDVinnie c83590ed88 Merge pull request #3993 from Roardom/topic-priorities
(Update) Sort pinned topics by priority
2024-07-20 18:14:31 -04:00
HDVinnie a6e794656b Merge pull request #3995 from Roardom/fix-peers-binary-migration
(Fix) Migration to change peers ip to varbinary
2024-07-20 18:14:05 -04:00
HDVinnie 1eb8670093 Merge pull request #3994 from Roardom/fix-external-tracker-column-headings
(Fix) External tracker column headers
2024-07-20 18:13:42 -04:00
Roardom c8ef6af383 fix: migration to change peers ip to varbinary
fixup of 8c11521. It was unintentionally changed from varbinary to binary. The ip column must not be fixed length, since mysql will right pad the other 12 bytes of 4-byte ipv4 addresses with NUL (`\0`) bytes, which breaks `INET6_NTOA()`. The full 16 bytes are needed for ipv6 addresses however. Note that the commit this fixes isn't yet in stable, so anyone running the development branch in prod will have to update their schema manually.
2024-07-20 18:35:24 +00:00
Roardom bb5dca8459 fix: external tracker column headers 2024-07-19 19:55:35 +00:00
Roardom 340122755c update: sort pinned topics by priority
resolves #3989
2024-07-19 16:56:54 +00:00
HDVinnie 83cf813f15 update: prettier-blade.yml 2024-07-19 02:43:48 -04:00
HDVinnie 516f85e0af update: README 2024-07-19 02:43:41 -04:00
HDVinnie 80e5c4df7c update: larastan.yml
- better output
2024-07-19 02:38:10 -04:00
HDVinnie c15a0a7553 update: phpunit and phpstan workflows
- cleanup caching
2024-07-19 02:32:33 -04:00
HDVinnie a922de7561 update: phpstan reintroduce livewire 2024-07-19 02:21:28 -04:00
HDVinnie ec708b9eb3 Merge pull request #3992 from Roardom/fix-mass-pm
(Fix) Process mass pm not sending pms
2024-07-19 02:19:11 -04:00
Roardom 4f70fbbc38 fix: process mass pm not sending pms 2024-07-19 06:02:36 +00:00
HDVinnie 5979e1eb46 add: phpstan caching 2024-07-19 02:00:20 -04:00
HDVinnie 9e80f7f9e6 update: larastan.yml 2024-07-19 01:39:43 -04:00
HDVinnie 464f439169 update: larastan setup 2024-07-19 01:33:55 -04:00
HDVinnie 60333d8ab3 update: larastan.yml 2024-07-19 01:28:24 -04:00
HDVinnie 581a9d0303 Merge pull request #3991 from HDInnovations/Larastan
(Update) Larastan
2024-07-19 00:02:10 -04:00
HDVinnie 3ad3bb992b PHP Style Change (Laravel Pint CI) 2024-07-19 03:43:14 +00:00
HDVinnie 8ad0097fc9 fix: HasFactory types 2024-07-18 23:42:13 -04:00
HDVinnie 2eaf13b393 update: phpstan-baseline.neon
- With the latest larastan and laravel changes such as https://github.com/laravel/framework/pull/52005 we have a lot more errors. This commit generates a new baseline.
2024-07-18 23:19:47 -04:00
HDVinnie 8665ce0848 update: unit3d config 2024-07-17 21:28:14 -04:00
HDVinnie 4286b5f891 update: dependencies 2024-07-17 21:26:36 -04:00
HDVinnie 9d537dd3ee remove: dead code 2024-07-17 21:24:59 -04:00
HDVinnie ded7b0808e Merge pull request #3986 from Roardom/unneccessary-commands
(Update) Don't run redundant commands when external tracker is used
2024-07-17 20:55:07 -04:00
Roardom e584349eb3 update: don't run redundant commands when external tracker is used
The external tracker handles the upserts (`auto:upsert_peers`,
`auto:upsert_histories`, and `auto:upsert_announces`), handles
incrementing/decrementing the seeders/leeches/times_completed
(`auto:sync_peers`), and handles incrementing/decrementing the
balance (`auto:torrent_balance`).

The external tracker keeps track of leech slots internally, so
the leech slot caching isn't needed and as a result, shouldn't
be touched inside the `auto:flush_peers` command either.

There's no inaccurate stats issues that could happen if these
commands are run, but a normal 200 ms 3000-record upsert from
the external tracker takes 2-3 seconds if they happen at the
same time as the `auto:sync_peers` or `auto:torrent_balance`
commands are being run.
2024-07-17 13:01:16 +00:00
HDVinnie 69de9f889f Merge pull request #3985 from Roardom/bug-report-error-500
(Update) Amend issue template to require stack trace for error 500s
2024-07-17 02:43:36 -04:00
HDVinnie fd5ec29e6f Merge pull request #3983 from Roardom/peers-composite-primary-key
(Update) Use composite primary key for peers
2024-07-17 02:43:04 -04:00
Roardom c571d61376 update: amend issue template to require stack trace for error 500s 2024-07-16 12:47:31 +00:00