110 Commits (master)
 

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