* 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.
* fix: This fixes#117 Propagation bug.
* 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.
* Moved outside static, keep it in public root folder.
* refactor to support the changes
* Added support for PWA, autoinject which auto updates when there is new "version" instead of prompting user.
* fix colour and added the assets.
* chore: yarn lock and remove logos.
* chore: remove logos, don't think we need em.
* chore:added dist folder.
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* fix(releases): max downloads per hour
* refactor: release processing
* compare apples to apples (#884)
* from rocketships back to apples
* Update internal/database/filter.go
* cast me to the
* keep your eye on the case
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
* feat(notifications): add pushover
* add db migration
* fix lint error
* some small corrections
* fixed README
* added missing columns to postgres_migrate.go
* use token for user_key
* refactor(notifications): change priority to int
* fix: only test selected events
---------
Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: ze0s <ze0s@riseup.net>
* refactor: move to tanstack/react-query and fix cache
* refactor(releases): move to tanstack/react-query
* refactor(logs): move to tanstack/react-query
* refactor(base): move to tanstack/react-query
* refactor(base): move to tanstack/react-query
* refactor(dashboard): move to tanstack/react-query
* refactor(auth): move to tanstack/react-query
* refactor(filters): move to tanstack/react-query
* refactor(settings): move to tanstack/react-query
* chore(pkg): add tanstack/react-query
* refactor(filters): move to tanstack/react-query
* refactor: move to tanstack/react-query
* refactor: invalidate queries
* chore(pkg): remove old react-query
* chore: change imports to root prefixes
* build: remove needs web from test
* set enableReinitialize to true to fix formik caching issues
* fix all property for apiKeys const
* fix toast when enabling/disabling feed
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
* fix ops parsing
extend regex capture group for torrentName var to contain releaseTags var
replace all – in announces with a - for torrentName var
* update ops yaml for new announces
* replace en-dashes with hyphens for OPS
add Sampler to releaseTypeMusic const
sort strings of releaseTypeMusic const alphabetically
shorten import in constants.ts
* replace en-dashes in pattern with . to cover any separator
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* fix(prs): don't push if not sourced from autobrr org
* when literals are strings, and strings are nothing.
* some say the beginning is like the end.
* Update release.yml?
* Update release.yml
* 🍺
* docs: fixed.
* Update README.md
Ohh we have it in the docs then it's better to do that yea.
Co-authored-by: soup <soup@r4tio.dev>
* docs: Update README.md
---------
Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
* 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.
* fix: This fixes#117 Propagation bug.
* chore: update yarn lock
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: ze0s <ze0s@riseup.net>
* bugfix: nil pointer dereference
if agent variable is nil when the Send method is called, will crash.
* refactor: return early.
* refactor: idiomatic solution.
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
* fix: global state bug fix.
* refactor: fix text being center.
* adapt mobile logout button for new logout function
---------
Co-authored-by: KaiserBh <kaiserbh@proton.me>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
* refactor(indexers): test api clients
* feat(indexers): test api connection
* fix(indexers): api client tests
* refactor: indexer api clients
* feat: add Toasts for indexer api tests
* fix: failing red tests
* adapted Logs page in settings to be responsive
minor layout changes
* show headers on narrow screens
* adapted padding on Logs page
---------
Co-authored-by: soup <soup@r4tio.dev>
* fix/OPS parsing
* replaced special character with .
escaped / in case we ever switch regex flavour
altered a test line to account for empty releaseTags
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
* 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
* feat: sanitize passwords from json payload
* add webhook sanitization
* update comments
Co-authored-by: soup <soup@r4tio.dev>
* sanitize RED apikeys from webhook payloads
* added an optional whitespace token between field name and data
---------
Co-authored-by: soup <soup@r4tio.dev>
* 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>