This project is mirrored from https://github.com/sympa-community/sympa.git. Pull mirroring updated .
  1. 30 Aug, 2014 1 commit
  2. 24 Aug, 2014 1 commit
  3. 21 Aug, 2014 1 commit
  4. 19 Aug, 2014 1 commit
  5. 18 Aug, 2014 1 commit
  6. 17 Aug, 2014 2 commits
  7. 16 Aug, 2014 2 commits
  8. 15 Aug, 2014 1 commit
  9. 11 Aug, 2014 1 commit
  10. 10 Aug, 2014 2 commits
  11. 04 Aug, 2014 1 commit
  12. 03 Aug, 2014 1 commit
    • sikeda's avatar
      [dev] Refactoring and changes, mainly about S/MIME processing: · 41eedc8b
      sikeda authored
      - Optional modules are lazily loaded with "eval 'use MODULE'" in BEGIN phase, and be checked availability testing $MODULE::VERSION variable which all modern CPAN modules will have.
      - tools::smime_parse_cert(): Now it takes arguments with plain hash instead of hashref.
      - tools::smime_find_keys(): Now it takes context (Sympa::List or site) instead of directory.
      - List::get_cert() returns scalar instead of array.
      - Use Crypt::OpenSSL::X509 instead of openssl to parse certificates.
      - Use list-style open() to open pipes.
      
      Issues:
      - Certificates and keys for sympa and/or listmaster should be able to be prepared per robots;
      - and they should be placed in $robot->{etc}, instead of "$robot->{home}/sympa".
      - Use any CPAN module instead of "openssl pkcs7" to extract certificates in signed messages.
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11280 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      41eedc8b
  13. 31 Jul, 2014 2 commits
  14. 29 Jul, 2014 4 commits
  15. 28 Jul, 2014 2 commits
  16. 27 Jul, 2014 1 commit
  17. 26 Jul, 2014 1 commit
    • sikeda's avatar
      [dev] Refactoring: Now messages only in msg spool would be decrypted; those in... · 841d64e2
      sikeda authored
      [dev] Refactoring: Now messages only in msg spool would be decrypted; those in other spools are assumed being already decrypted (or failing decription).  Exception is "outgoing" (archive) spool: It may contain original messages if archive_crypted_msg parameter is "original"; also, wwsympa::do_send_me() and List::archive_send_last() should decrypt messages before sending them.
      As a side effect, Message->new() no longer takes noxsympato parameter.  Now messages are always stored into spools in "serialized" form (with prepended X-Sympa-*: pseudo-header fields) and deserialized by Message->new().
      
      Issue: Is it allowable that decrypted messages are stored into spools?
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11238 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      841d64e2
  18. 20 Jul, 2014 1 commit
    • sikeda's avatar
      [dev] Refactoring Message module: Preventing breakage of message contents by re-encoding MIME. · 4a2d6254
      sikeda authored
      - The {msg} item of Message object does no longer represent actual content: Original string representation will be kept as far as possible.
      - {msg_as_string} was splitted to {_head} (MIME::Head entity) and {_body} (body as string).  Accessors are head(), header_as_string(), body_as_string() and as_string().
      - For now don't access to {msg}, {_head} and {_body} items directly: Use as_entity() and methods above.
      - add_header(), delete_header() or replace_header() should be used to modify {_head}.  get_header() may be used to get header fields (only at the top level of structure).
      - {orig_msg} item was replaced by {orig_msg_as_string} to prevent reencoding, too.
      - To get message ID, sender and so on, use items {message_id}, {sender} and so on of objects, not using get_header() etc.
      - See also POD.
      
      ToDo: Some components (probably bulk.pl etc.) still reencode contents.
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11209 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      4a2d6254
  19. 18 Jul, 2014 1 commit
  20. 17 Jul, 2014 1 commit
    • sikeda's avatar
      [dev] Starting refactoring to correct behavior on message processing. · 1c683daa
      sikeda authored
      - X-Sympa-*: header fields are stripped at first of message parsing.  They will no longer included into outgoing messages.
      - Conversely, new Message::to_string() adds header fields above at the top of serialized messages.
      - Message::new() now takes string and metadata as argument: MIME::Entity instance, "message_in_spool" hashref and filename are omitted.
      - Tentative Message::new_from_file() is a wrapper of above.  It may be removed when refactoring will completed.
      - New tools::unmarshal_metadata() to explode metadata from file name of spooled message.  This uses new tools::split_listname() utility function to analyze list identifiers.
      - sympa ::DoFile() was renamed to process_message() and takes Message as argument.
      - Message::check_param_status() and Message::check_dkim_signature() are separated from Message::new(), because they are needed by incoming messages (in "msg" queue).  ToDo: decrypt() and check_smime_Signature() should be also handled in the same way.
      - mail::mail_file() changed its prototype.  ToDo: this would be splitted into Message::new_from_template() and mail::sending().
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11167 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      1c683daa
  21. 11 Jul, 2014 2 commits
  22. 07 Jul, 2014 1 commit
  23. 06 Jul, 2014 2 commits
  24. 02 Jul, 2014 1 commit
  25. 29 Jun, 2014 1 commit
    • sikeda's avatar
      [dev] Now List::get_lists() can handle complex query. · 0a5cc56d
      sikeda authored
      - Sympa::Family object can be taken as the first argument.
      - Changed $options argument from hashref to hash pairs.
      - List subject and so on matches case-insensitively.
      - 'filter_query' options was renamed to 'filter'.
      - 'order' and 'limit' options are added.
      - 'use_files' option is deprecated.  Use 'reload_config' instead.
      
      Changes:
      - List::get_which() became a thin wrapper of get_lists().
      - List::get_lists_db() and List::get_which_db() were deprecated.
      - Structure of list_table was changed.  Especially, creation_epoch_list is no longer dateteme but int(11), UNIX time.
      
      ToDo: Sync value of total_list field with $list->{total}.
      
      
      git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11092 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
      0a5cc56d
  26. 28 Jun, 2014 2 commits
  27. 27 Jun, 2014 3 commits