Commit Graph

192 Commits

Author SHA1 Message Date
Kiran Niranjan
c6d1f8a4a7
SDA-1792 - Fix conditional issue (#879) 2020-02-28 10:11:49 +05:30
Mattias Gustavsson
f287c76549 Adding mac version of screen share indicator frame 2020-02-26 10:57:51 +01:00
Mattias Gustavsson
4e639039ac Adding external screen share indicator frame for Mac 2020-02-25 10:28:09 +01:00
Johan Kwarnmark
5099d0d190
fix: Sda 1746 (#876)
* sda-1746 do not start pop out in full screen mode

* sda-1746 do not allow about and screen-picker dialogs to go full screen

* sda-1746 change fullscreenable to fullscreen
2020-02-18 18:44:19 +05:30
Kiran Niranjan
8ffed54d7b
feat: SDA-1713 (Add logic to monitor network request and display banners) (#873)
* SDA-1713 - Add logic to monitor network request and display banners

* SDA-1713 - Add logic to monitor POD URL fetch to prevent VPN issues

Co-authored-by: Vishwas Shashidhar <VishwasShashidhar@users.noreply.github.com>
2020-02-13 23:48:31 +05:30
Mattias Gustavsson
0c597c1cdd SDA-1743 Use display id to identify screen instead of display position 2020-02-11 10:16:12 +01:00
Mattias Gustavsson
f6c7761f87 SDA-1732 Checking for the existance of file before attempting to open it 2020-02-04 14:12:56 +01:00
Johan Kwarnmark
ce4a3968d8 sda-1720 windows/electron BrowserWindow does not always open a window with the right location and size 2020-01-31 11:06:47 +01:00
Kiran Niranjan
ba68d39f99
build: Complete docker setup for generating Linux builds (#864)
* SDA-Linux - Added Dockerfile, Fix issues specific to linux

* SDA-Linux - Add Docker instruction for generating linux builds
2020-01-29 14:43:29 +05:30
Kiran Niranjan
6e71292332 SDA-1666 - Make screen sharing indicator window focusable (#856) 2020-01-27 11:14:34 +05:30
Johan Kwarnmark
bc33e8933e SDA-1708 Move screen-sharing indicator to the same screen as Symphony Application 2020-01-23 16:15:21 +01:00
Vishwas Shashidhar
b2cbf2605a
SDA-1703: fix issue with opening deleted files in download manager (#855)
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-01-22 22:25:59 +05:30
Kiran Niranjan
1ec78f06f6 SDA-1704 - Make Screen sharing indicator window closable (#852) 2020-01-22 14:49:05 +05:30
Kiran Niranjan
812f3c5cc6 SDA-1665 - Set level to modal-panel when in fullscreen (#848) 2020-01-14 20:07:24 +05:30
Kiran Niranjan
6125fd99a2 fix: SDA-1284 (Add logic to close screen snippet tool) (#847)
* SDA-1284 - Add support to cancel screen snippet window

* SDA-1284 - Early exit is not running on windows
2020-01-14 14:14:52 +05:30
Johan Kwarnmark
068e6b5d44 fix: SDA-1657 Maximized SDA saves co-ordinates (#844)
* sda-1657 printout of main windows position

* sda-1657 Save height, width, x, y for full screen/maximized

* sda-1657 Change from workArea to bounds because full screen use entire screen

* sda-1657 remove save of position and size as before

* sda-1657 keep track of the original position/size of window before it is maximized or full screen

* Fit in middle of immediate display

* Use the new width and height
2020-01-09 10:25:12 +05:30
Kiran Niranjan
c63a2682e3 SDA-1661 - Make about app window a modal window and optimize code (#843) 2020-01-08 17:19:06 +05:30
Kiran Niranjan
a9fc026df9 SDA-1651 - Temporarily disable AOT when screen snippet is open (#842) 2020-01-08 17:18:03 +05:30
Kiran Niranjan
e4eb19dc30 SDA-1435 - Create API and logic to restart child window (#833) 2019-12-23 11:49:00 +05:30
Mattias Gustavsson
fc66ae983b Fixed spelling mistake in log message 2019-12-17 11:17:04 +01:00
Mattias Gustavsson
f8d3a7e3d9 Merge remote-tracking branch 'upstream/master' into new_screen_snippet_tool 2019-12-13 13:47:17 +01:00
Mattias Gustavsson
d3d53dc2d1 Added a closeScreenSnippet command 2019-12-12 09:13:31 +01:00
Johan Kwarnmark
a764ada157 Don't search for the main window use this.mainWindow, use getDisplayMatching instead of getDisplayNearestPoint 2019-12-11 16:24:34 +01:00
Johan Kwarnmark
50dbde9f35 Check that source is not null before calling the screen frame application (#828) 2019-12-11 13:14:44 +05:30
Johan Kwarnmark
d5f4c9b63c Update of move window to handle screen less than window, remove printouts 2019-12-09 15:39:26 +01:00
Johan Kwarnmark
ba3b91e859 Move child windows to the same screen as main window 2019-12-09 11:34:17 +01:00
mattias-symphony
2839a76b80
Merge pull request #819 from mattias-symphony/SDA-1592_ScreenShareIndicatorFrame
feat: SDA-1592 screen share indicator frame
2019-12-05 14:12:38 +01:00
Mattias Gustavsson
278145b30a Fixed log messages 2019-12-04 14:35:30 +01:00
Johan Kwarnmark
c2fa9c2283 Remove scroll if about windows fit, plus make it not resizable 2019-12-04 14:10:14 +01:00
Johan Kwarnmark
46c990cab6 Made the about dialog wider, to fit long SBE-names (#823) 2019-12-03 17:48:44 +05:30
Mattias Gustavsson
9aed2ae6a8 Switching to new screen snippet tool 2019-12-03 12:16:38 +01:00
mattias-symphony
9700a33d50
Merge pull request #817 from mattias-symphony/SDA-945_Unified_Logs_2
feat: Implemented unified log extraction
2019-12-03 10:54:34 +01:00
Johan Kwarnmark
acca4c2803 Make the zoomin to work 2019-12-02 13:17:29 +01:00
Mattias Gustavsson
f7fba37044 Merge remote-tracking branch 'upstream/master' into SDA-1592_ScreenShareIndicatorFrame 2019-12-02 13:15:39 +01:00
Mattias Gustavsson
f45897e3af Changes for code review 2019-12-02 08:51:47 +01:00
Johan Kwarnmark
fe154cd1f5 fix: Fix Ctrl +, plus shortcut visible in menu's (#820)
* Fix Ctrl +, plus shortcut visible in menu's

* try another ctrl +
2019-12-01 22:55:19 +05:30
Johan Kwarnmark
4c0248d8df Disable zoom of screen-picker (#818) 2019-11-29 13:26:17 +05:30
mattias-symphony
1262a31f4f
Apply suggestions from code review
Co-Authored-By: Kiran Niranjan <kiranleo1992@gmail.com>
2019-11-29 08:04:12 +01:00
Mattias Gustavsson
3cd0dc8ba3 Added ScreenShareIndicatorFrame.exe to installer 2019-11-29 07:54:28 +01:00
Kiran Niranjan
c4b0283239 SDA-48 - force sandbox for all BrowserWindow instances (#814) 2019-11-29 07:54:28 +01:00
Mattias Gustavsson
4bf398974c Launching new screen share indicator frame exe 2019-11-29 07:53:58 +01:00
Kiran Niranjan
0b9c5e200f
fix: Add package-lock.json to git & disable protocol register for dev env (#815)
* Add package-lock.json to git & disable protocol register for dev env
Disable package-lock file for travis

* Disable package-lock.json just for travis
2019-11-29 08:47:15 +05:30
Mattias Gustavsson
604caedd69 Implemented unified log extraction 2019-11-27 14:04:58 +01:00
Kiran Niranjan
ecf5c71958
SDA-48 - force sandbox for all BrowserWindow instances (#814) 2019-11-26 13:41:24 +05:30
Johan Kwarnmark
bf0fe6f772 Add screen-sharing-frame, for sharing screen 2019-11-12 10:40:15 +01:00
Johan Kwarnmark
d2e825601f Show SFE version in about-window 2019-11-06 14:49:23 +01:00
Johan Kwarnmark
4484d44528 Remove window close 2019-11-05 15:44:16 +01:00
Johan Kwarnmark
d0e8cb2b31 Moved hard coded top position of screen share indicator window to a variable topPositionOfIndicatorScreen 2019-11-01 11:02:40 +01:00
Johan Kwarnmark
9845cf3dc1 Merge remote-tracking branch 'upstream/master' 2019-10-30 16:40:08 +01:00
Kiran Niranjan
0431a9f5ad fix: Upgrade master to 6.x (#795)
* Upgrade Electron version to 6.x

* fix: SDA-1347 (Group multiple processes into a single task bar icon) (#778)

* update mac build script

* update mac packager

* feat: ELECTRON-1462 (Combine more information into about app window) (#777)

* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file

* SDA-1347 - Group multiple processes into single task bar icon

* Change dependency from gulp-tsc to gulp-typescript

* 6.x Update activity detection api

* 6.x Update aip file to remove unwanted spellchecker files

* 6.x Update electron version to 6.1.2

* 6.x Update SDA version and change spellchecker base

* 6.x Update electron-builder version to support 6.x

* 6.x fix escape char for window build command

* 6.x Optimize log path set and get methods

* 6.x Change yml to json

* 6.x Make Window local path as default user data path
2019-10-30 20:58:25 +05:30
Johan Kwarnmark
0d97cf2890 Add new layout of screen sharing indicator + update test 2019-10-30 12:55:25 +01:00
Johan Kwarnmark
4dab0d66d5
Merge pull request #793 from johankwarnmarksymphony/master
fix: Fix printout of memoryInfo
2019-10-30 09:19:55 +01:00
Kiran Niranjan
85e61b8c60 SDA-1549 - Prevent multiple intervals for activity detection (#792) 2019-10-23 18:39:10 +05:30
Johan Kwarnmark
459281bb3d Fix printout of memoryInfo 2019-10-23 14:20:13 +02:00
Kiran Niranjan
ec863bc240 fix: SDA-1530 (Fix url validation check) (#789)
* SDA-1530 - Fix url validation check

* SDA-1530 - Bump spellchecker to support open link validation

* SDA-1530 - bump spellchecker version to 2.3.0

* SDA-1530 - add comment
2019-10-14 19:57:23 +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
67553d7b46
fix: SDA-1526: remove support for opening non http(s) links (#786)
* SDA-1526: add logic to ignore non http or https urls

* SDA-1526: update unit test
2019-09-27 12:01:05 +05:30
Kiran Niranjan
114d6d897a fix: SDA-1520 (Optimize memory refresh logic & make it randomize) (#782)
* SDA-1520 - Optimize memory refresh logic & make it randomize

* SDA-1520 - Change attributes, for MacOS use private else use residentSet
2019-09-12 16:04:39 +05:30
Vishwas Shashidhar
a28bdb69b1 SDA-1478: make dev tools menu dynamic 2019-09-09 16:36:47 +05:30
Kiran Niranjan
4317b0592a SDA-1347 - Group multiple processes into single task bar icon (#779) 2019-09-09 10:57:43 +05:30
Kiran Niranjan
073450ab7f feat: ELECTRON-1462 (Combine more information into about app window) (#777)
* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file
2019-09-04 17:58:43 +05:30
Kiran Niranjan
0902523c03 fix: ELECTRON-1505 (Prevent opening links longer than 2083) (#776)
* ELECTRON-1505 - Prevent opening links longer than 2083

* ELECTRON-1505 - Prevent opening links longer than 2083
2019-08-30 16:01:15 +05:30
Kiran Niranjan
b7067fca9a fix: ELECTRON-1488 (Update i18n resources when page fail to load) (#773)
* ELECTRON-1491 - Update i18n when page failed to load

* ELECTRON-1491 - Preload i18n resources & remove unwanted code
2019-08-28 19:12:13 +05:30
Kiran Niranjan
b2db06dea8 ELECTRON-1389 - Fix snack bar issue on Windows & Fix RTC pop-out issue (#771) 2019-08-28 12:14:28 +05:30
Vishwas Shashidhar
2d62b3de51
ELECTRON-1478: remove dev tools menu item via configuration (#772)
Currently, even if the dev tools is disabled in the Symphony config file, we show the menu item and display an error message. This change fixes the confusion of showing the error message and instead just doesn't bring up the dev tools if it is disabled in the configuration file
2019-08-28 11:27:25 +05:30
Kiran Niranjan
44ae65a65c ELECTRON-828 - Make screen snippet top most window (#766) 2019-08-20 14:30:39 +05:30
Vishwas Shashidhar
c09eabbc8b
feat: ELECTRON-1463: support linux build (#770)
* ELECTRON-1463: support linux build

* ELECTRON-1463: add scripts for linux build

* ELECTRON-1463: fix unit tests

* ELECTRON-1463: fix logger issue

* ELECTRON-1463: fix menu not showing up

* ELECTRON-1463: add screen-snippet functionality for linux

* ELECTRON-1463: fix log path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix path in spellchecker

* ELECTRON-1463: fix log path issues

* ELECTRON-1463: remove unneeded dependencies and support rpm
2019-08-20 14:30:13 +05:30
Kiran Niranjan
ecd5253337 ELECTRON-1482 - Update dependencies (#768) 2019-08-18 10:49:42 +05:30
Kiran Niranjan
1038e192d7 fix: ELECTRON-1465 (Persist locale changes to the user config file) (#761)
* ELECTRON-1465 - Persist locale changes to the user config file

* ELECTRON-1465 - Add safety check
2019-08-07 15:12:29 +05:30
Kiran Niranjan
6960f98f56 ELECTRON-1459 - Update screen snippet image type to png from jpg (#758) 2019-08-02 11:09:14 +05:30
Kiran Niranjan
b0bf48e9ed ELECTRON-1327 - Bump Electron version to 5.x (#754) 2019-07-31 16:53:50 +05:30
Vishwas Shashidhar
5abe7805b1
ELECTRON-1445: fix minimise on close behaviour on macOS (#750) 2019-07-24 00:19:02 +05:30
Vishwas Shashidhar
e1f7fa53d0
fix: ELECTRON-1431: add logic to update pod version dynamically (#743)
* ELECTRON-1431: add logic to update pod version dynamically

* ELECTRON-1431: refactor the code to keep version handler simple

* ELECTRON-1431: add safety check for setting about panel on macOS

* Merge branch 'master' into ELECTRON-1431

# Conflicts:
#	src/app/window-handler.ts
2019-07-19 18:48:01 +05:30
Kiran Niranjan
f8ea6a778f ELECTRON-1396 & ELECTRON-1429 - Fix window constructor opts (#744) 2019-07-19 17:28:36 +05:30
Kiran Niranjan
abfda29141 ELECTRON-1368 - Fix SnackBar & DownloadManager in pop-out (#740) 2019-07-19 14:30:07 +05:30
Kiran Niranjan
f47b606f9f ELECTRON-1401 - Fix issues with pop-out window restore (#738) 2019-07-18 21:48:05 +05:30
Vishwas Shashidhar
e5d86dc6d7
ELECTRON-1408: fix toggle dev tools menu item (#737)
- Destructure the config object correctly to get the devToolsEnabled config value in app menu component
2019-07-17 23:57:41 +05:30
Kiran Niranjan
54994590b5 ELECTRON-1346 - Fix notification fonts and safety checks for setAboutPanel (#734) 2019-07-17 12:02:15 +05:30
Vishwas Shashidhar
2d958cc75f
fix: ELECTRON-1406: fix issue in windows menu popping up for custom title bar (#736)
* ELECTRON-1406: fix issue in windows menu popping up for custom title bar

* ELECTRON-1406: apply PR suggestions
2019-07-17 11:55:29 +05:30
Vishwas Shashidhar
7f5c20a6a8
ELECTRON-1400: fix dev tools disabled localisation (#733) 2019-07-16 11:01:53 +05:30
Kiran Niranjan
7a1ded34b2 fix: ELECTRON-1380 (Show pop-up menu only on main window) (#732)
* ELECTRON-1380 - Show pop-up menu only on main window

* ELECTRON-1380 - Fix unit tests
2019-07-16 10:59:50 +05:30
Kiran Niranjan
486d345dc4
fix: ELECTRON-1382 (Fix notification z-index when alwaysOnTop is enabled) (#727)
* ELECTRON-1382 - Fix notification z-index when alwaysOnTop is enabled
2019-07-12 21:25:48 +05:30
Vishwas Shashidhar
36a68ec01b
fix: ELECTRON-1379: fix localisation for "Version" string (#726)
* ELECTRON-1379: fix localisation for "Version" string

* ELECTRON-1379: update jest snapshot
2019-07-12 16:34:20 +05:30
Vishwas Shashidhar
3125e9522c
ELECTRON-1381: fix localisation for file not found cases (#725) 2019-07-12 15:34:46 +05:30
Kiran Niranjan
1225f50812 ELECTRON-1380 - Fix pop-up menu position for native title bar (#724) 2019-07-12 15:19:10 +05:30
Kiran Niranjan
7034640682 ELECTRON-1364 - Optimize and fix window bounds update issue (#714) 2019-07-11 15:48:27 +05:30
Kiran Niranjan
d9c52ae745 ELECTRON-1366 - Prevent javascript error related to screen module (#713) 2019-07-10 12:00:20 +05:30
Kiran Niranjan
da36f5df54 ELECTRON-1367 - Fix always on top issue when relaunched (#712) 2019-07-10 11:59:56 +05:30
Kiran Niranjan
271a0ca4de ELECTRON-1364 - Throttle maximize and unmaximized state (#710) 2019-07-09 16:53:38 +05:30
Kiran Niranjan
d34de0fff8 ELECTRON-1363 - Fix pop up menu position (#709) 2019-07-09 15:08:15 +05:30
Vishwas Shashidhar
5faa766f07
fix: ELECTRON-1338: fix download manager issues (#707)
* ELECTRON-1338: add electron-dl logic to handle automatic file downloading

* ELECTRON-1338: fix download count issue

* ELECTRON-1338: group import statements
2019-07-09 11:34:22 +05:30
Vishwas Shashidhar
11f69f47ac
feat: ELECTRON-1357: show version info from pod (#703)
* ELECTRON-1357: implement getting dynamic version

* ELECTRON-1357: add support for more info window

* ELECTRON-1357: add unit tests for version handler

* ELECTRON-1357: delete unwanted files

* Delete .gulp-tsc-tmp-11966-41547-768xt5.masn2.ts

* Delete .gulp-tsc-tmp-11966-10574-1bhy8kw.k21y.ts

* ELECTRON-1357: caching server data

* ELECTRON-1357: refactor code to remove event emitter and use net module

* ELECTRON-1357: set version info asynchronously

* ELECTRON-1357: add checks for failed requests
2019-07-08 20:35:57 +05:30
Kiran Niranjan
9d887338e8 ELECTRON-1358 - Move setting shell path to main.ts to prevent multiple instance issue (#704) 2019-07-08 12:51:29 +05:30
Vishwas Shashidhar
494b886045
fix: ELECTRON-1345: fix protocol handler action issues (#702)
* ELECTRON-1345: fix processing protocol action

* ELECTRON-1354: add logs for process args
2019-07-05 23:37:14 +05:30
Kiran Niranjan
60d5a0cdde fix: ELECTRON-1331 (Update the menu element text casing) (#701)
* ELECTRON-1331 - Update the menu element text casing

* ELECTRON-1331 - Track initial analytics data
2019-07-05 10:23:17 +05:30
Kiran Niranjan
7af27d4780 fix: ELECTRON-1227 (Add translations for permissions dialog) (#699)
* ELECTRON-1227 - Add translations for permissions dialog

* ELECTRON-1227 - Add translations for permissions dialog

* ELECTRON-1227 - Arrange JSON alphabetically
2019-07-05 10:13:19 +05:30
Kiran Niranjan
5402d90ac9 feat: ELECTRON-1331 (Add new performance settings and add support for BI APIs) (#695)
* ELECTRON-1331 - Add new performance settings and add support for BI APIs

* ELECTRON-1331 - Resolve conflicts

* ELECTRON-1331 - Fix unit test cases

* ELECTRON-1331 - Fix unit test cases and typo
2019-07-04 12:11:29 +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
f17c7cc404 fix: ELECTRON-1238 (Handle session permissions) (#686)
* ELECTRON-1238 - Handle session permissions

* ELECTRON-1238 - Fix conditions

* ELECTRON-1238 - Resolve conflicts
2019-06-21 14:56:08 -04:00