Client, Radio button, Email

Using Http Client posting: This week I have done some Http post request to post the data input by the user to the WResource(). In this web application, the user can  perform a few task. The key task is: To revoke a certificate by the push of a button. To renew a certificate by entering the period or new expiry date. To create a new certificate. for the three task listed, I decided to use the Http::Client post method to Read more…

Generating JSON Elements

As last week was mainly focused on searching and troubleshooting problems, this week was all about applying these techniques and getting tasks done. As I discussed in the previous post, I used HTTP redirection to load the program. What I added this week, is setting cookies to handle sessions, triggering the schematic editor from other part of the page, parsing and generating JSON file to be loaded by the JointJS editor. First task was to handle multiple sessions at the Read more…

Certificate Listing

As in the past week, I have been trying to advance the features of listing the certificate as well as combining it to the front end. Previously, the listing of the certificates could only list down the names of the certificate files without accessing them. Currently, my biggest concern is of accessing the approot from my WResource. It often leads on to a segmentation fault. Previously, accessing it would not be much of a problem by using the WApplication::appRoot() and Read more…

Objects Unique IDs

Well this week was not really fruitful, it was more into doing research and understanding what should be done next.So before talking about what happened let me   start first by briefing you of what has been accomplished so far. Codemirror integration with Witty Saving and Loading the user code file Checking the user code for syntax errors updating the user with those errors and warning. You can refer to my previous blogs entries for more information about these topics. 🙂 Read more…

Navigation of a Webpage

Understanding Internal path To make the web application of the certificate process navigate and redirect between pages and application within the whole web page, I referred to one of the project that have been done by Shawn and discover a new structure of the application. Previously I have applied the basic yet tedious way to connect and link between application and application to the server using the feature addEntryPoint() of the WServer. By this method, redirect and hard code the Read more…

Problems Uploading and Redirecting

The progress this week was relatively slow. We have been facing some problems with the implementation of the tasks. Though, the problems at first seem minute and trivial, yet, when it comes to real implementation, complexity builds up! Before starting on this week tasks, we were first required to improve our previous code. These improvements included error checking (paranoid error checking), properly structuring the code in form of functions, and adding documentation to our classes and functions. After that, we Read more…

1-Minute Kernel Build

Well, there is a first time for everything. In my many years of dabbling with Linux, this is the first time I had experience a 1-minute kernel build. I achieved it by using a compilation cluster using distcc. As the image shows, nearly the entire kernel compilation was distributed over a number of machines. As a result, the kernel compiled successfully in about 1-minute as measured using the wall clock. Furthermore, the compilation cluster was not made up of super Read more…

CodeMirror/Witty – Error Extraction

Last week and as I mentioned in my previous blog entry I managed to compile the file that comes from the browser which contains the content of the code editor using g++ compiler ( Gnu C++compiler). In this week my task was to: – extract the syntax error and warning messages and lines numbers from the output of the compiler – Update the editor with those errors So let’s go through them one by one 🙂 extract the error and Read more…

Witty, JSON Parser, Boost Filesystem

I continued working on my part in the project this week, that is, the JointJS schematic editor.  First I finished some final touches on the save/load feature I did last week, then I worked on the other two tasks that i was assigned to. These were parsing the JSON file received from the the load operation, and creating a new project from within a Wresource “handlerequest()” method. To do the first task, I was asked to use the boost property tree Read more…

Back End of Digital Certificate

Finally , I have received my first project ever which is to generate the back end part of our digital certificate web application. My first feature of it is the generation of digital certificate. The process of making it is rather easy as it is rather common thing on Google. However, since we would like to make the application automated for a better user experience, the automation of inputting the subject of the certificate is a rather tricky one as Read more…