Commit graph

1334 commits

Author SHA1 Message Date
Johannes Millan
4ea38843d0 feat: add npm commands for single file operations with minified output
- Add 'npm run checkFile <file>' to run prettier and lint on a single file
- Add 'npm run prettier:file <file>' for formatting individual files
- Add 'npm run lint:file <file>' for linting individual files
- Add 'npm run test:file <file>' for running tests on individual spec files
- Create wrapper scripts that show minimal output on success, full output on errors
- Update CLAUDE.md to emphasize using checkFile command frequently
- Add 25-second timeout for test execution to prevent hanging
2025-07-12 10:48:51 +02:00
Johannes Millan
469a25f273 build: fix e2e tests 2025-07-10 19:39:45 +02:00
Johannes Millan
43d335be31 14.0.5 2025-07-06 16:12:04 +02:00
Johannes Millan
e3b77aa51f 14.0.4 2025-07-06 12:48:46 +02:00
Johannes Millan
ce0fd3cd8d fix: remove unused imports and variables to resolve lint errors
- Remove unused SyncInvalidTimeValuesError import
- Remove unused lamportToVectorClock import
- Remove unused _checkForUpdate function and related helper
- Clean up trailing whitespace
2025-07-05 20:08:44 +02:00
Johannes Millan
fe45772c54 14.0.3 2025-07-04 14:28:17 +02:00
Johannes Millan
051eb52e4d 14.0.2 2025-07-01 22:06:09 +02:00
Johannes Millan
ec95067a88
Merge pull request #4684 from johannesjo/dependabot/npm_and_yarn/eslint-config-prettier-10.1.5
build(deps-dev): bump eslint-config-prettier from 10.1.1 to 10.1.5
2025-07-01 17:31:08 +02:00
Johannes Millan
f50e3d0640
Merge pull request #4683 from johannesjo/dependabot/npm_and_yarn/fs-extra-11.3.0
build(deps): bump fs-extra from 11.2.0 to 11.3.0
2025-07-01 17:30:55 +02:00
Johannes Millan
e7ead840b4
Merge pull request #4682 from johannesjo/dependabot/npm_and_yarn/angular-eslint/schematics-20.1.1
build(deps-dev): bump @angular-eslint/schematics from 19.3.0 to 20.1.1
2025-07-01 17:30:39 +02:00
Johannes Millan
49398f9a50
Merge pull request #4679 from johannesjo/dependabot/npm_and_yarn/typescript-eslint/utils-8.35.1
build(deps-dev): bump @typescript-eslint/utils from 7.18.0 to 8.35.1
2025-07-01 17:30:28 +02:00
dependabot[bot]
8a3c4f40cc
build(deps-dev): bump eslint-config-prettier from 10.1.1 to 10.1.5
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.1 to 10.1.5.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.1...v10.1.5)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 13:50:09 +00:00
dependabot[bot]
1554c74ce3
build(deps): bump fs-extra from 11.2.0 to 11.3.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.2.0 to 11.3.0.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.2.0...11.3.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-version: 11.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 13:47:19 +00:00
dependabot[bot]
05054497da
build(deps-dev): bump @angular-eslint/schematics from 19.3.0 to 20.1.1
Bumps [@angular-eslint/schematics](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/schematics) from 19.3.0 to 20.1.1.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/schematics/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v20.1.1/packages/schematics)

---
updated-dependencies:
- dependency-name: "@angular-eslint/schematics"
  dependency-version: 20.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 13:47:07 +00:00
dependabot[bot]
8cbe59fc4d
build(deps): bump @rollup/rollup-win32-x64-msvc from 4.28.0 to 4.44.1
Bumps [@rollup/rollup-win32-x64-msvc](https://github.com/rollup/rollup) from 4.28.0 to 4.44.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.28.0...v4.44.1)

---
updated-dependencies:
- dependency-name: "@rollup/rollup-win32-x64-msvc"
  dependency-version: 4.44.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 13:37:33 +00:00
dependabot[bot]
b9b6c1223f
build(deps-dev): bump @typescript-eslint/utils from 7.18.0 to 8.35.1
Bumps [@typescript-eslint/utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils) from 7.18.0 to 8.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.1/packages/utils)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/utils"
  dependency-version: 8.35.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 13:32:07 +00:00
Johannes Millan
736d9fe0f3 14.0.1 2025-06-30 21:54:06 +02:00
Johannes Millan
4e71847ce6 14.0.0 2025-06-29 15:48:13 +02:00
Johannes Millan
7333f6118a 14.0.0-rc.1 2025-06-29 15:42:10 +02:00
Johannes Millan
8838be0aad feat: cleanup and update plugins 2 2025-06-29 06:36:02 +02:00
Johannes Millan
d7225312bd feat(timezone): add comprehensive timezone tests and fix tomorrow date calculation
- Fix add-tasks-for-tomorrow service to use dateStrToUtcDate() instead of new Date()
  to prevent timezone issues in negative UTC offsets
- Add comprehensive timezone tests for date utility functions:
  - getDateRangeForDay: test day boundaries, DST transitions, edge cases
  - getDateTimeFromClockString: test clock parsing, local time preservation
  - getDateRangeForWeek: enhance with timezone, DST, and boundary tests
- Document timezone behavior analysis and decisions
- Update CI to test in Los Angeles timezone in addition to Berlin

These changes ensure consistent date/time behavior across all timezones,
preventing issues like the day of week mismatch reported in issue #4653.
2025-06-28 15:53:49 +02:00
Johannes Millan
257eff904a fix(date): resolve day of week mismatch in negative UTC timezones
Fixes issue #4653 where the day of week displayed in Worklog and Quick History
views was incorrect for users in negative UTC offset timezones (e.g., America/Los_Angeles).

The bug was caused by using `new Date(dateStr)` which interprets YYYY-MM-DD format
strings as UTC, causing date shifts in negative timezone offsets.

Changes:
- Use `dateStrToUtcDate` utility in `formatDayStr` and `formatDayMonthStr` functions
- Add comprehensive timezone tests for date formatting utilities
- Fix string to number conversion in `autoFixTypiaErrors` for task entities
- Fix TypeScript type issues in multiple test files
- Add timezone test scripts to package.json for CI testing

The fix ensures dates are parsed correctly in the local timezone regardless
of the user's timezone offset.
2025-06-28 15:02:18 +02:00
Johannes Millan
f99aaf4e85 14.0.0-rc.0 2025-06-27 22:55:09 +02:00
Johannes Millan
c7b65bc003 fix: resolve e2e test failures and build issues
- Add missing e2e-toggle-issue-provider-panel class to issue panel button
- Add missing e2e-toggle-notes-btn class to notes toggle button
- Fix Android build by replacing p-throttle with custom throttle implementation
- Remove p-throttle dependency to resolve FinalizationRegistry compatibility
- Add console.warn for debugging string-to-number conversion in auto-fix-typia-errors

This resolves the failing e2e tests for issue-provider-panel and the Android build error.
2025-06-27 22:28:46 +02:00
Johannes Millan
d4d81bf511 feat(plugin-api): create foundational plugin API package
- Add @super-productivity/plugin-api package with TypeScript definitions
- Define core plugin interfaces, types, and manifest structure
- Add plugin hooks system for event-driven architecture
- Create plugin API type definitions and constants
- Add documentation and development guidelines
2025-06-27 18:13:19 +02:00
Johannes Millan
b429492e9c build: re-add electron builder stuff 2025-06-27 12:12:13 +02:00
Johannes Millan
75f1b64105 build: update configuration files
Update various configuration files as part of the build system reorganization.
2025-06-27 10:25:00 +02:00
Johannes Millan
ebc2ff1998 build: better organize stuff 2025-06-27 09:03:16 +02:00
Johannes Millan
0b3cdb5f9c 13.1.5 2025-06-22 18:01:17 +02:00
Johannes Millan
c76167a8e0 13.1.4 2025-06-22 17:58:24 +02:00
Johannes Millan
f2cce8768c 13.1.3 2025-06-22 17:06:03 +02:00
Johannes Millan
bbd90fcc86 feat(i18n): remove orphaned translations 2025-06-22 16:15:28 +02:00
Johannes Millan
2cfae6ccd4 13.1.2 2025-06-21 21:23:22 +02:00
Johannes Millan
0b1a7dc30f 13.1.1 2025-06-21 20:48:26 +02:00
Johannes Millan
8db186de91 feat: add idle handling for wayland 2025-06-19 20:13:51 +02:00
Johannes Millan
4196357b50 fix: update electron-log to fix deprecated session API warnings
Updated electron-log from 5.1.2 to 5.4.1 which includes a fix for the deprecated
session.getPreloads() and session.setPreloads() methods. The library now uses
the new session.registerPreloadScript() API when available, eliminating the
deprecation warnings that appeared when starting the app.
2025-06-19 15:24:22 +02:00
Johannes Millan
0080154ca5 feat: replace moment.js with native date 2025-06-18 19:34:46 +02:00
Johannes Millan
5250d71c30 13.1.0 2025-06-17 20:19:05 +02:00
Johannes Millan
7785177060 feat: remove ngzone 2025-06-16 19:13:53 +02:00
Johannes Millan
d91adfaeb3 13.1.0-rc.0 2025-06-15 19:32:36 +02:00
Johannes Millan
07d87fecd7 build: fix? 2025-06-11 13:11:50 +02:00
Johannes Millan
8fbd7bab0a feat: add prettier stuff 2025-06-10 10:17:50 +02:00
Johannes Millan
94b77b46d8 13.0.11 2025-06-09 19:26:27 +02:00
Johannes Millan
81572ec63c feat(sync): use idb instead of capacitor preferences for saving config stuff #4390 2025-06-09 13:41:16 +02:00
Johannes Millan
ea2ca8e622 feat(saf-droid): outline 2025-06-09 13:41:16 +02:00
Johannes Millan
8951943488 build: update electron and capacitor deps 2025-06-08 17:05:58 +02:00
dependabot[bot]
6f10f5fb78 build(deps-dev): bump idb from 8.0.2 to 8.0.3
Bumps [idb](https://github.com/jakearchibald/idb) from 8.0.2 to 8.0.3.
- [Changelog](https://github.com/jakearchibald/idb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jakearchibald/idb/compare/v8.0.2...v8.0.3)

---
updated-dependencies:
- dependency-name: idb
  dependency-version: 8.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 15:07:50 +03:00
dependabot[bot]
4e49ef6062 build(deps-dev): bump @ngx-translate/http-loader from 7.0.0 to 16.0.1
Bumps [@ngx-translate/http-loader](https://github.com/ngx-translate/core) from 7.0.0 to 16.0.1.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](https://github.com/ngx-translate/core/commits)

---
updated-dependencies:
- dependency-name: "@ngx-translate/http-loader"
  dependency-version: 16.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 14:47:22 +03:00
Johannes Millan
05d9e2c2de 13.0.10 2025-05-16 19:35:15 +02:00
Johannes Millan
cd3e868517 13.0.9 2025-05-16 09:49:06 +02:00