Commit Graph

59 Commits

Author SHA1 Message Date
Kiran Niranjan
8c0fa7be3c
SDA-4459 (Apply latest or beta channel based on user entitlement) (#2086)
* SDA-4459 - Apply latest or beta channel based on user entitlement

* SDA-4459 - Fix priority of conditions
2024-02-12 16:16:34 +05:30
NguyenTranHoangSym
be50ab8d5a SDA-4288_main: Allow / Disallow user edit pod url via config 2023-09-11 17:05:53 +07:00
NguyenTranHoangSym
15056f16ff
SDA-4182: Add GPOs to auto update channel (#1896) 2023-07-18 11:07:50 +02:00
sbenmoussati
4f40f34564 SDA-4181 Check beta auto-update channel from ACP 2023-07-10 12:12:43 +02:00
Salah Benmoussati
0af813ae97 SDA-4089 Browser login autoconnect (#1809)
* RTC-13931 Disable D3D11 by default

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* SDA-4089 Browser login autolaunch

* cleanup
2023-03-29 14:38:50 +02:00
Salah Benmoussati
79ae1f3ff0
SDA-4014 Browser login setting name change (#1755) 2023-03-09 10:17:52 +01:00
Salah Benmoussati
33664a8410
SDA-3900 Third-party browser login (#1701)
* SDA-3901 (Add new implementation for welcome screen) (#1519)

* SDA-3901 - Add new welcome screen

* SDA-3901 - Change to global config

* SDA-3901 - Add locale

* SDA-3901 - Reposition protocol handling

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix welcome screen load

* SDA-3901 - Fix seamless login url

* SDA-3901 - Validate if pod is configured for SSO

* SDA-3900 Several bug fix

* SDA-3900 Ability to enable third-party browser login via command line install

* SDA-3900 Typo fix

---------

Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
2023-02-08 09:14:17 +01:00
sbenmoussati
d6319de025 Revert "SDA-3901 (Add new implementation for welcome screen) (#1519)"
This reverts commit df14fa19d1.
2022-11-17 10:26:39 +01:00
Kiran Niranjan
df14fa19d1
SDA-3901 (Add new implementation for welcome screen) (#1519)
* SDA-3901 - Add new welcome screen

* SDA-3901 - Change to global config

* SDA-3901 - Add locale

* SDA-3901 - Reposition protocol handling

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix welcome screen load

* SDA-3901 - Fix seamless login url

* SDA-3901 - Validate if pod is configured for SSO
2022-10-26 08:14:16 +05:30
Kiran Niranjan
60ea3bafc8
SDA-3589 - Change the default channel to latest (#1464) 2022-07-29 13:54:59 +05:30
Kiran Niranjan
094a68f99a
SDA-3589 (Auto update for mac and windows) (#1447)
* SDA-3588 - Auto update for macOS and Windows

* SDA-3588 - bump version to 19.0.1

* SDA-3588 - fix run-script-os version

* SDA-3588 - Remove old auto update and update setAppUserModelId

* SDA-3588 - Update app ID to com.symphony.electron_desktop

* SDA-3588 - Update app ID to com.symphony.electron_desktop in Symphony.cs

* SDA-3588 - Add autoUpdateUrl field in config file

* SDA-3588 - Validate url

* SDA-3588 - Include installer nsis script

* SDA-3589 - Remove os path from update url and rename artifacts

* SDA-3589 - set empty value for autoUpdateUrl

* SDA-3589 - Add validation for autoUpdateUrl field

* SDA-3589 - change auto update manual workflow
2022-07-12 07:04:05 +05:30
Mattias Gustavsson
a916733619 SDA-3377 Added support for chromeFlags install param 2021-10-14 09:11:02 +02:00
sbenmoussati
d535e12ee1 SDA-3201 Removing Electron from user-agent - Microsoft Azure not supporting it for SSSO 2021-06-08 18:41:15 +02:00
Mattias Gustavsson
3b85512c05 SDA-3137 Added support for USER_DATA_PATH install parameter 2021-04-29 08:49:41 +02:00
Kiran Niranjan
81c67a1e08
fix: SDA-2287 (Only create context bridge when CI is enabled and create new config filed for defining origin) (#1036)
* SDA-2287 - Only create context bridge when CI is enabled and create new config filed for defining origin

* SDA-2287 - Revert loading context bridge as it is not necessary
2020-07-27 19:41:21 +05:30
Johan Kwarnmark
3fcda94ae6 Add parameter to push the renderer logs inside the SDA-logs 2020-06-30 17:48:17 +02:00
Vishwas Shashidhar
a240621a17
feat: SDA-1983: implement simplified installer window on SDA (#977)
* SDA-1983: create the new welcome window

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: add logic to validate pod url and open welcome page on startup conditionally

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: add unit tests and finish the full logic implementation

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: minor fixes

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: fix sso double slash

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: fix deleting url from global config object

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: simplify setting user config

Co-Authored-By: Kiran Niranjan <kiranleo1992@gmail.com>

* SDA-1983: delete unused variable

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1983: add japanese and french translations

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

Co-authored-by: Kiran Niranjan <kiranleo1992@gmail.com>
2020-04-27 15:05:25 +05:30
Kiran Niranjan
996bd858a7
SDA-1880 & SDA-1882 - Fix background throttling issue (#925) 2020-03-18 19:50:27 +05:30
Vishwas Shashidhar
5504a8e8ca
fix: [SDA-1567] add menu item for disable gpu (#884)
* SDA-1567: upgrade electron to 6.1.7

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: add menu item for managing gpu

* SDA-1567: add documentation for dialog-handler.ts

* SDA-1567: fix chrome flags unit test

* SDA-1567: update package-lock.json

* SDA-1567: add disable gpu menu item

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: fix unit tests and update dialog-handler.ts

- Fix unit tests
- Update dialog handler to write to config file regardless of user restarting the app immediately

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: revert electron upgrade

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1567: fix translations

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-04 17:49:43 +05:30
Kiran Niranjan
45cfbbdd6b
feat: SDA-1748 (Add support for Cloud Config) (#878)
* SDA-1748 - Initial Cloud config

* SDA-1748 - Read menu items enabled values from filtered cloud config

* SDA-1748 - Fix unit tests

* SDA-1748 - Fix issues with custom title bar and devtools

* SDA-1748 - Fix unit tests
2020-03-03 11:15:27 +05:30
Vishwas Shashidhar
6af430fc97
Update Symphony.config (#862) 2020-01-27 16:15:17 +05:30
Kiran Niranjan
627ea097e1 Enable context isolation feature by default (#791) 2019-10-23 12:28:32 +05:30
Vishwas Shashidhar
6a628f5251
SDA-1525: add support for pod whitelisting (#787)
Currently, any url passed via command line is not validated, and, SDA essentially acts as a browser. To counter this, we add a "podWhitelist" parameter in the config file that allows admins to configure what pod urls can be passed via command line. And, only those URLs will be supported to be loaded via command line
2019-10-08 13:19:48 +05:30
Vishwas Shashidhar
14e6975590 build scripts
- create build script for macOS
- create build script for linux
- create build script for windows
- create build script for windows x86
2019-08-27 16:38:26 +05:30
Vishwas Shashidhar
918c5741a6
fix: ELECTRON-1243: fix chrome flags tests (#696)
* ELECTRON-1243: add support to control throttling

* ELECTRON-1243: fix chrome flags tests

* ELECTRON-1243: refactor code and address PR comments
2019-07-02 16:24:17 +05:30
Kiran Niranjan
2e80c599fc feat: ELECTRON-1332 (Make Context Isolation configurable) (#691)
* ELECTRON-1332 - Make Context Isolation configurable

* ELECTRON-1332 - Abstract opts constructors functions
2019-06-25 10:26:01 +05:30
Kiran Niranjan
355110cf72 fix: ELECTRON-1264 (Fix ATS for localhost and update TLS version to 1.2) (#689)
* ELECTRON-1264 - Fix ATS for localhost and update tls version to 1.2

* ELECTRON-1264 - Remove extendInfo field from package.json
2019-06-21 13:29:07 -04:00
Kiran Niranjan
274f4811f0 ELECTRON-635 (Custom auto launch implementation)[Windows] (#484)
* ELECTRON-635: add support for auto launch custom path

* ELECTRON-635 - autolaunch aip testing

* ELECTRON-635 - Add quot

* ELECTRON-635 - Escape quot

* ELECTRON-635 - Escape quot

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - Fix escape auto launch path

* ELECTRON-635 - add empty property to the AUTO_LAUNCH_PATH property

* ELECTRON-635 - final fix for auto launch

* ELECTRON-635 - Fix auto launch issue

* ELECTRON-635 - Fix path escape

* ELECTRON-635 - Fix first time launch

* ELECTRON-635 - Mock app.getVersion

* ELECTRON-635 - Fix per user app path
2018-08-30 22:58:07 +05:30
Vishwas Shashidhar
1898c36508
ELECTRON-505: add dev tools administration control (#435)
* ELECTRON-505: enable / disable dev tools

implement logic to disable / enable dev tools with installer and configuration file

* ELECTRON-505: fix mac installer issues

* ELECTRON-505: add dev tools option to the windows installers

* ELECTRON-505: enable signing in the installers

* ELECTRON-505: update mac installer dev tools label text

* ELECTRON-505: remove dev tools from configuration windows
2018-07-20 16:23:08 +05:30
Vishwas Shashidhar
4ba0db73f5
ELECTRON-453: add functionality to ignore cert transparency checks (#373)
- add functionality to ignore cert transparency checks for specific urls
- fix reading config file as per PR comments
2018-05-21 17:04:24 +05:30
Vishwas Shashidhar
16051e5c04 Remove stale config 2018-05-01 15:28:43 +05:30
Vishwas Shashidhar
9a11bf90e1
Electron 385: add support for custom tlds (#347)
- add logic setting ntlm on default session
- add logic to include custom tlds
- fix failing tests
2018-04-30 17:32:10 +05:30
Kiran Niranjan
2de86c8003 Electron-136 (Optimize memory by reloading the app when the user is idle) (#335)
- Refresh app when memory exceeds the threshold and if user is inactive
- Add logic to reload app when memory exceeds threshold and if user is inactive
- Add reload threshold
- Fix unit test
2018-04-11 18:36:46 +05:30
Vishwas Shashidhar
07c5672385
change default values for the permissions in config file 2018-03-20 23:06:01 +05:30
Vishwas Shashidhar
217299bcf8
Electron 323: allow admins to set permissions to peripherals (#329)
- implement permissions settings for electron
- add "Yes" / "No" as user visible text in the windows installer confirmation screen
- add "Yes" / "No" as user visible text in the windows installer for settings screen
- fix windows installer conflicts
2018-03-20 17:49:27 +05:30
Kiran Niranjan
9991690a7e Electron-266 (Custom title bar for Windows 10) (#311)
1. Implemented new title bar style for Windows
2. Updated design
3. Updated design and added some safety checks
4. Added title bar double click event
5. Added API to update DOM element
6. Updated style as per the design spec
7. Refactored code and handled full screen scenario
8. Added borders to window
9. Added z-index to make sure border is always on top
10. Updated logic to check Windows 10 version
11. Setting frame property as true for pop-out windows
12. Optimized the code to initiate Windows title bar only after injecting CSS
13. Removed API to update content height
14. Added a global config field to enable or disable custom title bar
15. Reading `isCustomTitleBar` before creating main window
16. Fixed shortcut suggestion in menu items
17. Added two more missing shortcut suggestion in menu items
18. Updated menu template to dynamically assign accelerators
19. Changed the func name closeButtonClick to closeWindow
20. Converted all HEX color code to rgba
2018-03-09 16:16:47 +05:30
Vishwas Shashidhar
3c4ae0615e ELECTRON-261: removed extra attributes
removed extra attributes in the config file as per PR suggestion.
2018-02-06 17:35:06 +05:30
Vishwas Shashidhar
d3b95f70e9 ELECTRON-261: add logic to get gpu related flags from config file 2018-01-25 22:59:25 +05:30
Kiran Niranjan
5ef535d88e Electron-249 - Implemented a new feature that brings electron wrapper when a user receives a notification 2018-01-05 17:42:43 +05:30
Kiran Niranjan
78c466516c Electron-217
Updated the PR as per the review comments
2017-12-21 13:52:05 +05:30
Kiran Niranjan
84cb11e629 Electron-217
* Implemented basic logic on whitelisting urls
* Removed a space in PULL_REQUEST_TEMPLATE.md
2017-12-11 22:41:34 +05:30
Vishwas Shashidhar
db154ea7d5 electron-214: changed the default value for minimize on close in the global config file 2017-11-16 15:32:16 +05:30
Vishwas Shashidhar
6f28edc5bb electron-194: adds support to set chrome flags 2017-10-26 16:53:15 +05:30
Vishwas Shashidhar
547d8e530c electron-17: disabled crash report upload to server 2017-10-05 22:54:54 +05:30
Vishwas Shashidhar
f83cfb9a44 electron-17: refactored code to read data from the config file and added pod url to the extras object 2017-10-05 22:18:52 +05:30
Vishwas Shashidhar
605c725a08 electron-17: removed config that was not needed 2017-09-19 12:04:57 +05:30
Vishwas Shashidhar
9f7bc10287 electron-17: added support to get crash directory info for users amongst other minor changes 2017-09-14 21:08:42 +05:30
Vishwas Shashidhar
40f0cdcdf9 Merge branch 'master' into electron-17
# Conflicts:
#	js/main.js
#	js/windowMgr.js
2017-09-13 16:13:49 +05:30
Vishwas Shashidhar
cc1c50945e changed the default url for the crash server 2017-07-14 09:43:03 +05:30
Kiran Niranjan
8d0f9423a9 Electron-93
1. Implemented Robotjs for windows
2. Implemented a method to copy config for both windows and mac
3. Removed a conflict in config file
2017-07-10 20:30:24 +05:30