Michał Chęciński
3e90f57797
[DEVOPS-1519] Add transition mode to mssql migrator utility ( #3259 )
...
* Add RerunableSqlTableJournal
* Add extension to use rerunable sql table journal
* Use rerunable sql journal
* format
* Enable logging
* FIx
* Disable logging
* Rename to SqlTableJournalExtensions
* Move RerunableSqlTableJournal to Extension class
* Fix usings
* Add rerunable schema
* Format
* Fix typo
* Enable logging in db migrator
* add rerunable column in dbo migrations table migration
* Trying
* Fix journal table name
* Trying to migrate first
* After migration
* Testing
* Add update from rerunable to not rerunable script
* Change name
* Add rerunable option and script folder name
* Add rerunable options and folder
* Fix
* Add transition (aka rerunable) migrations to Setup
* Parse parameters on migrator utility
* Fix sql scripts
* Remove CreateSchemaTableSql as it'll be migrated using migration
* Embed dbScripts_data_migration folder
* Remove testing sql script
* Add optins parsing nuget for msSqlMigratorUtility
* Fix sql journal
* Ran dotnet format
* Comment out index
* ▫️ Revert "Comment out index"
This reverts commit df15fa91e0
.
* Disable logging
* Add newline
* Rename rerunable to repeatable
* remove repeatable journal
* Remove migration adding the repeatable column in dbo.Migrations table
* Add using
* Enable log for testing
* Disable logging in the setup
* Remove unused method
* Add migrator constants
* Use constants in yet another place
* Fix
* Add constant
* Fix
* Fix
2023-09-28 16:29:52 +02:00
Vince Grassia
6aff9b7b05
Update Setup project to handle EU region ( #3137 )
2023-07-31 13:14:33 -04:00
Michał Chęciński
5e3f4c9bbe
Revert "Revert "[DEVOPS-1215] Build migrator CLI project ( #2747 )" ( #2769 )" ( #2774 )
...
This reverts commit f8cbd4ef7d
.
2023-03-07 14:10:34 +01:00
Michał Chęciński
f8cbd4ef7d
Revert "[DEVOPS-1215] Build migrator CLI project ( #2747 )" ( #2769 )
...
This reverts commit 9cbf254fef
.
2023-03-06 18:02:19 +01:00
Michał Chęciński
9cbf254fef
[DEVOPS-1215] Build migrator CLI project ( #2747 )
...
* Add migrator cli
* Ran format
* Acc build workflow
* Change paths in push and pr triggers
* Add build migrator cli to build workflow
* Remove build migrator cli workflow
* Add different levels of logs for verbose
* Rename migratorCLI to MsSqlMigratorUtility
* Add MsSqlMigratorUtility to solution file
* Remove the clean command
* Fix name and path in build workflow
* Add retry logic to DbMigrator instead of invocation
* Add migrator with retry mechanism as a new method
* Log the migration start log to migrate database method
* Fix name in build
* Fix cli leftovers
* Fix exception var name
* String interpolation
* Remove redundant check for number
* Remove CommandDotNet
* dotnet format
* Remove CommandDotNet from packages lock
* Remove all cli
* Trying to remove usings to see if this fixes linter
* Add usings back again - uild is failing
* Remove implicit usings
* Trying to fix linter issues
* Trying to fix linter
2023-03-06 15:39:30 +01:00
Matt Bishop
df2edcfb8c
Migrate to Microsoft.Data.SqlClient ( #2548 )
2023-01-10 15:58:41 -05:00
Justin Baur
7f5f010e1e
Run formatting ( #2230 )
2022-08-29 16:06:55 -04:00
Justin Baur
bae03feffe
Revert filescoped ( #2227 )
...
* Revert "Add git blame entry (#2226 )"
This reverts commit 239286737d
.
* Revert "Turn on file scoped namespaces (#2225 )"
This reverts commit 34fb4cca2a
.
2022-08-29 15:53:48 -04:00
Justin Baur
34fb4cca2a
Turn on file scoped namespaces ( #2225 )
2022-08-29 14:53:16 -04:00
Justin Baur
231eb84e69
Turn On ImplicitUsings
( #2079 )
...
* Turn on ImplicitUsings
* Fix formatting
* Run linter
2022-06-29 19:46:41 -04:00
Oscar Hinton
6f2f475aa3
Change setup validation to use a dto ( #1852 )
2022-02-09 17:13:21 +01:00
Justin Baur
5268f2781e
Start Migration from Newtonsoft.Json to System.Text.Json ( #1803 )
...
* Start switch to System.Text.Json
* Work on switching to System.Text.Json
* Main work on STJ refactor
* Fix build errors
* Run formatting
* Delete unused file
* Use legacy for two factor providers
* Run formatter
* Add TokenProviderTests
* Run formatting
* Fix merge issues
* Switch to use JsonSerializer
* Address PR feedback
* Fix formatting
* Ran formatter
* Switch to async
* Ensure Enums are serialized as strings
* Fix formatting
* Enqueue single items as arrays
* Remove CreateAsync method on AzureQueueService
2022-01-21 09:36:25 -05:00
Micaiah Martin
735f58dd6f
Feature/add key-connector version to self-hosted scripts ( #1784 )
...
* Added Key Connector version
* Fix updatebw() for Key Connector
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-12-29 09:07:16 -07:00
Jake Fink
11aafac915
remove re-throws of exceptions, which clear the stack trace ( #1760 )
...
* remove re-throws of exceptions, which clear the stack trace
* remove whitespace
2021-12-16 15:35:07 -05:00
Oscar Hinton
23b0a1f9df
Run dotnet format ( #1764 )
2021-12-16 15:35:09 +01:00
Joseph Flinn
3a22f91ff5
Enable key connector selfhost ( #1707 )
...
* initial commit
* Add code for Key Connector feature
* Add help URL to config
* Fix folders for key-connector service
* Fix paths for key-connector
* fixing the env file builder when disabling the key connector
* swapping a variable name
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-11-16 09:52:02 -08:00
Matt Portune
dbf82385c9
remove assetlinks ( #1553 )
2021-08-30 21:40:43 -04:00
Vince Grassia
eb0b8da911
Fix for Identity.pfx containing multiple certs ( #1457 )
...
* Fix for Identity.pfx containing multiple certs
* Remove unused import
* Update fix to use existing certificate and key instead of generating new
2021-07-14 14:41:15 -04:00
Vince Grassia
bdcfbb3b43
Allow for changing database name ( #1397 )
...
* Remove hard coded database name
* Update permissions on build scripts
* Update Setup project and run scripts for configuring database name
* Remove hyphen from database name flag
* Update with suggested changes, still needs testing
* Revert SQL statements to concatenantion for testing
* Fix typo
* Update util/Setup/EnvironmentFileBuilder.cs
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
* Update SQL commands to prevent SQL injection attacks
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-07-02 10:52:34 -04:00
Matt Portune
0e76371d0d
Android FIDO2 Asset Links ( #1359 )
...
* asset links for Android FIDO2
* added release & debug fingerprints
2021-05-27 13:00:38 -04:00
Vince Grassia
0366c0efef
Add install-id, install-key, and skip-ssl flags to Setup Project ( #1260 )
...
* Add install-id, install-key, and skip-ssl flags
* Update util/Setup/CertBuilder.cs
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
* Update util/Setup/Program.cs
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
* Remove redundant variable assignment
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2021-04-06 14:39:27 -04:00
Chad Scharf
9800b752c0
Changed all C# control flow block statements to include space between keyword and open paren
2020-03-27 14:36:37 -04:00
Kyle Spearrin
242e509b9d
set en-US as default current culture
2019-07-11 15:03:17 -04:00
Kyle Spearrin
085c13f508
next step is just start
2019-03-25 16:24:16 -04:00
Kyle Spearrin
28884c3330
move migrations to migrator project
2019-03-25 13:21:05 -04:00
Kyle Spearrin
ce9016acfb
log to console is not quiet
2019-03-25 09:03:30 -04:00
Kyle Spearrin
0f7963f79c
stub install
2019-03-15 09:28:39 -04:00
Kyle Spearrin
b6f54324a5
quiet output for setup scripts
2019-03-12 10:26:14 -04:00
Kyle Spearrin
bb1860d861
read connection string from env file for migration
2018-10-31 23:32:22 -04:00
SoulSeekkor
976869c968
Fixed various typos. ( #378 )
2018-10-18 11:41:49 -04:00
Kyle Spearrin
fd8f5be117
new line
2018-09-17 15:18:49 -04:00
Kyle Spearrin
7a6d09a28e
refs and installation complete message
2018-08-31 09:16:01 -04:00
Kyle Spearrin
a3744facc7
remove install complete message
2018-08-30 22:36:45 -04:00
Kyle Spearrin
c87ce222eb
contains checks for nginx conf config.yml build
2018-08-30 22:30:31 -04:00
Kyle Spearrin
69605fab5b
rebuild instructions
2018-08-30 16:09:18 -04:00
Kyle Spearrin
310e6bcf61
convert setup to use config.yml
2018-08-30 11:35:44 -04:00
Kyle Spearrin
06d5b4af29
turn off database autoclose
2018-08-09 16:57:15 -04:00
Kyle Spearrin
b0aef93597
move script back and move userview update up
2018-07-19 16:22:30 -04:00
Kyle Spearrin
266fc579f2
cleanup installer. break apart update script
2018-07-19 16:01:54 -04:00
Kyle Spearrin
6f1f2305e3
sleep for 20 seconds between migrate re-tries
2018-05-31 22:11:08 -04:00
Kyle Spearrin
7878362a51
note message var
2018-03-30 13:50:51 -04:00
Kyle Spearrin
818a668e3c
move cert warnings to main
2018-03-30 13:48:26 -04:00
Kyle Spearrin
352b51dfb4
before running start
2018-03-30 10:27:31 -04:00
Kyle Spearrin
64cd0b8942
format long strings
2018-03-30 10:14:46 -04:00
Kyle Spearrin
5049f94d9b
helpers and banner
2018-03-30 09:40:14 -04:00
Kyle Spearrin
b048dbcb6b
trim question input
2018-03-30 09:25:54 -04:00
Kyle Spearrin
267aa020c6
input helpers
2018-03-30 09:23:33 -04:00
Kyle Spearrin
05d00517ee
move cert questions up
2018-03-29 13:43:52 -04:00
Kyle Spearrin
ec395ca0d2
only set https port if using ssl
2018-03-28 22:18:53 -04:00
Kyle Spearrin
c6f4996010
no ssl check on reverse proxy port
2018-03-28 22:07:51 -04:00