Commit Graph
97 Commits
Author SHA1 Message Date
Alex Ma 6fe0b300e5 Restore new connection string for multiple similar connections (#2067) 2023-06-15 23:31:40 -07:00
Alex Ma cef3564011 [Loc] update to xlfs 6-15-2023 (#2108) 2023-06-15 17:44:42 -07:00
Alex Ma 7840cda4c7 [Loc] update to sr xlf (#2104) 2023-06-14 16:37:28 -07:00
Alex Ma 94981d7bbe [Loc] xlf update for 6-8-2023 (#2092) 2023-06-08 10:18:28 -07:00
Alex Ma 036710e634 [Loc] Add ObjectType xlfs and resx files (#2066) 2023-05-15 14:42:05 -07:00
Alex Ma 8bfdb6963b Remove Localization from Empty Strings (#2054)
* removed localization from areas that don't need it.

* remove from locProject.json
2023-05-11 14:18:40 -07:00
Alex Ma c5bc4ebc92 [Loc] update to xlfs and resx for 5-10-2023 (#2055) 2023-05-10 16:10:15 -07:00
Alex Ma 55335b4615 Removed advanced options from table designer title (#2025)
* Removed advanced options from table designer title

* Revert "Removed advanced options from table designer title"

This reverts commit 70246a605608df67d6aa7293d9e5b3726523187f.

* added null check for advancedOps
2023-04-25 17:08:54 -07:00
Alex Ma 6120b99a56 xlf update for 4-20-2023 (#2023) 2023-04-20 11:18:16 -07:00
Alex Ma 3eba2ec62b xlf update for 4-19-2023 (#2018) 2023-04-19 17:24:16 -07:00
Alex Ma add216cc1e Add more specific URI strings to Object Explorer (#1881)
* Added all non null properties to URI generator

* Added all options to URI for session

* added documentation comments

* added generated nodeTypes file

* added updated uri to connection store

* Added debug message for integrated test failure

* Revert "Added debug message for integrated test failure"

This reverts commit 026c53d1ed3fb16b0f37b7b6e0775402a2ef9281.

* added advanced options to table designer table

* removed connectionName from uri generation

* Revert "removed connectionName from uri generation"

This reverts commit 88eedbbc593a0279872edc6d4cbd1b7ca3d72ad0.

* added connectionname to connection details

* added connection name to near front of key
2023-04-17 14:24:12 -07:00
Alex Ma 7bf370a4a5 [Loc] update to xlfs for 4-10-2023 (#2000) 2023-04-10 11:32:45 -07:00
Alex Ma d7940e0cc6 [Loc] update to xlfs and resx for 3-27-2023 (#1973) 2023-03-27 15:10:53 -07:00
Alex Ma b7709c9e5b [Loc] update to xlfs for 3-24-2023 (#1966) 2023-03-24 10:51:49 -07:00
Alex Ma 5fce03f6cf [Loc] xlf update for 3-22-2023 (#1960) 2023-03-22 21:42:24 -07:00
Alex Ma 4f4a25bf56 [Loc] update to xlfs for 3-10-2023 (#1935) 2023-03-10 17:25:17 -08:00
Alex Ma 781fc35a87 [Loc] update to resx and xlfs for 3-6-2023 (#1906) 2023-03-06 12:30:15 -08:00
Alex Ma 4268dec4e0 [Loc] updates to xlfs for 3-3-2023 (#1900) 2023-03-03 15:29:14 -08:00
Alex Ma a81cee8e7f [Loc] XLF update for 3-2-2023 (#1892) 2023-03-02 14:53:26 -08:00
Alex Ma 3dbf9edfdd [Loc] forgot to add resx files (#1874) 2023-02-21 14:29:56 -08:00
Alex Ma a2b567a341 [Loc] update to service layer xlf for 2-21-2023 (#1873) 2023-02-21 10:51:13 -08:00
Alex Ma 07e4225259 [Loc] cleanup localization related files and add localization to migration (#1840) 2023-02-01 12:06:17 -08:00
Alex Ma aa1551b97b [Loc] update to sr xlfs (#1796) 2022-12-19 11:11:37 -08:00
Alex Ma 21a05606f7 [Loc] updated xlfs for 12-13-2022 (#1787) 2022-12-13 16:14:35 -08:00
Alex Ma 548229d547 Add error codes for password change (reopened) (#1784)
* added error code handling

* Small cleanup

* added changes
2022-12-13 13:04:40 -08:00
Alex Ma cc94a1a4c6 Revert "Use error code checking and simplified messages (#1782)" (#1783)
This reverts commit 306b43b8b7.
2022-12-13 09:04:18 -08:00
Alex Ma 306b43b8b7 Use error code checking and simplified messages (#1782)
* added error code handling

* Small cleanup

* added changes
2022-12-13 09:04:00 -08:00
Alex Ma f76c348b31 added updates to resx and xlf for 12-9-2022 (#1780) 2022-12-09 12:21:50 -08:00
Alex Ma cf5af7bcf2 bump to newtonsoft for CG alert (#1778) 2022-12-09 09:11:48 -08:00
Alex Ma 7eee5180a2 Add change password function and handling (#1771)
* added ChangePassword to connectionService

* added changepasswordparams

* added more code

* added more changes to connectionservice

* added more changes

* added small test

* added changepasswordrequest

* added different ServerConnection constructor

* consolidated changepassword

* added exception catch

* added passwordChangeFail params

* added changePassword to it's own function

* simplified changePassword

* made fixes to test

* added new test

* added one additional connection test

* added response callback

* removed unnecessary SendError

* added localized empty password error

* added updated error messages

* added small fix to check

* added changes based on feedback

* added minor change

* fix tests

* renamed messages to errorDetails

* simplified error message

* small change to connectionservice message

* error message change

* added environment newline

* added error retry messages to STS

* added regex

* added newline handling
2022-12-07 14:24:26 -08:00
Alex Ma 9cac3e03ef [Loc] update to resx and xlf files (#1740) 2022-11-01 10:52:17 -07:00
Alex Ma e85cd3d89a [Loc] xlfs updates for 10-10 (#1722) 2022-10-10 10:45:20 -07:00
Alex Ma e1bec4d747 [Loc] update sr xlf 9-29-2022 (#1715) 2022-09-29 16:58:16 -07:00
Alex Ma 5c20f92312 [Loc] added string changes (#1712) 2022-09-26 16:14:43 -07:00
Alex Ma fca115fb91 [Loc] added generated resx and xlf files (#1706) 2022-09-22 17:37:27 -07:00
Alex Ma 9955ef65ff [Loc] xlf resx update (#1702) 2022-09-19 10:15:27 -07:00
Alex Ma b5f7e6a310 [Loc] update to xlfs and resx for 9-9-2022 (#1685) 2022-09-09 15:43:28 -07:00
Alex Ma 2b7f1d2605 [Loc] update to xlf and resx for 9/8/2022 (#1680) 2022-09-08 14:30:44 -07:00
Alex Ma ca6d270fcd [Loc] xlf resx update for 9-6-2022 (#1673) 2022-09-06 14:04:01 -07:00
Alex Ma 00ad16e796 Alex/fixforretrysleeping (#1669)
* added getResponseConnect function

* added WIP changes to getResponseConnect

* changed retry number to be smaller number

* added comments and changed max tries

* added changes

* added more changes

* added notification class

* made changes to fix

* added null fix
2022-09-06 13:42:43 -07:00
Alex Ma bc32f332c7 [Loc] resx update for updated XLFs (#1666) 2022-08-31 13:57:04 -07:00
Alex Ma 54c1d0418a Added error message to validate connect params. (#1660)
* Added error message to validate connect params.

* removed connectionParam == null as ConnnectionCompleteParams cannot be nulled.

* Added ValidateConnectParams to other connection services

* removed message from error

* reverted change to connectionServiceCore

* added updated message

* restore null and added errormessage to GetConnectionCompleteParams

* fix for sr.xlf

* fix for tab

* another fix to tabs

* added message to connection complete error

* small fix
2022-08-30 14:24:44 -07:00
Alex Ma 3f7e960534 [Loc] changes to xlfs for 8/29/2022 (#1661) 2022-08-29 16:55:08 -07:00
Alex Ma 13a689b164 Now forces the use of latestmajorversion. (#1654) 2022-08-26 09:40:13 -07:00
Alex Ma 21a261bf69 [Loc] updates to xlf and resx files (#1652) 2022-08-22 11:24:57 -07:00
Alex Ma 4912f55dec [Loc] update to xlfs and resx files (#1630)
* [Loc] update to xlfs and resx files

* update for 8/12/2022

* resx update
2022-08-12 10:04:57 -07:00
Alex Ma 46b6dd2e46 [Loc] update to xlfs and resx files (#1622) 2022-08-08 11:08:39 -07:00
Alex Ma 1789fd1233 Update to srgen to remove strict dependency to netcore 3.1 (#1618)
* first changes

* added roll forward major to fix 3.1 dependency issue.
2022-08-04 12:08:20 -07:00
Alex Ma 1bcb0c211e [Loc] small update to xlfs (#1580) 2022-07-14 17:14:00 -07:00
Alex Ma 6c7738186c [Loc] update to sr resx (#1576) 2022-07-13 16:37:53 -07:00
Alex Ma ae90a06026 [Loc] Xlf update 7-11-22 (#1572) 2022-07-11 18:27:21 -07:00
Alex Ma 7534d7f50b [Loc] update to xlfs and resx 7-8-2022 (#1569) 2022-07-08 17:06:46 -07:00
Alex Ma e28ee805e4 [Loc] update to xlfs and resx for 7-7-2022 (#1567) 2022-07-07 17:25:27 -07:00
Alex Ma deae354f31 Fix for rowId not decrementing if reverting an create row (#1560)
* Decrement NextRowId if reverting addition of a row that is not committed yet.

* added test and message

* added fixed and extensive tests

* added assert messages
2022-06-27 14:47:46 -07:00
Alex Ma a8bf275e04 [Loc] update to sr xlf for 6/20/2022 (#1548) 2022-06-20 16:51:04 -07:00
Alex Ma 5e3d24bbfa Remove code coverage from STS (#1537)
* WIP removal of code coverage

* more coverage removed

* more fixes

* fix tests
2022-06-10 13:53:43 -07:00
Alex Ma 9a341c6bd9 [Loc] update to fr, ja, ko, zh-hans, and zh-hant xlfs (#1525) 2022-06-01 14:23:56 -07:00
Alex Ma 1ed6c132a4 [Loc] update to xlfs 5-27-2022 (#1520) 2022-05-27 10:11:49 -07:00
Alex Ma f6068e28db [Loc] changes to xlf and resx files for 5/26/2022 (#1517) 2022-05-26 14:51:05 -07:00
Alex Ma fc13b46269 [Loc] change note of costformat to reflect updates (#1491) 2022-05-11 13:00:16 -07:00
Alex Ma 48c2e18f41 [Loc] Update to traditional Chinese XLF and resx (#1475) 2022-04-25 17:18:22 -07:00
Alex Ma f20a89867d [Loc] added changes to resx (#1473) 2022-04-22 10:31:29 -07:00
Alex Ma 237aac7174 [Loc] added updated resx and xlf files (#1466) 2022-04-14 13:08:59 -07:00
Alex Ma d5e2a58db4 [Loc] updated xlfs and resx files (#1439) 2022-03-22 10:51:36 -07:00
Alex Ma 8dbfa9112c [Loc] added unknownsqlforeignkeyaction (#1426) 2022-03-14 12:33:17 -07:00
Alex Ma b066d03f3f [Loc] update to sr.xlf (#1409)
* [Loc] update to sr.xlf

* added resx updates
2022-02-14 11:54:31 -08:00
Alex Ma 25bbbcf60e [Loc] update to sr resx and xlf (#1392) 2022-02-07 09:52:05 -08:00
Alex Ma 3157c6186e [Loc] update to resx and xlfs (#1382) 2022-02-02 16:09:32 -08:00
Alex Ma a98c266791 Use old dotnet embedded resource convention (#1374)
* use old dotnet embedded resource convention flag

* fixed positioning

* another tab fix
2022-01-27 13:48:11 -08:00
Alex Ma e9b926af75 [Loc] add updated xlfs and resx files to servicelayer. (#1368)
* [Loc] update to servicelayer xlfs

* [Loc] added updated resx and XLFs to ServiceLayer
2022-01-24 10:29:13 -08:00
Alex Ma b02519de36 Revert XLFs to include resx (#1367) 2022-01-24 10:26:14 -08:00
Alex Ma a0dee6834d [Loc] update to servicelayer xlfs (#1366) 2022-01-24 10:23:09 -08:00
Alex Ma 740dbe5b02 [Loc] add queryserviceunsupportedsqlvarianttype to XLF (#1353) 2022-01-05 09:56:37 -08:00
Alex Ma 18ca177767 Remove XElite for now (#1349)
* Revert "Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)"

This reverts commit 196364e81e.

* Add changed sr.xlf
2021-12-22 11:04:45 -08:00
Alex Ma 8d7976dd14 update to resx and xlf files (#1347) 2021-12-21 10:28:19 -08:00
Alex Ma 6266982099 [Loc] remove unnecessary strings from ServiceLayer SR (#1346) 2021-12-20 09:28:12 -08:00
Alex Ma 196364e81e Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)
This reverts commit 0d7a3b4168.
2021-12-17 12:33:57 -08:00
Alex Ma c3936a35f8 [Loc] update to resx and xlf files 12-13-2021 (#1338)
* added new XLFs

* update to resx files
2021-12-13 11:42:00 -08:00
Alex Ma 822a6459ce Update to XElite (#1287)
* added Xevent.xelite to packages

* WIP on XELite conversion

* added wip changes

* added streaminfo class for preserving streams

* added list for profilerService

* added cancelXelStreamRequest.cs

* added test configuration for profilerservice

* added request handler using startprofilingrequest

* fix start profiling result

* added small connection string

* WIP branch for XElite (not functional)

* added hardcoded string with working stream

* added check for buildconnectionstring

* added back HandleXEvent

* added profilerservice eventsavailable test

* WIP change for profilersessionmonitor

* added more changes to profilersessionmonitor

* changed HandleXEvent

* added more additions to profielrSessionMonitor

* added startmonitoringstream

* added startmonitoringsession

* added startmonitoringstream to IProfilerSessionMonitor

* switch to monitoringStream

* added assignment of connectioninfo

* added conninfo

* added conninfo to iProfilerSessionMonitor.cs

* added isStreaming flag

* added token list

* added XEventSession name.

* removed polling lock

* test adding filters

* removed old profile filter as its incompatible

* added wip cancel feature in removesession

* moved cancellationtoken outside

* added backIsStreaming

* moved isstreaming around

* added  multiple events in list

* added timeout to handleXEvent

* removed timeout

* remove eventList count check

* remove old events filter

* returned eventlist

* remove old events filter

* renamed xelite handle function

* restored sqlclient version

* removed original handlestartprofilingrequest

* added monitoring stream to handlecreatexeventsessionrequest

* removed unnecessary sections from monitor

* Revert "removed unnecessary sections from monitor"

This reverts commit 91cadeebeeedfe99cec2e9c42944ba6716d95a61.

* added xevent actions to profileEvent

* removed polling lock for processStreams

* added filter for oldevents

* removed unused methods

* removed comment

* removed unnecessary class

* removed unnecessary requests

* removed outdated methods

* added work in progress cancellation task

* added profilersessionmonitor changes

* added small changes

* renamed startMonitoringStream

* more changes related to feedback

* made changes to code

* removed more polling code

* fixed tests

* added connectioninfo to testxeventsessions

* changed functions

* added back else

* small formatting fix

* more changes made

* added changes to XEventSession

* update to strings

* added changes to accomodate tests

* more changes

* added profilerservicetest for stopprofiling

* added TestStoppedSessionNotification test

* added session missing details handler

* simplified error message

* restored strings and added changes

* added auto-getter setter for IsStreaming

* added more changes

* removed unnecessary lines from test

* added more debugging messages

* made last changes

* added error message for handlestopprofilingrequest

* added more debug messages

* added back an s

* added verbose
2021-12-07 14:11:42 -08:00
Alex Ma faaf062f0f [Loc] Update to xlfs and resx files (#1332) 2021-12-06 19:05:58 -08:00
Alex Ma d33095ce68 [Loc] small update to output path for easier copying (#1330) 2021-12-03 15:53:09 -08:00
Alex Ma f9e7b22697 Consolidate Loc Files to one (#1325)
* Added locproject to defaultimpl

* added resourceprovider core

* added more locprojects for rest of projects

* moved LocProject to src

* Added consolidated locproject

* deleted old locprojects

* fix tab to better match ADS

* Revert "fix tab to better match ADS"

This reverts commit e3e3370ac9eb647b94b908e0432fbc52a9874b41.
2021-12-01 09:49:27 -08:00
Alex Ma 1bae482a8d Loc for other projects. (#1323)
* Added locproject to defaultimpl

* added resourceprovider core

* added more locprojects for rest of projects
2021-11-29 12:50:52 -08:00
Alex Ma d58d51f5a6 [Loc] update to xlfs and resx (#1322) 2021-11-23 09:57:17 -08:00
Alex Ma 1a0e1e1fec Remove resx lcls as they are not needed anymore (#1321) 2021-11-22 11:30:36 -08:00
Alex Ma 8ea1e25233 switch to using XLF as build process uses that. (#1305) 2021-11-17 09:39:02 -08:00
Alex Ma faec7e1498 [Loc] Update to resx 10-11-2021 (#1267)
* update to xlfs

* update to resx
2021-10-11 12:37:56 -07:00
Alex Ma 2e08873246 [Loc] update to xlfs and resx (#1261) 2021-10-06 11:07:39 -07:00
Alex Ma 3442c08012 [Loc] update XLFs and main resx to proper version (for cake build) (#1256) 2021-10-04 11:35:23 -07:00
Alex Ma e1356f76cc added preserve user number format and date/time format along with dotnet bump. (#1252)
* added preserve user number format and date/time format

* removed flag

* revert version
2021-09-28 17:40:15 -07:00
Alex Ma 41d44d82f6 Fix for cancel query by adding synchronous readers. (#1246)
* added WIP sync execute method

* added syncexecuteonce

* replaced executeonce with synchronous reading

* removed batch.cs change

* restore space
2021-09-20 10:26:56 -07:00
Alex Ma 93728df53d update for resx with latest changes (#1240) 2021-09-01 11:06:43 -07:00
Alex Ma 431e4cfbf1 Add changeConnectionUri action for query (#1227)
* added wip rename query

* added first rename test

* added missing query handling and two new tests

* removed ServiceDispose

* added change to owneruri.

* made fields private, used accessor methods

* added readonly flag back

* added didSave to sqltools.servicelayer

* fix for docsavecallbacks

* removed tryremove

* test disconnect in queryExecutionService

* removed debug message working query.

* added comment to handlerenamerequest

* added uri replacement function

* removed duplicate removemap function

* added minor fixes

* changed connectionOwnerUri to getter setter

* removed handledidsave and added setters

* removed additional save parts

* fixed space issues

* more fixes for spaces

* restored spaces

* fixed workspaceservice

* Update TextDocument.cs

* changed renameRequest into notification WIP

* restored textdocument

* restored textdocument.cs

* added rightwards arrow

* renamed rename to ChangeConnectionUri

* added more renames

* rename changeconnectionuri to changeuri

* renamed file names

* Revert "renamed file names"

This reverts commit 55228e65025b5179b15ae9a0adc095d95538723d.

* Revert "rename changeconnectionuri to changeuri"

This reverts commit 23f3813f609e3947f103e057f7c0919184075bdc.

* removed logging message and other small changes

* renamed class and method
2021-08-30 11:06:07 -07:00
c731744298 Fix for deleting text columns (#928)
* Added handling for deleting problematic rows

* minor formatting changes

* Null checks and executereader implemented

* minor formatting

* Fix for column deletion for text

* minor space format

* more format changes

* Removal of top 200 and change of text comparison

* space fix

* minor commit

* Added new tests for single clause

* simplified regex

* spacing fix

* some polish for RowEditBaseTests

* space fix

* loc update (#914)

* loc update

* loc updates

* Warning for multiple delete (#931)

* Fix for multiple delete bug

* minor space removal

* removed catch error in RowDelete

* small optimizations

* space adding

* WIP on creating test

* Some cleanup

* removed spaces

* Fix for verifytext

* Added check for command format correctness.

* tidying up

* added working test for command exception

* simplification of TestDbDataReader getint

* Corrections made

* spacing and naming issues

* minor space

* one more space issue

* Revert "Support ActiveDirectoryPassword authentication (#899)" (#915)

This reverts commit b786a14c03.

* revert changes to connectionService

* fix for asserts

* fix clauses

Co-authored-by: khoiph1 <khoiph@microsoft.com>
Co-authored-by: Amir Omidi <amir@aaomidi.com>
2021-07-16 14:11:32 -07:00
Alex Ma 993b094db9 Localization added to sqlservicetools (#1216)
* added other languages to ServiceLayer

* fixed travis and appveyor yaml, added other languages for localization

* added spanish and german strings to credentialslocalization, also WIP for coreservices test

* added WIP localization test for CoreServices

* Removed unit test for coreservices, need to work on those later.

* restored travis and appveyor

* added kusto string resource localization test

* added localization test and locale change for SqlToolsCredentials

* added locale command options to ResourceProvider

* revert resourceprovider test

* Localized SqlTools.Credentials

* added hosting localization

* replaced new with translation to be consistent with main service layer

* reverted external changes as it is unnecessary

* Translated ManagedBatchParser

* test culture value

* test culture change

* temporarily comment out service layer command options

* returned sr.cs

* temporarily remove bad tests

* restored tests and allowed for SR culture to change for dependencies (for future testing)

* localization for resourceprovider components added.

* Set LocaleSetter to public and also removed InternalsVisible for Kusto, Credentials and ResourceProvider

* removed unnecessary changes

* Removed CredentialsCommandOptions

* renamed pt-BR to pt-br

* Rename sr.pt-BR.xlf.template to sr.pt-br.xlf.template

* Rename src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-BR/sr.resx.lcl to src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-br/sr.resx.lcl

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* restored newlines

* Update sr.pt-br.xlf.template

Removed newline

* removed newline

* fixing newlines for consistency

* removed unnecessary newline
2021-06-10 15:50:53 -07:00
Alex Ma fefcab1c04 Added new String Resource Tool to fix issue (#1129) 2020-12-01 11:49:31 -08:00
Alex Ma 47e7a2f492 Fix for multiple parameter error. (#1082)
* Clearing first use of parameters

* restore space

* added finally block

* Added try catch block in correct position

* fixed spacing

* added space before try

* duplicate row check simplified by Alan

* Revert "duplicate row check simplified by Alan"

This reverts commit 445ac506bd96b353266778abd0cf9bad2be2a3c3.

* removed exception and changed message

* added exception back for test purposes

* added working executescalar

* Added "<=" for delete action that deletes nothing.

* spacing fix for check duplicate

* Added comments and changed function logic.

* added clarifying message

* Added new extended class

* small space fix
2020-09-25 10:52:59 -07:00