django-helpdesk/helpdesk/views
Jonathan Barratt 5acd891c68
refactor all handling of attached files
Extract attachment processing from forms, views.staff, and management.command.get_email modules, and consolidate it into a unified lib module function.
Also refactor the affected components, most notably lib.send_templated_email, to make it easier (IMO) to reason about changes to them.
Add unit tests for attachments with UTF-8 filenames, and functional tests for submission of same, as well as ASCII versions, through the public ticket-form.
Remove unused Attachment method "get_upload_to".
2016-12-08 19:47:20 +07:00
..
__init__.py Moved all project files under a "helpdesk" directory. Should make it easier to use setup.py / pypi / whatever in the future. 2011-01-25 23:02:00 +00:00
feeds.py Fixing style (according to branch 'autocodestyle') + quicktest 2016-10-24 08:04:31 +02:00
kb.py Initial general clean-up of stuff 2016-10-21 17:14:12 +02:00
public.py Fixing style (according to branch 'autocodestyle') + quicktest 2016-10-24 08:04:31 +02:00
staff.py refactor all handling of attached files 2016-12-08 19:47:20 +07:00