Commit Graph

466 Commits

Author SHA1 Message Date
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
Kiran Niranjan
2362febc58 ELECTRON-491 - Change method to use getFocusedWindow instead of fromWebContents (#368) 2018-05-21 17:03:46 +05:30
Vishwas Shashidhar
c36b639296
ELECTRON-500 / ELECTRON-384: fix protocol handler non-window use case (#372)
- fix issue in protocol handler when app is not initialized
- fix formatting issues
2018-05-21 13:27:53 +05:30
Kiran Niranjan
8037d16000 ELECTRON-464 - Update title bar with new logo (#370) 2018-05-18 09:55:19 +05:30
Vishwas Shashidhar
6eca7ccbe2
ELECTRON-459: fixes the issue (#369) 2018-05-16 19:17:18 +05:30
Vishwas Shashidhar
d9b80871f1 remove unused vars 2018-05-10 23:50:06 +05:30
Vishwas Shashidhar
5e423826c5 remove unused vars 2018-05-10 23:17:31 +05:30
Kiran Niranjan
31b62eaef2 ELECTRON-136 (Disable auto reload feature for r51 release) (#366)
- Disable this feature for r51 release
- Remove commented code
2018-05-10 22:47:06 +05:30
Kiran Niranjan
0f2d52020d Electron-435 - Optimize reading "isCustomTitleBar" global config field (#365) 2018-05-10 18:11:52 +05:30
Vishwas Shashidhar
0ff4a8bb6d
ELECTRON-481: fix the error dialogs with always on top use case (#364) 2018-05-10 15:06:37 +05:30
Vishwas Shashidhar
d60c1cc374
Electron 456 (#363)
- change memory refresh text
- fix regression on user data path arg
2018-05-09 16:41:26 +05:30
Kiran Niranjan
0a66fc90f2 Electron-470 (Add a new boolean check whether to activate main window) (#361)
- Add a new boolean check whether to activate main window
- update params to object
2018-05-09 14:49:18 +05:30
Vishwas Shashidhar
1e924274b3
ELECTRON-455: fix memory leak on closing pop ups (#359) 2018-05-09 12:34:04 +05:30
Vishwas Shashidhar
1739a25f22
Electron 466: fix setting user data path using command line (#358)
- fix setting customer user config directory
- add code comments
- allow custom user data path to contain character "="
2018-05-09 10:52:31 +05:30
Kiran Niranjan
78f4c0a10d Electron-469 - Fix log path (#356) 2018-05-07 14:52:16 +05:30
Kiran Niranjan
39c8d527e9 Electron-267 - Don't update alwaysOnTop property for notification windows (#354) 2018-05-07 14:52:02 +05:30
Keerthi Niranjan
25772f1141 ELECTRON-426 (Only first character of room name displays for the toast of room starting with '<" or '>' character) (#344)
- Fixes html content in the notification title
- Removes 'replaceStrongTag' and 'replaceHTMLTags' function and changing to innerHTML to innerText
2018-05-07 14:50:31 +05:30
Vishwas Shashidhar
25c59230f1
Revert "ELECTRON-430: Enable context isolation" (#355) 2018-05-03 12:23:01 +05:30
Vikas Shashidhar
77999b3a87
Merge pull request #340 from VikasShashidhar/Electron-430
ELECTRON-430: Enable context isolation
2018-05-03 12:09:20 +05:30
Vishwas Shashidhar
10f1e02c20
ELECTRON-451: add "Symphony Help" item in the "Help" menu (#352) 2018-05-02 13:00:36 +05:30
Kiran Niranjan
59a80f558c Electron-385 (Remove third party dependency and write custom implementation) (#350)
- Remove third party dependency and write custom implementation
- Add negative test case
2018-05-01 15:21:00 +05:30
Vishwas Shashidhar
c1e4016e93
Electron 446: Disable setting custom downloads directory (#349)
- remove feature to set custom downloads directory
- fix formatting
- fix formatting
2018-05-01 13:35:57 +05:30
Kiran Niranjan
4d15f03492 Electron-414 (Add a logic not to close the notifications on mouse hover) (#338)
- Add logic to not close the notification on mouse hover
- Clear timer when the notification content is reset
- Move logic from preload to main process
- Remove unwanted code
- Remove event listener on reset
2018-05-01 12:04:24 +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
a24255bf69 Electron-417 (Reposition active notifications whenever the config is updated) (#339)
- Reposition active notifications when the config is updated
- Fix spectron test cases
2018-04-25 16:31:43 +05:30
Kiran Niranjan
ec98374bcf Electron-433 (Changes the logic for updating user config) (#341)
- change logic in handling user config selection on install
- fix log issues
- Update user config by validating execPath or is mac
- Remove post install from aip config
- Update user config by validating execPath or is mac
- Fix lint issues
- use native isNaN method
- Remove unwanted code
- PR review
2018-04-19 23:26:42 +05:30
Vikas Shashidhar
2fb82e9d60 ELECTRON-430: Enable context isolation
1. Enables context isolation when creating any browser window instance.
2018-04-18 12:59:44 +05:30
Kiran Niranjan
b1209083cb Electron-420 - Add 'bringToFront' to the ignoreSettings (#337) 2018-04-13 14:27:43 +05:30
Kiran Niranjan
81d9cae5d5 Electron-409 - Fix generating crash report (#336) 2018-04-12 14:36:16 +05:30
Vishwas Shashidhar
cffa8962a6 Fix eslint error for map and bump up version 2018-04-11 19:04:21 +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
Vishwas Shashidhar
2e25c97bec
Electron 380: add share logs support (#333)
- add capabilities to generate log files
- change the location of share logs menu item
- add spectron tests
- add menu item text for windows
- fix issue reported on windows archiving other files
- fix failing spectron tests
- pin archiver dependency version
2018-04-06 13:42:41 +05:30
Vishwas Shashidhar
2526fdd65c
ELECTRON-397: fix the regression on opening external urls (#332) 2018-04-02 15:51:22 +05:30
Vishwas Shashidhar
8cb4382606 Merge branch 'master' of https://github.com/symphonyoss/SymphonyElectron 2018-03-29 15:56:30 +05:30
Vishwas Shashidhar
2f38ea0049 enforce loading urls to https only 2018-03-29 15:54:42 +05:30
Vishwas Shashidhar
e449ece7bf
ELECTRON-337: remove dev tools menu item and map the behaviour to global shortcut (#331) 2018-03-29 12:43:54 +05:30
Vikas Shashidhar
7d5ee72b6b
Merge pull request #330 from KiranNiranjan/ELECTRON-373
- Fix issue with closing screen picker modal
2018-03-20 20:00:07 +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
88c5c49cfa Electron-373 - Make close button clickable by adding app-region: no-drag 2018-03-20 14:13:27 +05:30
Kiran Niranjan
6914f30151 Electron-235 (Fix javascript error in notification) (#326)
- Fix javascript error "object has been destroyed"
- Fix notification javascript error and position issue
- Remove unused export
2018-03-18 14:35:02 +05:30
Kiran Niranjan
ecb0f88660 Electron-336 (Update bring to front logic on Windows) (#325)
- Added an arg which prevents window from getting focus when it is set to false
- Update bring to front logic
- Rename "Bring to Front on Notifications" to Flash Notification in Taskbar for Windows
- Update Spectron test cases
2018-03-16 12:26:07 +05:30
Kiran Niranjan
dc7079e0d7 Electron-325 (Removed restriction from opening a popup from another popup window) (#318)
- Updated the event `new-window` by removing the restriction to open new windows in pop-outs
- Added Spectron test cases for pop-outs
- Fix PR concerns
2018-03-15 17:18:06 +05:30
Keerthi Niranjan
944eb389ba SEARCH-621 (New exe for checking disk space) (#315)
- Implements new exe from the utils library
- Update AIP
- Increase utils version
2018-03-15 17:13:14 +05:30
Keerthi Niranjan
c3b82a0869 SEARCH-598 and SEARCH-611 (Deleting data folder on Electron Crash) (#307)
- Deleting the data folder on crash and unexpected shutdown
- Created script for clearing the index data on start up
- Working in dev env
- Added path to package
- Windows path file change
- Working on production build
- Completed implementation
- Few changes to callback
- Few changes to callback
- Updated package
- Fixed windows bug
- Fixed windows bug
- Fixed windows bug
- Added exe for task
- Added exe for task
- Fixed exe file
- Code refactoring
- Updated api file
- Added uuid for the task name
- Updated exe for the uuid
- Updated API file
- AIP version
- Fixes all the scenarios for mac
- Updated the boot file to clear data file on login
- Fixed data folder deleting on application is open
- Windows launch agent
- Working on all the scenario
- Added a launch script and starting the register
- Updated search-win-task.exe file
- Updating the aip file
- Updating the aip file
- Removed randomString lib
- Requested changes (PR)
- Included the library from new repo electron-uitls
- Updated AIP file
- Updated AIP
- Bumped up electron-utils version
- Added missing quotes
- Bumped up electron-utils version
- Added missing quotes
- Bumped utils version
- Bumped utils version
- Update AIP
2018-03-15 16:37:50 +05:30
Kiran Niranjan
1092e7b4a7 Electron-338 (Replace html tags from message content) (#320)
- Replace html tags from message content
- Replace html tag <> from message content to prevent html injection
- Add a function to replace strong html tags
- Remove TODO comment
- Change param naming
2018-03-15 12:31:08 +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
Vishwas Shashidhar
ff803e3a24
Merge pull request #317 from VishwasShashidhar/ELECTRON-293
ELECTRON-293: remove notification limit of 5 and match it with screen size
2018-03-09 16:19:43 +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