Jorge Manrubia
2061ab4ab2
Use dedicated sequence record instead of deal with issues with ids and uuids when using the previous approach
2025-11-28 15:53:58 +01:00
Jorge Manrubia
07b4c55185
Auto-increment external_account_id automatically by default to allow upcoming simple signups
2025-11-28 15:53:58 +01:00
Mike Dalessio
e0aa1d257e
Drop User.system and replace with Account#system_user
2025-11-24 13:23:57 -05:00
Mike Dalessio
e3d86bb21e
Clean up some spots where "current account" is ambiguous
...
Primarily this is in tests (which were caught by temporarily
introducing acts_as_tenant and enabling safety checks), but notably
action cable connections were not working properly, and that's now
fixed.
2025-11-17 09:12:41 -05:00
Stanko K.R.
34d83aaa7c
Fix tests after the removal of memberships
2025-11-17 09:12:40 -05:00
Mike Dalessio
fa964240e9
Get account test passing
2025-11-17 09:11:57 -05:00
Mike Dalessio
895f5514b5
rubocop fixes
2025-11-17 09:11:52 -05:00
Mike Dalessio
7bd697f75e
test: Skip search tests, fix others, and skip a few hard ones
2025-11-17 09:11:42 -05:00
Mike Dalessio
362427b383
More changes to get setup and tests to run
2025-11-17 09:11:42 -05:00
Mike Dalessio
d41d50d52b
Account.sole → Current.account
...
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00
Stanko K.R.
fd7a9330e8
Remove email_address & password_digest from User
2025-11-04 07:20:16 +01:00
Stanko K.R.
79b012f319
Add Join Codes
2025-10-31 16:24:30 +01:00
Stanko Krtalić
6efeb03252
Create system user with account ( #1345 )
...
* Create system user with account
* Update tests
2025-10-17 20:23:34 +02:00
Mike Dalessio
f26b0b7256
Rename accounts.tenant_id to external_account_id
...
and simplify the params to Account.create_with_admin_user
2025-10-03 17:21:01 -04:00
Mike Dalessio
8e0cb930af
Delete SignalId concerns from the codebase
...
including Signup for now, will rebuild it with just QB
2025-10-03 14:06:51 -04:00
Mike Dalessio
fcd3c178ce
Account#slug uses the virtual "tenant" attribute
2025-10-02 16:44:24 -04:00
Mike Dalessio
d5a4239d19
Rename the queenbee_id and signal_user_id columns
...
to be more generic for the open-source release.
Find the signal account via Account#external_account
Find the signal user via User#external_user
2025-09-15 13:57:53 -04:00
Mike Dalessio
9bdc273c76
Prefer Account#slug to Account.script_name
...
Caching the script name in a class instance variable seemed like a bug
to me.
2025-08-09 14:27:41 -04:00
Mike Dalessio
192c6036bc
Account belongs to Signal::Account
2025-06-20 15:16:56 -04:00
Jeffrey Hardy
683338fb02
Go with Account instead of Organization as the top-level tenant entity
2024-08-16 17:06:49 -04:00