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

Handle HTTP Request from Client to Resource

Finding information for revoke and renew certificate. I have checked the web and found the revoke command in this website have useful openssl commands. I have also discover the command line for renewal of certificate in this website. According to this blog, to renew a certificate, we must revoke the expired certificate 1st and renamed the request of certificate to be signed and this will renew the certificate with a different file name. But unfortunately some of these commands are not Read more

CodeMirror File Save/Load/Compile with Witty

This week I have started working in my first task in the project , after spending the last couple of weeks studying and digging here and there … the real work has just begun 😀 .. Last week and as I mentioned in my previous blog entry I managed to integrate the code editor (codemirror) with witty. So my first task was to both save the content of the editor to the server and to load some code from the Read more