Issue #6 open
Raphaël BECK
created an issue

No description provided.

Comments (135)

  1. Guillaume Englert

    refs #6 Move MailSignature to 'emails' app ; rename it EmailSignature ; add a 'user 'field' and a block. DB changes: - persons_mailsignature becomes emails_emailsignature. Add a 'user_id' FK field (after 'name' field) 'sign_name' => 'name' 'corpse' => 'body' - persons_mailsignature_images becomes emails_emailsignature_images.

    f59d10b315cd

  2. Guillaume Englert

    refs #6 Move MailSignature to 'emails' app ; rename it EmailSignature ; add a 'user 'field' and a block. DB changes: - persons_mailsignature becomes emails_emailsignature. Add a 'user_id' FK field (after 'name' field) 'sign_name' => 'name' 'corpse' => 'body' - persons_mailsignature_images becomes emails_emailsignature_images.

    f59d10b315cd

  3. Raphaël BECK reporter

    refs #6 * Can now add images in templates from tinymce (with credentials) * (Creme)Images are now embbeded in a mail for camp aign sendings * Sending have a new status applied when all emails are not sent * In block sending: unsent messages information added * misc things about those features

    2f2b22cc863f

  4. Raphaël BECK reporter

    refs #6 * Can now add images in templates from tinymce (with credentials) * (Creme)Images are now embbeded in a mail for camp aign sendings * Sending have a new status applied when all emails are not sent * In block sending: unsent messages information added * misc things about those features

    2f2b22cc863f

  5. Guillaume Englert

    refs #6 #14 Can now use a write an email based on a template ; 2 bugs fixed. Bugfixes: - Visual credentials fixed : 'New email' button was never disabled. - Bad RelationTypes dependencies in the 'Emails history' block, so relations were displayed in the Relations' block too.

    4afc2b605d83

  6. Guillaume Englert

    refs #6 #14 Can now use a write an email based on a template ; 2 bugs fixed. Bugfixes: - Visual credentials fixed : 'New email' button was never disabled. - Bad RelationTypes dependencies in the 'Emails history' block, so relations were displayed in the Relations' block too.

    4afc2b605d83

  7. Guillaume Englert

    refs #6 #26 Fix a lots of problems in emails.js: bugs, coding style and some code used by crudity ('crudity' should not depend on 'emails'). Bugs: GET instead of POST, new dialog API was not well used. Coding style: functions that were not named with camelCase convention. API breakings are listed in the CHANGELOG.

    → <<cset 821c85c63340>>

  8. Guillaume Englert

    refs #6 #26 Fix a lots of problems in emails.js: bugs, coding style and some code used by crudity ('crudity' should not depend on 'emails'). Bugs: GET instead of POST, new dialog API was not well used. Coding style: functions that were not named with camelCase convention. API breakings are listed in the CHANGELOG.

    → <<cset 821c85c63340>>

  9. Guillaume Englert

    refs #6 Some code improvements for EmailSending ('choices' & 'default' attributes...).

    API breaking: - EmailSending.get_type_str() method is deprecated ; use get_type_display() instead. - EmailSending.get_state_str() method is deprecated ; use get_state_display() instead.

    → <<cset f368624802f4>>

  10. Guillaume Englert

    refs #6 Some code improvements for EmailSending ('choices' & 'default' attributes...).

    API breaking: - EmailSending.get_type_str() method is deprecated ; use get_type_display() instead. - EmailSending.get_state_str() method is deprecated ; use get_state_display() instead.

    → <<cset f368624802f4>>

  11. Guillaume Englert

    refs #40 #6 Fix some problems with TextField & HTML content. - TextFields were not correctly escaped ! - HTMl body in EmailTemplate was not displayed in an <iframe>, so the page style could be broken. - HTML bodies in <iframe> were not correctly sanitized. The 'bleach' lib is now used.

    API breaking: - The block emails.blocks.EntityEmailBlock is deprecated (& so the template 'emails/templatetags/block_mail.html'). It is now registered& used anymore. - The method _Email.get_body() is deprecated - use the fields with EntityEmail. - use the properties rendered_body/rendered_body_html with LightWeightEmail. - The view emails.views.mail.get_entity_mail_body() is deprecated ; use the core view get_sanitized_html instead. - The view emails.views.mail.get_lightweight_mail_body() returns now sanitized HTML.

    → <<cset 94e45d81b02f>>

  12. Guillaume Englert

    refs #40 #6 Fix some problems with TextField & HTML content. - TextFields were not correctly escaped ! - HTMl body in EmailTemplate was not displayed in an <iframe>, so the page style could be broken. - HTML bodies in <iframe> were not correctly sanitized. The 'bleach' lib is now used.

    API breaking: - The block emails.blocks.EntityEmailBlock is deprecated (& so the template 'emails/templatetags/block_mail.html'). It is now registered& used anymore. - The method _Email.get_body() is deprecated - use the fields with EntityEmail. - use the properties rendered_body/rendered_body_html with LightWeightEmail. - The view emails.views.mail.get_entity_mail_body() is deprecated ; use the core view get_sanitized_html instead. - The view emails.views.mail.get_lightweight_mail_body() returns now sanitized HTML.

    → <<cset 94e45d81b02f>>

  13. Guillaume Englert

    refs #6 Deprecated stuffes have been removed in 'emails'.

    API breaking: The following items were deprecated & have been removed. - _Email.get_status_str(). - _Email.get_body(). - AbstractEntityEmail.get_body(). - LightWeightEmail.get_body(). - LightWeightEmail.get_body_html(). - EmailSending.get_type_str(). - EmailSending.get_state_str(). - The block EntityEmailBlock and its template 'emails/templatetags/block_mail.html'. - The view mail.get_entity_mail_body().

    → <<cset 8e95a5ed46a9>>

  14. Guillaume Englert

    refs #6 Deprecated stuffes have been removed in 'emails'.

    API breaking: The following items were deprecated & have been removed. - _Email.get_status_str(). - _Email.get_body(). - AbstractEntityEmail.get_body(). - LightWeightEmail.get_body(). - LightWeightEmail.get_body_html(). - EmailSending.get_type_str(). - EmailSending.get_state_str(). - The block EntityEmailBlock and its template 'emails/templatetags/block_mail.html'. - The view mail.get_entity_mail_body().

    → <<cset 8e95a5ed46a9>>

  15. Florian Fabre

    refs #14 #6 Improve chunktools and email recipient import. - Improve iter_splitchunks() (now supports separators with multiple chars). - Add iter_splitlinechunks() that allow reading any type of endline separator (\r\n, \r or \n). - Add line length limit for iter_split*() functions. - Improve email recipient import form with iter_splitlinechunks(). API Breaking: - iter_splitchunks(chunks, sep, filter) is now iter_splitchunks(chunks, sep, parser=None, limit=None). "parser" is same as "filter". "limit" throws an error when a single line is too long.

    → <<cset 9c1f4db769be>>

  16. Florian Fabre

    refs #14 #6 Improve chunktools and email recipient import. - Improve iter_splitchunks() (now supports separators with multiple chars). - Add iter_splitlinechunks() that allow reading any type of endline separator (\r\n, \r or \n). - Add line length limit for iter_split*() functions. - Improve email recipient import form with iter_splitlinechunks(). API Breaking: - iter_splitchunks(chunks, sep, filter) is now iter_splitchunks(chunks, sep, parser=None, limit=None). "parser" is same as "filter". "limit" throws an error when a single line is too long.

    → <<cset 9c1f4db769be>>

  17. Guillaume Englert

    refs #6 Some CharFields are not nullable anymore.

    API breaking: - EmailRecipient.address is not 'null'. - _Email.subject is not 'null' (& so do LightWeightEmail/AbstractEntityEmail/EntityEmail). - crudity.fetchers.pop.PopEmail: default subject is now ''.

    → <<cset 35ae1c49775d>>

  18. Guillaume Englert

    refs #6 Some CharFields are not nullable anymore.

    API breaking: - EmailRecipient.address is not 'null'. - _Email.subject is not 'null' (& so do LightWeightEmail/AbstractEntityEmail/EntityEmail). - crudity.fetchers.pop.PopEmail: default subject is now ''.

    → <<cset 35ae1c49775d>>

  19. Guillaume Englert

    refs #6 A block 'My signature' (similar to the one on emails' portal) is displayed in 'My configuration'.

    API breaking: - The template 'emails/templatetags/block_signatures.html' need a variable 'has_app_perm' to work correctly.

    → <<cset cffba54a479e>>

  20. Guillaume Englert

    refs #6 A block 'My signature' (similar to the one on emails' portal) is displayed in 'My configuration'.

    API breaking: - The template 'emails/templatetags/block_signatures.html' need a variable 'has_app_perm' to work correctly.

    → <<cset cffba54a479e>>

  21. Guillaume Englert

    refs #6 Use named URLs in 'emails'.

    API breaking: - JavaScript: creme.emails.confirmResend() & creme.emails.resend() take an additional argument 'resend_url'. - EntityEmailLinkButton.render(): the template variable 'rtypes' in now a list (it was a string with comma as separator). So, the template 'emails/templatetags/button_entityemail_link.html' has been changed too.

    → <<cset 65222e2f40f3>>

  22. Guillaume Englert

    refs #6 Use named URLs in 'emails'.

    API breaking: - JavaScript: creme.emails.confirmResend() & creme.emails.resend() take an additional argument 'resend_url'. - EntityEmailLinkButton.render(): the template variable 'rtypes' in now a list (it was a string with comma as separator). So, the template 'emails/templatetags/button_entityemail_link.html' has been changed too.

    → <<cset 65222e2f40f3>>

  23. Guillaume Englert

    refs #106 #6 Bricks system for 'emails'.

    API breaking: - The method apps.Emails.register_blocks() has been renamed register_bricks(). - The module emails.blocks is deprecated ; use emails.bricks instead. - These views are deprecated. - emails.views.crudity.reload_sync_blocks(): use reload_bricks() instead. - emails.views.sending.reload_block_mails(): use reload_mails_brick() instead. - These templates files are deprecated: - templatetags/blocks_* - creme/emails/templates/emails/frags/ajax/synchronize.html - MailsHistoryBrick: the context variable "rtypes" is deprecated ; use "rtype_ids" instead. - JavaScript: - creme.emails.allowExternalImages() is deprecated ; use the action "email-toggle-images" instead. - creme.emails.confirmResend() & creme.emails.resend() are deprecated ; use an action with the url "emails__resend_emails" instead.

    → <<cset 9a4ee1922e10>>

  24. Guillaume Englert

    refs #106 #6 Bricks system for 'emails'.

    API breaking: - The method apps.Emails.register_blocks() has been renamed register_bricks(). - The module emails.blocks is deprecated ; use emails.bricks instead. - These views are deprecated. - emails.views.crudity.reload_sync_blocks(): use reload_bricks() instead. - emails.views.sending.reload_block_mails(): use reload_mails_brick() instead. - These templates files are deprecated: - templatetags/blocks_* - creme/emails/templates/emails/frags/ajax/synchronize.html - MailsHistoryBrick: the context variable "rtypes" is deprecated ; use "rtype_ids" instead. - JavaScript: - creme.emails.allowExternalImages() is deprecated ; use the action "email-toggle-images" instead. - creme.emails.confirmResend() & creme.emails.resend() are deprecated ; use an action with the url "emails__resend_emails" instead.

    → <<cset 9a4ee1922e10>>

  25. Guillaume Englert

    refs #6 Remove deprecated code in 'emails'.

    API breaking: - Remove the module 'blocks'. - Remove the template files : - emails/templatetags/block_*.html - emails/templatetags/_block_synchronization.html - emails/frags/ajax/synchronize.html - In views: - crudity.reload_sync_blocks() has been removed. - sending.reload_block_mails() has been removed. - In 'crudity.synchronisation()' the template variable "entityemail_ct_id" is not injected anymore. - In these Bricks, the variable "ct_id" is not injected anymore : - EmailRecipientsBrick. - MailsBrick. - Remove this JavaScript functions: - allowExternalImages(). - confirmResend(). - resend().

    → <<cset 93be194c94e4>>

  26. Guillaume Englert

    refs #6 Remove deprecated code in 'emails'.

    API breaking: - Remove the module 'blocks'. - Remove the template files : - emails/templatetags/block_*.html - emails/templatetags/_block_synchronization.html - emails/frags/ajax/synchronize.html - In views: - crudity.reload_sync_blocks() has been removed. - sending.reload_block_mails() has been removed. - In 'crudity.synchronisation()' the template variable "entityemail_ct_id" is not injected anymore. - In these Bricks, the variable "ct_id" is not injected anymore : - EmailRecipientsBrick. - MailsBrick. - Remove this JavaScript functions: - allowExternalImages(). - confirmResend(). - resend().

    → <<cset 93be194c94e4>>

  27. Log in to comment