Skip to content

Commit c3188f0

Browse files
authored
Clean up stale project assets and tighten Docker/nginx config (#231)
### Summary This branch removes stale project files and unused assets, updates outdated docs/config examples, and tightens Docker/nginx behavior around health checks, CSP, and startup ordering. ### What changed **Cleanup** - Remove unused iOS legacy imagesets. - Remove unused web public icons. - Remove unused web localizations. - Drop stale personal IDE config files and rename the module from `pastedrop` to `pastepoint`. - Remove dead server file-transfer error variants. - Fix stale ignore entries for the web Karma config filename. **Docker & health checks** - Pin the cert-checker image to `alpine:3.21`. - Make the server healthcheck use HTTPS against `/health`. - Make the web container healthcheck target `/health`. - Gate SSR startup on the backend becoming healthy instead of merely started. **Nginx** - Serve `/health` from the default port-80 server so Docker healthchecks resolve correctly. - Remove dead redirect config. - Tighten CSP `connect-src` by removing the plain `ws://` allowance. - Clean up the access-log field name for request timing. **Scripts & CI** - Resolve the cert output directory relative to the repo root so `generate-certs.sh` works from any current directory. - Pass Angular’s production configuration through npm correctly in the web CI build. **Docs / env examples** - Update stale web README sections for locales, environment files, and Angular build tooling. - Fix the server README run-configuration example. - Remove the unused `BUILD_MODE` env example entries.
2 parents 54b822a + 14551cf commit c3188f0

57 files changed

Lines changed: 32 additions & 453 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ LICENSE
4949

5050
# Ignore test/coverage files
5151
client/web/coverage
52-
client/web/karma.conf.js
52+
client/web/karma.conf.cjs
5353

5454
# Ignore OS-specific files
5555
.hg

.env.development.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ CONTAINER_USER=nobody
1111
SERVER_ENV=docker-dev
1212

1313
# Build Configuration for Development
14-
BUILD_MODE=development
1514
NPM_BUILD_CONFIG=docker-dev
1615
RUST_BUILD_MODE=debug
1716

.env.production.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ CONTAINER_USER=nobody
1212
SERVER_ENV=production
1313

1414
# Build Configuration for Production
15-
BUILD_MODE=production
1615
NPM_BUILD_CONFIG=docker
1716
RUST_BUILD_MODE=release
1817

.github/workflows/web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ jobs:
8383

8484
- name: Production Build
8585
working-directory: client/web
86-
run: npm run build --configuration=production
86+
run: npm run build -- --configuration=production

.idea/developer-tools.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/jsLibraryMappings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/jsLinters/jshint.xml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.idea/material_theme_project_new.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)