Garret Wassermann
aff67184d4
Add attachment validator when uploading attachment to tickets
2021-10-05 06:25:42 -04:00
Garret Wassermann
9c6e8574cc
Merge pull request #964 from regiov/pinax-remove
...
Remove hard dependency on pinax teams
2021-08-05 14:16:14 -04:00
Renato
563b28ed14
Merge branch 'master' into pinax-remove
2021-08-04 11:19:14 -03:00
Arkadiy Korotaev
86c4ceb1a8
fix(emails): Avoid 'value too long for type character varying(200) ' error when incoming message has too long subject
2021-07-29 13:14:42 +02:00
Arkadiy Korotaev
3285d5e1a8
feat(emails): Do not auto-reply on auto-replies and add auto-reply header for auto-replies and fix headers propagation for our email messages
2021-04-20 12:44:27 +02:00
Arkadiy Korotaev
c90811418a
chore(pep8): Fix bad imports, unused variables, pep8 warnings and some possible bugs
2021-03-05 09:37:21 +01:00
Timothy Hobbs
2e867cba87
Remove hard dependency on pinax teams
2020-12-02 01:26:53 +01:00
Arkadiy Korotaev
d2a7bad576
ifix(email): Create the log file only if required
...
+ update some translations
+ update some tests to correctly mock unlink as well
+ fix flake8 errors and sort the imports in email module
+ update some log messages to pass base message + parameters instead of rendered string (works better with Sentry)
2020-11-25 10:31:40 +01:00
Garret Wassermann
c9fa0c81c7
Merge pull request #895 from Benbb96/merging-tickets-feature
...
New feature: Merging tickets
2020-11-01 13:54:03 -05:00
bbe
7564c5739b
Add a clean method on TicketCC model in order to be sure not to add a user who doesn't have an email address.
2020-10-31 18:24:22 +01:00
bbe
177ba8f963
Add test for the add_email_to_ticketcc_if_not_in ticket function
2020-10-31 17:54:29 +01:00
bbe
e1cd9d0f2e
Implement ticket merge feature in ticket list. Create intermediate page to choose which data and custom field values to keep on the main ticket.
...
Also add new template tag filter to use the dictionary get function in template.
2020-10-29 23:32:02 +01:00
bbe
9795167d9b
Add merged_to information to ticket
2020-10-29 23:29:16 +01:00
Benbb96
5b44a3aca6
Fix an error when creating a ticket with a submitter email that is shared by multiple users
2020-10-08 22:34:45 +02:00
Garret Wassermann
2f788f2597
Merge 0.2.22 bugfix release updates, update copyright year in license, specify python 3.6 or above in setup
2020-07-30 04:46:15 -04:00
Garret Wassermann
0a712381e0
Set default attachment permissions to 0700, to address #591
2020-07-27 19:50:25 -04:00
bbe
d961b2b692
Fix KnowledgeBase item score
2020-06-29 14:47:37 +02:00
Petr Dlouhý
93e82f5469
allow KBItems to be disabled for users
2020-02-25 14:46:21 +01:00
Petr Dlouhý
d0aafd6135
add KBitem.order to allow ordering items
2020-02-25 14:43:10 +01:00
Petr Dlouhý
5a594b7436
add KBCategory.name, improve KBCategory admin
2020-02-25 14:36:18 +01:00
Timothy Hobbs
2a3272914c
Show kbitem categories in kbitem string representation
2020-02-11 15:20:16 +01:00
Timothy Hobbs
5b0d44ec3a
Assign KBItems to teams
...
This allows you to only show on the dashboard those tickets which belong to a
given user's team.
2020-01-27 19:45:15 +01:00
Timothy Hobbs
ecbb91b861
Private kb categories
2020-01-27 17:37:59 +01:00
Timothy Hobbs
90621f575d
Fix ironic ticket creation loop when submitter email == queue email
2020-01-20 13:23:32 +01:00
Timothy Hobbs
b20f600db2
KB UX improvements
2020-01-20 13:23:31 +01:00
Timothy Hobbs
05bd852799
Fix pycodestyle errors
2020-01-20 13:23:31 +01:00
Timothy Hobbs
6579ac0e6f
Associate tickets with KB items
2020-01-20 13:23:31 +01:00
Timothy Hobbs
7fe6444f8f
Redo KB categories as accordion view
2020-01-20 13:23:17 +01:00
Timothy Hobbs
c95b24780e
Fix voting for logged in users. Voting still broken for anon users
2020-01-20 13:22:45 +01:00
Timothy Hobbs
5f29bb632e
Associate queues with KB categories
2020-01-20 13:22:45 +01:00
Leonid
6ae7b60ef4
fix error format time_spent
2019-12-25 11:21:47 +03:00
Timothy Hobbs
0691bbabcd
Refactor and fix datatables code to use cache safely
2019-10-11 15:50:35 +02:00
Timothy Hobbs
92ea5bc984
Fix: use helpdesk settings to for https config
2019-10-11 13:23:01 +02:00
Garret Wassermann
cd948a6701
Merge pull request #765 from OpenGeoLabs/gui_updates
...
More gui updates
2019-07-07 02:33:11 -04:00
Jachym Cepicky
37c6905d46
cleaning time_spent formating
2019-07-06 22:36:58 +02:00
Andrea M
c969577161
Add setting for HTTPS in email links
2019-07-04 10:32:49 +02:00
Jachym Cepicky
ef63a1186b
fix markdown bug
2019-03-29 15:17:10 +01:00
Jachym Cepicky
ba8f3f3cbb
style fix
2019-03-09 23:51:26 +01:00
Jachym Cepicky
ce82ddb9f9
Merge branch 'develop' into images_for_kb
2019-03-09 23:46:26 +01:00
Jachym Cepicky
db0f286989
adding support for images as knowledgebase attachment
2019-03-09 23:41:26 +01:00
Jachym Cepicky
9127275557
adding support for images as knowledgebase attachment
2019-03-09 18:14:11 +01:00
Jachym Cepicky
d4f1f85b29
Markdown for Knowledge base, ticket and comments.
...
Removed markdown-deux
2019-03-06 14:42:57 +01:00
Jachym Cepicky
2093bf7faf
adding dedicated_time attribute to Queue model
2019-02-24 20:46:30 +01:00
Jachym Cepicky
6ceb89a5cb
basic support for time spend of tikets and follow-ups
2019-02-06 21:55:53 +01:00
Garret Wassermann
43ed3ac773
PEP-8 fixes for mail threading merge
2018-12-28 11:32:49 -05:00
Garret Wassermann
5f0d22a692
Merge brunotikami/master for user and email threading, for #385 and #375
2018-12-28 10:53:28 -05:00
Garret Wassermann
696d10db12
Remove old python2/six code
2018-12-28 03:13:52 -05:00
Garret Wassermann
a11c595a7c
PEP-8 fixes
2018-12-20 21:30:23 -05:00
Garret Wassermann
3a5e49452b
Merge remote-tracking branch 'shash/fix_vote' into develop for #652
2018-12-15 13:44:34 -05:00
Timothy Hobbs
09d8f8c488
Try to obey UserSettings when sending emails
2018-11-01 19:32:34 +01: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
Garret Wassermann
5f6a6fe8c5
Merge pull request #653 from auto-mat/user_settings_fix
...
Transform UserSettings into a normal django model
2018-10-25 18:27:40 -04:00
Timothy Hobbs
3f6ae1aefe
Transform UserSettings into a normal django model
2018-10-25 17:54:37 +02:00
shashwat1002
e0c03996ad
add a new field to KBItem model to keep track of all users who voted, and make changes to the vote function so that it checks whether a user has already votred
2018-10-17 23:09:43 +05:30
Timothy Hobbs
caaa0e5158
Include ticket secret in path to new attachments in order to reduce URL guessability.
2018-10-06 21:23:44 +02:00
Timothy Hobbs
c1750a7461
Require a secret key for viewing tickets unless HELPDESK_VIEW_A_TICKET_PUBLIC is set
...
Fixes #629 , #639
2018-09-08 21:29:59 +02:00
Timothy Hobbs
082b6b88f3
Add user profile links for submiters who have profiles
2018-08-30 12:53:46 +02:00
Garret Wassermann
c70cf04e4d
Fix codestyle errors, use currying instead of lambdas for determing user access
2018-07-19 00:06:57 -04:00
Garret Wassermann
dff14d40d3
Merge 0.2.8 bugfixes
2018-07-03 00:59:33 -04:00
Garret Wassermann
08fc9b5aac
Check format of DEFAULT_FROM_EMAIL before creating messages, to address #608
2018-06-27 02:10:20 -04:00
Garret Wassermann
54a6b1d21b
Merge 0.2.7 bugfixes
2018-03-04 04:01:48 -05:00
Garret Wassermann
3c456873a5
Fixes for Python 3 and Django 2.0
2018-03-04 01:52:58 -05:00
Garret Wassermann
75f54dd233
Testing quicktest.py
2018-01-11 02:19:49 -05:00
Garret Wassermann
3ccd6c8dc8
Merge 0.2.6 Django 2.0 updates
2017-12-28 09:16:01 -05: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
Garret Wassermann
523329eab5
Merge 0.2.5 bugfixes and Django 2.0 changes
2017-12-28 07:43:10 -05:00
Garret Wassermann
5112f0dfd0
Address deprecation warnings to be compatible with Django 2.0
2017-12-28 07:23:51 -05:00
Garret Wassermann
92b43ef495
Merge master 0.2.3 bugfixes into develop
2017-12-09 23:02:12 -05:00
Garret Wassermann
bc0125421b
Fix PEP8 errors detected by new pycodestyle script
2017-12-06 02:06:07 -05:00
Garret Wassermann
6e2a16e5a6
Fixing unit tests for python3 for custom staff filters
2017-10-30 05:07:44 -04:00
Garret Wassermann
c69f752f1c
Django 2.0 requires explicit parameters; must go back and change others
2017-09-12 20:57:10 -04:00
msaelices
d264c46385
Fix UnicodeEncodeError
when ticket has an special char using python2 and user goes to the admin page.
2017-08-21 02:15:07 +02:00
Daryl Egarr
ef0ba19a3b
Enhancements to Admin ( #524 )
...
* Add columns to the IgnoreEmail admin page including a calculated column of the queues the ignore relates to.
* Add columns to the IgnoreEmail admin page
including a calculated column of the queues the ignore relates to.
* Revert "Merge pull request #519 from mrkiwi-nz/master"
This reverts commit 410f59ad16
, reversing
changes made to fde06d3ab1
.
* Add columns to the IgnoreEmail admin page
including a calculated column of the queues the ignore relates to.
* Merge pull request #519 from mrkiwi-nz/master
Added some helpful columns and filters to the follow-up list page.
* Add more columns to the IgnoreEmail admin page
including a calculated column of the queues the ignore relates to.
2017-06-19 14:34:36 -04:00
Garret Wassermann
2164c3bc4d
Change queue permission_name from 50 chars to 72 chars ( #484 )
...
* Change queue permission_name from 50 chars to 72 chars to accomodate slug + prepended text, to resolve #483
2017-02-12 17:33:53 +07: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
2f66c50320
Make helpdesk work in apps with their own queue models
...
To avoid returning multiple content types when creating custom permissions, use ContentType.objects.get_for_model to lookup the content type for helpdesk.models.queue.
2017-01-13 17:52:29 +07: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
37b9d332de
Fix some more missing namespace references for login and kb_category
2016-10-31 02:19:41 -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
Jonathan Barratt
43c067dd4f
merge changes from updated master
2016-10-29 13:35:03 +07:00
Alex Barcelo
89a6ae01b8
Fixing style (according to branch 'autocodestyle') + quicktest
2016-10-24 08:04:31 +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
Alex Barcelo
afd6ebad74
Merge current 'master' state into urls_app_name
2016-10-19 15:26:04 +02:00
Antoine Nguyen
50955cb8f6
Fixed Meta class definition for TicketCustomFieldValue.
2016-10-07 11:00:25 +02:00
Garret Wassermann
e5c3c4a435
Used six to add python3 compatibility along side existing python2, and replaced print statements with logging features. Can now poll a local directory for mail too, not just remote POP3/IMAP.
2016-09-14 20:35:18 -04:00
Garret Wassermann
67f81ac252
Continue CSS cleanup for Ticket description, remove unneeded priority and button images and associated functions
2016-09-09 04:03:32 -04:00
Daryl
afbfd01fab
Fix Issue #404 : Refactor converting query string into queue:id
2016-06-26 12:45:55 +12: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
a9f073cc48
Merge branch 'master' of https://github.com/rossp/django-helpdesk
2016-02-24 10:25:57 -03:00
Bruno Tikami
56b7f53c51
CLEANUP: Removing necessary code from feature 2
2016-02-20 17:46:03 -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
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
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
78919addd7
BUGFIX: Set the missing max_length field attribute.
2016-02-07 17:45:08 -02:00