Jachym Cepicky
611e6de928
fix for the issue #145
2019-05-22 11:20:01 +02:00
Jachym Cepicky
9127275557
adding support for images as knowledgebase attachment
2019-03-09 18:14:11 +01:00
Jachym Cepicky
8cc0ca47f8
display list of queues only for users with right permissions
2019-02-05 15:44:06 +01:00
Garret Wassermann
696d10db12
Remove old python2/six code
2018-12-28 03:13:52 -05:00
Garret Wassermann
bb4178b477
Merge develop branch into bootstrap4
2018-11-03 22:40:03 -04:00
Timothy Hobbs
6c37d73d4e
DRY out email sending code and normalize behavior
...
This refactor removes duplicated logic for deciding whom the messages get sent to.
It also normalizes behavior ensuring that all CCed addresses are sent to in all cases that CCed individuals should be notified.
2018-11-01 14:56:17 +01:00
Timothy Hobbs
3f6ae1aefe
Transform UserSettings into a normal django model
2018-10-25 17:54:37 +02:00
Garret Wassermann
fd5c356820
Merge branch 'develop' into bootstrap4
2018-09-08 22:30:18 -04:00
Timothy Hobbs
ffc97338c9
Submit ticket link should work for non-logged in users
2018-09-07 19:10:57 +02:00
Garret Wassermann
eabf32d91b
Navigation is Bootstrap 4 and SB Admin 5.0 now
2018-09-02 04:36:16 -04:00
Garret Wassermann
ed0596e430
Merge branch 'master' into feature-public-ticket-defaults
2018-01-10 13:18:29 -05:00
Arne Brutschy
f3e52a2f12
Adds pre-defined values for public tickets
...
This commit adds three new settings that allow the operator to
pre-define the `queue`, `priority` and `due_date` fields for public
tickets. If one of these settings are present the corresponding input
field is hidden from the form.
The settings are the following:
HELPDESK_PUBLIC_TICKET_QUEUE = 'website'
HELPDESK_PUBLIC_TICKET_PRIORITY = 2
HELPDESK_PUBLIC_TICKET_DUE_DATE = ''
If the due date is set to the empty string, no due date is saved in the
ticket (analogously to the form). The other settings should be
self-explanatory.
2018-01-09 14:53:05 +01:00
Garret Wassermann
d18ce1f1d5
Bump version to 0.2.6 to fix remaining Django 2.0 warnings
2017-12-28 09:11:34 -05:00
Alex Seeholzer
4e018db5a6
Added unique related_name “usersetttings_helpdesk” for the one-to-one relation to User in UserSettings.
2017-01-13 15:22:41 +01:00
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
Jonathan Barratt
7738bba2ab
remove special-case imports for legacy versions
...
standardise use, or avoidance, of timezone, template from_string, and Context
2016-11-21 10:16:03 +07:00
Will Stott
f34696df8d
Use Django's six module for StringIO imports.
2016-11-17 11:25:46 +00:00
Garret Wassermann
194641613c
Sync with upstream, merged in AbstractForm with bootstrap class
2016-10-31 01:38:49 -04:00
Alex Barcelo
abd6fdcebe
simplifying if-case branches on CustomFieldMixin
2016-10-30 20:53:18 +01:00
Alex Barcelo
cce12181f0
refactoring single-letter variables into better names
2016-10-30 20:43:05 +01:00
Alex Barcelo
681a1893bd
missed a refactoring
2016-10-30 08:42:05 +01:00
Alex Barcelo
d8d10fae90
DRY in *TicketForm --by adding an Abstrat~ one
2016-10-30 08:39:17 +01:00
Alex Barcelo
bea6fbf75a
fixing a deprecated usage, and adding a minor branch control
2016-10-30 08:38:49 +01:00
Garret Wassermann
dc25164304
More PEP8 changes (hopefully last)
2016-10-29 04:27:29 -04:00
Garret Wassermann
4cf46156f1
More PEP8 changes
2016-10-29 04:20:16 -04:00
Garret Wassermann
d791700582
Fix PEP8 errors
2016-10-29 04:08:57 -04:00
Garret Wassermann
cad174468b
Sync with namespace and other v0.2 changes
2016-10-29 03:47:15 -04:00
Alex Barcelo
53ed0d3a2c
Remove all the deprecated API related files and references
2016-10-29 08:50:13 +02:00
Alex Barcelo
30e3aa55aa
almost auto-fix on misc files
2016-10-23 22:09:17 +02:00
Alex Barcelo
24d88be8d9
Initial general clean-up of stuff
2016-10-21 17:14:12 +02:00
Jerome Flesch
74668f30d5
forms.py : To get the translations for the fields' labels, use ugettext_lazy() instead for ugettext().
...
ugettext() loads the translations at the same time the module is loaded (--> always in english).
ugettext_lazy() loads them when they are needed (--> when the user makes a query --> we known the language the user wants based on the header of their HTTP request)
Signed-off-by: Jerome Flesch <jflesch@gmail.com>
2016-10-18 15:37:57 +02:00
Jerome Flesch
0ad110ec7f
forms.py: cleanup whitespaces
...
Signed-off-by: Jerome Flesch <jflesch@gmail.com>
2016-10-18 15:35:41 +02:00
Garret Wassermann
414f7e7c03
Make Knowledgebase categories nicer; include jQuery UI for DatePicker on new ticket form
2016-09-27 13:16:28 -04:00
Garret Wassermann
00cdbcf43b
Finish CSS template changes for Ticket page and related properties; includes responsive Ticket list table; styled file input buttons but need to find way to update text for beyond the first input box; added a ticket_attachment_del page to confirm removal of attachment and styled it
2016-09-12 02:11:55 -04: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
Ross Poulton
70c57f9096
Merge
2015-04-28 09:13:54 +10:00
Ross Poulton
19ec7bee96
Extend attachment filefield max length in upload form. Fixes #301 .
2015-02-14 11:02:58 +11:00
Ross Poulton
0d9446480e
Merge pull request #273 from vladyslav2/master
...
Fix replace function for custom fields
2014-10-27 11:17:53 +11:00
Vladyslav T
f1147f695a
Fix replace function for custom fields
2014-10-25 22:53:56 +03:00
Tom Graham
d2ac8af6c0
Improved support for custom user models
...
Support for custom user models with a non-standard username field
2014-10-22 16:18:04 +11:00
Ross Poulton
1a157ed097
Django 1.7 compat update. Fixes #255 , thanks @danie1k
2014-09-11 17:37:51 +10:00
Ross Poulton
4c901880bc
Allow file attachments in storages other than local files (eg S3). Fixes GH-249.
2014-09-02 18:36:00 +10:00
Gabriel Pichot
27217edf4a
Changed references from auth.User to get_user_model (views, forms & commands)
2014-06-18 16:21:37 +02:00
Matt Molyneaux
4caa54f84d
Move CustomField to field class code to a mixin
2014-06-05 09:51:19 +01:00
Ross Poulton
d340446feb
Remove django-tagging support, as that library is unmaintained. Closes #194 .
2014-01-29 22:00:00 +11:00
Tony Zhu
b6339cc016
Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not FileSystemStorage
2013-11-19 21:24:52 +00:00
Ross Poulton
556cf5d302
fix tpyo - importError vs ImportError
2013-01-23 11:55:36 +11:00
Ross Poulton
53273e3794
Fix datetime/timezone handling in Django <1.4; update management commands to be timezone-aware
2013-01-23 11:35:18 +11:00
Ross Poulton
341a40b9ae
Make datetime handline offset-aware. Now requires pytz. Fixes #142 .
2013-01-23 10:59:12 +11:00
digitalpbk
7716eb69a9
assigned_to.usersettings.settings is a dictionary
...
t.assigned_to.usersettings.settings is a dictionary, so getattr does not work
2012-10-07 14:16:57 +05:30
yekibud
3e8d6edfc7
commented out some unimplemented test code
2012-01-20 16:47:41 -08:00
tschmidt
1a4c6520a6
added due_date migration and added to edit ticket form
2012-01-20 15:03:07 -08:00
tschmidt
01b0adc733
adding due_date form and model field
2012-01-20 12:48:38 -08:00
tschmidt
0f38b688a1
fixed other instances of custom field list without blank default
2012-01-18 11:38:56 -08:00
tschmidt
9aa32cc4f6
fixed custom field list without blank default
2012-01-18 11:20:22 -08:00
tschmidt
949179ec2e
adding HELPDESK_STAFF_ONLY_TICKET_OWNERS and HELPDESK_STAFF_ONLY_TICKET_CC settings
2012-01-17 13:40:44 -08:00
Ross Poulton
533fdc8c2a
Merge branch 'kotowicz-master', manually merging conflicts in these files:
...
helpdesk/lib.py
helpdesk/templates/helpdesk/ticket_desc_table.html
helpdesk/views/staff.py
2012-01-11 09:18:05 +00:00
Andreas Kotowicz
71d69278bc
custom fields: add option which forces user to make an active choice.
...
in forms.py we prepend a 0 entry to the list of choices.
2011-12-01 20:48:37 +01:00
Andreas Kotowicz
90721b0746
create_ticket form modifications: make 'title', 'submitter_email' and 'body' fields wider.
2011-11-28 16:06:36 +01:00
Andreas Kotowicz
cb34b1933a
make django-helpdesk more customizable + bug fixes:
...
- look at settings.py for all new options regarding customization.
- settings can be accessed inside the templates via the new
templatetag 'load_helpdesk_settings'
- allow editing of personal followups, but only if followup does not
contain any ticketchanges - otherwise this information is lost after
the editing.
- add 'delete' link to attachments
- link to list of closed tickets in queue overview
- add 'closed & resolved' section to dashboard
- hide 'pre-set reply' box if no pre-set replies are found.
- use 'SelectDateWidget' for custom DateField
- fix how we update followups so that attachments don't get deleted
- fix bug where resolution emails contained the solution 'None'
- fix stats crashing bug
- fix locale bug
2011-11-19 09:34:07 +01:00
Alex Garel
23463c902e
Using safe_template_context to build templated email context forms.py
...
Without this send_templated_mail does not work (Exception on
context['queue'].get('locale', 'en')
2011-11-08 17:31:05 +01:00
Ross Poulton
8b6fbd8965
Add ticket dependency so you can't resolve a ticket until it's dependents are resolved. Addresses GH-43
2011-05-10 19:27:11 +10:00
Ross Poulton
f4864ef34d
Show custom fields when editing tickets. Closes GH-24.
2011-05-10 07:54:44 +10:00
Ross Poulton
b42026ec33
Allow selection of all items on custom "list" fields. Fixes GH-23.
2011-05-02 22:32:15 +00:00
Andreas Kotowicz
2d302ceba6
sort list of users by username in helpdesk/tickets/X/cc/add/
2011-02-06 18:49:07 +01:00
Ross Poulton
e9667109ab
Fix issue with public ticket form when using custom textarea fields.
2011-02-02 20:40:46 +00:00
Ross Poulton
ebe0382725
Initial shot at custom fields on Ticket model. Manage these fields via Django admin.
2011-02-02 11:22:46 +00:00
Ross Poulton
97886abc76
Add ability for FollowUp records to be edited by staff. Closes Google Code issue #131 ; Github issue #5 . Thanks to Google user 'alecs.box' for the patch.
2011-01-29 06:02:03 +00:00
Ross Poulton
7654de9d28
Change references to Jutda Helpdesk to django-helpdesk as that should
...
be the real name for this project IMHO.
2011-01-25 23:08:41 +00:00
Ross Poulton
53327eb66a
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