Commit graph

18 commits

Author SHA1 Message Date
KaiserBh
edae1bbf4b
refactor(web): migrate create-react-app to vite (#787)
* 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>
2023-04-07 16:04:10 +02:00
Kyle Sanderson
b2d93d50c5
chore(deps): update Go to 1.20 (#726)
* chore(github): Update to go 1.20

* chore(go): enable language functionality in 1.20

* build: update go versions and rename dockerfile.ci
2023-02-28 23:29:51 +01:00
ze0s
088cb8154c
build(docker): add pkg jq (#710)
build(docker): add pkg jq
2023-02-12 18:03:32 +01:00
Kyle Sanderson
490d85d220
fix(cmd): add fallback tz information (#526)
* fix(cmd): add fallback tz information

* build(docker): add tzdata pkg
2022-11-10 10:20:54 +01:00
Kyle Sanderson
47eaeaa635
feat(rss): implement relative URL support (#484)
* feat(rss): implement relative URL support

* bp had some words

* feat(gh): uplift golang to 1.19.1

* feat(docker): uplift golang to 1.19

* feat(docker): uplift to go 1.19

* cleanup

* chore: update go version in go.mod

* feat: refactor and add test feed process item

* unescape query params after join
* break out logic into separate method
* add tests
2022-10-04 12:59:29 +02:00
Agneev Mukherjee
8457222b28
feat(docker): expose default port (#414)
* Expose web UI port

* expose web-ui port
2022-08-21 18:15:39 +02:00
shapechecker
22829b194f
build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378)
* Update Docker workflow

add buildx and qemu to support mulitarch builds
configure arm, arm64 and amd64 builds

* Change yarn timeout

fixes issue with yarn install timing out

* chore: update gitignore

* chore: add gitignore for web dir

* chore(web): upgrade to yarn2

* build: update actions and push docker hub

* build: add yarnrc and network-timeout

* build: unifi workflow

* build: depend on web to build first

* build: store artifacts between jobs

* build: store artifacts between jobs

* build: store artifacts between jobs

* build: store artifacts between jobs

* build: adjust dockerignore

* build: conditional extract metadata

* build: conditional extract metadata

* build: always push docker hub

* build: skip docker hub for now

* build: fix metadata
2022-08-03 19:38:32 +02:00
Ludvig Lundgren
41eef4e8be
chore(build): update to Go 18 (#321) 2022-06-26 18:46:35 +02:00
Ludvig Lundgren
62ada6de37
feat(qbit): refactor url parse and add basic auth support (#245)
* feat(qbit): add basic auth and refactor url parse

* build: update dockerfile go base

* feat: only show port for legacy reasons
2022-05-20 17:17:00 +02:00
Ludvig Lundgren
99b0c9383b
chore: update react 18 breaking deps (#226) 2022-04-09 23:42:32 +02:00
Kyle Sanderson
aa196d8104
build(docker): add curl (#173) 2022-03-09 21:06:53 +01:00
Ludvig Lundgren
1374dd150c
fix(build): actions docker build-args (#165)
* fix(build): actions docker build-args
2022-03-05 16:51:11 +01:00
Ludvig Lundgren
0878790232
build: set version in docker build (#164) 2022-03-04 23:01:12 +01:00
Ludvig Lundgren
c25ba31a70
build: remove yarn lock (#131) 2022-02-09 19:26:15 +01:00
Ludvig Lundgren
ca6241e7cb
build: update and split gh workflows (#88) 2022-01-16 15:54:59 +01:00
Ludvig Lundgren
ff33bcb99a
build: update dockerfile (#82) 2022-01-13 23:18:05 +01:00
Ludvig Lundgren
d22dd2fe84
build: autobrrctl and push to ghcr (#35) 2021-11-02 20:03:23 +01:00
Ludvig Lundgren
2e8d0950c1 build: releases with actions and docker 2021-08-11 15:41:09 +02:00