62 Commits (d71f3e4a007c062c1b88429f87b52c9a2f6e3837)
 

Author SHA1 Message Date
Onja d71f3e4a00 Refactor event names in socket listeners to include event name from data 1 year ago
Onja 42f53cd32e Refactor file.js to generate and save the parsed CSV file using the correct destination path and emit the generated file name on parse.end 1 year ago
Onja 6b1683d0ab Refactor download link in index.hbs to include the "download" attribute for improved user experience 1 year ago
Onja ca981c24cc Add hidden div element to display link to generated file 1 year ago
Onja 1cd5608c43 Add functionality to display generated CSV file link and remove 'd-none' class from result form 1 year ago
Onja 91ad8ea526 Merge branch 'node10' of gitea.invaders.stream:onja/bodacc into node10 1 year ago
root 84e930d29c Little fix 1 year ago
root 9016c3ee89 update package-lock 1 year ago
root 84298632fe Node 10 update 1 year ago
Onja 78f065db28 Add event listeners for deleteOldFiles and checkLastOperationDate events, and log corresponding messages 1 year ago
Onja 60e695723a Refactor code to delete old files and check last operation date in FileService 1 year ago
Onja 5c43e55e64 Refactor code to dynamically generate the download filename based on the current date and time 1 year ago
Onja 596891357b Refactor file paths for webfonts and images to improve organization and readability 1 year ago
Onja aebf23cf4a Add new image file help.jpg to the public/img directory 1 year ago
Onja 38f60cf582 Refactor the form on the index page to include a help image and improve the layout of the form fields 1 year ago
Onja b9a190bb7f Update index.hbs to display a heading and description for CSV generation from a bodacc file 1 year ago
Onja 5bac1a9945 Add socket.io functionality to the main.js file, including event listeners for various events and toastr notifications for success or error events 1 year ago
Onja 78f2e85fdf Add "configureSocket" function to create a WebSocket connection and handle connection and disconnection events 1 year ago
Onja fc1e9cebe4 Add event listeners in ioSubscriber.js for download and parse events, and emit corresponding socket events 1 year ago
Onja bcad582a57 Add socket.io and socket.io-client dependencies to package.json 1 year ago
Onja 7ae7cf5326 Refactor main.js to display error message with response text and add validation checks for URL and columns in index.js 1 year ago
Onja 486950b6df Update app.js to use extended URL encoding in the Express middleware 1 year ago
Onja 4d44483917 Refactored main.js file to separate functions for initializing column choices and submitting form, and added event listeners for click and submit events 1 year ago
Onja cbcf011640 Update main.hbs to use local CSS and JavaScript files instead of external CDN links 1 year ago
Onja ce0e0d51a0 Initialize main.js and main.scss files with necessary imports for jQuery, Bootstrap, and Toastr 1 year ago
Onja d3d2b00cb6 Add public/js/main.min.js, public/js/main.min.js.map, public/css/main.min.css, and public/css/main.min.css.map to the .gitignore file 1 year ago
Onja 96d1e1ff72 Add webpack configuration for CSS extraction, minification, and optimization 1 year ago
Onja 5d49ad706c Refactor app.js to use the "basedir" constant for serving static files 1 year ago
Onja b0cde36f53 Refactor form on the home page to include options for selecting columns to export 1 year ago
Onja 17b9fe4f2e Add main layout template and index page template, and update the index route to render the index page with a form 1 year ago
Onja 40cac0c6c8 Add TemplateService class to handle rendering templates and layouts 1 year ago
Onja fcac5503a0 Add support for handlebars as the view engine in the application, with a new configuration parameter for extension name 1 year ago
Onja 4bbcc60d2c Refactor code to include headers and set response headers for CSV download in the / route 1 year ago
Onja 561654e698 Update consoleSubscriber.js to include the filtered headers in the parse.start event log message 1 year ago
Onja 56b4caf42f Refactor processRow method to handle columns filtering and improve error handling 1 year ago
Onja 1134f361cb Remove commented out code for parsing data and logging it in consoleSubscriber.js 1 year ago
Onja df08062ffb Refactor column validation in File class to emit parse error event when columns are invalid 1 year ago
Onja 8524d995f3 Refactor download progress logging to display downloaded size in megabytes instead of percentage 1 year ago
Onja 543c12fdff Add exclusion for public/csv/* in .gitignore file 1 year ago
Onja 93795e29d1 Add event listener for 'download.started' with the filepath and length information 1 year ago
Onja d733230901 Update basedir path in constants.js to resolve file path correctly 1 year ago
Onja fb9e493da6 Refactor log messages for download and parsing events to be more concise and remove unnecessary information 1 year ago
Onja 78bd3a2147 Refactor basedir to use path.join for better readability and maintainability 1 year ago
Onja 03f3c74d27 Refactor error handling in File class to emit download.error event and reject promise 1 year ago
Onja 6816d76fa6 Handle error when parsing file from URL in index.js 1 year ago
Onja e6e5e4a614 Refactor consoleSubscriber.js to use a log function to log event names and data 1 year ago
Onja 1a71a7c256 Add consoleSubscriber module to app.js 1 year ago
Onja b9270b2a06 Add consoleSubscriber.js file with event listener functions for various events and their corresponding actions 1 year ago
Onja ac33d20776 Remove unnecessary call to super() in the constructor of the File class 1 year ago
Onja f408226daa Refactor the File class to use a separate event emitter module for better code organization and separation of concerns 1 year ago