Commit Graph

2159 Commits

Author SHA1 Message Date
Sandeep Somavarapu 52dd56689f Improvements to logger and netwok requests logging (#175492)
- Able to create logger by passing id
- Support when conditions for loggers
- Separate logger for all network requests
- Log request and response headers
- Enable request logger on trace
- Add loggerService in CLI
2023-02-27 10:05:20 +01:00
Benjamin Pasero ed6bb0790b sandbox - enable utility process in insiders by default (#175326) 2023-02-24 15:41:33 +01:00
Benjamin Pasero 8fd698a555 sandbox - utility process cleanup (#174564)
* logging

* log utility process

* align envs
2023-02-16 15:17:15 +01:00
Benjamin Pasero 2d447788b5 sandbox - add once method for message ports 2023-02-16 05:54:48 +01:00
Benjamin Pasero 2238d68ab8 Merge pull request #174245 from microsoft/ben/utility-process-file-watcher
Allow to run file watcher in utility process
2023-02-14 11:57:57 +01:00
Benjamin Pasero cb887d766d sandbox - more renaming services towards utility 2023-02-14 11:17:02 +01:00
Benjamin Pasero 5ae661dbfc sandbox - more renaming services towards utility 2023-02-14 11:06:03 +01:00
Sandeep Somavarapu 11fcbd051a prepare for server profiles (#174232)
* prepare for server profiles
- make state service available in server
- Intrdouce save stragey in state service - state shall be saved immediately in server
- use UserDataProfilesService that can save profiles in server

* feedback

* - add tests
- register IStateReadService in main
2023-02-14 08:58:44 +01:00
Benjamin Pasero 7081e31858 sandbox - implement a process worker over utility process 2023-02-14 07:46:32 +01:00
Benjamin Pasero 9bc5f9b708 add more logging for #172967 (#173833) 2023-02-08 08:44:16 -08:00
Benjamin Pasero 4938e12611 do not send shared process errors to telemetry (#173504) (#173519) 2023-02-06 08:15:25 +01:00
Benjamin Pasero 7b24f91a30 dialog - improve button massaging 2023-02-01 07:47:21 +01:00
Benjamin Pasero 07b66c7f8c dialogs - have a helper for better native dialog styles (#171982)
* dialogs - add a common `massageMessageBoxOptions` that adheres to HIGs

* dialogs - set `cancelId` to last button by default

* dialogs - adopt `massageMessageBoxOptions` for `electron-main` dialog usages
2023-01-23 14:29:18 +01:00
Sandeep Somavarapu 5936a4eb52 Enable profiles by default except web+remote (#171812)
#116740 Enable profiles by default except web+remote
2023-01-20 12:07:30 +01:00
Benjamin Pasero ab0f89141e telemetry - improper use of isMeasurement (#171582) 2023-01-18 08:14:16 +01:00
Benjamin Pasero 6d9b6c91f8 url - add more logging to link routing (#171503) 2023-01-17 15:36:25 +01:00
Benjamin Pasero e7c9b0ec0b Merge branch 'main' into ben/sheer-bee 2023-01-16 15:16:39 +01:00
Benjamin Pasero a5ec27a72b address feedback from @joaomoreno 2023-01-16 14:37:35 +01:00
Benjamin Pasero 16ed64e85f comments 💄 2023-01-15 19:47:23 +01:00
Benjamin Pasero 78418c729e url - make blank window handling much simpler 2023-01-15 14:29:42 +01:00
Benjamin Pasero ad85952301 more 💄 2023-01-15 13:13:38 +01:00
Benjamin Pasero 037b7d2887 urls - better version of windowId=_blank support 2023-01-15 12:21:21 +01:00
Benjamin Pasero be0197d61d urls - first cut better windowId=_blank support 2023-01-15 11:49:13 +01:00
Benjamin Pasero dafad403e9 💄 - more use of IInitialProtocolUrls 2023-01-15 10:58:35 +01:00
Benjamin Pasero 7fd9269aa1 💄 - introduce IInitialProtocolUrls 2023-01-15 10:56:22 +01:00
Benjamin Pasero ab750c623a 💄 - cleanup app 2023-01-14 20:59:30 +01:00
Benjamin Pasero 111dff7710 💄 - introduce IProtocolUrl 2023-01-14 20:36:48 +01:00
Sandeep Somavarapu 05d59b893e Log: Enhancements and cleaup (#171325)
- Make logger service primary source for log level
- Automatically register output channels for loggers from anywhere
- Use logger channels on remote processes (server, pty)
- clean up loggers and log service
2023-01-14 19:46:46 +01:00
Benjamin Pasero e089995868 💄 - extract handleProtocolLink 2023-01-14 16:39:23 +01:00
Benjamin Pasero 0e3d81fd17 💄 - extract resolveProtocolLinks 2023-01-14 16:32:50 +01:00
Sandeep Somavarapu 222994d349 Enhance logger service (#171174)
- ILoggerService centrailised place for all loggers
- Provide options to display logger while creating/registering logger
- Listen to logger service and register log output channels accordingly
- Adopt this at all places where loggers are created
2023-01-13 09:12:58 +01:00
Sandeep Somavarapu 7606e812a6 - register logger resources in main
- scope logger resources by window
2023-01-12 02:23:04 +01:00
Benjamin Pasero 545e47e7cc protocol links - add more logging (#171053)
* protocol links - add more logging

* more logging
2023-01-11 13:10:26 +01:00
Sandeep Somavarapu 5167c393aa proper fix for #165447 (#169883)
- use extensions location to get relative path
2022-12-23 10:47:34 +01:00
Sandeep Somavarapu fef6e86202 fix #168976 (#169505)
* fix #168976

* code formatting

* review feedback

* clean up empty window associations

* use `instanceof` check for `Promise`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-12-20 07:06:17 +01:00
Benjamin Pasero 3d58b4623b Allow to configure shell resolution time (#169237)
* Allow to configure shell resolution time

* use `clamp`
2022-12-15 06:14:54 -08:00
Logan Ramos a3bde69a35 Allow machne id generation in main process (#167449) 2022-11-28 13:25:19 -08:00
João Moreno aa461e19a6 add trace logging to NativePolicyService (#166462)
related to #163418
2022-11-16 06:19:57 -08:00
Sandeep Somavarapu 418dc3398e refactor: rename userDataSyncProfilesStorageService to userDataProfileStorageService (#166397)
* refactor: rename userDataSyncProfilesStorageService to userDataProfileStorageService

* rename

* fix import
2022-11-15 13:34:57 -08:00
Jay Bazuzi b53c173012 Change error message when launching a second admin instance (#166146)
* Change error message when launching a second admin instance

Previously it said "second instance" to refer to the already-running instance, which came _first_.

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2022-11-14 07:18:36 +01:00
Sandeep Somavarapu 07a5351472 Fix #160678 (#165747)
* Fix #160678

* review feedback
2022-11-08 05:33:25 -08:00
Sandeep Somavarapu e9db45a0de Fix #164690 #164730 (#165331)
* Revert "Revert "Fix #164690 #164730 (#165279)" (#165302)"

This reverts commit d9ed6d1ef4.

* store migration completion marker in profile
2022-11-03 12:02:53 +01:00
Megan Rogge d9ed6d1ef4 Revert "Fix #164690 #164730 (#165279)" (#165302) 2022-11-02 17:48:32 -07:00
Sandeep Somavarapu 9c0c68c8cf Fix #164690 #164730 (#165279)
- Maintain default installed extensions manifest always
- Adopt to default installed extensions manifest
- Add externally installed extension to default extensions manifest
2022-11-02 22:48:15 +01:00
Sandeep Somavarapu 894aa9a7a7 Log improvements (#163532)
* - expose log level in the proposed api
- ability to set log level per logger

* fix tests
2022-10-13 03:48:52 -07:00
Joyce Er 1dd67592e1 Ask for edit sessions auth when coming from Continue On (#160843)
* Ask for edit sessions auth when coming from Continue On

* Only append `continueOn` query param if there is an edit session

* Persist continueOn for new windows

* Don't double prompt to sign in

* Add badge if user didn't sign in

* Add logging and dev commands

* Log more info

* More logging

* 🤔

* Cleanup

* Actually check for pending edit sessions

* More cleanup

* Update test
2022-09-26 08:18:12 -07:00
Sandeep Somavarapu bb54b84573 Merge branch 'main' into sandy081/profilesStorageService 2022-09-13 20:35:14 +02:00
Sandeep Somavarapu d0d5cbd82f feedback
- move profile storage serice into userdatasync layer
- let storage service tells if the given profile is used or not
2022-09-13 16:02:29 +02:00
Benjamin Pasero 4247ddeda1 perf - make window opening async and avoid sync disk access 2022-09-12 06:12:30 +02:00
Sandeep Somavarapu ab8a8ced82 Implement profile storage service
- read and write profile storage data for a profile
- listen profile storage changes
- adopt it in global state sync
2022-09-11 13:07:59 +02:00