This project is mirrored from https://github.com/sympa-community/sympa.git. Pull mirroring updated .
  1. 05 Feb, 2020 1 commit
    • VERDIN David's avatar
      In some cases, a message will start with a multipart/related including a... · c3c27da1
      VERDIN David authored
      In some cases, a message will start with a multipart/related including a multipart/alternative; In that case, with the current code the multipart/related was urlized as a 'msg.0.bin' attachment, which was wrong.
      Fixing this behaviour by:
      1- allowing to go down two levels of multiparts
      2- preventing any urlization if the part is not included in a 'multipart/mixed' parent to prevent urlizing the content of multipart/related or multipart/alternative.
      c3c27da1
  2. 03 Feb, 2020 1 commit
  3. 28 Jan, 2020 4 commits
    • VERDIN David's avatar
      Including stub to libraries, so Constants.pm is found. Adding Sympa constants... · 618f20da
      VERDIN David authored
      Including stub to libraries, so Constants.pm is found. Adding Sympa constants because most of them are needed when using
       Sympa libraries. Specifying the sources 'default' directory for 'DEFAULTDIR' constant to allow access to distributed templates.
      618f20da
    • VERDIN David's avatar
    • VERDIN David's avatar
      Adding test set for Message.pm. Only used to test urlize for now: · 98df2840
      VERDIN David authored
        - t/Message.t,
        - t/samples/ contains six different messages for testing urlize,
        - t/data/ now contains a test list configuration file.
      98df2840
    • VERDIN David's avatar
      Two bug fixes for Urlize mode: · e75e0859
      VERDIN David authored
      1- message text was treated as attachment and remained on the server as either "msg.0.bin" or "msg.0.txt" files. Fixed by testing the part type before urlizing it.
      2- some special characters in message id led to the attachment to be considered missing by Sympa.
      
      I had to refactor the code a bit to allow urlizing of nested multiparts.
      
      The detail of urlization treatment is as follows:
      
      1- any multipart/mixed message part will be analyzed to look for urlizable parts,
      2- any mulitpart/related message part will be be analyzed to look for multiârt/mixed sub parts,
      3- within the multipart/mixed parts, any text/* part whose "Content-Disposition" header is not "attachment" and has a correct Content-Type.charset value is kept untouched,
      4- any other subpart is kept on the server an replaced by a download link.
      e75e0859
  4. 09 Jan, 2020 5 commits
  5. 26 Dec, 2019 2 commits
  6. 24 Dec, 2019 4 commits
  7. 22 Dec, 2019 1 commit
  8. 19 Dec, 2019 2 commits
  9. 18 Dec, 2019 3 commits
  10. 15 Dec, 2019 3 commits
  11. 13 Dec, 2019 2 commits
  12. 10 Dec, 2019 1 commit
  13. 03 Dec, 2019 2 commits
  14. 02 Dec, 2019 1 commit
  15. 01 Dec, 2019 3 commits
  16. 30 Nov, 2019 1 commit
  17. 29 Nov, 2019 2 commits
  18. 28 Nov, 2019 2 commits