Commit Graph

436 Commits

Author SHA1 Message Date
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
Vishwas Shashidhar
83d62350e1 ELECTRON-293: remove notification limit of 5 and match it with screen size 2018-03-06 20:58:28 +05:30
Vishwas Shashidhar
de8d062f8c ELECTRON-274: fix as per pr comments 2018-02-23 17:15:31 +05:30
Vishwas Shashidhar
f0222b0101 ELECTRON-274: fix issue. 2018-02-23 17:01:16 +05:30
Vishwas Shashidhar
ae7fd4edab Merge branch 'master' into ELECTRON-261 2018-02-19 15:58:28 +05:30
Keerthi Niranjan
70f37644e9 Merge remote-tracking branch 'upstream/master' into SEARCH-605-new
# Conflicts:
#	js/search/searchConfig.js
2018-02-16 15:34:29 +05:30
Keerthi Niranjan
48fe7a6fbe SEARCH-605
- Review comments fix
2018-02-16 13:32:50 +05:30
Keerthi Niranjan
391b3e13ea SEARCH-622
- Removed the randomString library and included custom file
- Made some refactoring which was exposing the path which can be deleted from anywhere
2018-02-16 12:34:03 +05:30
Keerthi Niranjan
a71a62720d SEARCH-605
- return resolve missing
2018-02-15 14:00:53 +05:30
Keerthi Niranjan
ba342d571e SEARCH-605
- Permission error on windows 7 temporary fix
2018-02-15 11:06:49 +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
bbc2228365 ELECTRON-261: remove unused import 2018-01-27 16:26:49 +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
Vishwas Shashidhar
7f0f5f8449 electron-261: add gpu switches
for windows environments to ensure screen-sharing doesn't break with multiple monitors, we add flags to disable gpu
2018-01-23 16:38: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
81c8fdf7a5 Electron-249 Resolved conflicts 2018-01-18 16:40:07 +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
Vikas Shashidhar
aa1de21773
Merge pull request #292 from KiranNiranjan/ELECTRON-228
Electron-228 (Fixes Screen Snippet Reload Issue)
2018-01-18 16:14:46 +05:30
kiranniranjan
ad700f2d82 Electron-228 - Changed the event name and optimized code 2018-01-18 14:55:11 +05:30
Keerthi Niranjan
26a5b1d22f SEARCH-569
- Updated indexVersion
2018-01-18 14:31:04 +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
605fad25c0 Electron-262 - Updated display text for both Mac and Windows 2018-01-17 15:23:50 +05:30
Keerthi Niranjan
253aee2ac6 SEARCH-569
- Updated indexVersion
2018-01-12 17:31:59 +05:30
Keerthi Niranjan
68f65248d7 SEARCH-569
- Fixed tests for Windows
2018-01-12 12:23:34 +05:30
Vikas Shashidhar
665f35b08e
Merge pull request #290 from KiranNiranjan/ELECTRON-262
Electron-262 (Fixes Badge Count Issue)
2018-01-10 20:57:33 +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
Keerthi Niranjan
df277cd4e4 Merge remote-tracking branch 'upstream/master' into SEARCH-569
# Conflicts:
#	js/cryptoLib/index.js
2018-01-10 10:36:22 +05:30
Keerthi Niranjan
181fa7b767 SEARCH-569
- Review comments fix
2018-01-09 19:59:00 +05:30
Keerthi Niranjan
603d74c5b9 SEARCH-569
- Removing the version information from user index folder
2018-01-09 16:16:59 +05:30