Commit graph

2492 commits

Author SHA1 Message Date
Dragory
ae03c9e03b
feat: always use DB_* and API_PATH_PREFIX env vars if set 2024-04-07 09:10:02 +00:00
Dragory
e146ed6416
refactor: remove SSL from standalone setup
Since Zeppelin was only creating a self-signed certificate, this
gave a false sense of security when in reality you'd always want
to have a proxy with a proper certificate in front of this anyway.

Additionally, generating the certificate at build time meant that
the domain couldn't easily be changed/updated without rebuilding.
2024-04-06 18:47:12 +03:00
Dragory
1ef7ba8d0f
refactor: simplify db credential handling 2024-04-06 15:36:45 +00:00
Dragory
898cf18885
feat: restore old name for standalone compose file 2024-04-06 12:01:27 +00:00
Dragory
b40ed5ce49
feat: add api prefix option 2024-04-06 11:54:31 +00:00
Dragory
899f743ed6
feat: give standalone/lightweight compose files unique names 2024-04-06 11:50:53 +00:00
Dragory
4352d755a6
feat: use npm ci over npm install in Dockerfile 2024-04-06 11:50:10 +00:00
Dragory
325341dced
fix: migrations with sql_require_primary_key=1 2024-04-06 11:49:45 +00:00
Dragory
e11d2b48e4
fix: connection errors in migrate-dev/migrate-rollback-dev 2024-04-06 10:45:47 +00:00
Dragory
769a5c2c7c
fix: add more missing --build flags 2024-04-06 10:45:05 +00:00
Dragory
4c21884016
fix: dashboard build errors about API_URL/.env 2024-04-06 09:53:28 +00:00
Dragory
4b63d03bdb
fix: use --build flag for watchers
This allows them to compile TS project references,
i.e. automatically compile shared from backend.
2024-04-06 12:42:01 +03:00
Miikka
68a391f401
Merge pull request #467 from martinbndr/fix-docker-compose-lightweight-migration-workdir
Fixing docker-compose lightweight migration workking_dir
2024-03-31 19:43:20 +03:00
Martin
3d71684633
Fixing docker-compose lightweight migration workking_dir
Working_dir was fixed in the docker-compose standalone but not in the lightweight version
2024-03-31 17:50:19 +02:00
Miikka
b51543ea2c
Merge pull request #466 from martinbndr/fix-docker-compose-lightweight-db
Fixes depends_on mysql
2024-03-31 18:31:54 +03:00
Dragory
b7ae765f05
chore: add martinbndr to .clabot 2024-03-31 18:30:02 +03:00
Martin
36fbc5b27d
Fixes depends_on mysql
Fixes depends_on in the lightweight version of the docker-compose as its not using a db inside the compose stack
2024-03-31 16:59:30 +02:00
Dragory
60a8bfbdf2
docs: update repository docs; add migration guides 2024-03-30 17:44:42 +00:00
Dragory
f5c8b94cc9
refactor: use a named volume for devenv mysql data 2024-03-30 17:37:02 +00:00
Dragory
af57622bbc
build: copy updates to lightweight compose file 2024-03-30 15:51:04 +00:00
Dragory
9e65f05b23
fix: handle SIGTERM in dashboard serve.js; always include API_URL in webpack build 2024-03-30 15:47:38 +00:00
Dragory
f3fcede7f5
feat: switch to mysql2 package; fix typeorm cli path 2024-03-30 15:46:53 +00:00
Dragory
7f37f0c372
build: fixes & tweaks to dockerfile/compose file 2024-03-30 15:46:15 +00:00
Dragory
b2e03567d3
build: fix .dockerignore paths 2024-03-30 15:45:49 +00:00
Dragory
3cad4d319e
fix: webpack dev server + index fallback for prod serve.js 2024-03-30 13:33:29 +00:00
Dragory
c89c5ea430
feat: update knub; update public interfaces for new knub 2024-03-30 13:31:30 +00:00
Dragory
c2ae6d53d8
feat: update knub; use base Knub types for plugins 2024-03-30 12:35:22 +00:00
Dragory
4597b83cda
Merge branch 'master' into project_structure_refactor 2024-03-17 20:37:17 +00:00
Dragory
59ff373df0
chore: treat package-lock.json as binary for merges/diffs 2024-03-17 16:58:30 +00:00
Dragory
509d96ce83
refactor: new dev/prod containers
- Use a single Dockerfile for all Zeppelin services
- Add a Dockerfile in project root that can be used by
  app hosting services
- Provide a standalone and lightweight prod setup
  - Standalone is the same as the old setup, with mysql+nginx
  - Lightweight only runs bot+backend+dash, no mysql/nginx
- Remove mounted mysql data folders for dev and prod
  - This resolves permission issues caused by the mount
  - The mysql service uses a regular named volume now
- Simplify .env options and clearly separate different prod setups
- Remove update.sh
  - Different setups require different update procedures, so a common
    update.sh no longer works
2024-03-17 18:49:31 +02:00
Dragory
26a1025282
feat: update to Knub v32.0.0-next.18 2024-03-09 14:11:22 +00:00
Dragory
730b8c1d6b
feat: update to Knub v32.0.0-next.18 2024-03-09 14:10:01 +00:00
Dragory
7cd56303fc
refactor: use npm workspaces and ts project references 2024-03-02 09:24:07 +00:00
Miikka
d53f37756d
Update .clabot 2024-02-25 10:23:10 +02:00
Dragory
ffa9eeb3f5
feat: handle template errors
Fixes ZDEV-20
2024-01-27 16:01:48 +02:00
Dragory
2ce5082018
fix: shorter than 6 character invite codes
Fixes ZDEV-108
2024-01-27 15:05:40 +02:00
Dragory
008ac1bec0
fix: missing imports 2024-01-27 15:04:39 +02:00
Dragory
6840fb4646
fix: clamp counter values in config 2024-01-27 14:57:57 +02:00
Miikka
48507499bc
Merge pull request #454 from ZeppelinBot/metal0-fix-member-cases
Some fixes to !cases (continued)
2024-01-27 14:51:52 +02:00
Dragory
90c7024b05
chore: run prettier 2024-01-27 14:50:57 +02:00
Dragory
e42bbb953f
fix: use lower casesPerPage
Temporary fix to make it unlikely to go over the 4096 character limit

Needs a proper fix in the future where we pre-render the case
summaries and paginate based on their length.
2024-01-27 14:47:59 +02:00
Dragory
e72abb05b2
Merge master 2024-01-27 14:45:35 +02:00
Miikka
c3601ae7ef
Merge pull request #452 from ZeppelinBot/fix-timeout-expiration-note
fix case note on timeout expiration for manual timeouts
2024-01-27 14:39:44 +02:00
Miikka
601050838e
Merge pull request #453 from ZeppelinBot/metal0-display-names
Update DJS + Display names fixes + per-server avatars (continued)
2024-01-27 14:39:01 +02:00
Dragory
710bedd050
chore: run prettier 2024-01-27 14:38:02 +02:00
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Miikka
d70a56a01f
Merge pull request #450 from ZeppelinBot/iots_to_zod
io-ts -> zod
2024-01-27 14:24:29 +02:00
Dragory
873bf7eb99
chore: run prettier 2024-01-27 14:23:13 +02:00
Dragory
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00