Commit Graph

8036 Commits

Author SHA1 Message Date
jon r 7b5b0f68e2 Fix(CI): build app job depends on test and lint jobs 2025-04-24 16:58:35 +02:00
jon r 96dca7ce48 Chore: upgrade app Dockerfiles to Node 22 2025-04-24 16:50:37 +02:00
jon r 701db82e10 Refactor: rename app/ui-docs/ to app/docs/ 2025-04-24 16:50:37 +02:00
jon r 93fd5f1937 Refactor: rename front/ to app/ 2025-04-24 16:50:37 +02:00
jon r d5740bc023 Chore(compose): apply pre-commit formatter 2025-04-24 15:31:01 +02:00
jon r 5dbd079315 fix(compose/typesense): document dependency of api on app 2025-04-24 15:26:16 +02:00
jon r b98988f5a4 fix(compose/typesense): depend on network where it's defined 2025-04-24 15:26:16 +02:00
jon r 9467a78c82 Fix: use app container as SPA root 2025-04-24 15:26:16 +02:00
jon r 28557bacb7 docs(developer/setup/docker): use lifecycle tab set and exemplify more commands 2025-04-24 15:26:16 +02:00
jon r 237f8ec111 fix(compose/net): make web network mandatory 2025-04-24 15:26:16 +02:00
jon r 1a9dac03b8 docs(developer/setup/docker): add information about container engine lifecycle 2025-04-24 15:25:24 +02:00
jon r 2f9a06910b docs(developer/setup/docker): call fixture by its use and not the implicit location 2025-04-24 15:25:24 +02:00
jon r 4aa9e382c4 docs(developer/setup/docker): move documentation section up to the other set up instructions
[skip ci]
2025-04-24 15:25:24 +02:00
jon r 6bab72091c docs(developer/setup/docker): add Updating section + split Seeding into two parts 2025-04-24 15:22:09 +02:00
jon r ac7dc665a5 docs(developer/setup/docker): refine 2025-04-24 15:16:14 +02:00
jon r 9b43aa7427 fix(compose): use common internal address for SPA root 2025-04-24 15:13:16 +02:00
jon r aaccfbe16f docs(changelog.d/2406): update MR title next to issue number 2025-04-24 15:13:16 +02:00
jon r afc15be3f0 chore(compose): use canonical name for web service 2025-04-24 15:13:16 +02:00
jon r 855105b618 feat(compose): add temporary redirect to web container 2025-04-24 15:13:16 +02:00
jon r 18ff708134 fix(compose): split Django and Celery healthchecks
- This also fixes a regression with Celery not finding its broker in the worker
container, by adding a dedictad variable and assigning a separate Redis database /1.
Some issues were complaining about corruptions in the Celery database, which
might have come from reusing the same /0 database as Django cache and queue.
- Renames the celeryworker container to just worker.

This partly undoes 4ee6190cc1
2025-04-24 15:13:16 +02:00
jon r 91fb0a6ea0 chore(compose): update Typesense and add healthcheck
adapted from https://github.com/typesense/typesense/issues/441#issuecomment-2452014001
2025-04-24 15:12:38 +02:00
jon r a32b9e5558 fix(front/Dockerfile.dev): use adaptive healthcheck 2025-04-24 15:12:38 +02:00
jon r 96f5c0806d chore(compose): call frontend application app 2025-04-24 15:12:38 +02:00
jon r d3ade6c076 fix(Dockerfile): chmod octal notation for Docker 2025-04-24 15:12:38 +02:00
jon r 235c415205 feat(compose/api): move healthcheck to Dockerfile + update entrypoint.sh 2025-04-24 15:12:38 +02:00
jon r bc71203869 chore(api/settings): remove depreciated IS_DOCKER_SETUP variable
This configuration was for a very old Docker version that still supported
linking containers together, which allowed for service discovery via the
environment.

This is not present in Docker anymore for many years now, so removing.
2025-04-24 15:12:09 +02:00
jon r 96f6265f45 chore(api/settings): move FORCE from local to common 2025-04-24 15:12:09 +02:00
jon r 2153a99246 feat(editorconfig): trim trailing whitespace 2025-04-24 15:12:09 +02:00
jon r 5ea9ed3494 fix(settings/local): do not force by default, but specify explicitly
Adds tini as PID 1 to Django containers for them to react to signals.
(init: true)
2025-04-24 15:12:09 +02:00
jon r f24869ce3d chore(compose): dependencies, environments and healthchecks 2025-04-24 15:12:09 +02:00
jon r ca9a4687af chore(nginx): consistent use of _HOST suffix 2025-04-24 15:10:56 +02:00
jon r 5562d7ddee feat: add .editorconfig 2025-04-24 15:08:36 +02:00
jon r 1251ec856f chore(changelog): add fragment for #2406 2025-04-24 15:08:36 +02:00
jon r ddfa7fc64e chore(compose): refactor django environment next to its manifest 2025-04-24 15:08:36 +02:00
jon r a19e0ac98c Docs: update for new UI, schema, debugging and federation
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r f01f7d4793 Feat(front): miscellaneous updates
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r f3fa4f13d4 Feat(front): [WIP] start migration to pinia and uno-css
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r c117e85765 Feat(front): implement new upload process
closes #2081 #2377 #2378

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r 20e23d8da9 Feat(front): implement new search process
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r 24fb0cf9ec Feat(front): define UI design tokens and utilities
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r 22b4c5128b Refactor(front): [WIP] use store to cache and distribute user state
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r eadaa72c27 Refactor(front): implement responsive global page layout and improve mobile UX
closes #2090 #2401

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r a728e48110 Refactor(front): consolidate modals into ui/modals/* and bind them to query flags
closes #2403

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
jon r ae6ac1f624 Feat(front): use new UI library, explicityly imported, in all views
closes #2359 #2367 #2091

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>

fix(front): null error in user profile
2025-04-23 18:58:08 +02:00
jon r aa79610a22 Feat(front): use modern typescript and vite features
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 11:03:08 +02:00
jon r 1c79bc47b9 Chore: configure prettier + format HTML templates
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:59:16 +02:00
jon r 3e9d75d089 Refactor: use types derived from API schema
addresses #2366 #2371 #2381 #2386 #2391

closes #2388

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:57:34 +02:00
jon r 5997a0f0bb chore(front): upgrade and prune packages
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:50:56 +02:00
jon r b485f05264 Feat(front): add UI component library + UI docs
addresses #2090 #2091 #2370 #2390
closes closes #2355 #2368 #2382 #2384

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:49:11 +02:00
jon r 90b853b722 Feat(API): changes to support new frontend
Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-18 10:37:48 +02:00