Stanko K.R.
2dbbeffdcf
Fix SSL issues when reading remote ZIP files
...
This is caused by our self-signed PureStorage certs. Once that's taken care of this commit can be reverted.
2026-02-02 13:16:59 +01:00
Stanko K.R.
a6609e1bbc
Add test got the import job
2026-02-02 13:03:26 +01:00
Stanko K.R.
ccbf571be4
Fix crash on commentable check
2026-02-02 12:51:46 +01:00
Stanko K.R.
58a14fb1f5
Fix load error
2026-02-02 12:49:39 +01:00
Stanko K.R.
de69d2e6fe
Add import cleanup
2026-02-02 12:36:48 +01:00
Stanko K.R.
5bbd7f633d
Process everything in chunks
...
The old implementation loaded files into memory to provide an IO interface. This has the obvious downside of loading any file included in the import, e.g. a 10GB video file, into memory. ZipKit has no native IO object for reading but it provides all the necessary methods to implement one.
2026-02-02 12:36:48 +01:00
Stanko K.R.
dd13a3b87c
Style
2026-02-02 12:36:48 +01:00
Stanko K.R.
774a44f800
Tweak email copy
2026-02-02 12:36:48 +01:00
Stanko K.R.
a791fe1919
Hide importing accounts
2026-02-02 12:36:48 +01:00
Stanko K.R.
27c73ff42b
Rename validate to check
...
Validate is an ActiveModel method, overriding it could have unintended side-effects so I opted to rename it
2026-02-02 12:36:48 +01:00
Stanko K.R.
0240ffca34
Fix import validation failure
...
During import, card return nil since it doesn't exist yet
2026-02-02 12:36:48 +01:00
Stanko K.R.
b659e326e1
Name the export ZIPs differently
2026-02-02 12:36:48 +01:00
Stanko K.R.
992f15066b
Replace RubyZip with ZipKit
...
ZipKit can read and write files directly from S3 which makes both imports and exports way more efficient in terms of disk usage.
2026-02-02 12:36:48 +01:00
Stanko K.R.
184150006f
Unify ZIP file interactions between all exports
2026-02-02 12:36:48 +01:00
Stanko K.R.
635dbb90cb
Rename the Import controller to Account::Import
2026-02-02 12:36:48 +01:00
Stanko K.R.
eed2b3c8a7
Cleanup code
2026-02-02 12:36:48 +01:00
Stanko K.R.
e0cee2c770
Simplify the import test
2026-02-02 12:36:48 +01:00
Stanko K.R.
f50d6d093d
Implement cursors for imports
2026-02-02 12:36:48 +01:00
Stanko K.R.
63f6be4ef5
Resolve import conflicts
2026-02-02 12:36:48 +01:00
Stanko K.R.
6044303078
Remove unused association
2026-02-02 12:36:48 +01:00
Stanko K.R.
eb9cfc3b36
Push updates via Turbo
2026-02-02 12:36:48 +01:00
Stanko K.R.
2cb77eaaf7
Fix orphaned Entropy records upon Account destruction
2026-02-02 12:36:48 +01:00
Stanko K.R.
0452d243e1
Fix account creation and import updates
2026-02-02 12:36:48 +01:00
Stanko K.R.
b97934ff48
Fix crash when exporting ActiveStorage files
2026-02-02 12:36:48 +01:00
Andy Smith
1ca52f0572
Smaller border radius to handle long file names
2026-02-02 12:36:48 +01:00
Andy Smith
5278b8e5fd
Touch up the Download Export page
2026-02-02 12:36:48 +01:00
Andy Smith
77b15687eb
Better instructions
2026-02-02 12:36:48 +01:00
Andy Smith
ba260db8a2
Nicer file input
2026-02-02 12:36:48 +01:00
Andy Smith
d55aa25f9a
Polish the session menu page
2026-02-02 12:36:48 +01:00
Andy Smith
60787a00ef
Touch up export modals
2026-02-02 12:36:48 +01:00
Stanko K.R.
122a228ed4
Use convention to create boilerplate record sets
2026-02-02 12:36:48 +01:00
Stanko K.R.
f457273937
Convert double negatives into a positive question
2026-02-02 12:36:48 +01:00
Stanko K.R.
3f2a91922a
Regenerate schemas
2026-02-02 12:36:48 +01:00
Stanko K.R.
00c5f7feab
Break import and export objects into record sets
2026-02-02 12:36:48 +01:00
Andy Smith
4f2cb01143
Polish up notification settings to match
2026-02-02 12:36:48 +01:00
Andy Smith
e892b74cf2
Simplify settings layout and correct h2 levels
2026-02-02 12:36:48 +01:00
Stanko K.R.
19ae555c2e
Convert Account::SingleUserExport to User::DataExport
2026-02-02 12:36:48 +01:00
Stanko K.R.
161efb0b8e
Implement basic imports
2026-02-02 12:36:48 +01:00
Stanko K.R.
8953920652
Implement full account exports
2026-02-02 12:36:48 +01:00
Stanko K.R.
6f17e3867d
Split Export model into user and whole-account export
2026-02-02 12:36:31 +01:00
Rosa Gutierrez
63d9f29b1e
Return internal account ID after signup completion
...
This matches what we return from `/my/identity` endpoint for each
account.
2026-01-30 13:41:37 +01:00
Rosa Gutierrez
614527e9c2
Add JSON format support to signup flow for native API clients
...
The magic link verification endpoint now returns `requires_signup_completion`
to indicate whether the client needs to collect a name and complete signup.
The signup completion endpoint now supports JSON responses with the account ID.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-30 13:41:37 +01:00
Mike Dalessio
231fa311c1
Merge pull request #2453 from basecamp/flavorjones/fix-create-card-2
...
Fix lightbox blocking clicks on page elements
2026-01-28 17:58:21 -05:00
Mike Dalessio
017e1434f1
Reapply "Fix lightbox blocking clicks on page elements"
...
This reverts commit c70c4b4107 .
2026-01-28 17:53:53 -05:00
Mike Dalessio
c70c4b4107
Revert "Fix lightbox blocking clicks on page elements"
...
This reverts commit 17b7af9b92 .
2026-01-28 17:53:21 -05:00
Mike Dalessio
17b7af9b92
Fix lightbox blocking clicks on page elements
...
The CSS change in 39575a0 added `display: flex` to the lightbox dialog
unconditionally, which overrode the browser's default `display: none`
for closed dialogs. This made the invisible lightbox overlay intercept
all clicks on the page.
Move flexbox properties to the `&[open]` selector so they only apply
when the dialog is actually open.
Also fix typo: `innerHtml` → `innerHTML` (capital H).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-28 17:51:32 -05:00
Mike Dalessio
a67dea6347
Merge pull request #2450 from basecamp/flavorjones/coworker-audit-api
...
saas: Update audits1984 and allow the auditor token for LLM access to audits
2026-01-28 14:34:56 -05:00
Mike Dalessio
89d2f2d0fc
saas: Add bearer token authentication for audit console
...
- Rename SaasAdminController to Admin::AuditController
- Override require_authentication to support bearer tokens alongside
session auth, allowing API access to audit console
- Add migration for audits1984_auditor_tokens table
- Add controller tests for authentication scenarios including staff
validation on token-based access
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-28 14:13:54 -05:00
Mike Dalessio
4e61b64d9a
Update to feature branch of audits1984
2026-01-28 14:13:51 -05:00
Mike Dalessio
3b13c8573e
saas: Backfill tests for admin audit endpoints
2026-01-28 12:55:28 -05:00