1362 Commits

Author SHA1 Message Date
Constantin Graf
046b28b3de Replace MinIO with RustFS for local S3 storage 2026-12-05 12:43:13 +01:00
Constantin Graf
560f12242f Test deduplication of members created during an import 2026-12-05 12:42:43 +01:00
Constantin Graf
411377390d Match existing time entries of members with the same email when deduplicating imports 2026-12-05 12:42:43 +01:00
dependabot[bot]
acc0fdd10b Bump sigstore/cosign-installer from 4.1.3 to 4.1.4
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](756fe2d284...881c63bd87)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-04 16:09:40 +01:00
Constantin Graf
81a0cf8aac Load existing time entries per member and compare the type when deduplicating imports
Existing time entries are now loaded per member and month (backed by the
member_id/start index) and streamed with a cursor, so only the members an
import touches are loaded. The type is part of the fingerprint, so a break is
no longer matched against a work entry.
2026-12-04 16:02:06 +01:00
Constantin Graf
a166f8ef44 Skip time entries that already exist when importing
Re-importing the same data duplicated all time entries, because only
clients, projects, tasks, tags and users were matched with existing
records. Time entries are now matched by member, start, end, project,
task and description. Matches are counted, so identical time entries
within one import are still kept.

Fixes #894
2026-12-04 16:02:06 +01:00
Gregor Vostrak
7fd9f36d69 Request uncompressed imports response in running import e2e test 2026-12-04 15:48:42 +01:00
Gregor Vostrak
e2dc40a305 keep black solidtime logo in guided import 2026-12-04 15:48:42 +01:00
Gregor Vostrak
c448955838 fix hover colors in light mode for ghost and outline buttons 2026-12-04 15:48:42 +01:00
Gregor Vostrak
51f594d0a5 add importer wizard with guided steps for each type 2026-12-04 15:48:42 +01:00
Constantin Graf
bd851e4edf Run the project's pint version in the linting workflow
The laravel-pint-action builds on composer:latest, whose current image lacks
mbstring and crashes pint. Run vendor/bin/pint after setting up PHP instead,
which also uses the pint version from composer.lock. Remove an unused import
that the newer pint version reports.
2026-12-04 15:48:42 +01:00
Constantin Graf
1b6ca3e00f Reject import files that are not UTF-8 encoded
Invalid UTF-8 (for example CSV files saved as Windows-1252 by Excel) was only
rejected by the database on insert, which failed the import with a generic
unexpected error. The CSV importers and the CSV files in solidtime exports are
now checked up front and fail with a clear message.
2026-12-04 15:48:42 +01:00
Constantin Graf
463182666b Wait for background import in e2e helper and fix coverage metadata of import and export tests 2026-12-04 15:48:42 +01:00
Constantin Graf
cbc7261a12 Only report unexpected errors of imports 2026-12-04 15:48:42 +01:00
Constantin Graf
eb1e89a91d Mark stale imports and exports as failed before creating new ones and fix review findings
- Mark stale imports/exports of the organization as failed when a new one is created, so they do not block until the prune command runs
- Move the stale check into a stale() scope on the Import and Export models
- Remove orderBy(created_at) from chunkById queries in the prune commands, it skipped rows with random UUIDs
- Delete the export file if the export was deleted while it was running
- Extract the error details formatting into ErrorDetailsFormatter
- Add the exports() relation to Organization
2026-12-04 15:48:42 +01:00
Constantin Graf
b5aa2f7e1a Rename import controller methods to match the export controller 2026-12-04 15:48:42 +01:00
Constantin Graf
89d004f88c Detect project members of another organization in the database consistency check 2026-12-04 15:48:42 +01:00
Constantin Graf
50c028ee23 Reject solidtime imports with project members that reference missing records 2026-12-04 15:48:42 +01:00
Constantin Graf
e44a3733e1 Store error details of failed imports and show them in the admin panel
The importers keep the original exception as the previous exception, so the
exception chain and stack trace can be stored in the new error_details column.
The details are only visible in the admin panel, which now also links the
organization and user of an import.
2026-12-04 15:48:42 +01:00
Constantin Graf
4c8215a889 Store exports in the database and process them in a queued job 2026-12-04 15:48:42 +01:00
Constantin Graf
a440687a41 Mark timed out and stale imports as failed in the prune command
The job's failed() handler can not mark a timed out import as failed, since
the timeout handler runs while the import transaction is still open and the
change is rolled back when the worker is killed. It also must not mark the
import as failed when the queue hands out the job a second time after
retry_after, while the first attempt is still running.

Running imports are now considered stale shortly after the job timeout and
the prune command runs every five minutes.
2026-12-04 15:48:42 +01:00
Constantin Graf
cecaa429c9 Limit the number of records a single import can create 2026-12-04 15:48:42 +01:00
Constantin Graf
a83eeb0222 Store imports in the database and process them in a queued job 2026-12-04 15:48:42 +01:00
Constantin Graf
1a589a9552 Wait for minio before creating the bucket and update the playwright image 2026-12-04 15:48:42 +01:00
Gregor Vostrak
61865f699d Publish npm packages through trusted publishing only (#1433)
* publish packages through trusted publishing only

* drop verbose npm logging
2026-12-02 14:21:43 +01:00
Gregor Vostrak
fcc7e0fed1 Publish npm packages automatically on version bumps (#1431)
* publish npm packages automatically when their version changes

* run the publish job in a main-only npm environment

* drop release tags so the publish job only needs read access

* split the package check and publish into separate workflows
2026-12-02 13:19:58 +01:00
Gregor Vostrak
df71051feb Add @solidtime/composables package for logic shared with desktop and the extension (#1430)
* add @solidtime/composables package shared by web, desktop and extension

* bump api to 0.0.8 and require it in composables

* drop the manual composables publish workflow
2026-12-01 17:22:44 +01:00
Connor Cleveland
ec74a1d841 fix: update Supercronic to v0.2.51 (#1416) 2026-11-26 19:18:40 +01:00
Gregor Vostrak
d0f5e7452f Require PHP 8.3.37 for security fix v0.23.0 2026-11-19 18:14:40 +01:00
Constantin Graf
abb07fdfc8 Look up the member once in time_entries.destroyMultiple 2026-11-19 16:18:11 +01:00
Constantin Graf
01a5961961 Add postgres 18 support 2026-11-19 14:21:02 +01:00
Constantin Graf
34ab2aed32 Normalize email case in admin commands, Filament user form, imports and placeholder merging (#1398)
* Normalize email case in admin commands, Filament user form, imports and placeholder merging

* Add tests for email case normalization

* Lowercase existing invitation emails and match duplicates case-insensitively

Adds a migration that lowercases organization_invitations.email. Invitations of the
same organization whose emails only differ in case are deduplicated first (accepted
invitation preferred, otherwise the newest), so the unique index is not violated.
The duplicate check when inviting a user now ignores case.

* Lowercase placeholder emails in migration and use Str::lower for emails
2026-11-19 14:16:03 +01:00
Constantin Graf
065967ad02 Update services extension to v0.0.10 2026-11-19 13:08:56 +01:00
Constantin Graf
3605a971b4 Fix stale heartbeat lock, skip queue heartbeat on sync driver and enforce a heartbeat timeout 2026-11-19 13:07:06 +01:00
Constantin Graf
9b742372f0 Add heartbeat monitoring for the scheduler and the queue 2026-11-19 13:07:06 +01:00
Constantin Graf
84af013881 Add invoice logo and invoice settings support
Adds the invoice logo fields to the API client and a permission helper for
the invoice settings page. Points the Invoicing extension at the
feature/invoice-logo branch, which must be pinned to a release tag before
merging.
2026-11-19 12:13:18 +01:00
Constantin Graf
56973656d0 Update billing extension to v0.0.16 2026-11-19 12:13:02 +01:00
Constantin Graf
e3b031b426 Require view all permissions for creating and updating reports 2026-11-19 11:47:21 +01:00
Gregor Vostrak
aa464e5bfe Pin SSO extension to v0.0.1 2026-11-18 16:31:48 +01:00
Gregor Vostrak
ddcf15bc8f clarify email change locked text 2026-11-18 16:31:48 +01:00
Constantin Graf
321a50cd81 Add SSO extension to the extension manifest and build workflows 2026-11-18 16:31:48 +01:00
Constantin Graf
7912b0a237 Add exit impersonation to the user menu 2026-11-18 16:31:48 +01:00
Constantin Graf
cc23cdc76b Fix bcrypt cost at 12 so the absent-user hash matches login timing 2026-11-18 16:31:48 +01:00
Gregor Vostrak
f845c9001b Add core support for extendable authentication and passwordless user
creation
2026-11-18 16:31:48 +01:00
Constantin Graf
9c4e9f373a Updated billing extension to v0.0.15 2026-11-11 19:47:31 +01:00
Constantin Graf
eb8c0b0091 Remove unimplemented users/me/time-entries route 2026-11-11 19:42:39 +01:00
Gregor Vostrak
0ca240ac22 Fix calendar drag moving events by the start hour offset
Fixes #1361
2026-11-11 18:43:14 +01:00
Constantin Graf
7a570dc567 Recalculate project and task spent time after admin time entry changes
Creating, editing, deleting and bulk deleting time entries in the Filament
admin panel did not dispatch the spent time recalculation jobs, leaving
stale spent_time values on projects and tasks.

Fixes #1319
2026-11-11 18:26:57 +01:00
Constantin Graf
525ee8d426 Fail prod image build if PHP is below configurable minimum version 2026-11-09 14:25:42 +01:00
Gregor Vostrak
6e1e947dcf Unpin PHP patch version in prod Dockerfile 2026-11-09 14:25:42 +01:00