Commit Graph

786 Commits

Author SHA1 Message Date
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
1d1b90d2ae
bump up version number
- bump up version number on fixing critical bug ELECTRON-397
2018-04-02 15:52:01 +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
b24cbd7791 bump up version number 2018-03-29 15:55:53 +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
Vishwas Shashidhar
923bd3ba1a
ELECTRON-370: upgrade electron dependency to 1.8.4 (#328) 2018-03-28 11:45:51 +05:30
Vishwas Shashidhar
07c5672385
change default values for the permissions in config file 2018-03-20 23:06:01 +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
Keerthi Niranjan
6a8592694e ELECTRON-371 (#327)
- Fix FreeDiskSpace.exe path
2018-03-20 15:01:50 +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
Vishwas Shashidhar
9856548e82
ELECTRON-341: fix typo in the advanced installer config (#324) 2018-03-15 17:50:37 +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
Vishwas Shashidhar
e0b831bcde
Electron 292: fix command line installer issues (#323)
- fix the command line installer issue
- fix merge issues
2018-03-15 15:28:06 +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
Vishwas Shashidhar
3a9df2a9af
Electron 360: fix configuration property issues on 32 bit windows installer (#322)
- add text update component for the 32 bit aip configuration file
- fix the text update component which was failing to overwrite values to the config file from the installer
2018-03-14 21:38:28 +05:30
Vishwas Shashidhar
2757a58604
Electron 324: allow only https in pod url config during installation (#319)
- add logic to validate pod url strictly with https
- add logic to validate pod url strictly with https (windows)
- fix url replacement in the post install script and regular expression for validating url in the installer pane
2018-03-14 11:59:09 +05:30
Keerthi Niranjan
55e75cf5e5 ELECTRON-357 (#321)
- Skipping npm rebuild every time and only running it once.
- Changed the time-out to 60000ms
- Moved the require to global
- Added done fail in all the catch functions
- Removed unwanted require
2018-03-13 15:50:31 +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
Vishwas Shashidhar
af510a5ce1
Merge pull request #316 from VishwasShashidhar/ELECTRON-340
ELECTRON-340: upgrade electron to 1.8.3 and pin all the dependency versions
2018-03-09 15:34:50 +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
21a78de83e ELECTRON-340: upgrade electron to 1.8.3 and pin all the dependency versions 2018-03-08 16:39:27 +05:30
Vishwas Shashidhar
036077ba8e
ELECTRON-307 : add 32 bit windows installer support (#313)
add aip configuration for 32 bit windows build
2018-03-07 22:22:27 +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
2c673248a6
Merge pull request #303 from KiranNiranjan/ELECTRON-308
Electron-308 (Fixes Spectron test cases)
2018-03-01 21:45:32 +05:30
Vishwas Shashidhar
d7dbaf051f
Merge pull request #309 from VishwasShashidhar/ELECTRON-274
ELECTRON-274: fix issue for diagnostics link
2018-03-01 21:44:15 +05:30
Kiran Niranjan
a06e17a12a Electron-308 Removed messages from constants and hardcoded it as per PR review 2018-02-27 09:24:40 +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
kiranniranjan
f8b7691fce Merge branch 'ELECTRON-308' of github.com:KiranNiranjan/SymphonyElectron into ELECTRON-308 2018-02-20 20:43:56 +05:30
kiranniranjan
fa2b668a5c Merge remote-tracking branch 'upstream/master' into ELECTRON-308 2018-02-20 20:43:14 +05:30
Kiran Niranjan
fc13e706be Electron-308 - Rebased and squash commits 2018-02-20 20:41:04 +05:30
kiranniranjan
7d01bc67f8 Merge remote-tracking branch 'origin/ELECTRON-308' into ELECTRON-308 2018-02-20 20:19:08 +05:30
kiranniranjan
d1d0f5f151 Merge remote-tracking branch 'upstream/master' into ELECTRON-308 2018-02-20 20:18:18 +05:30
Kiran Niranjan
01ecf8c065 Electron-308 - Added electron-chromedriver as dev dependency as it is
required to run Spectron tests

Electron-308 - Updated the code as per PR review

Electron-308

1. Changed args name
2. Fixed copy config method

Electron-308 - Optimized code and added error logs
2018-02-20 20:16:58 +05:30
Kiran Niranjan
b58d116903 Electron-308 - Optimized code and added error logs 2018-02-20 17:27:37 +05:30
Kiran Niranjan
20c3368272 Electron-308
1. Changed args name
2. Fixed copy config method
2018-02-20 14:50:21 +05:30
Kiran Niranjan
a07ac4ed8a Electron-308 - Updated the code as per PR review 2018-02-20 12:35:31 +05:30
Vikas Shashidhar
8813e19240
Merge pull request #305 from VishwasShashidhar/ELECTRON-279
Electron 279: add disable gpu switches
2018-02-20 09:52:01 +05:30
Vishwas Shashidhar
ae7fd4edab Merge branch 'master' into ELECTRON-261 2018-02-19 15:58:28 +05:30
Kiran Niranjan
5d5e9c0a3e Electron-308 - Added electron-chromedriver as dev dependency as it is
required to run Spectron tests
2018-02-19 13:07:30 +05:30