* refactor log sanitization for better performance
* Fix token error, add mutex for safer concurrency
* serve sanitized version directly from memory
* further improvements
made it check for "module":"irc" before running the irc regex checks
* Revert "further improvements"
This reverts commit 260037c3a58e1e760613167d3e15136b313c0612.
* update irc regexes to handle special characters
- added prefixes to the irc patterns
- improved tests
* more improvements for irc regexes
* fixed errors
* another edge case bites the dust
* regex improvements
* lock to 1 worker if cpu cores is 2 or less
* removed unused code
* revert to single thread
Moved regex patterns and replacements into a separate array for easier maintenance and readability.
Optimized the regex patterns that share the same replacement string to avoid redundancy.
Modify SanitizeLogFile to accept io.Writer for direct output
* style
* only check relevant lines
- only check relevant lines
- dont break unless length=0
* revert breaking change
* handle api and auth cases
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
* fix(tags): fixed `24bit Lossless` being tagged as `Lossless`
added negation to the Lossless regex to prevent it from matching 24bit Lossless
* fix(tests): modified test to reflect changes in regex
* feat(releases): support magnet links
* feat(feeds): support magnet links
* feat(actions): log messages
* fix: component warning
* fix: check hasprefix instead of hassuffix for magnet
* feat(release): resolve magnet uri from link
* fix(actions): deluge use magnet uri
* fix(macros): add `MagnetURI` var
* fix(actions): run magnet resolving before macros
* feat(feeds): set download type on creation
* feat(logs): show and download log files
* feat(logs): make logs settings dropdown
* feat(logs): minor cosmetic changes
* fix(logs): send empty response when lohpath not configured
* fix(logs): remove unused imports
* feat(logs): check if logs dir exists
* feat(logs): list log files in settings
* Fixes issue 636 - fail to parse torrent size on some RSS feeds when enclosure is a fixed value
* Pick the biggest size
* minor comment
* Updates release size when new parsed string size is bigger
- Sets default size of `Release` to zero (unparsed)
- When there are parsing errors, then it doesn't RESET the size to 0 (assuming a tracker providing some size that can't be parsed)
- Updates the size to the new size only if the parsed size is bigger than the previous.
* fix(feeds): ignore default 39399 enclosure size
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* Add support for the 'Test' button to work
* Make Porla show up in filter actions select
* Add an empty Porla action
* Make Porla action find download client
* Make implementation actually add torrent to Porla
* Fix qBittorrent import
* Finish up Porla action
* Check length on commitish before slicing
* Move Porla to the other DL clients
* Add Porla to type name map
* Move Porla to beneath the other download clients