karan1525 / cloud-logger Goto Github PK
View Code? Open in Web Editor NEWA repository for parsing log files and providing insight about the errors and trends
License: MIT License
A repository for parsing log files and providing insight about the errors and trends
License: MIT License
When renaming the file, the file cards jump around
This is because the state is changing as the user is typing the name. Possible fix?
Deploy branch to heroku
Limit the number of characters for the file name on the client-side
Show the error from the backend if the user uploads a blank file
ON the file upload page, if a file is not selected should not allow upload button to be clicked.
Steps to reproduce:
Each div must have a unique key
Connecting DateTimerPicker for Parser so user can specify the date and time range
Server shows a date() issue when a user passes in a date from the front-end.
Error shown as follows:
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. [0] Arguments: [0] [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1525978800000 1525970555314, _f: undefined, _strict: undefined, _locale: [object Object] [0] Error [0] at Function.createFromInputFallback (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:320:98) [0] at configFromString (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2368:15) [0] at configFromInput (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2594:13) [0] at prepareConfig (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2577:13) [0] at createFromConfig (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2544:44) [0] at createLocalOrUTC (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2631:16) [0] at createLocal (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:2635:16) [0] at hooks (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment/moment.js:12:29) [0] at new t (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment-range/dist/moment-range.js:1:3458) [0] at Function.t.range (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/moment-range/dist/moment-range.js:1:1464) [0] at /Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/routes/fileRoutes.js:177:26 [0] at Log.findOne (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/file/fileFunctions.js:70:7) [0] at /Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/mongoose/lib/model.js:3928:16 [0] at _init (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/mongoose/lib/query.js:2010:5) [0] at model.Document.init (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/mongoose/lib/document.js:370:5) [0] at completeOne (/Users/karan/Documents/Documents - Karan’s MacBook Pro/GitHub/Cloud-Logger/server/node_modules/mongoose/lib/query.js:1996:12)
Possible fix?
Server crashes if file size is over 16MB
Set up Public and Private Routes on the front-end
Styling the application so it flows better
Backend sends Status Code 200 even if the file is not found.
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.