Commit graph

492 commits

Author SHA1 Message Date
Abhinav f1e5ae75bb rename heicConverter 2022-12-03 15:55:44 +05:30
Abhinav 923e890b41 remove type 2022-12-03 14:26:33 +05:30
Abhinav 7a59818e58 getImagickStaticPath 2022-12-03 14:26:04 +05:30
Abhinav 750bd46315 add support to convert heic using imageMagick on linux 2022-12-03 14:26:02 +05:30
Abhinav f181865e64 refactor platform check utils 2022-12-03 10:11:45 +05:30
Abhinav fbbb38b261 Merge branch 'main' into check-for-update-every-day-once 2022-11-29 20:39:35 +05:30
Abhinav 7b317947a6 add mute update notification api and rename skipAppVersion api to skipAppUpdate 2022-11-29 20:30:30 +05:30
Abhinav Kumar 3fdf86dab7
Merge pull request #96 from ente-io/update-electron-to-latest
Update electron to latest
2022-11-25 18:51:00 +05:30
Abhinav 202b36f5d4 Merge branch 'main' into add-more-logs 2022-11-23 13:15:55 +05:30
Abhinav Kumar f1b1b88085
Merge pull request #110 from ente-io/fix-ffmpeg-static-for-zip-upoad
Fix ffmpeg static for zip upload
2022-11-23 13:13:47 +05:30
Abhinav b13f0e6e73 Merge branch 'main' into update-electron-to-latest 2022-11-21 18:53:50 +05:30
Abhinav 091714757f add close for mac too 2022-11-21 17:00:36 +05:30
Abhinav 3d1e388877 only use inputFile path if its valid , else fallback to creating a temp copy 2022-11-21 15:23:48 +05:30
Abhinav fec86c8018 update format 2022-11-17 19:52:53 +05:30
Abhinav f0cad329c8 add utc diff in log time 2022-11-17 19:40:38 +05:30
Abhinav 16c3fbf2f9 add heap and processMemory Info stats 2022-11-17 15:24:36 +05:30
Abhinav eb4049860b add a cron to check for updates once every day 2022-11-17 14:54:57 +05:30
Abhinav 1cbd046af3 dont sent true 2022-11-17 14:50:24 +05:30
Abhinav 82b5913480 update timeout 2022-11-17 14:34:07 +05:30
Abhinav e838beb54f rename 2022-11-17 14:33:14 +05:30
Abhinav c766e6c465 remove eslint disable 2022-11-17 14:32:23 +05:30
Abhinav 023a261e30 Merge branch 'main' into add-more-logs 2022-11-17 14:31:20 +05:30
Abhinav 70bf803619 more logs 2022-11-17 14:29:40 +05:30
Abhinav 4813b541f8 setup logging 2022-11-17 14:29:21 +05:30
Abhinav 39d92e2b96 add process stats logs 2022-11-17 14:28:55 +05:30
Abhinav e1a575598c add user triggered app quit logs 2022-11-17 12:56:25 +05:30
Abhinav de560de204 revert logging change 2022-11-16 16:12:20 +05:30
Abhinav 12f245f37f refactor code 2022-11-16 16:10:44 +05:30
Abhinav 396ef8f31a udpate ipc comms 2022-11-16 15:49:21 +05:30
Abhinav 5d3ecdc9e6 remove unneeded code 2022-11-16 15:47:22 +05:30
Abhinav bdaa505518 moved temp file creation logic to api 2022-11-16 15:47:12 +05:30
Abhinav 3e28a7cb82 added temp file read and write util 2022-11-16 15:43:25 +05:30
Abhinav cad1ccfbfd fix runFFmpeg on non disk file 2022-11-16 14:02:02 +05:30
Abhinav 75ce357b72 update to handle inputFilePath missing 2022-11-14 20:37:13 +05:30
Abhinav 26b979eab2 fix comment 2022-11-14 19:30:39 +05:30
Abhinav 19a3c38bf1 refactor import 2022-11-14 19:27:47 +05:30
Abhinav 2875dbce07 update to pass filePath instead of whole File 2022-11-14 18:44:57 +05:30
Abhinav 756b04750e add ipc comms for runFFmpegCmd 2022-11-14 17:01:06 +05:30
Abhinav 4e98fdd3c8 update ffmpeg api to generic run 2022-11-14 14:28:22 +05:30
Abhinav 0a82e7a3ca use promisify util to convert child exec to async 2022-11-14 11:23:41 +05:30
Abhinav 8035576337 add ffmpeg static video thumbnail generation api 2022-11-14 11:11:03 +05:30
Abhinav f81b852fb4 refactor code and create temp util 2022-11-14 11:06:25 +05:30
Abhinav Kumar 997b13121b
Merge pull request #99 from ente-io/release-version-info
add get app version api
2022-11-10 17:07:59 +05:30
Abhinav e3d4ffb767 add get app version api 2022-11-10 16:47:07 +05:30
Abhinav c9bfc30840 set-global-sentry-user-id 2022-11-10 16:15:15 +05:30
Abhinav c47af36fe8 disable default sandboxing 2022-11-09 18:13:25 +05:30
Abhinav dbe4018cc3 fix import 2022-11-08 22:43:04 +05:30
Abhinav 8f9187c0f3 move initSentry above createWindow 2022-11-08 22:43:04 +05:30
Abhinav a86aac1a9f add ipc comms to fetch sentry id from keyStore 2022-11-08 11:38:36 +05:30
Abhinav 8ddf6a8820 export electron sentry user id to ui 2022-11-08 11:16:39 +05:30
Abhinav 4e4db49489 fix logErrorSentry 2022-11-05 15:57:21 +05:30
Abhinav 227dc32c02 get desktop key change version 2022-11-02 12:14:56 +05:30
Abhinav a929b090f2 change log 2022-11-01 17:48:45 +05:30
Abhinav cf23c4156d wait for 5 min for native.checkForUpdate to run and throw if any error occurs before showing update ready event 2022-11-01 17:23:01 +05:30
Abhinav 998753cc43 fix imports 2022-11-01 15:10:20 +05:30
Abhinav 436010bdba catch and return undefined if https://ente.io/desktop-key-change-version api fails 2022-11-01 15:06:45 +05:30
Abhinav 86609fe35b update log 2022-11-01 14:52:44 +05:30
Abhinav 4b9c186604 keyChange affects only mac 2022-11-01 14:49:37 +05:30
Abhinav de371083b8 refactor app updater 2022-11-01 14:46:04 +05:30
Abhinav 27943b9a3b fetch key change version from remote 2022-11-01 14:37:33 +05:30
Abhinav ed6fa98f24 add API save preference of skipping a app version update 2022-11-01 14:21:13 +05:30
Abhinav 4dede88386 on error show manual update dialog 2022-11-01 13:37:15 +05:30
Abhinav 5345e5cf21 rearrange 2022-11-01 13:27:55 +05:30
Abhinav f73bd6c4fe remove menu update available option 2022-11-01 13:25:43 +05:30
Abhinav 3b6a25bc25 only check for update don't notify 2022-11-01 13:04:51 +05:30
Abhinav 6ad5b48e0d update AppUpdateInfo 2022-11-01 12:59:05 +05:30
Abhinav 313a5d0c1b add debug logs and better checks 2022-11-01 12:25:39 +05:30
Abhinav 3c44d10019 fix version check 2022-10-31 17:46:41 +05:30
Abhinav e3febd0c48 pass if update is downloaded info to show update dialog callback 2022-10-31 17:35:18 +05:30
Abhinav 8e963aa85a don't download update if not auto updatable 2022-10-31 17:29:13 +05:30
Abhinav ec0e9a8e2d revert testing change 2022-10-31 14:18:48 +05:30
Abhinav e1f1de0740 remove old listener before adding new onces 2022-10-31 14:13:48 +05:30
Abhinav 03a466312d change handle to on 2022-10-31 14:11:24 +05:30
Abhinav b9819f3cc5 remove old update dialog code 2022-10-31 14:03:29 +05:30
Abhinav e33f28f38e setup app update api 2022-10-31 11:05:04 +05:30
Abhinav 76a5d685e7 use spread to join array everywhere 2022-10-22 11:22:41 +05:30
Abhinav ed2637be92 fix push too many parameter issue by creating new array with elements of both array 2022-10-22 11:04:48 +05:30
Abhinav Kumar 713112b908
Merge pull request #85 from ente-io/disable-console-logging
Disable console logging
2022-10-18 19:05:58 +05:30
Abhinav 351c3d36e3 fix import 2022-10-18 14:02:10 +05:30
Abhinav caf22368d2 remove duplicate code 2022-10-18 14:00:43 +05:30
Abhinav 32a128917c move logging setup logic to util 2022-10-18 13:55:37 +05:30
Abhinav c0447fcbac move logging setup to util 2022-10-18 13:55:37 +05:30
Abhinav d1d099abf3 disable console logging 2022-10-18 13:55:37 +05:30
Abhinav ac00297abe implement cancel function on readableStream 2022-10-16 20:30:32 +05:30
Abhinav f509398470 move generateRandomName to util 2022-10-16 10:07:33 +05:30
Abhinav 7a16c8765d add missing await to writeFile 🙈 2022-10-15 17:59:30 +05:30
Abhinav f7d45c55e8 rename service 2022-10-15 17:39:46 +05:30
Abhinav ac622b26e3 Merge branch 'main' into native-heic-conversion 2022-10-15 17:19:36 +05:30
Abhinav Kumar d80160e823
Merge pull request #84 from ente-io/open-log-directory
Open log directory
2022-10-15 17:15:52 +05:30
Abhinav 9bf5bc07be add api to openLogDirectory 2022-10-15 13:16:10 +05:30
Abhinav 081cfd2b2b fix cache not cleared 2022-10-15 10:47:40 +05:30
Abhinav 7da745c465 fix convertHEIC logic 2022-10-15 00:13:19 +05:30
Abhinav a838ca698b separate preload util from main 2022-10-14 23:36:40 +05:30
Abhinav 6569d87841 add random name generation logic 2022-10-14 23:18:23 +05:30
Abhinav 7af36ee045 export heic convert api 2022-10-14 23:07:07 +05:30
Abhinav e2f7f7cee2 implement convertHEIC using native sips 2022-10-14 22:59:02 +05:30
Abhinav c4edd12aff return outputType options 2022-10-14 22:58:38 +05:30
Abhinav c63060780c setup data pipeline to convert heic natively 2022-10-14 22:48:12 +05:30
Abhinav 2e82d287c3 remove window color 2022-10-14 19:52:48 +05:30
Abhinav Kumar 20c4545719
Merge pull request #75 from ente-io/fix-windows-startup
add timeout for ready-to-show callback
2022-09-24 16:52:21 +05:30
Abhinav 9ef8491d4b increase log max size to 5MB 2022-09-24 16:34:31 +05:30
Abhinav 01ddcb38c3 change menu copy 2022-09-24 16:21:58 +05:30
Abhinav e028de8a66 add timeout for ready-to-show callback 2022-09-24 16:19:57 +05:30
Abhinav 0221f51921 fix Report Bug 2022-09-24 15:22:44 +05:30
Abhinav 0aad35d7c2 add report bug option that opens log folder 2022-09-24 15:05:14 +05:30
Abhinav 1d684d2181 log sentry error to disk logs too 2022-09-24 13:49:32 +05:30
Abhinav 80817620ec expose logToDisk as common api 2022-09-24 13:49:16 +05:30
Abhinav f39adeb109 add logging service 2022-09-24 13:48:53 +05:30
Abhinav 90fd202e0a show open dev tools option in production build 2022-09-24 10:09:42 +05:30
Abhinav 236c0e25a8 move environment to constant 2022-09-23 17:21:50 +05:30
Abhinav 2a95bf62b5 log to console only if env is development 2022-09-23 16:08:41 +05:30
Abhinav dca542e781 remove change handler until we integrate update file api 2022-09-09 14:14:45 +05:30
Abhinav eb5012793b update WatchMappingSyncedFile (previously WatchedMappingSyncedFile) 2022-09-09 13:39:15 +05:30
Abhinav 64e7ba41ac remove folderPath test logging 2022-09-09 13:04:59 +05:30
Abhinav d9a37ffd71 slice buff to bytesRead size 2022-09-07 20:34:08 +05:30
Abhinav 556ac94c4b fix handle null select dir 2022-09-06 17:49:04 +05:30
Abhinav 403e460b44 normalize file path before use 2022-09-06 15:20:02 +05:30
Abhinav be24ee185c added ignored file list to prevent unsupported from being re processed 2022-09-03 20:23:06 +05:30
Abhinav 1dfe4190c2 Merge branch 'main' into watch 2022-09-03 17:51:46 +05:30
Abhinav Kumar ec3964b566
Merge pull request #55 from ente-io/add-electron-types
Add electron types
2022-09-03 17:01:31 +05:30
Abhinav 7ea796f88d Merge branch 'main' into restructure-codebase 2022-09-03 16:50:45 +05:30
Abhinav b0823f57f7 Merge branch 'main' into restructure-codebase 2022-09-03 16:46:43 +05:30
Abhinav a74c21937a use bool variable 2022-09-03 16:33:13 +05:30
Abhinav d4b1fd690a comments 2022-09-03 16:30:37 +05:30
Abhinav 1e062fca15 refactor 2022-09-03 16:30:31 +05:30
Abhinav 7a56ca59c6 hide dock icon on autoLaunch 2022-09-03 16:25:04 +05:30
Abhinav c978eb9cf2 check if was autoLaunched i.e launched at login instead of launched as hidden 2022-09-03 16:17:23 +05:30
Abhinav ac76588d29 implement launch as hidden 2022-09-03 15:17:33 +05:30
Abhinav 099886f561 open as hidden on auto-launch 2022-09-03 14:36:32 +05:30
Abhinav 7e4a12b31f refactor code 2022-09-03 14:34:42 +05:30
Abhinav b464a353a2 fix can't find isPlatformMac 2022-09-03 14:30:49 +05:30
Abhinav dfbd0f0ace fix isEnabled check and toggleAutoLaunch logic 2022-09-03 14:26:15 +05:30
Abhinav c1d73a0c95 better code 2022-09-03 14:24:47 +05:30
Abhinav 1dc1f5b9b6 Merge branch 'main' into auto-start 2022-09-03 14:23:26 +05:30
Abhinav a80fb94682 use electron api to add login item on mac and windows 2022-09-03 13:44:32 +05:30
Manav 378d10b4f0
Merge pull request #59 from ente-io/fix-ente-blocking-system-restart
fix app blocking system restart
2022-09-03 13:11:35 +05:30
Abhinav 8a73d8b783 add logic to hide dock icon based on preferences 2022-09-03 12:29:43 +05:30
Abhinav 1294707949 add userPreferences electronStore and service to manage it 2022-09-03 12:07:37 +05:30
Abhinav 48d9a16eec use quit role ,and move setIsAppQuitting logic to app.on("before-quit") 2022-09-02 19:42:08 +05:30
Abhinav a56283229c move api functions from needed by other api to service 2022-09-02 12:46:35 +05:30
Abhinav 25ddfb0240 move getSavedFilePaths to service 2022-09-02 12:35:56 +05:30
Abhinav 0dc61ad862 rename doesFolderExists to isFolder 2022-08-29 11:53:11 +05:30
Abhinav 462c116d3c add reload in dev mode 2022-08-29 11:04:11 +05:30
Abhinav 7f11029bd3 Merge branch 'add-electron-types' into watch 2022-08-27 18:27:16 +05:30
Abhinav b6190acad0 fix readTextFile not returning any value 2022-08-27 11:58:06 +05:30
Abhinav 5614694b18 Revert "reorder and remove loggn"
This reverts commit b3f60bffcc.
2022-08-27 11:00:53 +05:30
Abhinav 4d3a8558f9 Revert "remove try catch wrapper"
This reverts commit 0f5e36b281.
2022-08-27 11:00:29 +05:30
Abhinav e95b866cfa add space between functions 2022-08-27 10:40:12 +05:30
Abhinav c3b4872da7 move non-exported function to util 2022-08-27 10:37:32 +05:30
Abhinav a9f53e733d better types 2022-08-27 10:18:43 +05:30