Commit graph

14 commits

Author SHA1 Message Date
Johannes Millan
a42c8a4cee Merge branch 'master' into feat/operation-logs
* master:
  refactor(dialog): remove unused OnDestroy implementation from DialogAddNoteComponent
  fix(calendar): poll all calendar tasks and prevent auto-move of existing tasks
  docs: add info about how to translate stuff #5893
  refactor(calendar): replace deprecated toPromise with firstValueFrom
  build: update links to match our new organization
  add QuestArc to community plugins list
  feat(calendar): implement polling for calendar task updates and enhance data retrieval logic
  fix(heatmap): use app theme class instead of prefers-color-scheme
  fix(focus-mode): start break from banner when manual break start enabled
  feat(i18n): connect Finnish and Swedish translation files
  refactor(focus-mode): split sessionComplete$ and breakComplete$ into single-responsibility effects
  Fixing Plugin API doc on persistence

# Conflicts:
#	src/app/features/issue/store/poll-issue-updates.effects.ts
#	src/app/t.const.ts
2026-01-05 19:12:46 +01:00
Johannes Millan
1a79592aca build: update links to match our new organization 2026-01-05 14:45:06 +01:00
Johannes Millan
73549b7933 fix: load .env file for supersync container 2026-01-02 20:35:42 +01:00
Johannes Millan
b77328a381 fix(docker): fix supersync container startup issues
- Fix Dockerfile.test: use correct path dist/src/index.js (not dist/index.js)
  since TypeScript compiles with rootDir="." preserving src/ directory
- Fix healthcheck: use 127.0.0.1 instead of localhost to avoid IPv6
  resolution issues (wget resolves localhost to ::1 but server listens on IPv4)
2025-12-19 17:04:32 +01:00
Johannes Millan
134a03f789 chore(docker): add volume for database data 2025-12-12 21:56:25 +01:00
Johannes Millan
7b4df257cf chore: harden supersync docker-compose 2025-12-12 20:48:40 +01:00
Johannes Millan
b6fc65831c feat(superSync): implement prisma and postgres 2025-12-12 20:48:38 +01:00
Johannes Millan
3791fa14c0 build(sync): add SuperSync service for E2E testing in docker-compose 2025-12-12 20:48:10 +01:00
Johannes Millan
e268076332 test(e2e): try to fix e2e tests 2025-12-10 21:26:48 +01:00
Johannes Millan
3a237b02c5 build(e2e): make new sync test setup work 2025-07-18 20:05:20 +02:00
Johannes Millan
ed2d99a852 build: simplify docker setup and fix e2e 2025-07-18 20:00:10 +02:00
Kingsley Yung
ab3d2824a5 feat: webdav sync default settings in env variables of container
In the docker setup, allow admin to provide the default values for
WebDAV settings in the "Sync" section of the "Settings" page, via
setting some environment variables of the docker container. This could
be used for single user instances to pre-fill those settings. The
available environment variables are:

- WEBDAV_BASE_URL=<base-url>
- WEBDAV_USERNAME=<username>
- WEBDAV_SYNC_FOLDER_PATH=<sync-folder-path>
- SYNC_INTERVAL=<integer-in-minutes>
- IS_COMPRESSION_ENABLED=<true-or-false>
- IS_ENCRYPTION_ENABLED=<true-or-false>

These configurations are provided as environment variables after the
build process of the app, so they have to be loaded at runtime, instead
of build process. This can be achieved by the following way:

1. The environment variables are loaded into the docker container.
2. The container starts with `docker-entrypoint.sh`.
3. `docker-entrypoint.sh` converts the variables into a JSON file placed
   at `assets/sync-config-default-override.json`.
4. `sync-config.service.ts` fetches
   `assets/sync-config-default-override.json` dynamically at runtime to
override the default values from `default-global-config.const.ts`.
2025-06-11 09:49:17 +02:00
Kingsley Yung
7d5ccbd7ef fix: crash when env var WEBDAV_BACKEND is not set 2024-11-18 09:51:34 +01:00
Kingsley Yung
14b8d0fd64 feat: webdav integration
This patch provides an optional way to integrate an external WebDAV server so that the super-productivity container can serve as a WebDAV server with base url http://localhost/webdav/ . It includes the following changes:

**Replace the default nginx config file**
Besides serving the web app, the new nginx config file also forwards all the requests with paths starting with "/webdav/" to a backend WebDAV server specified by the environment variable WEBDAV_BACKEND. Note that during forwarding, the path prefix "/webdav" will be removed.

**Use hacdias/webdav as default WebDAV backend server**
The docker-compose.yaml provides an example setup to use the docker image [hacdias/webdav](https://github.com/hacdias/webdav) as the WebDAV backend server. An example for the configuration of the WebDAV server is also provided in webdav.yaml.
2024-10-09 18:15:10 +02:00