1. 18 Aug, 2011 3 commits
  2. 17 Aug, 2011 1 commit
  3. 16 Aug, 2011 3 commits
  4. 10 Aug, 2011 7 commits
  5. 09 Aug, 2011 1 commit
  6. 03 Aug, 2011 2 commits
  7. 01 Aug, 2011 10 commits
  8. 29 Jul, 2011 5 commits
    • Lucas Carvalho's avatar
      Fixed the test. · cba740a0
      Lucas Carvalho authored
      This test must prove that when the signature_certificate_file_list
      has a path to the file system and urls, the file system path has high
      priority over the urls.
      cba740a0
    • Lucas Carvalho's avatar
      NetworkcacheClient must use libconnection · f2ed2e68
      Lucas Carvalho authored
      To download contents in a correct way, it must use the
      libnetworkcache.
      f2ed2e68
    • Lucas Carvalho's avatar
      Moved the method parseUrl to a utils file. · 00e24d33
      Lucas Carvalho authored
      This file must provide all the utils function, to avoid duplicating
      code.
      00e24d33
    • Lucas Carvalho's avatar
      Added utils file. · 3b4bc05a
      Lucas Carvalho authored
      This file must provide all the utils function, to avoid duplicating
      code.
      3b4bc05a
    • Lucas Carvalho's avatar
      Created a new library libconnection. · a6be7424
      Lucas Carvalho authored
      This library aims to handle all the possibles way to do a GET to an http
      server.
      
      So, it must contains all the code related to HTTP calls to avoid to
      polute the NetworkcacheClient class with this kind of code.
      
      The NetworkcacheClient should use this library to download any kind of
      file which is necessary.
      
      Using this library NetworkcacheClient must be able to:
       - download a file under HTTP without authentication
       - download a file under HTTP with basic authentication
       - download a file under HTTPS CA (Certificate Authority)
       - download a file under HTTPS CA with basic authentication
       - download a file under HTTPS with Certification Authentication
      
      So currently, this library only provides a way to:
        - download a file under HTTPS CA (Certificate Authority)
        - download a file under HTTPS CA with basic authentication
      
      (work in progress)
      a6be7424
  9. 27 Jul, 2011 1 commit
  10. 22 Jul, 2011 2 commits
  11. 21 Jul, 2011 5 commits
    • Lucas Carvalho's avatar
      Sorry, _MARKER is not overkill, so it have to be added again. · ef9bec3c
      Lucas Carvalho authored
      Well, _MARKER is used to backward compatibility and to raise an error
      which if the networkcache server is not consistenty.
      
      Without _MARKER there is not way to make these conditions.
      ef9bec3c
    • Lucas Carvalho's avatar
      Removing useless code. · 8cc8112f
      Lucas Carvalho authored
      A simple object of NetworkcacheClient class is already instantiated by
      setUp method.
      8cc8112f
    • Lucas Carvalho's avatar
      Using _MARKER is overkill. · abaa53b8
      Lucas Carvalho authored
      Following the previous commit, _MARKER is not required anymore.
      abaa53b8
    • Lucas Carvalho's avatar
      signature_certificate_file_list may have url and/or paths. · 55732eaf
      Lucas Carvalho authored
      Well, before this change the signature_certificate_file_list worked
      only with filesystem paths.
       - i.e ['/home/user/public.pem']
      
      Now it is possible to define urls as well.
       - i.e ['http://example.com/public.pem']
      
      The url content will be downloaded to a temporary file before the
      verification and automatically removed after.
      
      The filesystem paths has higher priority than url, it is checked first.
      If it does not find any valid certificate, then it will try
      to download the certificates from the url provided.
      55732eaf
    • Lucas Carvalho's avatar
      Added new tests for NetworkcacheClient class. · 5e0fcfd6
      Lucas Carvalho authored
      This is the first version has only basic tests.
      
      The new test class aims to test the behavior of NetworkcacheClient
      class. And it is forbidden to change any behavior of
      NetworkcacheClient without writting/editing the tests.
      
      NOTE: still WIP...
      5e0fcfd6