Commit Graph

  • a8c46b984a Remove new line in cells master Onja 2024-07-11 12:47:58 +0000
  • e754d9137f Remove duplciate methods Onja 2024-07-09 16:56:34 +0000
  • 118809c619 Add webpack to dockerfile Onja 2024-05-15 14:17:00 +0000
  • 51f60b8b2e Little fix Onja 2024-05-03 08:21:41 +0000
  • 90a9b69907 Merge pull request 'fix: montant achat' (#8) from fix/montant-achat into master diary 2024-04-29 07:40:48 +0000
  • a24de25583 fix: montant achat #8 Diary Narindra 2024-04-29 07:39:29 +0000
  • 2a9d3dec3a update readme.md tendry valdi 2024-04-22 19:22:45 +0300
  • c624e7bf5f dockerisation & readme.md tendry valdi 2024-04-22 19:08:57 +0300
  • a24231165d Merge pull request 'fix: regex error' (#7) from fix-feed into master diary 2024-04-22 15:17:41 +0000
  • e745af69cc fix: regex error #7 fix-feed Diary Narindra 2024-04-22 15:17:17 +0000
  • f79c768e6c Little fix and activate email #6 Onja 2024-04-22 14:59:38 +0000
  • 8bae0f1234 Merge pull request 'fix: regex error' (#5) from fix-feed into master diary 2024-04-22 14:50:39 +0000
  • 38236bb0a4 fix: regex error #5 Diary Narindra 2024-04-22 14:49:05 +0000
  • c3cb714858 Merge branch 'master' of gitea.invaders.stream:onja/bodacc Yann 2024-04-22 14:19:15 +0000
  • 955c8df46a Merge pull request 'fix-feed' (#4) from fix-feed into master diary 2024-04-22 12:21:43 +0000
  • 301f8810c6 fix: feedback #4 Ubuntu 2024-04-22 12:20:01 +0000
  • a510d411c9 fix: feedback #3 node10 Ubuntu 2024-04-22 12:04:30 +0000
  • 88fc767e7a Merge pull request 'fix/feedback' (#1) from fix/feedback into master diary 2024-04-22 06:38:04 +0000
  • b97eef7a62 fix: uncomment email sender #1 fix/feedback Ubuntu 2024-04-19 08:14:45 +0000
  • 41d451111e fix: all task Ubuntu 2024-04-19 08:13:55 +0000
  • 5ca1cd9852 Edit email template root 2023-10-26 15:03:14 +0000
  • fd1ef94df3 Use array of emails for to destination root 2023-10-26 15:02:50 +0000
  • 0f1582ef37 Update package-lock after package.json root 2023-10-26 14:52:44 +0000
  • b6a2db60d8 Update node-sass & axios for node 10 root 2023-10-26 14:51:46 +0000
  • be2aa34303 Refactor event listener to use "filename" instead of "filepath" and update the log message accordingly Onja 2023-10-26 17:31:28 +0300
  • 7b77339cd8 Add mailerSubscriber to app.js for sending email notifications Onja 2023-10-26 17:31:02 +0300
  • 299191b0f2 Add configuration parameters for Sendgrid API integration Onja 2023-10-26 17:30:33 +0300
  • 82d0cb32e1 Refactor TemplateService to include a renderEmail method that generates an email layout template with a body from a page template Onja 2023-10-26 17:29:11 +0300
  • 406820e0ac Update package-lock.json Onja 2023-10-26 16:11:47 +0300
  • 2df187edea Add @popperjs/core version 2.11.8 and axios version 1.5.1 as dependencies, update node-sass to version 9.0.0, and add @babel/core version 7.23.2 as a devDependency in package.json Onja 2023-10-26 16:11:27 +0300
  • be8e78639c Update parse.end event listener in ioSubscriber.js to emit a socket event with a formatted message containing a link to the generated CSV file Onja 2023-10-25 19:48:51 +0300
  • 79d3e8c391 Set default file date to 6 days ago if file does not exist Onja 2023-10-25 19:30:53 +0300
  • 4ce04de2a5 Add timestamp to consoleSubscriber.js log messages Onja 2023-10-25 19:28:24 +0300
  • 01c8c046a0 Change la date de suppression tout les 2 jours root 2023-10-17 16:43:22 +0000
  • 184b68389c Little fix root 2023-10-17 16:29:45 +0000
  • 56eaced508 Update success message to include the filename when generating a file from URL Onja 2023-10-17 18:54:27 +0300
  • 999617245d Little fix root 2023-10-17 14:47:18 +0000
  • ed3559b1f0 Merge branch 'node10' of gitea.invaders.stream:onja/bodacc into node10 root 2023-10-17 14:38:21 +0000
  • e4d8e2a580 Create fake download method root 2023-10-17 14:38:08 +0000
  • 62798ab869 Refactor generateFilePath function to use custom date format instead of ISO format Onja 2023-10-17 17:22:59 +0300
  • cd747af78a Refactored the `FileService.parseFromUrl` method to return the filepath instead of a stream, and updated the `routes/index.js` file to handle the new return value Onja 2023-10-17 17:15:12 +0300
  • 1421af2bb2 Add logic to count the number of processed lines and log the count when it reaches the specified limit in the 'parse.data' event listener Onja 2023-10-17 17:14:32 +0300
  • f1d912638c Reset result and URL input value in the form after submitting it and delete Blob function Onja 2023-10-17 17:14:08 +0300
  • 4cfc9d6f1c Parse data IO progress root 2023-10-11 13:28:01 +0000
  • d7a38ff8e3 Increase timeout root 2023-10-11 13:27:43 +0000
  • 8718f552f1 Create generated file root 2023-10-11 13:00:42 +0000
  • d71f3e4a00 Refactor event names in socket listeners to include event name from data Onja 2023-10-11 15:35:24 +0300
  • 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 Onja 2023-10-11 15:32:44 +0300
  • 6b1683d0ab Refactor download link in index.hbs to include the "download" attribute for improved user experience Onja 2023-10-11 15:31:30 +0300
  • ca981c24cc Add hidden div element to display link to generated file Onja 2023-10-11 15:29:26 +0300
  • 1cd5608c43 Add functionality to display generated CSV file link and remove 'd-none' class from result form Onja 2023-10-11 15:29:13 +0300
  • 4082cd089c merge root 2023-10-11 11:54:23 +0000
  • 8889946a7f Send parse progress root 2023-10-11 11:52:55 +0000
  • 91ad8ea526 Merge branch 'node10' of gitea.invaders.stream:onja/bodacc into node10 Onja 2023-10-11 14:34:25 +0300
  • 84e930d29c Little fix root 2023-10-11 11:24:13 +0000
  • 9016c3ee89 update package-lock root 2023-10-11 10:44:47 +0000
  • 84298632fe Node 10 update root 2023-10-11 10:44:23 +0000
  • 78f065db28 Add event listeners for deleteOldFiles and checkLastOperationDate events, and log corresponding messages node16 Onja 2023-10-11 12:06:45 +0300
  • 60e695723a Refactor code to delete old files and check last operation date in FileService Onja 2023-10-11 12:06:36 +0300
  • 5c43e55e64 Refactor code to dynamically generate the download filename based on the current date and time Onja 2023-10-11 11:38:40 +0300
  • 596891357b Refactor file paths for webfonts and images to improve organization and readability Onja 2023-10-11 11:34:59 +0300
  • aebf23cf4a Add new image file help.jpg to the public/img directory Onja 2023-10-11 11:34:51 +0300
  • 38f60cf582 Refactor the form on the index page to include a help image and improve the layout of the form fields Onja 2023-10-11 11:34:40 +0300
  • b9a190bb7f Update index.hbs to display a heading and description for CSV generation from a bodacc file Onja 2023-10-11 00:19:55 +0300
  • 5bac1a9945 Add socket.io functionality to the main.js file, including event listeners for various events and toastr notifications for success or error events Onja 2023-10-11 00:06:17 +0300
  • 78f2e85fdf Add "configureSocket" function to create a WebSocket connection and handle connection and disconnection events Onja 2023-10-11 00:06:06 +0300
  • fc1e9cebe4 Add event listeners in ioSubscriber.js for download and parse events, and emit corresponding socket events Onja 2023-10-11 00:05:44 +0300
  • bcad582a57 Add socket.io and socket.io-client dependencies to package.json Onja 2023-10-11 00:05:19 +0300
  • 7ae7cf5326 Refactor main.js to display error message with response text and add validation checks for URL and columns in index.js Onja 2023-10-10 23:30:02 +0300
  • 486950b6df Update app.js to use extended URL encoding in the Express middleware Onja 2023-10-10 23:25:43 +0300
  • 4d44483917 Refactored main.js file to separate functions for initializing column choices and submitting form, and added event listeners for click and submit events Onja 2023-10-10 23:15:28 +0300
  • cbcf011640 Update main.hbs to use local CSS and JavaScript files instead of external CDN links Onja 2023-10-10 22:37:41 +0300
  • ce0e0d51a0 Initialize main.js and main.scss files with necessary imports for jQuery, Bootstrap, and Toastr Onja 2023-10-10 22:37:34 +0300
  • 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 Onja 2023-10-10 22:37:21 +0300
  • 96d1e1ff72 Add webpack configuration for CSS extraction, minification, and optimization Onja 2023-10-10 22:37:09 +0300
  • 5d49ad706c Refactor app.js to use the "basedir" constant for serving static files Onja 2023-10-10 22:36:41 +0300
  • b0cde36f53 Refactor form on the home page to include options for selecting columns to export Onja 2023-10-10 22:17:18 +0300
  • 17b9fe4f2e Add main layout template and index page template, and update the index route to render the index page with a form Onja 2023-10-10 19:48:07 +0300
  • 40cac0c6c8 Add TemplateService class to handle rendering templates and layouts Onja 2023-10-10 19:47:53 +0300
  • fcac5503a0 Add support for handlebars as the view engine in the application, with a new configuration parameter for extension name Onja 2023-10-10 19:47:14 +0300
  • 4bbcc60d2c Refactor code to include headers and set response headers for CSV download in the / route Onja 2023-10-10 18:37:39 +0300
  • 561654e698 Update consoleSubscriber.js to include the filtered headers in the parse.start event log message Onja 2023-10-10 18:31:00 +0300
  • 56b4caf42f Refactor processRow method to handle columns filtering and improve error handling Onja 2023-10-10 18:28:54 +0300
  • 1134f361cb Remove commented out code for parsing data and logging it in consoleSubscriber.js Onja 2023-10-10 17:24:25 +0300
  • df08062ffb Refactor column validation in File class to emit parse error event when columns are invalid Onja 2023-10-10 17:24:15 +0300
  • 8524d995f3 Refactor download progress logging to display downloaded size in megabytes instead of percentage Onja 2023-10-10 17:08:12 +0300
  • 543c12fdff Add exclusion for public/csv/* in .gitignore file Onja 2023-10-10 16:47:37 +0300
  • 93795e29d1 Add event listener for 'download.started' with the filepath and length information Onja 2023-10-10 16:47:01 +0300
  • d733230901 Update basedir path in constants.js to resolve file path correctly Onja 2023-10-10 16:42:50 +0300
  • fb9e493da6 Refactor log messages for download and parsing events to be more concise and remove unnecessary information Onja 2023-10-10 16:37:35 +0300
  • 78bd3a2147 Refactor basedir to use path.join for better readability and maintainability Onja 2023-10-10 16:37:23 +0300
  • 03f3c74d27 Refactor error handling in File class to emit download.error event and reject promise Onja 2023-10-10 16:31:59 +0300
  • 6816d76fa6 Handle error when parsing file from URL in index.js Onja 2023-10-10 16:21:52 +0300
  • e6e5e4a614 Refactor consoleSubscriber.js to use a log function to log event names and data Onja 2023-10-10 16:21:39 +0300
  • 1a71a7c256 Add consoleSubscriber module to app.js Onja 2023-10-10 16:21:26 +0300
  • b9270b2a06 Add consoleSubscriber.js file with event listener functions for various events and their corresponding actions Onja 2023-10-10 16:13:58 +0300
  • ac33d20776 Remove unnecessary call to super() in the constructor of the File class Onja 2023-10-10 16:13:45 +0300
  • f408226daa Refactor the File class to use a separate event emitter module for better code organization and separation of concerns Onja 2023-10-10 16:13:01 +0300
  • e9a15d9834 Refactor FileService class to use event emitter module for better code organization and readability Onja 2023-10-10 16:11:33 +0300
  • 7213927988 Create a new file "eventEmitter.js" in the "src/services" directory, which exports a singleton instance of the EventEmitter for the entire application Onja 2023-10-10 16:11:16 +0300