Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
Jean-Guilhem Rouel edited this page Feb 24, 2016 · 2 revisions

Table of Contents

Monday

Correction of some bugs for interntionalization

Language of the output template is now based on ucn_lang (hidden parameter of the form) and Accept-Language. The ucn_lang is the most priority

  • A set of available languages (of templates) is added in Framework.java
  • In the !FirstServlet.java, we iterate the Accept-Language (string in the format of "fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3") to find the first avaiable language in the set.
Problem of !UnicornClient (Unicorn local):
  • some observers such as CSS Validator supports the !DirectInput, but it's not the case of Calculator. That's means the CSS Validator know validating the value of a parameter (for eg: ".X{color:blue}"), but Calculator only knows validating a links (URI Input). Therefore, using Calculator to validate a local file is impossible.
  • Only one solution to validate a local file with Calculator: publish the file to a server then throw its URI to Calculator.php
  • Actually !FirstServlet uses the same mechanism, the content of the localfile will be copy to a temporary file on the flyingman server, then the URI'll be threw to Calculator.php
  • Unlike the servlet context, !UnicornClient (local unicorn) doesn't have any right to access to the flyingman server, or right to create file on this server.

Tuesday

In firstServlet.java, we have used getHeader("Accept-Language") of HttpServletRequest class to return a list of accept languages and we have choosen the first which corresponds to a template output. It was a error because the list is not necessarily sorted by priority. So we have to use getLocales() method to have a sorted list of languages.

  • About simplification of contracts
We have studied the new version of WADL schema. It seems to be possible to put all data of the RDF file in the WADL file. At the present time, there is no official WADL parser, so the idea is to modify WADLUnmarshallerXPath.java to get the informations of the new WADL file.

Wednesday, Thursday

  • Composition of css-validator.wadl (based on css-validator written by Olivier) which contains informations of css-validator.rdf.
  • Total modification of wadl parser (WADLUnmarshallerXPath.java)
  • Modification of Framework.java to fill information of observers with wadl file.
  • Modification of !CallParameter.java to add new attributes corresponding to attributes of wadl file.

Friday

  • Correction of some bugs
  • Tests of Unicorn with the new CSS validator contract : it seems to work correctly.
  • [wiki:old_css_validator_contract]
  • [wiki:new_css_validator_contract]

  • [wiki:week1]
  • [wiki:week2]
  • [wiki:week3]
  • [wiki:week4]
  • [wiki:week5]
  • [wiki:week6]
  • [wiki:week7]
  • [wiki:week8]
  • [wiki:week9]
  • [wiki:week10]
  • [wiki:week11]
  • [wiki:week12]
  • Week 13 (02/11/2008 -> 02/15/2008)
  • [wiki:week14]

Use an extra layer of security with two factor authentication (2FA) when logging into google

Clone this wiki locally