Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
David Watrous a02a042332 Update playwright 2024-04-23 21:08:00 -04:00
Haopeng Wang 1fafbc66ab
Add Batch RLC to service package & Add node service (#2853) 2024-01-24 14:15:45 +08:00
David Watrous b6083f278e
Add bux unit test output to .gitignore (#2793) 2023-09-01 18:32:28 -04:00
David Watrous 2f003ddd29
Update standalone web project to Webpack 5 (#2784) 2023-08-22 11:07:47 -07:00
David Watrous b48ca25782
Shared library refactoring (#2781)
* Add .DS_Store to .gitignore

* Factor out bonito-core and bonito-ui

These packages are intended to act as a Batch-agnostic layer
for building Azure Portal-compatible UIs.

This also moves much of the functionality of the ui-service
package into bonito-core (specifically the parts that aren't
Batch-specific)

* Make `bux link` handle missing packages in node_modules

---------

Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
2023-08-18 17:15:16 -07:00
Sanjana Kapur d1da9413ea
Add type safety to shared libraries localization (#2777)
* Add type safety to shared libraries localization

* Fix localization unit test

* Switch folder order of generated and localization
2023-08-18 11:28:49 -07:00
Sanjana Kapur 1aecc3bfe4
Integrate localized strings into web and desktop app (#2730)
* Added fake localizer

* Switch desktop app to use new translations

* Add script to combine translated files by language

* Add global build-translations command

* Update comments and docs accordingly with changes

* Run merge-translations script on Azure DevOps path

* Add localization for Batch Explorer web version

* Generate translations for Create Account buttons

* Add basic i18n support for web package

* Rename StandardLocalizer to BrowserLocalizer

* Add merge translations script for web and desktop

* Remove powershell merge translations script

* Add localization support for desktop app

* Copy translations to web too and not just desktop

* Add translations for playground buttons

* Gitignore generated localization files

* Update localization docs with setup instructions

* Add package translations to mergeTranslations

* Optimize package file creation and fix unit test

* Update Electron app localization unit tests

* Address all feedback on PR

* Fix desktop localizer, translation function, tests

* Fix Prettier issue with account yml file

* Update client translations unit test accordingly

* Add http-localizer unit test and minor fixes

* Remove CustomGlobal and simplify navigator object

* Add getLocale function to each localizer

---------

Co-authored-by: David Watrous <509299+dpwatrous@users.noreply.github.com>
2023-08-01 09:48:59 -07:00
Sanjana Kapur 635d441c96
Add scripts to build localization on local machine (#2701)
* Add scripts to build localization on local machine

* Remove unneeded parameters from LocProject

* Ignore files generated by local localization build

* Add copy translations script to Dist pipeline

* Remove destination JSON path parameter

* Change scripts to use new translation function

* Add json files when script is run locally

* Change name for download artifacts pipeline

* Add npm commands to run localization scripts

* Add README with localization setup instructions

* Rename destRESJSON, fix script, and other PR fixes

* Silence New-Item and add clean resources task

* Use powershell and modify clean script on desktop

* Replace cross-env-shell for npm loc:restore script
2023-04-11 16:28:13 -07:00
David Watrous 80765b8744 Added initial commit of shared libraries 2022-02-24 10:49:44 -05:00
David Watrous 00e6978da3
Fix Python backend and update various dependencies (#2411)
* Remove deprecated Chrome debugger extension from VSCode recommendations

* Update to Electron 11 and PyInstaller 4

* Fix broken python websocket server

Fixes #2384

A previous dependency update caused an issue between pyinstaller and websockets. Updated both and fixed the issue by changing how websockets is imported.
2022-02-08 12:28:29 -08:00
David Watrous bc3b5faf0d Added pyenv's .python-version file to .gitignore 2021-01-06 11:47:43 -05:00
Timothee Guerin 8ce3d6c37b
Internal: Migrate bunyan -> winston (#1871) 2019-01-17 12:40:19 -08:00
Timothee Guerin b2e2af4696
Telemetry: Add privacy statement link in the app (#1621) 2018-09-21 12:57:36 -07:00
Timothee Guerin 01a1eafa22
Internal: Telemetry support, uploading to application insight (#1611) 2018-09-19 13:59:49 -07:00
Timothee Guerin ab890860cd
Digest translated xliff into json files (#1535) 2018-08-06 15:27:01 -07:00
Timothee Guerin d42ff2aa21
Feature: Support internationalization (#1500) 2018-07-26 11:09:49 -07:00
Adam Rinehouse bd1373941e
Feature: One click connect to node with ssh (#1467)
* Begin work on one click connect feature

* Terminal launches and persists on windows

* Successfully connect with applicable username

The user may set their own username in settings if they wish, and it will automatically connect using that. Otherwise, a random six-letter string will be used. Connection works from a windows local OS to a host Linux node.

* Add support to connect to linux node from a linux machine

* Add tooltip to quickstart button when disabled

* Add support for connecting to linux on mac terminal

* Update settings variable names

* Update .gitignore; remove untracked files

* Change proc to process in terminal-service.ts

* Explicitly state types in launchApplication declaration

* Split arguments into name and application args

* Make travis build-and-test file executable

* Add test for quickstart button, node-connect.component

* More rigid tests for node-connect component

* Add tests for terminalService; all tests run and pass

* Remove console logs

* Move connectionSettings from ngOnUpdate

* Fix linter errors and spec change

* hopefully fix CI build

* Fix typo

* Fix prod build
2018-06-29 11:28:37 -07:00
Timothee Guerin f8ab24721b
Internal: enable code coverage and upload to codecov (#988) 2017-12-19 20:42:52 +01:00
Timothee Guerin e86ed8630c
General package upgrade: angular, typescript, rxjs (#892)
* Upgrade typescript

* Fix main

* upgrade to angular 5

* upgrade to angular 5

* Upgrade rxjs

* update

* Enable caching

* update chartjs immutable

* Package.json

* More

* More

* Fix specs

* Tslint
2017-11-21 16:09:40 -08:00
Timothee Guerin fe51de80bf Build: Integrate electron builder to build executables (#365)
* Electron builder v1

* Fix asar mkdir

* update readme

* update logger for bundle

* Icons

* Icons

* Fix tslint
2017-05-23 14:56:40 -07:00
Timothee Guerin 3a0842bba2 Test memory leak work (#220)
* Remove all AppModule import in test

* Cleanup

* More stuff
2017-03-06 08:21:16 -08:00
Timothee Guerin f1a16235f8 Use dllplugin in development & HtmlWebpackPlugin (#168)
* DLl plugin wip

* app work but hot reload is broken

* V2

* Html plugin works

* More:

* Dll improvement

* Fix fa

* Roboto local

* Fix test & tslint

* Fix build for non dev-server

* Cleanup

* Cleanup more

* Added tslint for javascript files

* Remove trailing comma for js as it is not supported yet

* Fix non dev server build
2017-02-09 10:03:03 -08:00
Timothee Guerin a34a064a48 Initial commit 2016-12-02 11:08:53 -08:00