Roardom
6cdbcfb554
Merge pull request #5378 from Roardom/url-concatenation
...
(Fix) Use `route()` helper instead of joining url segments
2026-04-05 19:54:18 +00:00
Roardom
642e19a40c
fix: use route() helper instead of joining url segments
...
fixes : #5252
2026-04-03 06:02:41 +00:00
Roardom
25e3178f8f
refactor: use first class callable syntax in array_map
...
Better IDE support.
2026-03-28 04:50:21 +00:00
Roardom
cd90074def
fix: censor changing case of censored words
2026-02-27 05:42:32 +00:00
HDVinnie
dfd6620486
refactor: replace instances of Carbon::now() with Laravel's now() helper
...
- per contribution guide and for consistency
2026-02-11 16:10:07 -05:00
HDVinnie
3acd1bcb4e
add: comments to similar page
...
- closes #4491
2026-01-22 01:07:32 -05:00
Roardom
b39621d064
Merge pull request #5218 from Roardom/fix-bbcode-censor
...
(Fix) Pattern for bbcode censor
2026-01-10 20:10:38 +00:00
Roardom
d128cd5236
refactor: prefer ::query() over laravel eloquent magic
...
Significantly improves DX with LSP compatibility. Now it's possible to navigate to the definition of these functions in laravel and get ide autocomplete.
2026-01-10 10:10:03 +00:00
Roardom
d1074a9c8a
fix: pattern for bbcode censor
...
The pattern was used for searching but not replacing. Use preg_replace instead of str_replace to accomodate. Also remove the redundant preg_match while we're at it.
2026-01-10 06:34:49 +00:00
HDVinnie
da2d300a7c
update: dependencies
2026-01-02 18:43:35 -05:00
Roardom
5098247711
Merge pull request #5168 from Roardom/fallback-system-calls
...
(Fix) Don't hard error if the php process can't access `/proc/`
2025-12-28 11:53:53 +00:00
Roardom
27fb1c4e6c
fix: don't hard error if the php process can't access /proc/
...
And a little bit of cleanup as well.
2025-12-18 10:43:23 +00:00
Roardom
0bf1964651
fix: code copy button type
...
When the bbcode button is inside the torrent edit form, the default type is submit. This in turn copies the code contents to clipboard when submitting the form with the enter key.
2025-12-16 21:53:35 +00:00
Roardom
fa0eee2c76
Merge pull request #5140 from Roardom/fix-censorship
...
(Fix) Chatbox censoring
2025-12-08 00:08:39 +00:00
Roardom
52e9c53f13
fix: cast floor to int to ensure int return type
...
There are no valid cases in the contexts where this function is used where the float will be greater than the range of the int (which is why the `min` functionr returns `mixed`)
2025-12-02 07:42:04 +00:00
Roardom
375a6fced4
Merge pull request #5137 from Roardom/tilde-invalid-file
...
(Update) Deny tilde as folder/filename in .torrent files
2025-12-02 05:19:09 +00:00
Roardom
b4feb2d527
fix: chatbox censoring
...
For years, chatbox has only censored messages based on the settings of the sender, not the recipient.
fixes #4982
2025-11-29 06:53:48 +00:00
Roardom
393b45349a
update: laravel pint dev dependency
...
The latest version adds stdin support for use in IDEs that integrate with formatters if the formatter accepts input on stdin and outputs on stdout. Zed is one example of such an IDE.
2025-11-29 04:47:14 +00:00
Roardom
c6b8c5538d
update: deny tilde as folder/filename in .torrent files
...
Tildes inside the filename are fine as long as the filename or folder doesn't start with a tilde.
2025-11-29 04:26:16 +00:00
Roardom
e922fbc386
Merge pull request #5108 from Roardom/bbcode-function
...
(Refactor) Return bbcode parser array from function
2025-11-06 09:04:23 +00:00
ze0s
30cd78535a
(Add) Implement support for external IRC announce services ( #5099 )
2025-11-05 06:05:23 +00:00
Roardom
9396c96052
refactor: return bbcode parser array from function
...
Allows calling functions inside of it. Part of #4860 .
2025-10-23 19:12:58 +00:00
Roardom
7e6bd46cba
refactor: use static methods in bbcode parser
...
They're not modifying instance state, so it makes more sense for them to be static. Part of #4860 .
2025-10-23 17:23:45 +00:00
Roardom
80ff243ad6
Merge pull request #5026 from Roardom/move-language-model
...
(Refactor) Move Language class from models to helpers
2025-10-07 00:46:49 +00:00
Roardom
13422a553b
refactor: move Language class from models to helpers
...
It's not exactly an eloquent model.
2025-10-03 19:17:18 +00:00
Roardom
2c6457e1af
fix: docblock syntax error in TorrentTools helper
2025-09-30 04:00:22 +00:00
HDVinnie
1a946bc3f8
Merge pull request #5009 from Roardom/fix-mediainfo-image-parser
2025-09-28 16:42:07 -04:00
Roardom
bcd071d69b
fix: mediainfo parser broke in image sections
...
Simple as adding `image` to the regex, even though we don't parse anything from it. It just ends up being a section with no data added.
fixes #5004
2025-09-27 06:22:14 +00:00
unit3d-bot
7bb8ba1c3f
automation: set git file permissions
2025-09-27 05:54:57 +00:00
Roardom
ac3c1383d3
update: larastan dependency
2025-09-08 02:49:19 +00:00
yaf
67a740d6ae
Fix Rotten Tomatoes search generation.
...
The previous form was not URL encoded meaning that a title with "special" characters like "&" would result in a broken URL that lead to confusing destinations.
2025-08-24 10:52:12 -04:00
Roardom
e1486613bb
security: randomize info_hash upon upload and hide it from users
...
Require a user to download a .torrent file in order to view the info_hash.
2025-08-20 12:27:12 +00:00
Roardom
b19f938fdb
update: bbcode code styles
...
Add clipboard copy button, allow horizontal scrolling for long code lines, make monospace fonts consistent
2025-08-04 06:12:33 +00:00
unit3d-bot
44f3588792
automation: laravel pint ci
2025-05-29 00:40:11 +00:00
HDVinnie
6a760858b5
add: sanitize_filename helper
...
- fixes `the filename and the fallback cannot contain the "/" and "\" characters` on subtitle downloads.
2025-05-28 20:37:01 -04:00
HDVinnie
9f58065d30
add: laravel 12 support
2025-05-26 21:08:06 -04:00
Roardom
e4c07b5f52
fix: rely on if tmdb/igdb exists to determine meta
...
Instead of blindly using the respective tmdb associated with the torrent's category. Also fixes wishlist notifications if a user has a wishlist entry with a null tmdb and a user uploads a torrent without a tmdb.
2025-03-26 21:35:41 +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
32cf8da4db
refactor: split tmdb into movie_id and tv_id
...
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
HDVinnie
6e2c8f569d
Merge pull request #4492 from Roardom/moderation-status-enum
...
(Refactor) Use moderation status enum and cast
2025-03-05 06:16:23 -05:00
Jay Sizzla
54a9541240
Use shouldSend for NewUpload notifications
2025-02-27 13:08:43 +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
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
935e98b0e1
add: additional serbian scripts to flags
2025-02-15 21:07:16 +00:00
HDVinnie
16b98d49bc
Merge pull request #4460 from ninboy/add-spanish-language-flags
2025-02-02 12:32:04 -05:00
Ninboy
40cabc555c
Add Spanish language flags to helper
2025-01-29 22:23:29 -05:00
HDVinnie
29aa03b1b6
Merge pull request #4451 from Roardom/link-double-encoding
...
(Fix) BBCode link double encoding
2025-01-28 12:01:41 -05:00
HDVinnie
d2452f478f
Merge pull request #4447 from Roardom/spellcheck
...
(Add) Spell check ci
2025-01-28 12:00:43 -05:00
Roardom
70f7bf4146
fix: bbcode link double encoding
...
We already encode the entire content of the bbcode, so encoding links a second time aren't necessary
2025-01-24 13:46:02 +00:00