Posts by LeonardoEbert • 1,156 points
73 posts
-
1
votes0
answers68
viewsQ: Decrypt IMAP email?
I am receiving emails in my application through IMAP, and everything is appearing in the right way except the text that is encrypted, how do I decrypt or set up so it is not encrypted?? I’m using…
-
3
votes1
answer375
viewsA: How do I receive emails in my web application?
I found that I don’t need to create server in the cloud or anything like that, all I need to do is create a POP or IMAP receiving service, depending on which one fits the need best. For sending you…
-
4
votes1
answer375
viewsQ: How do I receive emails in my web application?
I am making a web application (front-end in Vuejs/Quasar and server in Hapijs) and I need it in addition to send also receive emails. I am sending it through the Nodemailer library, and it is…
-
4
votes1
answer556
viewsA: Corrupted PDF after download?
The problem that caused the PDF corruption was very simple: if it was an asynchronous function and the PDF was being sent even before it was ready, it follows code with the solution to the problem:…
-
2
votes1
answer210
viewsQ: Rename Pdf file before opening for preview
I am receiving a PDF file in the Answer of a POST request, and on the server side I have configured the file name and everything else. But now I’m visualizing it in the browser instead of…
-
2
votes1
answer827
viewsQ: How to view files before downloading?
I want a PDF (generated on my server) sent to my client and opened in a new tab before it is downloaded. I have already managed to have it downloaded directly when it comes from the server to the…
-
2
votes1
answer2495
viewsA: Date format configuration in Vuejs/Quasar Framework
For those who need help, I was able to solve it this way: formatarData () { let data = this.pessoa.nascimento this.pessoa.nascimento = moment(data).format('DD/MM/YYYY') } I used the Momentjs to…
-
1
votes1
answer2495
viewsQ: Date format configuration in Vuejs/Quasar Framework
I have a field for inserting the date of birth, and I want the insertion result to be formatted in 'DD-MM-YYYY'. I managed to have the date displayed in the desired format input, but when I send the…
-
0
votes1
answer524
viewsQ: Synchronous function to check files in Nodejs?
I am creating PDF’s on my Nodejs server using the Express framework and the Pdfmake library. If anyone looks at my profile they will see that I asked a question about corrupted PDF after…
-
2
votes1
answer556
viewsQ: Corrupted PDF after download?
I am generating PDF’s of the data I have in a table in my client, send the data to the server and there is generated PDF. After it is ready, the PDF download takes place, and it is at this stage of…
-
2
votes0
answers183
viewsQ: Configuration of Response Headers
I created an Express server and my client in Quasar/Vuejs. I need to send a PDF to my client, the PDF in question is already created on the server, but I am facing problems to send it to the client.…
-
0
votes1
answer67
viewsQ: How to import a package that has a score in the name in Vuejs
I need to import a package in Vuejs, whose name is 'Vue-Charts.js', and Vue is accusing error that cannot find the specified file. I tried renaming the package directory but could not. If someone…
-
0
votes1
answer749
viewsA: Set up headers in Axios?
I found another solution, follow the code: axios.get('/server/arquiv', {responseType: 'arraybuffer'}) .then(function(response) { let file = new Blob([response.data], {type: 'application/pdf'}); let…
-
1
votes1
answer337
viewsQ: How do I read from position x to position y of a line in Node.js via the readFileSync function?
I have a certain file . txt of which I intend to get some information, but this information is fixed at a certain position of the text line.
node.jsasked LeonardoEbert 1,156 -
0
votes1
answer749
viewsQ: Set up headers in Axios?
I’m using Axios to make requests between client and server, but I’m having problems with headers. When I make the requests by Postman returns exactly what I want (which in case is a PDF), but when I…
-
1
votes1
answer6638
viewsQ: Download using the Xios?
I am using Axios to perform my application requests, and in one of the GET requests it returns a PDF file. When I do the GET request by Postman it opens a window to choose where to save the file,…
-
2
votes1
answer1824
viewsQ: Vuejs Graphics Creation Library?
I’m in need of graphics generation, and I’m using the Vuejs framework, along with Quasar. I wonder if anyone knows or knows any library so I can generate these graphics; I’ve seen some, but the…
-
1
votes1
answer470
viewsQ: Transfer files from the server to the client?
I am generating a PDF on the Nodejs server and when it is ready I want it to be sent to the client and downloaded, all this through a GET request. The file will be generated on the server, stored at…
-
1
votes0
answers49
viewsQ: Manage files on the server?
I am making a server using Nodejs and Express and in it I am generating pdfs of reports. How do I manage these files, and when I talk about managing I mean having options like opening the pdf,…
-
0
votes2
answers703
viewsQ: Problem with the pdfMake?
I’m using the pdfMake library for generating billets, and it was working fine, until I went to follow some examples of the documentation on website and returned me an error, I searched the solution…
-
1
votes1
answer224
viewsQ: How to adapt a JSON to create a table in pdfMake?
I need to take a JSON that returns from Mongodb and through a foreach generate a table and create a PDF, but I’m not able to adapt the JSON to the pdfMake structure, follows JSON excerpt: { "_id" :…
-
2
votes1
answer383
viewsQ: How to use data from a query in mongoDB?
I want to use the data that return from Mongodb’s 'find()' to, through a foreach, create a table using the array that returns from Mongodb, and after the table is ready, generate a PDF, but I am not…
-
0
votes0
answers1562
viewsQ: Javascript reporting and reporting
I would like to know a library for reporting in Javascript, and with Nodejs server. I’ve researched some things but nothing fits much to what I need, it can be either generating reports through the…