eshva / evehq-ng.prototype Goto Github PK
View Code? Open in Web Editor NEWA proof of concept of an Electron application for the next generation EveHQ.
License: MIT License
A proof of concept of an Electron application for the next generation EveHQ.
License: MIT License
An error message appears: The `logger` option function in electron-unhandled threw an error
[Window Title]
Error
[Main Instruction]
The `logger` option function in electron-unhandled threw an error
[Content]
Error: Cannot find module '../net'
at Module._resolveFilename (module.js:485:15)
at Function.Module._resolveFilename (C:\Program Files\EveHQ NG\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.get [as net] (C:\Program Files\EveHQ NG\resources\electron.asar\browser\api\exports\electron.js:11:16)
at Object.logExceptionToApi [as logger] (C:\Program Files\EveHQ NG\resources\app.asar\main.js:184:32)
at handleError (C:\Program Files\EveHQ NG\resources\app.asar\node_modules\electron-unhandled\index.js:28:12)
at process.on.err (C:\Program Files\EveHQ NG\resources\app.asar\node_modules\electron-unhandled\index.js:70:4)
at emitOne (events.js:120:20)
[OK]
Currently all compiled files placed into sources\bin
folder. It should be moved on level up to not to mix sources and products.
It should be possible to log into rolling up files and console.
Introduction to logging in ASP.NET Core
Serilog
Map ILogger to Serilog's Logger after ASP.NET Core 2 logging update
autofac-serilog-integration
Serilog integration for ASP.NET Core 2+
How to update values into appsetting.json?
Microsoft.Extensions.Options Namespace
Microsoft.Extensions.Configuration Namespace
Essential .NET - Configuration in .NET Core
Configgy - doesn't implement options saving but has ideas about encrypting options and pipeline.
Configure tsconfig.json and webpack.config.js to allow reference of other modules without relative paths starting from ./ and ../
Currently routing defined on each controller. It should be made centralized to easier new controllers development.
Hence it is a desktop application with a rich UI the UI (SPA) should have ability to log into some kind of log-files for the later support case resolution. My current vision of the solution is some singleton Angular-service that could be injected into components and other classes. This service should send log messages to some web-service log-endpoint.
It should be possible to enable or disable this logging through some kind of UI. The logging is enabled be default from application start and disabled by default as soon as SPA is started.
There should be an easy way for user to send all log altogether to the developers.
ESIClient.Dotcore - the .NETStandard 2.0 library for the EVE Swagger Interface
In the future add self-generated library.
There is a few parts to localize:
For SPA a good variant is ngx-translate. It supports separate JSON-files for different languages and a tool for localizable strings extraction. It's pretty configurable and seams easy to use in a number of ways.
Local web-service could be localizable in a number of ways but it's desirable to support the same JSON-schema like ngx-translate. Another requirement comes from the fact that the application will have a modular architecture. Hence it should be possible to keep localization resources splitted by modules. There is additional problem that it's easy to get user preferred language in API-controllers but most of strings will be present in different classes. Of course because it is a single-user application I can use some singular configuration object but anyway it's desirable to implement some per-request localization method. As a start: Askmethat-Aspnet-JsonLocalizer
Predefined game's static strings originally comes from SDE by CCP. There are a lot of localized strings and not all of them needed, just a small fracture. They will be required in both SPA and web-service. It's desirable to use the same approaches to get strings, not the third one.
npm start
(if serve
specified).main.ts
on npm start
The main Electron process program in main.ts
file becomes to big and not focused on a single task: start the application. It should be decomposed in relevant number of classes focused on a single task.
The current version 1.8.0 reported by GitHub as vulnerable.
To implement this it's necessary to add static data (SDE) database (SQLite) support.
Sometimes API-service starting a bit too long and application reports about an error. Or the service can halt for some time. There should be a way to handle such situations.
The API-service should be a singleton and should kill another API-service processes on start.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.