1. 09 Sep, 2020 2 commits
    • hydrargyrum's avatar
      converters/html: look for "addresses" key before "address" key · 6bc3fb13
      hydrargyrum authored
      BreakTheSilence converter uses columns from Silence database and the address
      might be set though it's a conversation with more than 2 peers, so "addresses"
      is also set, unlike Epistolaire's supposed output, where "address" would not
      be set.
      It shouldn't break anything, "addresses" is supposed to be set less often
      than "address" so we can take it first.
      It will prevent from writing multiple conversations with a shared peer to the
      same file, and instead it will generate one file per list-of-recipients.
      6bc3fb13
    • hydrargyrum's avatar
      converters/html: show progress + don't stop for one bad thread · 5a049979
      hydrargyrum authored
      If one conversation fails, display an error and continue to next
      conversation.
      Show progress as conversations are done. Add verbose to show messages.
      5a049979
  2. 28 Aug, 2020 1 commit
  3. 16 May, 2020 1 commit
  4. 15 May, 2020 1 commit
  5. 24 Apr, 2020 1 commit
  6. 06 Apr, 2020 3 commits
    • hydrargyrum's avatar
    • hydrargyrum's avatar
      converters/maildir: make SMS and MMS ids deterministic · 765dbf59
      hydrargyrum authored
      The message-ids of MMSes and SMSes should be deterministic too.
      
      MMSes already have an ID, but it can contain problematic characters, so
      we hash it instead of escaping it.
      SMSes do not have an ID, we will use the recipient and datetime.
      765dbf59
    • hydrargyrum's avatar
      converters/maildir: have virtual root for each conversation · 653209ed
      hydrargyrum authored
      Having the first SMS/MMS as the root of a thread prevents continuing the
      same thread if the root disappears. Instead, we create a virtual root,
      without a message attached, it's just an ID referred to by all other
      messages in the thread.
      
      Since a thread consists in messages with the same group of recipients,
      the thread-id (or message-id of the root) will be the hash of the
      recipient group. It's deterministic as recipients cannot change.
      
      Threading can be disabled with an option.
      653209ed
  7. 05 Apr, 2020 1 commit
  8. 04 Apr, 2020 2 commits
  9. 03 Apr, 2020 4 commits
  10. 25 Mar, 2020 7 commits
  11. 23 Mar, 2020 1 commit
  12. 21 Mar, 2020 3 commits
    • hydrargyrum's avatar
      bump to 0.4.1 · 882dfed9
      hydrargyrum authored
      882dfed9
    • hydrargyrum's avatar
      MmsDumper: when listing conversations, use _id column and special param · fb80a304
      hydrargyrum authored
      This exception occurs on multiple configurations:
      
      java.lang.NullPointerException: Attempt to invoke virtual method
      'boolean java.lang.String.equals(java.lang.Object)' on a null object
      reference
      
      One at least one, there's this trace in android:
      
      E DatabaseUtils: java.lang.NullPointerException: Attempt to invoke
      virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a
      null object reference
      E DatabaseUtils: 	at
      android.database.sqlite.SQLiteQueryBuilder.buildUnionSubQuery(SQLiteQueryBuilder.java:696)
      E DatabaseUtils: 	at
      com.android.providers.telephony.MmsSmsProvider.getConversations(MmsSmsProvider.java:3713)
      E DatabaseUtils: 	at
      com.android.providers.telephony.MmsSmsProvider.query(MmsSmsProvider.java:998)
      E DatabaseUtils: 	at
      android.content.ContentProvider.query(ContentProvider.java:1063)
      E DatabaseUtils: 	at
      android.content.ContentProvider.query(ContentProvider.java:1155)
      E DatabaseUtils: 	at
      android.content.ContentProvider$Transport.query(ContentProvider.java:244)
      E DatabaseUtils: 	at
      android.content.ContentProviderNative.onTransact(ContentProviderNative.java:102)
      E DatabaseUtils: 	at
      android.os.Binder.execTransact(Binder.java:682)
      
      It is unknown why it occurs.
      _id column seems preferred over thread_id column so let's use it. But is
      also fails if magical parameter "?simple=true" isn't passed.
      Seems related to com.android.providers.telephony.MmsSmsProvider.query
      but I still don't know where is the problem.
      
      Anyway, it seems to be better so let's use it now and see.
      fb80a304
    • hydrargyrum's avatar
      prefix log tags with app name · 13f0cb04
      hydrargyrum authored
      13f0cb04
  13. 19 Mar, 2020 1 commit
  14. 15 Mar, 2020 6 commits
  15. 14 Mar, 2020 3 commits
  16. 12 Feb, 2020 3 commits