* feat(filters): add fields for tag and except tag matching logic
* refactor(filters): rearrange and simplify logic for containsAllMatch
---------
Co-authored-by: Gustavo Machado <me@gstv.dev>
[DEV-820] bugfix: since it's 401 we should reject the promise that way onError actually works. I think this was causing login to succeed for like a second then goes back to login but with this we reject it early shouldn't pass the login screen.
Co-authored-by: KaiserBh <kaiserbh@proton.me>
added conditional padding to regexfield
added a conditional pr-10 if useRegex=true to make the right side of the field remain visible when the icons are present
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
* make sure fields are validated on page load
* make red border only show if useRegex enabled
* ensure tooltips have higher z-index in RegexField
removed z-index in customtooltip.tsx as its causing issues with tooltips in other components
* improved regex validation
return false for cases that are unsupported by Go
* improved check for unsupported conditionals
thanks nuxen
* removed react-app type instead use vite.
* removed index.html from public since vite uses it from root: read more: https://vitejs.dev/guide/#index-html-and-project-root
* yarn.lock update.
* added vite config file. With commented rollUp option if we want the build to be called build but using default stuff for now.
* updated tsconfig to use vite and include vite.config.ts
* changed package json build commands to use vite.
* for some reason there is an error in vite config when we put project as tsconfig.json.
* build.go updated to use the new dist folder.
* refactored as well updated to use dist and web.AssetHandler again.
* Fixed issue forcing the frontend to be reloaded for all routes to work if logged in fresh without reloading it will always go back to dashboard.
* updated it to use the new function; need to fix the Index for baseUrl I believe, if enabled it works except logs route will crash due to cors.
* refactored and default port to 7474, don't think we need the rollUpOptions.
* added tmp/ to ignore .
* init air.toml, for dev hot reloading both app and backend. https://github.com/cosmtrek/air run it using air but make sure it's in PATH
* updated the start command to build and watch for changes, works great with air.
* revert
* added proxy for vite config. To be used for dev.
* refactor: I think this should fix it, when logs route etc getting accessed usually it throws error but by getting rid of the catch-all it should work as intended, since web.RegisterHandler(r) will catch the unmatched ones.
* fix: baseurl and build
* fix(build): docker ignore !web/dist
* fix(build): dockerignore add exclusions
* docs: update README.md
* build: update postcss config
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
* initial commit
* minor visual improvements
* lock validation to golang flavor
* made a new field called regexfield
reverted old textfield to be up2date with develop
* added Formik Validation
* removed yup as its not needed
* improvements
* refactor: simplify and make more generic
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* hide dropdown when clicking outside it
* cleaner code
* cleaned up code
removed uneccessary div
changed to focus:ring-inset on buttons
* revert focus-ring-inset change
will handle this for the entire app in a separate branch
* changed to using headlessui
* added transition to the dropdown
* feat: add export JSON to Discord button
The Discord button exports the filter data in JSON format,
but with Discord-specific formatting.
as requested on Discord
* initial commit
* import working
* some more changes
* import is working
* added text field for import
* made exported json look pretty
* use filter name as title in export
takes the name of the exported filter and add it as title to the json
wont be used for anything on import
* snake case for title
* visual improvements
* added export function to filter dropdown
* added import to filter list
* include empty values on export
this is needed for the import to work
* styled the add button
* reduced needed values for const defaultFilter
this is the minimum required for successful import
* reduced defaultFilter to bits
* Made export and import require minimum values
added "version": "1.0", to export json
* changed filter name
* made the import textfield dynamic
* incremental numbering for imported filter names
Updated the filter import logic to check for existing filter names and
appending incremental number to the filter name if a conflict is found
* reverted changes in details.tsx
* Improved code comments a bit
* add icon and tooltip to filter.actions_count === 0
* changed the 0-action icon to a red animate-ping
- made the tooltip trigger on both the name and the animate-ping hover
- improved colors a bit
* fixed bg color for textarea
made the focus ring less intrusive
* fix(filters): remove requirement for logScore.
* default to zero on numberfield clear
* code comment for parseInt
---------
Co-authored-by: soup <soup@r4tio.dev>
* 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
* failed to compile locally without trailing slash
* matching tooltip color with subtitles/descriptions
* reverted docs icon
* fixed freeleech tooltip text
* corrected colors for tooltip icon on login page
* Fixed button border in settings/download-clients
Button border for "Add new" is now uniform with other "Add new"-buttons
* enhancement(docs) add helper tooltips
- Add helper tooltips for inputs and link them to docs #161
* fix build error
* tooltips: changed positition
* hide tooltip below 640 width
* made tooltips better
now attaching to TextField names
* Added icon variation for MultiSelect and CheckboxField
* cleaned up old code
* refactor
Co-authored-by: ze0s <zze0s@users.noreply.github.com>
* added tooltips for DownloadClientForms
* added tooltips for indexerforms
* div for passwordfieldwide
* tooltips for details.tsx
* added tooltips to actions.tsx
* added tooltips to indexerforms.tsx
* replaced info icon with a more rudimentary one
* linting, removed duplicate tailwind display properties
* remove margin for flex centering
* fixed tooltip alignment on all fields
* add tooltip to PwFieldWide in indexer edit window
* refactor: simplify tooltips
* refactor: scope tooltip css
* refactor: tooltip default clickable
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
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
* Minor cosmetic change to advanced filters
Make it abundantly clear that the advanced uploader filters are comma separated.
* Remove superfluous spaces