Commit Graph

812 Commits

Author SHA1 Message Date
Bruno Tikami
4124677f10 ADDED: Test cases for the new enable_notifications_on_email_events flag 2016-03-03 13:47:15 -03:00
Bruno Tikami
26fc6cb1de ADDED: Flag to enable notifications on every interaction that occurs over email. 2016-03-01 16:49:34 -03:00
Bruno Tikami
1511e0e72c UPDATED: Better separation of HTTP and e-mail test cases 2016-02-28 15:19:08 -03:00
Bruno Tikami
45fbd605e5 UPDATED: Separate HTTP and e-mail TestCases 2016-02-28 15:00:15 -03:00
Bruno Tikami
5058790995 BUGFIX: Fixing migration merge conflict. 2016-02-24 10:42:14 -03:00
Bruno Tikami
a9f073cc48 Merge branch 'master' of https://github.com/rossp/django-helpdesk 2016-02-24 10:25:57 -03:00
Bruno Tikami
b55eaabebd UPDATED: Renaming methods after reading through the pull request 2016-02-22 10:17:28 -03:00
Bruno Tikami
0c480b4abd UPDATE: Removed an unnecessary migration created by mistake. 2016-02-22 10:00:29 -03:00
Bruno Tikami
71a0fdfc9c Merge branch 'release/add_user_threading_feature' 2016-02-20 18:01:36 -02:00
Bruno Tikami
19f04aa1f5 CLEANUP: Removing necessary code from feature 2 2016-02-20 17:49:37 -02:00
Bruno Tikami
56b7f53c51 CLEANUP: Removing necessary code from feature 2 2016-02-20 17:46:03 -02:00
Bruno Tikami
f08b6d5b96 Merge branch 'feature/2__mail_threading' into develop 2016-02-20 17:40:32 -02:00
Bruno Tikami
4e32e879a8 BUGFIX: new TicketCC instances must be returned after subscribed to Ticket updates. 2016-02-20 17:36:24 -02:00
Bruno Tikami
0f346924fb UPDATED: Moving TicketCC notifications to the end of the process so there's no need to add / subtract recipients lists (queue cc account etc). 2016-02-20 17:35:17 -02:00
Bruno Tikami
75a5556317 UPDATED: after processing an email message, if there's any TicketCC instance linked to the Ticket being handled, mail them all. 2016-02-20 12:39:16 -02:00
Bruno Tikami
5ed6e8c2ce BUGFIX: assert statements against email count were doing the wrong math. Also, trying to explain get easier to understand comments 2016-02-20 12:38:06 -02:00
Bruno Tikami
32ee4de50b UPDATED: Better validation before creating a duplicated TicketCC 2016-02-19 13:01:39 -02:00
Bruno Tikami
6d890509a3 ADDED: docstrings 2016-02-19 12:40:18 -02:00
Bruno Tikami
f911f92892 BUGFIX: Don't create duplicated TicketCCs when processing email messages. 2016-02-19 12:25:14 -02:00
Bruno Tikami
380723a972 UPDATED: Use <forms.TicketCCForm> when subscribing to a ticket followups. 2016-02-19 11:09:03 -02:00
Bruno Tikami
e4337cef1d ADDED: <TicketCCForm.clean> to validate if either a valid user or a valid email is provided when saving <TicketCC> instances 2016-02-19 11:00:35 -02:00
Ross Poulton
abf03d48d6 Merge pull request #382 from imbashamba/master
Nullable "default_owner" field added to Queue model
2016-02-19 09:27:00 +11:00
Bruno Tikami
99bfc340f9 ADDED: <tests.test_ticket_submission.test_create_ticket_from_email_without_message_id> 2016-02-17 21:43:33 -02:00
imbashamba
191ce3c53c Nullable "default_owner" field added to Queue model
If default_owner is specified, tickets from public form will be assigned to him and he'll be notified by email
2016-02-17 11:40:08 +03:00
Bruno Tikami
57f58c34b7 UPDATED: Aesthetics 2016-02-16 17:21:46 -02:00
Bruno Tikami
fc02aa7cbb UPDATED: Better exception handling + aestetics 2016-02-16 17:17:58 -02:00
Bruno Tikami
be07fdff6c UPDATED: Finished moving Message-Id field from <Ticket> to <FollowUp> model. 2016-02-16 17:10:13 -02:00
Bruno Tikami
c2e9ee26af UPDATED: Stop storing the Message-Id field on the <Ticket> model and move it to the <FollowUp> so we can easily follow the threads. 2016-02-16 16:11:10 -02:00
Bruno Tikami
5f738a3214 Too much in one commit !
Splitting responsibilities when parsing email messages so we can decide when to create a Ticket and when to create a FollowUp.
2016-02-16 15:49:40 -02:00
Bruno Tikami
b4c6c169c2 ADDED: Possibility to accept extra headers when sending emails 2016-02-16 15:46:49 -02:00
Bruno Tikami
d091a16002 UPDATED: when creating new Ticket instances from email messages, also save their "Message-Id" field. 2016-02-15 16:16:28 -02:00
Bruno Tikami
5b46602b29 UPDATED: <helpdesk.tests.test_ticket_submission.test_create_ticket_instance_from_payload> now calls the right callable to ensure the message is parsed and the Ticket instance is created. 2016-02-15 16:15:46 -02:00
Bruno Tikami
cea4cb2c6a UPDATED: Set "submitter_email_id" as the standard to reference the Message-Id email field. 2016-02-07 18:11:49 -02:00
Bruno Tikami
ea3c3732e5 BUGFIX: File name typo 2016-02-07 18:05:16 -02:00
Bruno Tikami
4fa4186ce6 Merge branch 'feature/2__mail_threading' of github.com:brunotikami/django-helpdesk into feature/2__mail_threading 2016-02-07 18:04:32 -02:00
Bruno Tikami
880003743d ADDED: Schema migration 0012 that adds a "submitter_message_id" to the <models.Ticket> model 2016-02-07 18:04:09 -02:00
Bruno Tikami
b615bc6a54 ADDED: Schema migration 0012 that adds a "submitter_message_id" to the <models.Ticket> model 2016-02-07 17:58:53 -02:00
Bruno Tikami
78919addd7 BUGFIX: Set the missing max_length field attribute. 2016-02-07 17:45:08 -02:00
Bruno Tikami
83be21dc17 ADDED: <models.Ticket.submitter_email_id> 2016-02-07 17:28:00 -02:00
Bruno Tikami
ff0ceefab4 ADDED: <tests.test_ticket_submisssion.test_create_ticket_from_email_with_message_id> to ensure that the RFC 2822 field "message-id" is stored on the <Ticket.submitter_email_id> field. Backwards-compatible test kept. 2016-02-07 16:54:05 -02:00
Bruno Tikami
e880747a2b UDPATED: Use <views.staff.subscribe_to_ticket_updates> instead of <views.staff.subscribe_staff_member_to_ticket> when adding non-staff members to <TicketCC> instances 2016-02-07 16:46:43 -02:00
Bruno Tikami
b5ff3f9063 UPDATED: <views.staff.subscribe_staff_member_to_ticket> to accept and validate an user email when creating linking a <TicketCC> instance for a staff member. I'm pretty sure this is NOT the best place to put this but I don't wanna mess too much around for now. 2016-02-07 15:56:30 -02:00
Bruno Tikami
353fcb2138 ADDED: Possibility to pass "rfc_2822_*" fields when creating a <Ticket> instance so <management.commands.get_email.ticket_from_message> can create <TicketCC> instances when processing incoming messages. 2016-02-07 15:54:39 -02:00
Bruno Tikami
703c0e3b66 ADDED: <tests.test_ticket_submission.test_create_ticket_from_email_with_carbon_copy> and <tests.test_ticket_submission.test_create_ticket_from_email_with_invalid_carbon_copy> to ensure <TicketCC> instances are created by the <Ticket> model when the respective RFC 2822 field is provided. 2016-02-07 15:50:03 -02:00
Bruno Tikami
4d00dd3d6e UPDATED: Renamed test <tests.test_ticket_submission.test_create_ticket_direct> to <tests.test_ticket_submission.test_create_ticket_from_email> so the new upcoming test names (including CC, In-Reply etc) are easier to understand. 2016-02-07 12:06:07 -02:00
Bruno Tikami
6ff2b014e4 Merge branch 'feature/#1_-_pre-flight_checklist' into develop 2016-02-07 11:58:26 -02:00
Bruno Tikami
a49e83fbd0 UDPATED: RST formatting. 2016-02-07 11:57:35 -02:00
Bruno Tikami
0f6fbc425b ADDED: Pre-flight checklist instructions 2016-02-07 11:56:21 -02:00
Ross Poulton
b8c08b7699 Merge pull request #380 from powderflask/Fix-user_admin_url
Fix: _meta.module_name deprecated in django1.8
2016-01-29 10:23:22 +11:00
powderflask
8bf3449719 Fix: _meta.module_name deprecated in django1.8 2016-01-23 12:25:17 -08:00