Ike
0d88aa1ca1
[PM-21925] Add MasterPasswordSalt Column to User Table ( #6950 )
...
feat: add MasterPasswordSalt column to User table
- Add MasterPasswordSalt column to User table in both Dapper and EF implementations
- Update User stored procedures (Create, Update, UpdateMasterPassword) to handle salt column
- Add EF migrations and update UserView with dependent views
- Set MaxLength constraint on MasterPasswordSalt column
- Update UserRepository implementations to manage salt field
- Add comprehensive test coverage for salt handling and normalization
1 month ago
Maciej Zieniuk
6a7b8f5a89
[PM-31052][PM-32469] Add V2UpgradeToken for key rotation without logout ( #6995 )
...
* User V2UpgradeToken for key rotation without logout
* reset old v2 upgrade token on manual key rotation
* sql migration fix
* missing table column
* missing view update
* tests for V2UpgradeToken clearing on manual key rotation
* V2 to V2 rotation causes logout. Updated wrapped key 1 to be a valid V2 encrypted string in tests.
* integration tests failures - increase assert recent for date time type from 2 to 5 seconds (usually for UpdatedAt assertions)
* repository test coverage
* migration script update
* new EF migration scripts
* broken EF migration scripts fixed
* refresh views due to User table alternation
2 months ago
Maciej Zieniuk
a92d7ac129
[PM-27280] Support v2 encryption on key-connector signups ( #6712 )
...
* account v2 registration for key connector
* use new user repository functions
* test coverage
* integration test coverage
* documentation
* code review
* missing test coverage
* fix failing test
* failing test
* incorrect ticket number
* moved back request model to Api, created dedicated data class in Core
* sql stored procedure type mismatch, simplification
* key connector authorization handler
4 months ago
Thomas Rittson
09d07d864e
[AC-1751] AC Team code ownership moves: OrganizationUser (part 1) ( #3487 )
...
* Move OrganizationUser domain to AC Team ownership
* Namespaces will be updated in a separate commit
2 years ago
Thomas Rittson
9021236d61
AC Team code ownership moves: Organization pt. 1 ( #3472 )
...
* move Organization.cs files to AC Team code ownership
2 years ago
Justin Baur
79648b311e
[PM-3555] Remove `ClearTracker()` ( #3213 )
...
* Remove ClearTracker
* Remove from CipherRepositoryTests
3 years ago
Justin Baur
61a0efbdfc
[PM-2444] Add Pipeline for Testing All Database Variants in CI ( #2471 )
...
* Add Pipeline
* Fix Lint
* Added a Change
* Update Pipeline
* Add Multi-Version Support
* Use Profile Switch for each profile
* Fix MySql
* Debug MySql
* Use Proper Seperator
* Add Allow User Variables=true
* Pipeline Work
* Expand Config for Postgres
* Change Config Key
* Add Debug Step
* Fix Debug Step
* Fix Tests
* Add Sleep
* Fix Tests
* Fix SQL Server Tests
* Add Sqlite
* Use Context Property
* Fix Tests
* Fix Test Logger
* Update AccountRevisionDate Check
* Fix Postgres Time Issues
* Formatting and Pipeline Update
* Remove Unneeded SqlServer Setting
* Update .github/workflows/infrastructure-tests.yml
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
---------
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
3 years ago
Jake Fink
88dd745070
[PM-1188] Server owner auth migration ( #2825 )
...
* [PM-1188] add sso project to auth
* [PM-1188] move sso api models to auth
* [PM-1188] fix sso api model namespace & imports
* [PM-1188] move core files to auth
* [PM-1188] fix core sso namespace & models
* [PM-1188] move sso repository files to auth
* [PM-1188] fix sso repo files namespace & imports
* [PM-1188] move sso sql files to auth folder
* [PM-1188] move sso test files to auth folders
* [PM-1188] fix sso tests namespace & imports
* [PM-1188] move auth api files to auth folder
* [PM-1188] fix auth api files namespace & imports
* [PM-1188] move auth core files to auth folder
* [PM-1188] fix auth core files namespace & imports
* [PM-1188] move auth email templates to auth folder
* [PM-1188] move auth email folder back into shared directory
* [PM-1188] fix auth email names
* [PM-1188] move auth core models to auth folder
* [PM-1188] fix auth model namespace & imports
* [PM-1188] add entire Identity project to auth codeowners
* [PM-1188] fix auth orm files namespace & imports
* [PM-1188] move auth orm files to auth folder
* [PM-1188] move auth sql files to auth folder
* [PM-1188] move auth tests to auth folder
* [PM-1188] fix auth test files namespace & imports
* [PM-1188] move emergency access api files to auth folder
* [PM-1188] fix emergencyaccess api files namespace & imports
* [PM-1188] move emergency access core files to auth folder
* [PM-1188] fix emergency access core files namespace & imports
* [PM-1188] move emergency access orm files to auth folder
* [PM-1188] fix emergency access orm files namespace & imports
* [PM-1188] move emergency access sql files to auth folder
* [PM-1188] move emergencyaccess test files to auth folder
* [PM-1188] fix emergency access test files namespace & imports
* [PM-1188] move captcha files to auth folder
* [PM-1188] fix captcha files namespace & imports
* [PM-1188] move auth admin files into auth folder
* [PM-1188] fix admin auth files namespace & imports
- configure mvc to look in auth folders for views
* [PM-1188] remove extra imports and formatting
* [PM-1188] fix ef auth model imports
* [PM-1188] fix DatabaseContextModelSnapshot paths
* [PM-1188] fix grant import in ef
* [PM-1188] update sqlproj
* [PM-1188] move missed sqlproj files
* [PM-1188] move auth ef models out of auth folder
* [PM-1188] fix auth ef models namespace
* [PM-1188] remove auth ef models unused imports
* [PM-1188] fix imports for auth ef models
* [PM-1188] fix more ef model imports
* [PM-1188] fix file encodings
3 years ago
Robyn MacCallum
3289a8c35e
[SG-998] Move files to Vault folders ( #2724 )
...
* Move Api files
* Move Core files
* Move Infrastructure files
* Move Sql Files
* Move Api Sync files to Vault
* Move test vault files
* Update Sql.sqlproj paths
* Update Codeowners
* Fix vault file paths in sqlproj
* Update CipherDetails.sql path in sqlproj
* Update Core models and entities namespaces
* Update namespaces Core Services and Repositories
* Missed service namespaces
* Update Api namespaces
* Update Infrastructure namespaces
* Move infrastructure queries that were missed
* Tests namespace updates
* Admin and Events namespace updates
* Remove unused usings
* Remove extra CiphersController usings
* Rename folder
* Fix CipherDetails namespace
* Sqlproj fixes
* Move stored procs into folders by table
* using order fix
3 years ago
Justin Baur
efe91fd0d8
[PS-1928] Add `BumpAccountRevisionDate` methods ( #2458 )
...
* Move RevisionDate Bumps to Extension Class
* Add Tests against live databases
* Run Formatting
* Fix Typo
* Fix Test Solution Typo
* Await ReplaceAsync
3 years ago