Commit Graph

349 Commits

Author SHA1 Message Date
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 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
Roardom 1e342d98fe add: edit forum permissions when creating/editing group 2024-12-16 11:04:27 +00: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
Ion Bazan 9d89eaa05f Replace Markdown engine 2024-11-04 12:00:07 +08:00
Ion Bazan 4df1b977e3 Test with CommonMark too 2024-11-03 19:11:32 +08:00
Ion Bazan 55a569a259 revert MarkdownExtra changes 2024-11-03 17:53:55 +08:00
Ion Bazan 4ebbfbd0f5 Cover Markdown with tests 2024-11-02 13:57:32 +08:00
Ion Bazan 4c40916f9d fix test 2024-11-01 16:39:12 +08:00
Ion Bazan 5574dfdee4 fix CreateNewUserTest.php 2024-11-01 15:59:37 +08:00
Ion Bazan 67a34a4283 Update Pest tests 2024-11-01 15:28:28 +08:00
Ion Bazan 19488c45d8 Improve registration tests 2024-11-01 02:01:41 +08:00
Ion Bazan b5d6b316ef Add test 2024-10-31 02:47:46 +08:00
HDVinnie 25031dcf76 chore: pint ci 2024-10-30 07:29:13 -04:00
Ion Bazan 87e547b444 Add internal note for staff invitations 2024-10-30 11:14:48 +08:00
HDVinnie d363acc3bd Merge pull request #4196 from Roardom/remove-unneccessary-home-page-queries
(Update) Remove unncessary home page queries
2024-10-01 10:47:56 -04:00
Roardom a199eec068 update: remove unncessary home page queries
The data from these queries were originally used directly in the views to avoid n+1, but now the TopTorrents Livewire component includes the appropriate queries.
2024-10-01 08:46:31 +00:00
Jay 6e721e5cb3 Catch empty cache error
Catch the empty cache error instead of showing error 500
2024-09-30 19:12:58 +01:00
Roardom 5a9ae37921 update: use system user id constant in more places 2024-08-26 09:28:44 +00:00
HDVinnie a295c81fe9 Merge pull request #4046 from HDInnovations/Staff-Audit-Activity
(Add) Staff Audit Activity
2024-08-15 15:55:01 -04:00
HDVinnie f92194281c refactor: release years
- remove the release_year column from the torrents table and just search the movie/tv tables instead
2024-08-13 22:18:38 -04:00
HDVinnie bca4576d4c update: test 2024-08-13 21:21:23 -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
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
Jay Sizzla 6894cca148 Allow polls to expire after a certain date 2024-07-24 16:23:06 +02:00
Jay 2ac770746a (Add) Active and inactive uploader staff view (#3824)
Co-authored-by: HDVinnie <hdinnovations@protonmail.com>
2024-07-03 11:38:11 -04:00
Roardom 2a4d822a7c remove: unused bot columns 2024-06-09 05:32:05 +00:00
HDVinnie 157b0133dd Merge pull request #3914 from Roardom/application-form-refactor 2024-06-07 20:56:35 -04:00
Roardom 0cb58d4211 refactor: use form request for storing application 2024-06-08 00:48:32 +00:00
Roardom cdb063d8e0 add: private message threads 2024-06-07 20:47:36 +00:00
Roardom 80b9aa32bf add: livewire top users
More cleanly modularized using livewire computed attributes. Abuses the fact that only one of the tabs is selected and most users won't access the other tabs. This significantly reduces the time spent loading the home page when the cache is cleared.
2024-06-01 15:47:26 +00:00
Roardom d00475778b update: normalize user settings
Use a 1-1 relation. Cache it indefinitely to reduce queries for every http request. This will make it much easier to add additional user settings for various site features without sacrificing clean code or performance.
2024-05-26 10:42:00 +00:00
Roardom 683ba9077a remove: unused columns on users table 2024-05-26 04:40:57 +00:00
Roardom b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom 0d4418b97a add: livewire playlist search 2024-05-21 15:28:01 +00:00
HDVinnie 3b550fad71 Merge pull request #3788 from HDInnovations/Commands
(Update) Commands
2024-05-06 16:08:59 -04:00
HDVinnie 99f5f33283 update: commands 2024-05-06 15:54:19 -04:00
Roardom d32ae88e86 remove: casino/trivia/bet bots
These bots don't currently do anything. Exception: the casino bot accepts donations through a nerdbot command but doesn't currently do anything else with it. If any trivia/casino/bet features need to be brought back, it would be easy enough to view the old code through the git history, but there's probably a bunch that can be improved with its interface as well.
2024-04-30 07:41:27 +00:00
HDVinnie ce83d21186 remove: vendor cleanup 2024-04-29 11:24:38 -04:00
HDVinnie fa2a5a2dab chore: actions 2024-04-14 18:53:08 -04:00
HDVinnie ec236053f7 add: personal releases 2024-04-11 18:24:06 -04:00
HDVinnie 19f3f13563 update: homecontroller test 2024-04-08 19:06:12 -04:00
HDVinnie 93b17f0419 chore: license 2024-03-19 17:56:44 -04:00
HDVinnie 9bc43d66d0 fix: ApplicationControllerTest.php 2024-03-12 10:50:30 -04:00
HDVinnie 2e27d62781 Merge pull request #3624 from Roardom/optimize-home-page
(Optimize) Home page
2024-03-06 18:35:49 -05:00
Roardom a8b6f1fdcc add: livewire top torrents panel
By only showing the newest torrents by default, we can abuse the fact that it's the only tab we can easily put an index on to make the home page load fast, and keep the 4 other tabs that take ~1 second to query lazily loaded until clicked upon.
2024-03-06 19:34:31 +00:00
Roardom eda5f28d4c update: set default topic state filter per forum
Useful for forums dedicated to fixing bugs or adding suggestions. This way, topics can be closed when bugs are fixed or suggestions are implemented, and opening the forum only shows relevant bugs/suggestions by default. Topics with different states can be accessed by changing the filter back to `Any`.
2024-03-06 12:02:23 +00: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