Commit graph

492 commits

Author SHA1 Message Date
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
Abhinav b3f60bffcc reorder and remove loggn 2022-08-27 09:27:03 +05:30
Abhinav 0f5e36b281 remove try catch wrapper 2022-08-27 09:22:43 +05:30
Abhinav f0e2b00851 missing file case covered 2022-08-26 19:43:45 +05:30
Abhinav 4a56adfe9e remove wrapper functions 2022-08-26 19:40:54 +05:30
Abhinav b88b4e8746 remove createDirectory and use fs.mkdir directly 2022-08-26 19:37:46 +05:30
Abhinav 6451ef583c remove doesPath exist and directly use fs.existSync 2022-08-26 19:35:30 +05:30
Abhinav a6a0c404c9 rename 2022-08-26 16:27:24 +05:30
Abhinav 50355b326a remove next serve util 2022-08-26 16:18:41 +05:30
Abhinav dab960ea47 separate unlink file and dir 2022-08-26 16:16:16 +05:30
Abhinav 8c9a4136ac rename function 2022-08-26 16:15:08 +05:30
Abhinav c7be75aac1 update errors 2022-08-26 15:25:54 +05:30
Abhinav 3da096a16c export service functions through api
add updateMappingFiles api
update types
2022-08-26 15:23:40 +05:30
Abhinav 502751a1ea fix imports 2022-08-26 15:03:52 +05:30
Abhinav ea137eafcd make watch util and service 2022-08-26 14:52:33 +05:30
Abhinav b7a8bcc434 dont change import 2022-08-26 14:47:45 +05:30
Abhinav fb9db5a040 fix getFileStream 2022-08-25 16:08:00 +05:30
Abhinav 101a7f6b65 Merge branch 'restructure-codebase' into watch 2022-08-25 16:05:29 +05:30
Abhinav 831047ecf1 keep electron stores in stores directory 2022-08-25 15:31:32 +05:30
Abhinav 6743cfcf80 create DiskCache service 2022-08-25 15:30:20 +05:30
Abhinav 2e4dd54a13 rearrange imports 2022-08-25 14:58:30 +05:30
Abhinav eee37c2765 move cache to api 2022-08-25 14:56:35 +05:30
Abhinav 6439c4bd7d move electron util to api 2022-08-25 14:53:51 +05:30
Abhinav ba2bf813ec move safeStorage to api 2022-08-25 14:52:48 +05:30
Abhinav 9446a34b23 remove empty import 2022-08-25 14:50:29 +05:30
Abhinav 0da6eedc8c move appUpdater and diskLRU and sentry to service 2022-08-25 14:41:59 +05:30
Abhinav 5bbe39f057 move fixHotReload after imports 2022-08-25 11:42:09 +05:30
Abhinav fdae6bd9f0 fix check, change doesFileExists to doesPathExists 2022-08-25 11:38:37 +05:30
Rushikesh Tote feb20afa9e fix bug where paths can be undefined 2022-08-25 11:38:02 +05:30
Rushikesh Tote 2133727652 null check 2022-08-25 11:37:27 +05:30
Abhinav 0da45931c8 refactor 2022-08-25 11:36:19 +05:30
Abhinav fe0b9617f0 refactor code to fs service 2022-08-25 11:34:40 +05:30
Abhinav 64acef79d3 move doesFolderExists to common api 2022-08-25 11:32:45 +05:30
Abhinav 8fe23a4da1 fix build 2022-08-25 11:16:43 +05:30
Abhinav 82284d27f3 move file to api dir 2022-08-25 11:16:07 +05:30
Abhinav 7b174fe402 move files to service dir 2022-08-25 11:11:40 +05:30
Abhinav ff467e3389 Merge branch 'main' into watch 2022-08-23 15:35:43 +05:30
Abhinav 9c3fafa68e fix toggleAutoLaunch 2022-08-19 20:00:16 +05:30
Abhinav f5ed1c0856 add auto start menu preference option 2022-08-19 20:00:16 +05:30
Abhinav fae366c828 update autoLauncher 2022-08-19 20:00:16 +05:30
Abhinav a9a9bbd7b4 add autoLauncher util 2022-08-19 20:00:16 +05:30
Abhinav 263298097c refactor 2022-08-19 20:00:16 +05:30
Abhinav 1d8d10cb6d add new product update entry 2022-08-19 19:59:44 +05:30
Abhinav 4e7c804110 update menu items 2022-08-19 18:57:24 +05:30
Abhinav b973096392 on mac dock icon click show available window 2022-08-19 18:28:39 +05:30
Abhinav 8cab5280d2 don't hide from dock on window close on mac 2022-08-19 17:33:17 +05:30
Abhinav 7e649199f3 Merge branch 'main' into watch 2022-08-17 11:06:35 +05:30
Abhinav b24e678924 rename root source-code directory to src 2022-08-13 13:54:27 +05:30
Abhinav 9aa59fffd0 rename src to main 2022-07-23 15:29:47 +05:30
Abhinav ed22698aa4 fix configs 2022-07-13 19:54:44 +05:30
Abhinav 06a8602dbe improve 2022-07-13 15:49:31 +05:30
Abhinav 5902e7ebcf fix package josn import 2022-07-13 14:31:33 +05:30
Abhinav 2552c094d6 move file around 2022-07-13 14:20:07 +05:30
Abhinav 1211316f36 update submodule 2022-07-13 14:07:59 +05:30
Abhinav fdb026bde3 udpate submodile 2022-07-13 13:54:20 +05:30
Abhinav 758046f386 move files around 2022-07-13 13:45:11 +05:30
Rushikesh Tote 33507b5f40 fix type 2022-07-13 13:24:44 +05:30
Rushikesh Tote 7f4936af66 added hot reload 2022-07-13 13:24:38 +05:30
Rushikesh Tote 843a97f0f8 changes according to review comments 2022-07-13 13:22:36 +05:30
Rushikesh Tote 5c4cd36177 switched branch to release 2022-07-13 13:21:07 +05:30
Abhinav c2ac9ba684 refactor and restructure 2022-07-13 13:20:56 +05:30
Rushikesh Tote 699a12cc79 fix cors issue for uploads 2022-07-13 12:54:58 +05:30
Abhinav 8b85ed506b added web app as submodule 2022-07-13 12:51:37 +05:30
Abhinav f0e6fc710e dont pin splash screen on top 2022-07-11 23:10:14 +05:30
Abhinav Kumar 89f3b0403f
Merge pull request #32 from ente-io/capitalize
Capitalize user visible strings
2022-07-11 18:50:07 +05:30
Abhinav aaf5bf6f70 revert testing prod url change 2022-07-11 18:44:59 +05:30
Manav 5fdbd3b566 Capitalize user visible strings
I did not change the title of the window ("ente.io | encrypted photo
storage"), we can revisit it later.
2022-07-11 18:36:05 +05:30
Abhinav 40b91d7d70 through error to caller 2022-07-11 18:15:49 +05:30
Abhinav cc441d6629 add logging 2022-07-11 18:11:43 +05:30
Abhinav 90eaa42038 remove redundant type 2022-07-11 14:45:14 +05:30
Abhinav 8d28f65ab8 add clearElectronStore api 2022-07-11 14:28:20 +05:30
Abhinav aa8bd20024 fix getEncryptionKey undefined check 2022-07-11 14:27:44 +05:30
Abhinav 101c1fc4cf change prod URL for testing 2022-07-11 13:49:05 +05:30
Abhinav 3f62c1bd4c move safeStorage encryption and decryption to main process and use via ipc 2022-07-11 03:51:54 +05:30
Abhinav a79500f5e6 update safe storage schema 2022-07-11 03:51:09 +05:30
Abhinav e60e6b2e11 remove get app version api for now 2022-07-11 02:47:07 +05:30
Abhinav 7ea105038a temp 2022-07-11 02:42:31 +05:30
Abhinav 171412575e add safe storage util 2022-07-11 02:00:10 +05:30
Abhinav 8653867178 update safe storage store 2022-07-11 02:00:10 +05:30
Abhinav 73c3f8c45a add safe storage store 2022-07-11 02:00:10 +05:30
Rushikesh Tote f42b8dffeb refactor 2022-06-23 16:29:04 +05:30
Abhinav 7ba421179f fix check, change doesFileExists to doesPathExists 2022-06-23 15:38:30 +05:30
Rushikesh Tote 7897afbff2 added functionality to handle multiple folders 2022-06-22 11:29:06 +05:30
Rushikesh Tote 699e201f50 refactor 2022-06-19 21:28:32 +05:30
Abhinav e457f1d729 update registerWatcherFunctions api 2022-06-19 19:57:13 +05:30
Rushikesh Tote 7df1942e2c fix bug where paths can be undefined 2022-06-17 12:00:15 +05:30
Rushikesh Tote f098bcd3ed add clear electron store 2022-06-17 11:12:37 +05:30
Rushikesh Tote 5addfdd9ea null check 2022-06-17 00:30:27 +05:30
Abhinav a537ee41da refactor 2022-06-15 13:52:20 +05:30
Abhinav 5b3dca3343 refactor code to fs service 2022-06-15 13:14:29 +05:30
Abhinav ae2ac6af4e remove unneccesary parameters 2022-06-15 12:03:56 +05:30
Abhinav d458097a4e refactor type 2022-06-15 11:47:56 +05:30
Abhinav e977bed02b move doesFolderExists to common api 2022-06-15 11:44:56 +05:30
Abhinav 20a5d0cc8e fix build 2022-06-15 11:31:39 +05:30
Abhinav f3a1533edd move file to api dir 2022-06-15 11:28:28 +05:30
Abhinav 7d5905acf6 move files to service dir 2022-06-15 11:20:19 +05:30
Rushikesh Tote 6b2d3f2f76 fix path 2022-06-14 12:35:40 +05:30
Rushikesh Tote 48dcbdb999 refactor functions 2022-06-14 12:35:40 +05:30
Rushikesh Tote dd052bedf4 remove redundant API 2022-06-14 12:35:40 +05:30
Rushikesh Tote 4b965623c3 refactor 2022-06-14 12:35:40 +05:30
Rushikesh Tote db3beb05b8 refactor to return electron files for upload 2022-06-14 12:35:40 +05:30