Kim Santiago
86a019842f
Fix importing new project from server dashboard ( #11766 )
...
* fix importing new project from server dashboard
* also fix not showing list of dbs if the connection from connection dialog already specified the db
2020-08-11 18:08:13 -07:00
Charles Gagnon
6e26261149
Move rest of DE actions into package contributions ( #11755 )
...
* Move rest of DE actions into package contributions
* Add sql-database-projects import
2020-08-11 15:37:03 -07:00
Udeesha Gautam
fbbb9ce529
load publish profile sqlcmd "value" tag and throw error if not loaded correctly ( #11615 )
...
* load publish profile sqlcmd "value" tag and throw error if not loaded correctly
* moved the read profile function to utils
2020-08-03 14:16:00 -07:00
Kim Santiago
9d730bd0b5
make font size consistent in publish dialog ( #11614 )
2020-08-03 12:56:50 -07:00
Kim Santiago
30845cbd6d
update project already exists error message ( #11596 )
2020-07-31 14:50:31 -07:00
Kim Santiago
9e5bd182bb
don't change focus to file explorer viewlet when automatically opening sql projects in the open folder ( #11583 )
2020-07-30 14:50:42 -07:00
Kim Santiago
c06bd0821b
Add deploy options support ( #11567 )
...
* add getOptionsFromProfile request
* update deploy and generate script to accept options
* fix tests
* update message
* update message to say what isn't supported
* bump sqltoolsservice version
2020-07-29 17:52:21 -07:00
Kim Santiago
c7423efe14
add back toolbar icon for importing db project ( #11513 )
2020-07-27 14:35:13 -07:00
Udeesha Gautam
6928904a26
Small fixes for output window and test ( #11533 )
...
* Small fixes for output window and test
* removing some parts of recent tests that might cause issues
2020-07-27 13:28:18 -07:00
Benjin Dubishar
2b132f6b58
Adding icons to Database Projects' tree view ( #11488 )
...
* Add images
* Splitting to light and dark mode icons
* Hooks up icons to treeItems
* updating package.json with new icon and vbump
* move icon loader before tree view created
2020-07-23 11:52:54 -07:00
Udeesha Gautam
196b3752a9
Feature/outer paths for project ( #11445 )
...
* allow relative paths in project file outside of project folder
* Adding some tests
* Adding error string to loc strings
* Fixed test
* fix error message
* PR comments and some more fixes
2020-07-22 19:28:03 -07:00
Kim Santiago
efc8182954
fix sql proj sqlcmd table showing after loading profile when it shouldn't ( #11479 )
2020-07-22 17:59:26 -07:00
Kim Santiago
0a1c2583cc
Load connection from publish profile ( #11263 )
...
* initial changes for reading connection from profile
* connection string can now be read from publish.xml
* fix build errors and update test
* move publish profile tests to their own file
* cleanup
* update message
* fix string
* remove apiWrapper
2020-07-15 17:03:25 -07:00
Charles Gagnon
f4a4127471
Remove ApiWrapper from sql-database-projects ( #11345 )
...
* Remove ApiWrapper
* fix compile error
* Use .resolves
* Check error messages
* Check for not called
* FIx global beforeEach/afterEach
2020-07-15 14:02:33 -07:00
Benjin Dubishar
dc7e6f59bd
Aligns how Import and New project flows work ( #11184 )
...
* Slight import refactor
* Test updates
* Adds test, sets script name for File extractType to projectName
* generating correct folder list
* Correctly setting serverId for Imports started from Object Explorer
* Adding regression test
* uncommented test check
2020-07-14 19:31:22 -07:00
Kim Santiago
de69e73a9d
Open sql projects in opened folder ( #11333 )
...
* open projects in workspace automatically
* add test
* fix for windows
2020-07-14 16:20:37 -07:00
Kim Santiago
347c193455
Add main controller tests for a few extensions ( #11307 )
...
* add a few tests
* fix errors
* undo change
* move registering commands to extension.ts for dacpac and schema compare
* undo createController() addition
* fix whitespace
2020-07-13 09:59:12 -07:00
Sakshi Sharma
3e860692a2
Add missing await ( #11275 )
...
* Add missing await
* Addressed comment
2020-07-10 11:26:18 -07:00
Kim Santiago
7d5ecfe905
Add "Import New Database Project" to dashboard toolbar ( #11229 )
...
* add import database project to database and server dashboard home toolbar
* connection profile is getting passed to the extension
* use MenuItemAction instead of creating a new one
* move database picking
* add comment
* add helper function
2020-07-09 16:47:55 -07:00
Kim Santiago
7176c7f42f
move load profile button to top of publish dialog ( #11264 )
2020-07-08 17:30:38 -07:00
Kim Santiago
f95cb5f5d3
don't update database name to master ( #11216 )
2020-07-07 16:50:59 -07:00
Kim Santiago
b238819c89
Standardize slashes in sqlproj ( #11174 )
...
* standardize slashes that go in sqlproj
* update tests to not have os specific baselines
* fix test
* fix delete tests
* some cleanup
2020-07-06 13:17:55 -07:00
Kim Santiago
ac71c6f06d
Add "Open Containing Folder" to project context menu ( #11187 )
...
* add command to open the folder the project is in
* move commands to constants
2020-07-06 11:42:25 -07:00
Kim Santiago
3306f386f0
Cleanup publish database dialog and test sqllint errors ( #11178 )
...
* cleanup publish database dialog and test
* fix more tests
* fix other tests
* add back skips
* use Promise.resolve()
2020-07-02 17:02:52 -07:00
Sakshi Sharma
d6768ba12e
Add missing await ( #11151 )
...
* Add missing await
* Removed async from method publishProject
2020-07-01 13:28:32 -07:00
Kim Santiago
1e805a4156
Change deploy to publish in sql project codebase ( #11144 )
...
* change deploy to publish
* rename to IPublishSettings
* change a few more profiles to settings
2020-06-30 19:23:03 -07:00
Kim Santiago
41315c6e0a
Show error when trying to add file/folder that already exists to project ( #11122 )
...
* show error when trying to create file or folder that already exists
* add test for file that already exists
* add folder tests
* fix error messages
* hide Properties folder
* update comment
2020-06-30 13:42:50 -07:00
Kim Santiago
6b8eafbf2e
Update import project to have friendly names for the extract file organization options ( #11123 )
...
* udpate import to have friendly names for the extract file organization options
* update tests
* update message
* remove camelcase stuff
* use localized constants instead of enum
2020-06-29 15:37:28 -07:00
Benjin Dubishar
a3030aaf0d
Update package.json ( #11113 )
2020-06-26 14:56:42 -07:00
Kim Santiago
8e0050f2af
Don't ask for db twice if connection was to a db ( #11099 )
2020-06-25 17:18:41 -07:00
Benjin Dubishar
770848850d
Import spot-fix ( #11102 )
2020-06-25 15:37:05 -07:00
Benjin Dubishar
fdef92ad6b
Update README.md ( #11094 )
...
* Update README.md
* Update README.md
2020-06-25 00:59:26 -07:00
Benjin Dubishar
283c64a29d
Update package.json ( #11093 )
...
Adding dependency
2020-06-24 23:44:22 -07:00
Benjin Dubishar
8c6d77e04d
Updated displayname and description ( #11083 )
2020-06-24 18:00:55 -07:00
Benjin Dubishar
00836e1890
Benjin/delete ( #11054 )
...
* Adding delete to package.json
* checkpoint
* Delete file working
* Working for nested folders
* Added file/folder deletion test
* addressing feedback
* Swapping QuickPick for modal
* Adding Exclude functionality
* reverting change to package.json
2020-06-24 10:27:58 -07:00
Benjin Dubishar
cf73cf5003
Focus projects view when New Project is created ( #11048 )
...
* Focusing for new project
* Consolidated focus() logic
2020-06-23 21:08:40 -07:00
Udeesha Gautam
9131653d71
update sql tools service ( #11063 )
...
* enable some more tests in canary
* update to latest SqlToolsServiceVersion
* correcting the .NET install message a bit
2020-06-23 15:22:22 -07:00
Kim Santiago
74798f7cda
Don't allow adding duplicate database references to sql project ( #11010 )
...
* don't allow adding duplicate database references
* add test
* addressing comments
* remove XML checking from databaseReferenceExists()
* change to get
2020-06-23 12:24:49 -07:00
Kim Santiago
29bf016fb8
don't show error message if cancelling out of import project connection picker ( #11050 )
2020-06-23 10:29:55 -07:00
Benjin Dubishar
a4a8beb6b4
copying dacpac to temp folder before deploying ( #11036 )
2020-06-23 02:18:04 -07:00
Udeesha Gautam
cfbce96fe2
fix for windows path to show in project tree across platforms correctly ( #11027 )
...
* fix for windows path to show in project tree across platforms correctly
* allow retrying on project that failed to load
* test for project failed to load case
* Adding platform safe uri for database ref in tree
2020-06-22 22:37:24 -07:00
Benjin Dubishar
d0b71e116b
Create project within folder ( #11037 )
2020-06-22 21:27:16 -07:00
Udeesha Gautam
637bc8d5ba
removing datasource from publish dialog for insiders ( #11009 )
2020-06-21 21:32:39 -07:00
Kim Santiago
74c2853f14
disable target connection input box in publish dialog ( #11013 )
2020-06-19 15:27:46 -07:00
ADS Merger
5e7071e466
Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae
2020-06-19 10:59:23 -07:00
Sakshi Sharma
340d8d37c9
Add missing await ( #10952 )
2020-06-18 19:16:02 -07:00
Kim Santiago
6ad33aa879
Load profile support for sql project deploy ( #10948 )
...
* load database name from profile.xml
* load sqlcmd variables from profile
* Add warning text
* add tests
* fix file filter for windows
* add comments
* show SQLCMD variables in a table
* reset dialog before testing readPublishProfile callback
2020-06-18 17:44:28 -07:00
Kim Santiago
935733d23c
remove add database reference from command palette ( #11003 )
2020-06-18 14:09:13 -07:00
Charles Gagnon
4296a05d4f
update branch references ( #10964 )
2020-06-17 12:34:38 -07:00
Benjin Dubishar
0f9f9c851e
Fixes issue where wrong property was checked for deployment type ( #10933 )
...
* Fixes issue where wrong property was checked for deployment type
* improve error message
2020-06-15 19:19:02 -07:00