web: fix chat (#800)

* chore: add guardrails

* docs: fix meshcore badge

* web: life chat message cap at 1000 in frontend

* web: honor protocol in chat

* web: deprioritize test channels

* fix ci
This commit is contained in:
l5y
2026-06-19 16:37:41 +02:00
committed by GitHub
parent efd2c59fb8
commit bb95b0792d
31 changed files with 1830 additions and 66 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Copyright © 2025-26 l5yth & contributors
# Licensed under the Apache License, Version 2.0 (see LICENSE)
#
# Fail if any tracked source or comment-capable config file is missing the
# exact Apache notice mandated by CLAUDE.md and ACCEPTANCE.md (check B4).
set -euo pipefail
NOTICE='Copyright © 2025-26 l5yth & contributors'
missing=$(git ls-files \
'*.rb' '*.py' '*.js' '*.rs' '*.dart' \
'*.yml' '*.yaml' '*.toml' '*.sh' '*.nix' 'Dockerfile' '*/Dockerfile' \
| grep -vE '(^|/)(vendor|node_modules|build|\.dart_tool)/' \
| xargs grep -L "$NOTICE" || true)
if [ -n "$missing" ]; then
echo "Files missing the Apache notice ('${NOTICE}'):"
echo "$missing"
exit 1
fi
echo "All checked files carry the Apache notice."