Commit Graph

1213 Commits

Author SHA1 Message Date
Florian Rappl
14ecbb65a3 Compute auth token in Node 2026-03-03 23:54:14 +01:00
Florian Rappl
cf5938450f Use dynamic port by default 2026-03-03 11:11:54 +01:00
Florian Rappl
087b0e22f0 Avoid setting authorization if not present 2026-03-03 01:09:45 +01:00
Florian Rappl
29498b0017 Wait for the port to be read 2026-03-02 22:33:48 +01:00
Florian Rappl
49a24d3fc9 Fixed trailing whitespace 2026-03-02 22:01:33 +01:00
Florian Rappl
4450d629f1 Merge branch 'feature/secure-connection' of https://github.com/ElectronNET/Electron.NET into feature/secure-connection 2026-03-02 21:59:19 +01:00
Florian Rappl
248c64d6dd Auto-determine used port 2026-03-02 21:21:19 +01:00
Florian Rappl
d1e858465c Removed SignalR 2026-03-02 18:03:03 +01:00
Florian Rappl
7837b69999 Always set to info 2026-03-02 16:42:58 +01:00
Florian Rappl
834c22aaa1 Merge branch 'main' of https://github.com/ElectronNET/Electron.NET into feature/secure-connection 2026-02-27 00:37:39 +01:00
Florian Rappl
c8268fae0e Merge pull request #1034 from ElectronNET/develop
Release 0.4.1
0.4.1
2026-02-26 07:00:49 +01:00
Florian Rappl
8eead56cbc removed trailing whitespace 0.4.1-pre.46 2026-02-25 16:02:34 +01:00
Florian Rappl
e28eadc32d Merge branch 'develop' of https://github.com/ElectronNET/Electron.NET into develop 2026-02-25 15:57:42 +01:00
Florian Rappl
9a935c009e Updated changelog for release 2026-02-25 15:57:26 +01:00
Florian Rappl
c22c248f0b Merge pull request #1031 from AeonSake/1028-preload-override
Add Documentation for Preload Script
2026-02-25 14:55:48 +01:00
softworkz
842e8700ef Add overload for GetAllDisplaysAsync() with timout parameter 2026-02-25 04:11:13 +01:00
Florian Rappl
92e5a6f862 Removed logger 2026-02-23 00:05:33 +01:00
Florian Rappl
16925f401b Renamed facades 2026-02-22 23:56:06 +01:00
Florian Rappl
7e7bc21f2d Merge branch 'develop' of https://github.com/ElectronNET/Electron.NET into feature/secure-connection 2026-02-22 21:51:05 +01:00
Aeon
3850a71579 Revert "Add check for existing preload script path before overriding"
This reverts commit 497e6aa423.
2026-02-17 23:33:13 +01:00
Aeon
d5df30718b Update documentation to reflect current approach 2026-02-17 23:32:55 +01:00
Florian Rappl
77ca79acc9 Merge pull request #1027 from softworkz/submit_housekeeping
Fix global.json link in solution, add missing json file
2026-02-17 23:25:13 +01:00
Florian Rappl
05fb9e5a29 Merge pull request #1026 from softworkz/submit_disposed_exceptions
SocketIoFacade: Improve disposal, avoid exception on tear-down
2026-02-17 23:23:57 +01:00
Aeon
850d8f6902 Add documentation for preload script and warning for Blazor 2026-02-17 19:48:12 +01:00
Aeon
497e6aa423 Add check for existing preload script path before overriding 2026-02-17 19:31:06 +01:00
softworkz
41c5b5af62 Relax test timings 2026-02-14 21:54:45 +01:00
softworkz
10679029e8 Add missing electron-builder.json in sample project 2026-02-14 21:26:46 +01:00
softworkz
a451e3a599 Fix global.json link in solution 2026-02-14 21:26:31 +01:00
softworkz
09c735a10f SocketIoFacade: Improve disposal, avoid exception on tear-down 2026-02-14 21:25:25 +01:00
Florian Rappl
5eb49b0e54 Removed unnecessary debugger helper 2026-02-05 15:54:23 +01:00
Florian Rappl
2390ba7b2f Removed misleading comment 2026-02-05 15:53:50 +01:00
Florian Rappl
564ec7b191 Added forgotten debug helper 2026-02-05 15:51:48 +01:00
Florian Rappl
32bcfa95ab Restore logging 2026-02-04 11:44:27 +01:00
Florian Rappl
cf735fab4c Original formatting 2026-02-04 11:33:15 +01:00
Florian Rappl
cf1cb18d7a Merge branch 'develop' of https://github.com/ElectronNET/Electron.NET into feature/secure-connection 2026-02-04 11:29:01 +01:00
Florian Rappl
8009348941 Update transformed files 2026-02-04 11:26:06 +01:00
Florian Rappl
b3b124bde1 Updated TS formatting to match prettier 2026-02-04 11:25:30 +01:00
Florian Rappl
21226e1ef0 Updated deps 2026-02-04 11:18:55 +01:00
Florian Rappl
7174118a3e Merge pull request #1019 from DYH1319/feat/submit_new_event_for_ipc
feat: submit new events for ipcMain
2026-02-03 00:32:04 +01:00
Florian Rappl
931aec8cd9 Updated lodash 2026-02-02 16:15:19 +01:00
Florian Rappl
bbd1065a05 Merge branch 'epsitec-improvements' into feature/secure-connection 2026-02-02 16:13:18 +01:00
Florian Rappl
0fa0abd093 Merge branch 'develop' of https://github.com/ElectronNET/Electron.NET into feature/secure-connection 2026-02-02 16:01:30 +01:00
Pierre Arnaud
bfd51e64f7 Fix dead-lock on shutdown 2026-01-31 15:37:52 +01:00
Pierre Arnaud
bb4337a31c Cosmetic 2026-01-31 15:37:35 +01:00
Pierre Arnaud
57753eb632 Replace Console.WriteLine with ILogger for startup time
Changed startup time measurement to use structured logging via ILogger
instead of Console.WriteLine. This provides:
- Consistent logging format with other app messages
- Proper log level (Information)
- Structured data (ElapsedMilliseconds as named parameter)
- Better integration with logging infrastructure

Output now appears as:
info: Electron.Startup[0]
      App startup time until Electron launch: 1284 ms
2026-01-31 14:37:32 +01:00
Pierre Arnaud
614673605a Add explicit BrowserRefresh logging filter
Added 'Microsoft.AspNetCore.Watch.BrowserRefresh' to Warning level
to suppress the 'Middleware loaded' and 'Script injected' debug messages
that appear when running with dotnet watch or Ctrl+F5 from Visual Studio.
2026-01-31 14:30:07 +01:00
Pierre Arnaud
52744a1922 Final cleanup: Suppress remaining debug output
- Removed '|| ' prefix from ProcessRunner stdout/stderr redirection
  * Changed to Debug.WriteLine (only visible when debugger attached)
- Suppressed [Startup] timing messages in StartupManager
  * Moved to Debug.WriteLine for diagnostic purposes
- Suppressed 'No testhost detected' messages
- Added logging configuration to suppress ASP.NET Watch debug messages
  * Microsoft.AspNetCore.Watch set to Warning level

Result: Clean console output in development with only meaningful messages.
Timing and debug traces still available when debugger is attached.
2026-01-31 14:27:34 +01:00
Pierre Arnaud
03da5cd7cb Phase 4: Replace Console output with Debug.WriteLine in diagnostic code
- Replaced Console.WriteLine with System.Diagnostics.Debug.WriteLine in:
  * LaunchOrderDetector (probe scoring)
  * UnpackagedDetector (probe scoring)
  * ElectronProcessActive (StartInternal traces)
- Removed '[StartInternal]: after run:' trace
- Debug.WriteLine only outputs when debugger is attached

These were the noisiest debugging traces. Other Console.WriteLine usage
in StartupManager, ProcessRunner, etc. would require ILogger injection
which is a larger architectural change deferred for now.
2026-01-31 11:19:28 +01:00
Pierre Arnaud
805d942b11 Phase 3: Configure SignalR logging to reduce verbosity
- Updated SafeLogger to support minimum log level threshold
- Configure SignalR log level based on environment:
  * Debug mode: Info level (connection events only)
  * Development/Production: Warning level (errors/warnings only)
- Eliminates verbose packet-level logging
- Connection lifecycle events still visible in debug mode

This dramatically reduces console noise while preserving important events.
2026-01-31 11:17:26 +01:00
Pierre Arnaud
29b1f088ce Phase 2: Clean up debugging traces and use environment-aware logging
- Removed 'Entry!!!:' debugging leftover from main.js
- Replaced all console.log/warn/error with logger methods
- Preserved console.time/timeEnd for performance measurements
- Updated browserWindows.js and webContents.js to use logger
- Changed debug traces to DEBUG level (won't show in production)
- Changed info messages to INFO level (show in development)
- All errors use ERROR level (always shown)

Socket.IO connection messages now respect log levels based on environment.
2026-01-31 11:16:11 +01:00