Commit Graph

549 Commits

Author SHA1 Message Date
Vishwas Shashidhar
f345660129
ELECTRON-795, ELECTRON-789: localise download manager messages (#507)
The messages "Downloaded" and "File not found" were not localised in japanese, this adds localisation to those messages
2018-09-26 17:28:44 +05:30
Vishwas Shashidhar
628b05d46b
ELECTRON-788: add clear cache functionality (#506)
* ELECTRON-788: clean cache on bad exits

A few customers have reported that the cache gets corrupted when the app is not exited cleanly. And, upon the next start, we get cache_read_failures.

This fix adds an extra check during startup and exit to check if the app was exited cleanly and deletes the corrupted cache folder accordingly during startup.

* ELECTRON-788: add menu item, use electron session cache clear logic

Adds a new menu item to clear cache and reload the app.
Also remove the old logic of deleting the cache folder manually and use electron session api to clear the cache.

* ELECTRON-788: refactor code
2018-09-26 13:08:59 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
0507507ab8 ELECTRON-710 - Fix Always on top: notification does not show on top (#491) 2018-09-17 15:57:38 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
f17a5788b4 ELECTRON-676 - Fixing Developer Tools window flashes before the popup (#489) 2018-09-06 16:26:48 +05:30
Kiran Niranjan
db221204e5 ELECTRON-730 - Add logic to fetch active network requests from the client to validate (#494) 2018-09-06 14:52:04 +05:30
Vishwas Shashidhar
a28fd90b09 refactoring
- move the jest configuration files to the root directory
- remove squirrel installer startup check
- increase coverage for protocol handler
- update package.json as per the above
2018-09-06 11:45:07 +05:30
Kiran Niranjan
b4c559c3ee ELECTRON-705 (Add custom title bar support for Window 7) (#490)
* ELECTRON-705 - Add custom title bar support for Window 7

* ELECTRON-705 - Optimize title bar menu selection logic and include detail section

* ELECTRON-705 - Change installer check box titles and des
2018-09-03 16:25:46 +05:30
Kiran Niranjan
96707907c7 ELECTRON-730 (Implement aggressive refresh to optimize refresh) (#488)
* ELECTRON-730 - Implement aggressive refresh to optimize refresh

* ELECTRON-730 - Increase memory threshold to 800MB
2018-09-01 16:35:53 +05:30
Vishwas Shashidhar
5cdca33a09 ELECTRON-718: fix cancel button issue on japanese text
If we don't specify the cancel id, cancel action doesn't work in the japanese language. So, we need to pass the cancelId in the dialog options
2018-08-31 16:42:41 +05:30
Vishwas Shashidhar
d6247c4158
ELECTRON-718: localise the relaunch and cancel strings, (#487)
ELECTRON-707: add support for opening japanese help page from help menu
2018-08-31 12:06:40 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
2ff39cac86 ELECTRON-719 - Relaunch Application displays many times when selecting Native/ Custom (#486) 2018-08-31 11:35:06 +05:30
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
0d04ac03e2
ELECTRON-685: upgrade electron framework version to 3.0.0-beta.8 (#485)
Electron framework v3.0.0-beta.8 fixes remote object count issue due to which we had to turn on sandboxing which lead to spell checker and right click actions not working.
2018-08-30 12:12:58 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
199aa76207 ELECTRON-729 - Accessibility color fix for customizing toast notifications on Windows (#483) 2018-08-30 11:32:21 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
558f2cb61e ELECTRON-647 - Fixing fullscreen mode disappears after reloading app (#482) 2018-08-29 22:29:40 +05:30
Kiran Niranjan
154b66e195 ELECTRON-656 - Correct Japanese translation (#480) 2018-08-29 10:39:16 +05:30
Kiran Niranjan
e5fb89842b ELECTRON-592 - Prevent custom title bar buttons from taking focus (#478) 2018-08-28 11:49:01 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
29fb713b75 ELECTRON-695 - Fixing hover close button on notification (#475) 2018-08-28 11:47:24 +05:30
Kiran Niranjan
10e0f8a295 ELECTRON-694 (Send activity only if network status is online) (#469)
- Send activity only if network status is online
- Fix require statement for ELECTRON_QA env
2018-08-28 11:47:09 +05:30
Vishwas Shashidhar
74e5123e48
ELECTRON-669: add japanese localisation for download manager actions (#477)
Currently, the actions "Open" & "Show in Folder" are not localised as part of the download manager. This commit adds japanese localisation for the above two actions.

Along with the above, we also add a better UX by using the string "Reveal in Finder" for macOS users.
2018-08-27 20:28:21 +05:30
Keerthi Niranjan
418de90fb3 SEARCH-915 - Revert back to ffi (ffi-napi - napi_get_uv_event_loop issue on windows) (#473) 2018-08-23 16:05:02 +05:30
Kiran Niranjan
1695920d24 ELECTRON-656 (Localize context menu labels) (#472)
- Localize context menu labels
- Update condition to setLocale for pop-out window
2018-08-22 17:34:16 +05:30
Vishwas Shashidhar
c4726a9dc2
ELECTRON-655: implement dynamic chrome command line flags logic (#471)
- implement dynamic chrome command line flags logic
- added more validation
2018-08-22 15:41:33 +05:30
Vishwas Shashidhar
d6dbdb866d correct napi reference import 2018-08-22 13:20:49 +05:30
Vishwas Shashidhar
a6eabca960 upgrade electron version and app version 2018-08-21 15:36:26 +05:30
Kiran Niranjan
5a0576402c ELECTRON-651 (Assign focused window to the screen picker) [Windows] (#468)
* ELECTRON-651 - Assign focused window to the screen picker

which disables user interaction with the content below

* ELECTRON-651 - Fix jest-html-reporter's path in jest config

* ELECTRON-651 - Fix unit tests
2018-08-20 17:35:40 +05:30
Kiran Niranjan
7fb6c4c407 ELECTRON-648 (Prevent drag and drop of files) (#464)
- Prevent drag and drop of files
- Prevent drag and drop of files for about app window
2018-08-16 11:35:40 +05:30
Kiran Niranjan
a2510677ed ELECTRON-665 - Localize custom title bar buttons for Windows 10 (#465) 2018-08-16 11:34:35 +05:30
Kiran Niranjan
668b49a826 ELECTRON-600 (Implement Native Encryption for AESGCMEncrypt, AESGCMDecrypt & RSADecrypt) (#452)
- Implement Native Encryption for AESGCMEncrypt & AESGCMDecrypt
- Refactor and remove spectron test case for security reasons
- Update library file for MacOS
- Include RSADecrypt method
- Throw errors instead of logs
- Remove exceptions throw
- Fix tag buffer in AESGCMDecrypt
- Optimize EncryptDecrypt method
2018-08-09 21:21:37 +05:30
Kiran Niranjan
65b107a1ab ELECTRON-670 - Remove setting menu to null for pop-out (#457) 2018-08-09 18:17:49 +05:30
Kiran Niranjan
3ce535ae21 ELECTRON-607 (Optimization and bug fix) (#455)
- Fix setLocale args
- Optimize Alt key press
- Optimize title bar style menu selection
2018-08-07 18:02:02 +05:30
Kiran Niranjan
42021087ae ELECTRON-607 (Change native menu bar style - Windows 10) (#451)
- Change native menu bar style
- Display dialog confirmation for app relaunch
- Update menu coordinates
- Display dialog confirmation for app relaunch
2018-08-06 15:31:02 +05:30
Kiran Niranjan
76b995d064 ELECTRON-661 (Security fix for pop-outs RCE) (#450)
- Security fix for pop-outs RCE
- Bump Electron version to 2.0.6
2018-08-03 19:31:54 +05:30
Kiran Niranjan
75d2e06673 ELECTRON-591 - Add logic to close up child windows whenever parent window is navigated or reloaded (#446) 2018-08-01 14:51:29 +05:30
thaisym1912
7791d5b39a AVT-914 [Spectron][Windows] Add test "Keep size and position of the windows in previous session" (#430) 2018-07-31 22:34:45 +05:30
Vishwas Shashidhar
b8626e0756 add logic to skip ct checks for dev env 2018-07-23 16:08:49 +05:30
Vishwas Shashidhar
0d161727d8
ELECTRON-593: support launching app through custom pod urls (#439) 2018-07-20 16:31:18 +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
Keerthi Niranjan
205c08977d SEARCH-840 Updates searchApiVer and AIP (#438)
* SEARCH-840 Migrates SwiftSearch to a different project https://github.com/symphonyoss/SwiftSearch

* SEARCH-840 Changes swift-search require

* SEARCH-840 refactor

* SEARCH-840 Changes swift-search version

* SEARCH-840 Changes warn message

* SEARCH-840 Updates api version and removes unwanted libraries from aip
2018-07-20 14:12:51 +05:30
Kiran Niranjan
6489990b19 ELECTRON-618 - Initially register global shortcut (#436) 2018-07-20 12:20:34 +05:30
Keerthi Niranjan
a71d8cb2c7 SEARCH-840 Migrates SwiftSearch to a different project (#434)
* SEARCH-840 Migrates SwiftSearch to a different project https://github.com/symphonyoss/SwiftSearch

* SEARCH-840 Changes swift-search require

* SEARCH-840 refactor

* SEARCH-840 Changes swift-search version

* SEARCH-840 Changes warn message
2018-07-19 18:45:16 +05:30
Kiran Niranjan
08ca667c3c ELECTRON-378 - Focus the correct module with protocol actions (#424) 2018-07-17 10:43:43 +05:30
Kiran Niranjan
17a197a8d2 Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL)" (#428)
* Revert "fix path issues on x86 aip file"

This reverts commit 4395d18dc0.

* Revert "fix aip path issue for screen snippet"

This reverts commit eeeb5cbc67.

* Revert "bump up version number to 2.9.0"

This reverts commit 77de432eb9.

* Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL) (#421)"

This reverts commit d47e18072a.
2018-07-17 10:43:26 +05:30
Kiran Niranjan
a14a4ae9ae ELECTRON-492 - Disable screen share when media permissions are disabled (#431) 2018-07-17 10:42:33 +05:30
Kiran Niranjan
d47e18072a ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL) (#421)
- Create API only if the location.origin matches with whitelist or pod URL
- Include isNodeEnv for Spectron test cases to pass
- Reset whitelistUrl to support SSO login
- Remove unnecessary return statement
2018-07-09 18:09:45 +05:30
Kiran Niranjan
af124e3aab ELECTRON-539 - Prevent multiple instance of notification configuration window (#423) 2018-07-09 15:22:00 +05:30
Kiran Niranjan
37194505bb ELECTRON-588 - Fix keyboard shortcut issue on Windows 10 (#419) 2018-07-09 13:33:19 +05:30
Kiran Niranjan
a18f3eb64c ELECTRON-485 (Add throttle of 1 sec for activate, bringToFront and setLocale to prevent DoS attacks) (#414)
- Add throttle of 1 sec for activate, bringToFront and setLocale to prevent DoS attacks
- Skip resize Spectron test case for Mac
2018-07-09 13:29:47 +05:30
Kiran Niranjan
cc39f43ee7 ELECTRON-483 (Implement a functionality to display snack bar) (#390)
- Implement a functionality to display snack bar
- Localize snack bar
- Move key press logic to windowMgr
- Center snackbar
- Add functionality to remove snackbar on leave-full-screen event
- Add safety check
- optimize code to listen keydown event only if the window is in full screen
2018-07-09 13:24:35 +05:30
Kiran Niranjan
e6d16241f8 ELECTRON-445 (Change the memory refresh logic to auto-refresh after 4Hrs of user inactivity) (#415)
- Change the memory refresh logic to auto refresh after 4Hrs
2018-07-02 17:17:01 +05:30