Commit Graph

98 Commits

Author SHA1 Message Date
Kiran Niranjan
4737a9135f ELECTRON-870 - Remove process.getCPUUsage from renderer process due to sandbox 2018-10-25 16:46:08 -03:00
Kiran Niranjan
7fea8b0383 ELECTRON-791 (Fix pop-out memory leak and move spellchecker module to main process) (#519)
* ELECTRON-791 - Bump electron version to 3.0.5 and change spellchecker module

* ELECTRON-791 - Remove AESDecryptGCM & AESEncryptGCM logs
2018-10-22 22:34:48 +05:30
Kiran Niranjan
c895291324 Revert "ELECTRON-758 - Change network request implementation to use electron's API (#509)" (#514)
This reverts commit 0c8b322
2018-10-03 21:30:52 +05:30
Kiran Niranjan
0c8b322d63 ELECTRON-758 - Change network request implementation to use electron's API (#509) 2018-09-28 12:39:26 +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
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
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
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
a6eabca960 upgrade electron version and app version 2018-08-21 15:36:26 +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
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
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
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
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
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
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
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
Keerthi Niranjan
4aaa9ac539 Swift Search to Master (#405)
* SEARCH-627 & SEARCH-628

- Add implementation for memory indexing
- Batch indexing and Real-time indexing

* ELECTRON-426 (#345)

- Changes innerHTML to innerText
- Removes 'replaceStrongTag' and 'replaceHTMLTags' function and changing to innerHTML to innerText

* SEARCH-764

- Rework "deleteIndexFolders" in the Electron Preload Script
- Fixes the Security Vulnerability

* SEARCH-764

- Updates spectron test preload api version

* SEARCH-766

- Rework "readFile" in Electron Preload Script
- Removing this method as this is only for the demo app

* SEARCH-766

- Removes merge method

* SEARCH-767

- Rework "path" in Electron Preload Script
- Removes the constructor to use hardcoded path

* SEARCH-767

- Updates unit test

* SEARCH-775

- Adds search api version to match with the client app

* SEARCH-775

- Spectron test fix

* SEARCH-770 (#391)

- constructor is required which was removed as part of SEARCH-767
2018-06-27 14:12:16 +05:30
Vishwas Shashidhar
a26a1d609c
ELECTRON-519: support Japanese localization for menus, dialogs and windows (#401)
- add basic localisation implementation for menu items
- add more strings to support localisation on menus
- add more strings to support localisation on menus
- add all menu items for localisation
- refactor i18n code
- Add localization for screen picker, basic auth and notification settings child windows
- Add localization bridge
- add i18n support to more strings
- update translations
- add events to change language and redo menu template
- move config update logic to windowMgr
- fix linting issues and refactor
- add snipping tool messages
2018-06-19 20:26:04 +05:30
Kiran Niranjan
d1c1e3caa2 Electron-486 (Add an option to configure Windows 10 title bar) (#389)
- Initial title bar menu item implementation
- Allow users to customization title bar style
- Add separators for menu item and hide action items
- Fix menu item separator and bold text in installer
2018-06-06 17:27:10 +05:30
Kiran Niranjan
46bc71c203 ELECTRON-445 - Add CPU usage for memory refresh logic 2018-06-05 16:03:28 +05:30
Kiran Niranjan
2fe67c6fb6 Electron-445 - Change API from presence status to meeting status 2018-05-10 13:10:41 +05:30
Kiran Niranjan
a5f5556bd2 Electron-445 - Verify user presence status before reloading the app 2018-05-04 16:08:09 +05:30
Kiran Niranjan
3be2986c7e Electron-401 (fixes crash reporter) (#334)
- fix crash reporter
- fix typo
- Add support to generate crash report
- Add logic to store globally and return
- PR review fixes
- Add logic to validate file mime type
2018-04-11 18:43:59 +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
Kiran Niranjan
191ca0c05e Electron-318 (Included build number in the client version info) (#314)
1. Included build number in getVersionInfo method
2. Update the demo page version info to table view
3. Changed let to var to make it consistent across the file
4. Add Spectron test cases for getVersionInfo
2018-03-12 17:05:25 +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
Kiran Niranjan
08c25e4b58 Electron-256 (Changed the implementation from modal to electron window) (#308)
1. Completed functionality
2. Refactored and added code comments
3. Fixed some style issues
4. Added some safety checks
5. Updated Window size
6. Added some safety checks
7. Fixed some keyboard interaction
8. Fixed styles for Windows OS
9. Added a functionality to place screen picker based on the event sender
10. Updated the code to open the screen picker on top of the focused window instead of finding a ref using window name
11. Added a HTML content to display error message
12. Updated window title
13. Added missing return
14. Changed the method name from `openScreenPickerWindowWindow` to `openScreenPickerWindow`
15. Fixed a typo and added code comment
16. Changes as per PR review
17. Created Enum for key code
18. Updated for loop to for..of loop
19. Updated colors from hex to rgba
20. Setting cursor property as pointer for cancel button and item-container
21. Made window draggable
22. Changed font-family to system fonts
23. Added box shadow for buttons
24. Added a new API to support backward compatibility and deprecated the existing one
25. Fixed the condition prevent a new window from being opened if there is an existing window
2018-03-09 15:31:44 +05:30
Kiran Niranjan
e25c3c6c01 Electron-284 Added an new api for bring to front feature 2018-01-23 13:47:17 +05:30
kiranniranjan
cef30ff128 Merge remote-tracking branch 'upstream/master' into ELECTRON-249
# Conflicts:
#	js/mainApiMgr.js
2018-01-18 16:34:56 +05:30
kiranniranjan
ad700f2d82 Electron-228 - Changed the event name and optimized code 2018-01-18 14:55:11 +05:30
kiranniranjan
20e1f0b6ca Electron-228 - Added an event to terminate screen snippet process whenever the main window is reloaded/navigated 2018-01-18 12:53:27 +05:30
kiranniranjan
fdb397d343 Merge remote-tracking branch 'upstream/master' into ELECTRON-249 2018-01-17 15:24:27 +05:30
kiranniranjan
26c1bc91dd Electron-262
Updated the code comment
2018-01-10 18:14:06 +05:30
kiranniranjan
a3af9abdf9 Electron-262
Implemented a method to reset badge count on window navigation/reload
2018-01-10 16:48:43 +05:30
Kiran Niranjan
ab6a4fdc6a Electron-249 - Updated API work flow 2018-01-08 16:43:10 +05:30
Vikas Shashidhar
3cf9226bf4 Revert "Merge pull request #269 from keerthi16/skynet"
This reverts commit 1388c835ef, reversing
changes made to c9d6229d6d.
2017-12-28 17:29:27 +05:30
Vikas Shashidhar
d5f7073fef
Revert "Updating Master with Skynet" 2017-12-27 16:38:27 +05:30
Keerthi Niranjan
15dc549610 SEARCH-539
- Check disk space before enabling Electron-Search
2017-12-14 14:16:00 +05:30
Keerthi Niranjan
222e52cbdf SEARCH-444
- Implemented a function to delete the index folder
2017-11-24 15:58:01 +05:30
Keerthi Niranjan
9e6a7df281 SEARCH-444
- Created an api to clear the user index data folder
2017-11-21 22:14:27 +05:30
Vikas Shashidhar
48610c3681 Merge remote-tracking branch 'symphony/master' into skynet
# Conflicts:
#	installer/win/Symphony-x64.aip
#	js/main.js
#	package.json
2017-11-07 13:31:03 +05:30
Vishwas Shashidhar
dea1c1d2f4 Merge branch 'master' into electron-17
* master:
  Electron-172 - Fixes the pop-out issue
  electron-173: added dependencies to the advanced installer
  electron-173: enabled spell checker
  Electron-142 - Changed the symphony logo
  Electron-142 - Moved inline styles to style tag
  Updated window title
  Electron-142 - Made changes as per review
  Electron-142 - Made changes as per review
  Updated comment
  Change title to reflect new file display name as per Electron-144
  Adds a count to the file name in the download manager if the user downloads a file with the same name.
  Electron-142 - Added a new menu item to show application version details
  Add tooltip to display full filename in download manager.
2017-10-06 14:04:03 +05:30
Vishwas Shashidhar
0de7f8faad electron-173: enabled spell checker 2017-10-06 09:28:12 +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
7985b68dfd electron-158: added logic to disable spellchecker 2017-09-27 19:46:02 +05:30