1. 15 Aug, 2020 2 commits
  2. 14 Aug, 2020 11 commits
  3. 13 Aug, 2020 1 commit
  4. 31 Jul, 2020 1 commit
    • Slava Monich's avatar
      [mms-lib] Convert text parts to utf-8. JB#50506 · 2bda88f0
      Slava Monich authored
      Those operators who convert text attachments to utf-8, seem to
      only understand utf-8 as a charset. If they see utf-8, they do
      nothing; if they see anything else, they interpret that as us-ascii
      and convert it to utf-8 (which typically messes things up).
      
      Therefore, we need to convert text parts into utf-8 and specify
      utf-8 charset in the attachment part header. That way it should
      always work.
      
      This automatic utf-8 conversion can be turned off with a command
      line option, or via config file. By default, conversion is on.
      2bda88f0
  5. 29 Jul, 2020 1 commit
  6. 08 Jul, 2020 1 commit
  7. 06 Nov, 2019 1 commit
    • Slava Monich's avatar
      [mms-engine] D-Bus access control. JB#46060 · d05adbc6
      Slava Monich authored
      By default, only privileged and sailfish-mms groups (effective or primary)
      are allowed to call most D-Bus methods.
      
      D-Bus access rules can be configured by adding [DBus] section to
      /etc/mms-engine.conf config file:
      
      [DBus]
      MmsEngineAccess=...
      TransferAccess=...
      TransferListAccess=...
      
      The default rules are:
      
      MmsEngineAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&(cancel()|receiveMessage()|
        sendReadReport()|sendMessage()|push()|pushNotify()|setLogLevel()|
        setLogType()|migrateSettings())=deny
      
      TransferAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&Get()=deny
      
      TransferListAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&(GetAll()|EnableUpdates()|
        DisableUpdates()|GetSendProgress()|GetReceiveProgress())=deny
      d05adbc6
  8. 05 Nov, 2019 1 commit
  9. 04 Nov, 2019 1 commit
  10. 28 Nov, 2018 1 commit
  11. 08 Nov, 2018 1 commit
  12. 12 Mar, 2018 1 commit
  13. 02 Jul, 2017 1 commit
  14. 19 Jun, 2017 2 commits
    • Slava Monich's avatar
    • Slava Monich's avatar
      [mms-lib] Workaround for broken MMS proxy IP address. JB#38990 · d0bf187e
      Slava Monich authored
      Some operators provide IP address of the MMS proxy
      prepending zeros to each number shorter then 3 digits,
      e.g. "192.168.094.023" instead of "192.168.94.23".
      That may look nicer but it's actually wrong because
      the numbers starting with zeros are interpreted as
      octal numbers. In the example above 023 actually means
      16 and 094 is not a valid number at all.
      
      In addition to publishing these broken settings on their
      web sites, some of the operators send them over the air,
      in which case we can't even blame the user for entering
      an invalid IP address. We better be prepared to deal with
      those.
      
      Since nobody in the world seems to be actually using the
      octal notation to write an IP address, let's remove the
      leading zeros if we find them in the host part of the MMS
      proxy URL.
      d0bf187e
  15. 30 Jan, 2017 1 commit
  16. 27 Jan, 2017 1 commit
  17. 10 Jan, 2017 1 commit
  18. 17 Oct, 2016 2 commits
  19. 29 Sep, 2016 3 commits
  20. 13 Jul, 2016 1 commit
  21. 06 Jul, 2016 1 commit
  22. 01 May, 2016 1 commit
  23. 16 Mar, 2016 1 commit
  24. 13 Mar, 2016 2 commits