Skip to content
Snippets Groups Projects
  1. Dec 15, 2015
    • akwizgran's avatar
      Use 'forum' instead of 'group'. #174 · e7e7bf35
      akwizgran authored
      e7e7bf35
    • akwizgran's avatar
      Merge branch '55-key-manager-refactoring' into 'master' · 2621ab01
      akwizgran authored
      Refactor KeyManager and TagRecogniser, implement new key rotation logic.
      
      This patch implements the new key rotation logic for BTP version 2, the new transport protocol (#111).
      
      KeyManager and TagRecogniser have been merged (#55). They no longer need to hold locks while calling each other's methods (#3, #4). TransportKeyManager holds a lock while calling CryptoComponent methods, but those methods don't block or acquire any locks.
      
      The maximum clock difference has been increased from one hour to 24 hours because some people adjust the time rather than the timezone when travelling (#18). This will cause keys to be rotated less frequently.
      
      For the same reason, the key manager no longer throws an Error when the clock moves backwards - keys that belong to future rotation periods are kept until they become current, then rotation resumes (#19).
      
      The new KeyManagerImpl and TransportKeyManager need unit tests. I'm putting this up for review while I write the tests.
      
      TransportKeyManager needs further work before #55 is complete - when a stream context is created, TransportKeyManager should wait for the database write to complete before returning the context, to avoid the risk of key reuse if the write fails. I'll make a separate patch for that as this one's big enough already.
      
      Enjoy!
      
      See merge request !13
      2621ab01
    • akwizgran's avatar
      Merge branch '62-roboguice-endless-error-loop' into 'master' · 1f8e86c0
      akwizgran authored
      improved the crash handler and refactored the manifest
      
      Improved the CrashReportActivity by putting the activity within its own process, making it a single instance and making sure it won't show up on the recent app list. 
      
      The old structure could create endless crash-loops and might not start the CrashReportActivity on process-related exception such as OutOfMemory because the process simply will not have the resources to do so. This problem is now fixed.
      
      Concerning Roboguide: the problem is that every time a new task is started the xml file will be reloaded, at least with this branch there will not be an endless loop. By updating to Roboguice 3 the problem will be eliminated completely as that version has stopped using the xml file and reverted to manifest tags instead. It is getting very tempting to update.
      
      Closes #67 
      
      See merge request !22
      1f8e86c0
    • Ernir Erlingsson's avatar
      fixed target · 13de33c3
      Ernir Erlingsson authored
      13de33c3
    • akwizgran's avatar
      Don't stretch progress wheel on Android 2.3. · 09774cb3
      akwizgran authored
      09774cb3
    • akwizgran's avatar
      Merge branch '52-appcompat-action-bar' into 'master' · 4dd9e250
      akwizgran authored
      Added AppCompatActivity
      
      Closes #52 
      
      See merge request !14
      4dd9e250
    • Ernir Erlingsson's avatar
    • akwizgran's avatar
      Merge branch '153-forum-sharing-with-selected-contacts' into 'master' · d0ac34e8
      akwizgran authored
      Improve Forum Sharing UI when sharing with selected contacts
      
      When sharing only with chosen contacts, checking the contact's checkbox
      and pressing Done nothing happens and the forum is not shared. An
      additional click on "Share Forum" is necessary to actually share.
      
      This behavior is fixed with this change.
      Now, clicking 'Done' immediately shares the forum.
      
      Closes #153
      
      See merge request !20
      d0ac34e8
    • akwizgran's avatar
      Merge branch '156-turn-off-bluetooth' into 'master' · c4b918c4
      akwizgran authored
      Turn off Bluetooth again when not required anymore
      
      Turn off Bluetooth again when not required anymore and when errors occur.
      Also do not turn off Bluetooth when just changing device orientation.
      
      If I didn't oversee something, this closes #156 
      
      See merge request !19
      c4b918c4
  2. Dec 14, 2015
  3. Dec 11, 2015
  4. Dec 10, 2015
Loading