Commit Graph
270 Commits
Author SHA1 Message Date
hazre 9998034c5c refactor: remove cloudflare vite plugin 2026-04-14 17:06:17 +02:00
hazre 33d627c559 ci: add dependency diff workflows 2026-04-13 09:30:56 +02:00
hazre 1f3d953b6a Merge remote-tracking branch 'origin/dev' into hazre/refactor/tsconfig-tooling-cleanup
# Conflicts:
#	package.json
#	src/app/components/Modal500.tsx
#	src/app/components/RoomNotificationSwitcher.tsx
#	src/app/components/image-viewer/ImageViewer.tsx
#	src/app/components/room-avatar/RoomAvatar.tsx
#	src/app/components/setting-tile/SettingTile.tsx
#	src/app/components/text-viewer/TextViewer.tsx
#	src/app/components/url-preview/ClientPreview.tsx
#	src/app/components/user-avatar/UserAvatar.tsx
#	src/app/features/message-search/SearchResultGroup.tsx
#	src/app/features/room/message/MessageEditor.tsx
#	src/app/features/settings/cosmetics/Themes.tsx
#	src/app/features/settings/developer-tools/SentrySettings.tsx
#	src/app/features/settings/emojis-stickers/EmojisStickers.tsx
#	src/app/features/settings/notifications/AllMessages.tsx
#	src/app/features/settings/notifications/KeywordMessages.tsx
#	src/app/features/settings/notifications/NotificationModeSwitcher.tsx
#	src/app/features/settings/notifications/SpecialMessages.tsx
#	src/app/hooks/useImageGestures.ts
#	src/app/hooks/useMentionClickHandler.ts
#	src/app/hooks/usePerMessageProfile.ts
#	src/app/plugins/react-custom-html-parser.tsx
#	src/app/plugins/react-prism/ReactPrism.tsx
#	src/app/utils/sanitize.ts
#	src/client/slidingSync.ts
2026-04-02 13:15:24 +02:00
hazre cfa52ddc24 chore: update github actions 2026-04-02 12:48:53 +02:00
hazre 94ba091ecf chore: update knope installer 2026-04-02 12:47:08 +02:00
hazre ebc5e11876 refactor: simplify tsconfig layout 2026-03-31 00:04:19 +02:00
hazreandEvie Gauthier 94f7ce909a feat: add code quality enforcement
Apply code quality enforcement across ESLint, storage guards, coverage checks, and contributor docs.

Co-authored-by: Evie Gauthier <[email protected]>
2026-03-30 00:20:56 +02:00
Rose 99630e0579 Update CodeQL action versions in codeql.yml
Updated CodeQL action versions in the workflow file.
2026-03-29 03:56:56 +02:00
hazre 83119ad433 fix: make root tsconfig editor-facing 2026-03-28 17:29:14 +01:00
Rose cd4b4c7651 Add CodeQL analysis workflow configuration
This workflow file sets up CodeQL analysis for the repository, specifying languages and build modes for scanning.
2026-03-28 13:27:27 +01:00
7w1 c0bf26c409 Update cloudflare-web-deploy.yml 2026-03-23 23:54:23 -05:00
7w1 f6934852d6 Update release.yml 2026-03-19 22:28:50 -05:00
Evie Gauthier 57eedcbf60 chore: resolve merge conflicts with dev; document telemetry consent banner 2026-03-16 22:27:17 -04:00
Evie Gauthier 2ac73d0aa9 feat(testing): add Vitest testing infrastructure with example tests 2026-03-16 11:20:37 -04:00
Evie Gauthier 36c4e0591b feat: add Sentry→GitHub Issues triage for PR preview builds
- Tag all Sentry events with PR number via VITE_SENTRY_PR env var
  (instrument.ts: setTag('pr', prNumber) on global scope)
- cloudflare-web-preview.yml: inject Sentry DSN, environment=preview,
  PR number, and source-map secrets into build env for PR runs
- New workflow sentry-preview-issues.yml: on every PR push, query Sentry
  for unresolved issues tagged with the PR number and environment=preview;
  create a GitHub issue per unique error (deduplicated by sentry-id marker),
  labelled 'sentry-preview' + 'pr-{N}'; maintain a sticky PR comment
  with a summary table; reopen closed issues on regression
- Labels allow filtering: -label:sentry-preview hides all automated issues
2026-03-15 23:40:58 -04:00
Evie Gauthier 3ce9e54145 feat(sentry): initialize SDK, performance instrumentation, developer settings, and error capture
Adds Sentry error tracking, performance monitoring, and session replay:

- Environment-based sampling: production 10%, preview/dev 100%
- Session replay with full privacy masking (text, media, inputs)
- Hashed MXID as anonymous user ID with homeserver tag
- Error rate limiting (50 events/session) to protect quota

Performance spans and metrics across all critical paths: auth login,
message send, timeline jump-load, per-event decryption, sliding sync
cycles, key backup, store wipe, UTD failures, sync degradation,
background notification clients, media uploads.

Developer settings panel (Settings → General → Diagnostics & Privacy):
error reporting toggle, session replay opt-in, breadcrumb category
controls, debug log export.

Crash page shows Sentry event ID with one-click feedback dialog.
Bug report modal sends structured reports to Sentry feedback API
with optional debug log attachment.

CI: Sentry env vars injected into preview (100% sampling) and
production (10% sampling) builds. Source maps uploaded via
@sentry/vite-plugin.
2026-03-15 23:40:58 -04:00
hazre c710b5d803 fix: align workflows to v* tags and support manual release deploys 2026-03-15 00:16:30 +01:00
7w1 ee3fdf68d5 Update prepare-release.yml 2026-03-14 13:55:38 -05:00
7w1 74a4d6a9ec Update prepare-release.yml 2026-03-14 13:47:28 -05:00
7w1 6881752c31 Update prepare-release.yml 2026-03-14 13:41:58 -05:00
7w1 f63a347df4 Update prepare-release.yml 2026-03-14 13:39:54 -05:00
7w1 fbbd46cd62 Update cloudflare-web-deploy.yml 2026-03-14 13:37:37 -05:00
hazre 721a2064ec ci: add merge queue support 2026-03-13 17:58:49 +01:00
hazre 57ac8e6391 ci: disable quality checks and changeset workflows on release pr 2026-03-13 17:58:47 +01:00
hazre a10a4f250d fix(ci): knope version 2026-03-12 15:53:13 +01:00
hazre ce20ae62f0 fix: knope ci 2026-03-12 15:40:32 +01:00
7w1 234367bd88 Update release workflow 2026-03-11 22:37:00 -05:00
7w1 496bd3f264 Implement internal label check in release workflow
Add check for internal label in PRs to modify content accordingly.
2026-03-11 22:09:01 -05:00
7w1 6897ce2d49 Use RELEASE_PAT for GitHub token in release workflow 2026-03-11 22:07:36 -05:00
hazre e44ee39b5e fix: docker images 2026-03-12 00:31:27 +01:00
hazre e037a40e41 ci: pin actions 2026-03-11 18:59:53 +01:00
7w1 36910272ff Merge branch 'dev' into chore/migrate-to-pnpm 2026-03-11 12:55:10 -05:00
hazre 5a2852d07d ci: add dev branch preview deployment to cloudflare workflow 2026-03-11 18:32:04 +01:00
hazre 8f9095a393 fix: type and fmt issues 2026-03-11 17:20:05 +01:00
hazre 8e31412ae6 chore: migrate package manager from npm to pnpm 2026-03-11 15:19:09 +01:00
dependabot[bot]andhaz d254177eae chore: bump knope-dev/action in the github-actions group (#144)
Bumps the github-actions group with 1 update: [knope-dev/action](https://github.com/knope-dev/action).


Updates `knope-dev/action` from 2.1.0 to 2.1.2
- [Release notes](https://github.com/knope-dev/action/releases)
- [Commits](https://github.com/knope-dev/action/compare/407e9ef7c272d2dd53a4e71e39a7839e29933c48...19617851f9f13ab2f27a05989c55efb18aca3675)

---
updated-dependencies:
- dependency-name: knope-dev/action
  dependency-version: 2.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: haz <[email protected]>
2026-03-10 19:50:56 +01:00
hazre 31c2115832 fix: knope changesets 2026-03-10 18:01:32 +01:00
7w1 4d1213b1fd Merge pull request #140 from SableClient/fix/ci-changeset-comment-and-preview-path-filters
fix(ci): remove changeset comment after adding changeset and add cloudflare worker preview path filters
2026-03-10 10:05:58 -05:00
hazre eba8a03c7a ci: add path filters to cloudflare worker preview workflow 2026-03-10 15:50:54 +01:00
hazre 90f6365462 ci: clean up changeset comment on internal label or changeset added 2026-03-10 15:50:54 +01:00
hazre 76f734a25e ci: simplify knope workflows and add PR reference in changelog 2026-03-10 15:12:20 +01:00
haz eae1955dc8 ci: prevent pushing sha images to the registry in docker workflow 2026-03-10 05:19:08 +01:00
7w1 0e6165e717 Change base branch for PR creation from main to dev 2026-03-09 21:53:09 -05:00
7w1 3080dd76d8 Remove package argument from prepare-release step 2026-03-09 21:23:21 -05:00
7w1 44c36ac42d Remove package argument from release command 2026-03-09 21:13:53 -05:00
hazre dfcac585eb ci: fix default branch name 2026-03-10 02:28:05 +01:00
hazre c5c7546563 ci: make preview build comments more pretty 2026-03-10 02:03:04 +01:00
hazre d85a9cc2ec ci: make require changeset workflow smarter 2026-03-10 01:46:55 +01:00
hazre 15e14b9363 style: fix formatting 2026-03-10 01:41:57 +01:00
hazre 0381c0a05b ci: use setup action in docker publish workflow 2026-03-10 01:40:38 +01:00