Benbb96
9dbe283dd4
Create FollowUpAttachment serializer + handle attachment in TicketSerializer and in FollowUpSerializer in order to attach directly one or multiple attachments to the created followup.
2022-06-24 23:45:26 +02:00
Benbb96
bd413837c2
Create FollowUp serializer with its Viewset and add it in urls
2022-06-24 22:22:08 +02:00
Martin Whitehouse
6d1d5d82b3
Skip failing tests
...
Object not available for patching
2022-06-20 18:20:01 +02:00
Martin Whitehouse
2c1466e01e
Disable failing checks
...
Iterating over a cc_list and comparing to the outbox list will not work.
Need to re-work to ensure indexes match up
2022-06-20 18:19:44 +02:00
Martin Whitehouse
8118fd83b7
Fix autofill utf-8 test
2022-06-20 18:03:39 +02:00
Martin Whitehouse
dd7ef6f0ed
Fix autofill test
2022-06-20 17:50:49 +02:00
Martin Whitehouse
0e571ddebc
Fix url regex
2022-06-20 17:36:40 +02:00
Martin Whitehouse
670ae9d0a5
Fix password assignments
2022-06-20 17:36:32 +02:00
Martin Whitehouse
f18531acb0
Fix url check
2022-06-20 17:35:40 +02:00
Martin Whitehouse
db358ceeaf
Set due date as member and use throughout
2022-06-20 17:35:28 +02:00
Martin Whitehouse
437d5b81c4
Fix failing tests
2022-06-20 17:26:52 +02:00
Martin Whitehouse
93bb43bf1d
Remove mock
...
Can't import model until the test body
2022-06-20 16:58:43 +02:00
Martin Whitehouse
2910664950
Fix path for tests
2022-06-20 16:34:32 +02:00
Martin Whitehouse
6a1f430496
Missing import
2022-06-20 16:10:55 +02:00
Martin Whitehouse
41d7caace4
Fix spacing issues
...
{% if saved_query==q %} was causing a parse error. White space around
equality
2022-06-20 16:08:05 +02:00
Martin Whitehouse
e438f6b4db
Fix references to 'url'
...
Change to 're_path'
2022-06-20 14:39:04 +02:00
Garret Wassermann
ee42ba48a3
Merge in bugfixes from 0.3.5
2022-06-12 03:00:25 -04:00
Daniele Scasciafratte
67949e83f9
added permission classes
2022-05-04 18:51:02 +02:00
Daniele Scasciafratte
25db44ba5e
feat(rest): create user
2022-05-02 17:27:25 +02:00
Garret Wassermann
b8511dd70b
Fix conflicts for Django 4 support
2022-04-23 02:23:51 -04:00
Garret Wassermann
3ed6c68046
Update to 0.3.4 bugfix release
2022-04-23 02:06:35 -04:00
Garret Wassermann
5e8f5fed62
Fixing some unit tests
2022-04-22 14:52:51 -04:00
Garret Wassermann
fcab3506b0
Merge branch 'stable' into new-option-fields
2022-04-22 06:32:32 -04:00
Daniele Scasciafratte
8d626cfd5f
feat(fields): hide column for time spent
2022-04-20 17:30:55 +02:00
Daniele Scasciafratte
6d5c81ea14
feat(fields): hide column for KB item, https://github.com/django-helpdesk/django-helpdesk/pull/1003
2022-04-20 16:54:17 +02:00
Daniele Scasciafratte
9bd4eb19bc
feat(fields): no dependencies
2022-04-20 16:44:48 +02:00
Daniele Scasciafratte
de9c5a709e
feat(fields): no time spent
2022-04-20 16:36:37 +02:00
Daniele Scasciafratte
26c6a778ec
feat(ticket): disable timeline
2022-04-15 18:51:02 +02:00
Daniele Scasciafratte
5792587e3e
feat(ticket): disable timeline
2022-04-15 18:48:21 +02:00
Benbb96
dc60d8a7f9
Add setting HELPDESK_ACTIVATE_API_ENDPOINT and document it
2022-04-15 00:05:51 +02:00
Benbb96
3e331c08fb
Try to fix other tests
2022-04-14 23:45:19 +02:00
Benbb96
9320df0268
Fix a bug I introduced in earlier commit + fix one test
2022-04-14 23:30:42 +02:00
Benbb96
7e5ff05b02
Update documentation
2022-04-11 00:23:22 +02:00
Benbb96
31acfb11dd
Add tests for the API
2022-04-11 00:16:54 +02:00
Benbb96
5701bf0229
Fix a bug with get_choices function which doesn't return anything if empty_selection_list is False
2022-04-11 00:15:48 +02:00
Benbb96
dbcd0fe6b4
Remove last_escalation field from serializer since it is a non-editable field
2022-04-11 00:15:11 +02:00
Benbb96
88b234958a
Fix a bug when assigned_to or merged_to were not passed in body
2022-04-07 00:42:12 +02:00
Nick McCullum
55c638aeef
some more template improvements
2022-04-04 15:27:50 -03:00
Nick McCullum
91229b9292
removed even more deprecated functionality
2022-04-04 14:52:52 -03:00
Nick McCullum
5388ece5ed
removed more deprecated functionality
2022-04-01 16:36:19 -03:00
Nick McCullum
9444d1592d
removed deprecated and template syntax
2022-04-01 16:20:15 -03:00
Garret Wassermann
2b33de6b37
Merge branch 'stable' into api-solution-1
2022-03-31 20:25:59 -04:00
bbe
e2cb881eb8
Create an API endpoint to list/create/update/delete tickets (ignoring custom fields)
2022-03-31 17:32:14 +02:00
bbe
1daa1d88aa
Create an API endpoint to list/create/update/delete tickets (including custom fields !) + Refactoring in forms.py
2022-03-31 17:19:49 +02:00
Daniele Scasciafratte
946ca4b68c
fix(kb): no db
2022-03-18 19:36:49 +01:00
Daniele Scasciafratte
7a3260a163
fix(kb): no db
2022-03-18 19:33:31 +01:00
Daniele Scasciafratte
347a70e497
fix(kb): no db
2022-03-18 19:21:17 +01:00
Nick McCullum
358080926c
Added Django 4 support.
2022-03-16 22:29:09 -04:00
Garret Wassermann
909b7a5533
Merge pull request #999 from afranjin/bugfix/#998-user-settings-model-filed-name-typo
...
bugfix/#998-user-settings-model-filed-name-typo
2022-03-11 17:36:31 -05:00
Antun Franjin
b79d46e5b6
Replace href.
2022-03-11 15:46:20 +01:00
Antun Franjin
3ea2d1dd50
Use ticket absolute url and fix some more path on navigation ticket href.
2022-03-11 13:14:01 +01:00
Antun Franjin
3d793218f2
Fix wrong href.
...
The href path of don't delete button needs to be ../../../
2022-03-11 12:16:14 +01:00
Antun Franjin
fbadf23654
Fix typo in model field name in update_ticket.
...
email_on_ticket_assigned > email_on_ticket_assign
2022-03-11 11:03:16 +01:00
Garret Wassermann
7bcee909ef
give duplicate test a slightly more descriptive unique name
2022-02-22 01:13:24 -05:00
code-review-doctor
3206fd61c9
Fix issue duplicate-test-names found at https://codereview.doctor
2022-02-21 09:48:57 +00:00
Garret Wassermann
b85a84bc37
Update CDN link for bootstrap css
2022-02-09 05:50:03 -05:00
Garret Wassermann
ad37318c2c
Update CDN links for jquery and bootstrap
2022-02-09 05:39:53 -05:00
Garret Wassermann
6ea9009dda
Update jquery to 3.6.0
2022-02-09 05:32:00 -05:00
Garret Wassermann
ad519a2018
Reverse to latest bootstrap 4, which is 4.6.1
2022-02-09 05:29:22 -05:00
Garret Wassermann
4df831d4d6
Update bootstrap css to 5.1.3
2022-02-09 05:21:31 -05:00
Garret Wassermann
e0c0754543
Update to fontawesome 5.15.4
2022-02-09 05:15:14 -05:00
Garret Wassermann
075cdd4cdb
Merge pull request #991 from Benbb96/active-sidebar
...
Show active page in sidebar depending on the request path url
2022-01-27 07:58:48 -05:00
Timothy Hobbs
17a1e064e6
Undo PR #989
2022-01-27 10:27:49 +01:00
Benbb96
a2782c07f4
Show active page in sidebar depending on the request path url
2022-01-27 09:51:00 +01:00
Jon Renaut
7ac8d20cbe
Fix Javascript typo
...
This fix enables uploading new attachments to an existing ticket
2022-01-26 14:26:52 -05:00
Garret Wassermann
3695cfa19d
Remove comma in staff.py to address #988
2022-01-04 11:47:31 -05:00
Garret Wassermann
ae73fec2a0
Spellchecking in validators.py
2021-12-31 22:21:28 -05:00
Thomas Wheeler
345a713777
updated validate_file_extension() to look for defined VALID_EXTENTIONS in settings.py so its configurable
2021-12-31 14:59:37 -08:00
Garret Wassermann
0d79b6266d
Backport patch for #985
2021-11-21 23:25:54 -05:00
Garret Wassermann
44abb19712
Backport #980 , #981 , #984 to 0.3
2021-11-19 00:30:20 -05:00
Garret Wassermann
e016e6699d
fix minutes representation in models.py, see #978
2021-10-20 08:11:08 -04:00
Garret Wassermann
aff67184d4
Add attachment validator when uploading attachment to tickets
2021-10-05 06:25:42 -04:00
Garret Wassermann
a5f801bb52
use csrf tokens in all forms
2021-10-04 23:13:38 -04:00
Garret Wassermann
166d552fba
Turn on secure cookie support if the server os environment expects to use secure connections
2021-09-27 22:12:32 -04:00
Garret Wassermann
e8efa4d263
Merge remote-tracking branch 'upstream/master'
2021-09-27 18:59:31 -04:00
Brendan Wood
6a0b367171
fix: strip extraneous whitespace characters that are returned in the Message-ID and In-Reply-To fields from some email providers
2021-09-23 10:07:12 -03:00
Garret Wassermann
66ed61ee6a
Set default autofield to be compatible for django 3.2
2021-09-17 10:09:20 -04:00
Timothy Hobbs
247fd2e26d
Don't show kbitems on dashboard if there are no unassigned tickets in them
2021-09-14 21:59:25 +02:00
Timothy Hobbs
650665b21e
Fix wording of iframe ticket creation buttons
2021-09-13 23:55:49 +02:00
Timothy Hobbs
92caf5f284
Change ; to & when separating query params
2021-09-13 23:42:03 +02:00
Garret Wassermann
1559333993
Fix some docs and migrations in prep for 0.3 release, see #878
2021-08-20 02:05:21 -04:00
Timothy Hobbs
a9e5cfa52d
Fix hidden field query args
2021-08-19 22:00:18 +02:00
Timothy Hobbs
b708b786d4
Add failing test for hidden field query args
2021-08-19 22:00:06 +02:00
Timothy Hobbs
f4b7e899fa
Change query arg delimiter from ; to &
2021-08-19 22:00:01 +02:00
Garret Wassermann
610460dfd6
Merge pull request #965 from auto-mat/large-desk-performance
...
Fixes: performance and crash
2021-08-19 14:04:26 -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
Timothy Hobbs
63bb949d63
Don't use redis cache at all for ticket querysets as this breaks pagination
2021-07-07 20:40:34 +02:00
Timothy Hobbs
f840136e1e
Don't crash if use email is None
2021-07-07 20:38:20 +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
Garret Wassermann
fe9ff2fdc4
Merge pull request #950 from koriaf/dev-pep8-stuff
...
chore(pep8): Fix bad imports, unused variables, pep8 warnings and some possible bugs
2021-04-19 23:44:03 -04:00
Arkadiy Korotaev
2b4c82fd1b
fix(email): Add ability to attach full first email text to avoid losing forwards, and to save .eml files for any incoming mesages, plus fix tests and some minor bugs
2021-04-19 21:15:24 +02:00
Garret Wassermann
012ba4f42d
Update email.py
...
Correct a typo so that imap code calls starttls() correctly.
2021-03-26 03:48:10 -04:00
Brendan Wood
9f99eb5ee6
fix: prepend file attachments with 'part-%i_' to prevent name collisions when an email has attachments with the same filename
2021-03-08 13:57:07 -04: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
Arkadiy Korotaev
1713a86870
feat(forms): Ability to provide custom public ticket form
2021-03-02 12:06:21 +01:00
Tom Weber
9e3466a069
String Check, replace Nonetype with empty string
2021-02-24 08:20:27 -07:00
Tom Weber
1271f00278
String Check, catch NoneType error
2021-02-24 07:19:37 -07:00
Tom Weber
d06626c0d6
Bug Fix test for string check
2021-02-10 18:09:46 -07:00
Tom Weber
90961897ec
CustomField datetime type formats updated to fixed string formats enabling reformatting and consistency
2021-02-10 17:58:01 -07:00
Tom Weber
ae9109bad6
Bug Fix EditTicketForm unable to edit and add error display
2021-02-09 13:08:27 -07:00
Garret Wassermann
0d0cbacaa7
Merge pull request #941 from Benbb96/fix-938
...
Disabled merged_to field in edit ticket + Fix datepicker
2021-02-04 14:20:43 -05:00
bbe
2a03a5ecf7
Disabled merged_to field in edit ticket + reformat template (fix datepicker) and simplify view
2021-02-04 18:17:06 +01:00
Garret Wassermann
ce8a7dba1b
Merge pull request #932 from epineda/fix_celery_decorator_import
...
Fix import of celery decorator "task" to work with celery 5
2021-02-04 04:04:21 -05:00
Garret Wassermann
928b63b567
Merge pull request #939 from alligatorbait/datetime
...
Template hard coded date filters replaced with Django DATETIME_FORMAT
2021-02-04 04:03:20 -05:00
Garret Wassermann
88a401f7f8
Merge pull request #940 from alligatorbait/tool_tips
...
Tool tips improved, KB Contact Human Button replaced
2021-02-03 21:12:22 -05:00
Tom Weber
af8bbbbc3c
Replace Knowledge Base "Contact a Human" button with "Create New Ticket" and Queue name with plus-circle icon
2021-02-03 18:36:02 -07:00
Tom Weber
aae12a4ab5
New tooltips added for some icons - assign, edit user, filter tickets by user, and add email to ignore list.
2021-02-03 18:15:17 -07:00
alligatorbait
c4c43b274f
Template hard coded date filters replaced with Django DATETIME_FORMAT
2021-02-03 12:59:55 -07:00
Garret Wassermann
cd86edce8b
Merge pull request #937 from alligatorbait/datetime
...
Formerly RFC 5322 "r" format changed to "DATETIME_FORMAT"
2021-02-03 14:33:06 -05:00
Tom Weber
694b303ebc
Formerly RFC 5322 "r" format changed to "DATETIME_FORMAT"
2021-02-03 11:03:45 -07:00
Tom Weber
a3cc363981
base_js.html moved to load before code using the resource.
2021-02-02 16:08:35 -07:00
alligatorbait
e9ba600554
Template hard coded date filters removed, use Django DATE_FORMAT for customization.
2021-02-01 13:05:39 -07:00
Edgard Pineda
76f697cad3
Fix import of celery decorator "task".
2021-01-31 22:27:37 -03:00
Benbb96
f9d000b953
Fix #926
2021-01-16 23:28:30 +01:00
Hugo DELVAL
bc1c5f6f17
email templates: small typos in french
2021-01-14 18:06:33 +01:00
Michael P. Jung
31a8a9dab4
Update German translation
2021-01-12 13:40:49 +01:00
Garret Wassermann
fcafc77b92
Merge pull request #919 from Benbb96/fix-double-translation
...
Fix double translating in Create Ticket Form
2021-01-04 15:55:01 -05:00
bbe
cdfc895bce
Fix the login url by using view names in the demo settings instead of the hardcoded urls.
...
Also remove a duplicate url for 'login'
2021-01-04 20:02:25 +01:00
bbe
1eef8496bb
Remove translation on the template (since it is already done in the form definition)
2021-01-04 19:58:43 +01:00
Garret Wassermann
03c6a5054a
Merge remote-tracking branch 'upstream/master'
2020-12-14 00:39:52 -05:00
Garret Wassermann
662f571d2d
Add accounts/login to urls.py to fix broken url in demo
2020-12-14 00:39:26 -05:00
Garret Wassermann
959fc0f9ba
Merge pull request #911 from koriaf/dev-configurable-file-log
...
ifix(email): Create the log file only if required
2020-12-04 11:08:43 -05:00
Evili del Rio
baa763c784
Add support for standard STARTTLS on port 143 (RFC 2595).
...
Signed-off-by: Evili del Rio <evili.del.rio@gmail.com>
2020-12-04 11:49:20 +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
Arkadiy Korotaev
4955d983a2
fix(tests): Run tests without the socks components and document their usage
2020-11-24 11:21:51 +01:00
Tom Weber
040a0e8d9d
Enable offline content for timeline3 usage
2020-11-14 12:54:10 -07:00
Tom Weber
f1a4b87dbd
Enable offline content for timeline usage
2020-11-14 11:13:26 -07:00
Tom Weber
87ab8284e2
Allow users to edit tickets if HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE enabled
2020-11-12 11:32:12 -07:00
Tom Weber
54796e5c4b
Allow users to edit tickets if HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE enabled
2020-11-12 07:59:23 -07:00
Arkadiy Korotaev
e9a2313d93
fix(migrations): Rename the migration back due to InconsistentMigrationHistory otherwise
2020-11-10 18:24:16 +01:00
Arkadiy Korotaev
6dd3b07dad
fix(migrations): Fix the 0034 migration for Postgres
2020-11-10 17:41:10 +01:00
bbe
bbdd1844f7
Fix translations
2020-11-05 17:17:11 +01:00
bbe
315cd34864
Create helpdesk-customize to remove 404 error in console.
2020-11-05 16:47:56 +01:00
bbe
ba5847b5bd
Disable Date Range option in Filter Box if the to_date already provided
2020-11-05 16:47:32 +01:00
bbe
f68826496b
Fix the filterBuilderRemove and update var keyword to let or const
2020-11-05 16:46:09 +01:00
bbe
77ab80672f
Reformat ticket_list.html
2020-11-05 16:39:30 +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
4c0b9b073b
revert blocktrans indenting
2020-10-31 18:41:31 +01:00
bbe
1788f2fb84
Update ticketCC views and also reformat HTML files along with some improvements in form errors.
2020-10-31 18:33:41 +01: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
391cc000b8
Better display for table heading
2020-10-31 00:59:28 +01:00
bbe
ad55d54f2d
Update french translations
2020-10-31 00:15:51 +01:00
bbe
1b8a11f74b
Create test for the merge view
2020-10-30 23:17:40 +01:00
bbe
b3bd23dbff
Add assigned_to attribute to be merged
2020-10-30 23:12:09 +01:00
bbe
41b5715b7d
Add comments and refactor variables names
2020-10-30 22:19:21 +01:00
bbe
00a18d8f54
Restrict possible tickets to merge to the ones that haven't been already merged.
...
Also check that all selected tickets are within the same queue.
2020-10-30 20:19:50 +01:00
bbe
da5028d51a
Redirect e-mail for a merged ticket to the ticket it has been merged to
2020-10-30 19:59:16 +01:00
bbe
ffc51f5e8e
Show line breaks in custom field values (when multi lines)
2020-10-30 19:58:01 +01:00
bbe
e8f6756750
Add newline in text part before the footer when sending mail
2020-10-30 19:57:23 +01:00
bbe
5fce1964de
Add email template "merged" thanks to a migration and add merged_to field into the safe ticket context.
2020-10-30 19:56:38 +01:00
bbe
41c1e765c2
add default empty when a ticket custom field value is null
2020-10-29 23:33:22 +01:00
bbe
49735dbcda
Reformat ticket page and show in which ticket it has been merged to
2020-10-29 23:32:51 +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
bbe
64a3b146d3
Merge branch 'master' of https://github.com/django-helpdesk/django-helpdesk into master
2020-10-23 16:40:13 +02:00
bbe
58a5387779
Show Due date on public view ticket if it is set.
...
Also change default to empty string when a custom field value is None.
2020-10-23 16:24:35 +02:00
bbe
4ee74e6667
Better public create ticket form with the initialization of the datepicker for due date as a media.
...
Reformat code to improve readability.
Add an include to get an alert when there are errors in a form.
2020-10-23 16:23:47 +02:00
bbe
dc503b0437
Fix #739
2020-10-23 14:51:53 +02:00
Garret Wassermann
ab5e07e295
Merge pull request #892 from Benbb96/master
...
Display custom fields with bootstrap `form-control` css class
2020-10-20 12:11:10 -04:00
bbe
ea558d71f3
Display custom fields with bootstrap form-control
css class
2020-10-20 11:51:55 +02:00
Garret Wassermann
c0f1370974
Remove merge text accidentally left in, for #889
2020-10-15 14:35:33 -04:00
Garret Wassermann
46b7f78968
Update web dependencies: jquery, fontawesome, bootstrap
2020-10-14 23:41:43 -04:00
alligatorbait
eca0f16806
bug fix data may be referenced when not set
2020-10-14 16:58:37 -06:00
alligatorbait
628b734451
bug fix ak.baseurl set before ak initialized
2020-10-14 16:46:41 -06:00
Tom Weber
b33ee08d5d
customizable navigation header template available for override
2020-10-13 20:12:09 -06:00
Tom Weber
14b53bb498
Updated references to functions being tested and corrected test named test_get_email_quiet_option
2020-10-13 18:30:01 -06:00
Thomas Weber
58a23fed13
Check user is authenticated and usersettings_helpdesk model is created before attempting to read a tickets_per_page, otherwise use default value
2020-10-13 13:01:18 -06:00
Thomas Weber
d3cb9fdf23
Corrected date_created field to current created field as it exists in models.py
2020-10-13 11:20:58 -06:00
Thomas Weber
39d810778a
filter import updated to Django recommended syntax, changed to decorator, and only filter user field if authenticated
2020-10-13 11:20:09 -06:00
Garret Wassermann
df4024dbb3
Merge branch 'master' into master
2020-10-13 03:38:36 -04:00
Garret Wassermann
c9e0a51d78
Merge pull request #881 from Benbb96/fix-errors-on-master
...
Fix errors on 0.3.x branch especially relating to django 3.x
2020-10-13 03:35:42 -04:00
alligatorbait
937a048a9b
Updated load static in templates to current syntax
2020-10-12 16:30:25 -06:00
alligatorbait
f9f975932b
available_attrs was removed from Django as it was only used as a Python 2 bug workaround
2020-10-12 16:11:07 -06:00
alligatorbait
e50225a67c
remove missing import and usage of apply_query
2020-10-12 15:57:00 -06:00
Garret Wassermann
6b335590e6
Merge bugfixes from 0.2.23-devel
2020-10-12 03:19:46 -04:00
Garret Wassermann
5d70fc167d
Merge pull request #882 from TurnrDev/hotfix/migrations
...
Missing Migrations for 0.2.22 for boolean fields
2020-10-11 13:22:35 -04:00
Jay Turner
306446b389
Fixes a missing migrations messages in 0.2.22 which is caused by the careless changing of strings in models
2020-10-10 13:28:27 +01:00
Benbb96
37713db32a
Show username of ticket's owner in ticket_list if user has no full name nor email
2020-10-08 22:47:52 +02: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
Benbb96
d7f4ca4137
Fix the call the user setting for tickets per page
2020-10-08 22:34:40 +02:00
Benbb96
d80c70735a
Remove unused imports and fix errors like variables which were removed or renamed or call to function apply_query which doesn't exist anymore.
2020-10-08 22:07:49 +02:00
Garret Wassermann
720860fe54
Merge pull request #869 from alligatorbait/0.2.x
...
Verify ticket.assigned_to is set before attempting to access id property
2020-10-08 01:26:10 -04:00
Benbb96
ecc7dcdc17
Fix tests
2020-10-08 00:48:03 +02:00
bbe
bcec57dafe
Display total row in report output.
2020-10-05 11:15:22 +02:00
Thomas Weber
b772c6097b
Verify ticket.assigned_to is set before attempting to access id property
2020-08-25 16:11:50 -06:00
Garret Wassermann
0774692742
Merge pull request #862 from typonaut/patch-4
...
Update kb_category.html, Standardises output between KB listing and KB items rating display (so that both are "n/10", where the listing was previously a float), and captures case where there may be no votes cast.
2020-08-19 13:11:32 -04:00
typonaut
ff171e3c38
Update kb_item.html
...
Standardises output between KB listing and KB item, captures problem where there may be no votes cast.
2020-08-19 18:07:46 +01:00
typonaut
67bd484a35
Update kb_category.html
...
Standardises output between KB listing and KB items rating display (so that both are "n/10", where the listing was previously a float), and captures case where there may be no votes cast.
2020-08-19 18:02:20 +01:00
chris hellberg
c66d523f66
Added endblock statement to ticket_list.html
2020-08-18 11:55:45 -04:00
chris hellberg
e6847e916e
added cancel changes button to edit ticket page
2020-08-16 14:49:30 -04:00
Garret Wassermann
41b9f38ab6
Merge pull request #854 from typonaut/patch-2
...
Update kb_category.html - space after colon in H2 heading.
2020-08-15 13:28:06 -04:00
typonaut
604306d738
Update kb_item.html
...
Fixed a minor typo: space after colon in H2 heading
2020-08-15 16:30:58 +01:00
typonaut
eef16be1a4
Update kb_category.html
...
Fixed a minor typo: space after colon in H2 heading.
2020-08-15 16:28:29 +01:00
Timothy Hobbs
ba321462c3
Attempted fix for #849
...
Probably fixes #849
2020-08-07 13:03:16 +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
2a3fc0894d
Rename and document the maximum email attachment size setting, to address #846
2020-07-30 02:54:03 -04:00
Garret Wassermann
981eb323c2
Try a real fix for #832 , parse comma in email sender
2020-07-30 02:43:27 -04:00
Derek Chen
0c85a0d2a8
fix Chinese spell and add some messages
2020-07-30 12:00:09 +08:00
Garret Wassermann
6a73fd7cef
Better handling of sender email
2020-07-27 21:47:32 -04:00
Garret Wassermann
03ab0eb438
Pycodestyle fixes
2020-07-27 20:49:31 -04:00
Garret Wassermann
7eae003e5d
Use python getadddresses() function to better handle UTF-8, to address #832
2020-07-27 20:43:05 -04:00
Garret Wassermann
0a712381e0
Set default attachment permissions to 0700, to address #591
2020-07-27 19:50:25 -04:00
Arkadiy Korotaev
cf98b4a8e9
fix(public): Fix the public ticket creation by passing user or None to the form.save() method
2020-07-20 16:43:55 +02:00
Garret Wassermann
fcde14b82c
Fix pycodestyle warnings
2020-07-20 08:10:10 -04:00
Garret Wassermann
46a5982184
ensure log handler is freed, #844
2020-07-20 08:05:35 -04:00
Garret Wassermann
c5226e983e
Merge pull request #844 from koriaf/dev-log-handler
...
fix<process_email>: free the log file handler after it's not used anymore
2020-07-20 07:58:05 -04:00
Garret Wassermann
ee4b32254f
Merge pull request #837 from Benbb96/patch-1
...
Fix javascript buttons for bulk select all/none/inverse in ticket_list by using prop() instead of attr()
2020-07-07 11:53:13 -04:00
Benbb96
95feded289
Update ticket_list.html
...
Fix Keyword filter box which didn't show up even if it is in saved query.
2020-07-07 11:04:31 +02:00
bbe
d961b2b692
Fix KnowledgeBase item score
2020-06-29 14:47:37 +02:00
Benbb96
1765eb7004
Update ticket_list.html
...
Fix javascript buttons for bulk select all/none/inverse
2020-06-19 10:05:29 +02:00
bbe
ff77aa0fe3
A ticket cannot depends on itself or on a ticket already depending on it
2020-06-12 15:34:39 +02:00
bbe
bec486817c
Add "Shared" to translation
2020-06-10 11:35:45 +02:00
bbe
4cdea81ae7
Fix a bug with the field label in the ticket form creation. It was translated twice.
2020-06-09 17:31:31 +02:00
bbe
5775de5c4e
Add "here" word in translations
2020-06-09 16:29:18 +02:00
bbe
220566caf3
Compile French Translations
2020-06-09 16:21:38 +02:00
bbe
25a2e5130b
Update French Translations
2020-06-09 16:18:09 +02:00
bbe
812f711da7
Fix HTML format error in french templates.
...
Change the date format.
Replace Unknown by Inconnu.
Remove extra whitespace.
Correct some french translations.
Correct an error in the "closed_cc" template for every languages.
2020-06-05 11:26:41 +02:00
Tom Bernens
7dcbe69090
missing a couple "
2020-06-01 17:52:20 -07:00
Tom Bernens
041f707dba
forgot end with
2020-06-01 17:50:42 -07:00
Tom Bernens
5f910a72e0
forgot an add
2020-06-01 17:49:50 -07:00
Tom Bernens
1ea2a9cba9
no message
2020-06-01 17:49:10 -07:00
Tom Bernens
9461705591
I was over thinking that
2020-06-01 17:47:54 -07:00
Tom Bernens
a85223e7a5
only create the control if the page number is in the paginator range
2020-06-01 17:20:11 -07:00
Tom Bernens
c854ff764a
add -5?
2020-06-01 17:11:33 -07:00
Tom Bernens
b1914bad14
template language arithmatic
2020-06-01 17:08:30 -07:00
Tom Bernens
df6a8a3778
add first and last page controls
2020-06-01 17:06:44 -07:00
Tom Bernens
d9cb76d491
django template syntax (as instead of =)
2020-06-01 16:50:20 -07:00
Tom Bernens
050a65e6df
reduce this to only ever show 11 pages (5 before and 5 after the current + the current))
2020-06-01 16:49:13 -07:00
Tom Bernens
e1b9906fd0
forgot some '%' cause im a big 'ol dummy
2020-06-01 16:22:16 -07:00
Tom Bernens
e10ffce24a
more safely get the user setting for tickets per page
2020-06-01 16:20:33 -07:00
Tom Bernens
03760a921e
initial commit
...
staff.py changes:
import django core paginator libs
get user setting for tickets per page
get http GET variables for page selection on three tables
use django paginator to get current page tickets only, and pass those to dashboard.html instead of all tickets
dashboard.html changes:
assign the correct HTTP GET argument to each table
tickets.html changes:
add pagination controls below table div, and pass HTTP GET args back to the URL when clicked
2020-06-01 16:14:55 -07:00
Garret Wassermann
3ab599d141
Merge pull request #816 from kajala/feature/l10n-fi
...
Finnish (fi) translation
2020-04-22 07:08:44 -04:00
Jani Kajala
96f631f1c5
"Overview" not using trans in templates dashboard.html, kb_index.html, ticket_list.html
2020-04-21 16:25:26 -05:00
Jani Kajala
dcf5b8acf9
Finnish (fi) email templates to emailtemplate.json
2020-04-21 16:04:13 -05:00
Jani Kajala
272768d2c8
Finnish (fi) .po localization
2020-04-21 16:03:49 -05:00
Garret Wassermann
8a521d563b
Fix pycodestyle error
2020-04-15 07:42:52 -04:00
Garret Wassermann
5ad0743722
Merge in 0.2.21 bugfix
2020-04-15 07:38:52 -04:00
Garret Wassermann
19895921a5
Merge pull request #805 from nitr0man/0.2.x
...
Fill followup user field if authenticated user submits ticket
2020-04-15 06:46:55 -04:00
Mike Hoolehan
266775dbf6
Update get_email.py
2020-03-18 09:11:48 +02:00
Garret Wassermann
0e9358e61b
Merge pull request #803 from auto-mat/teams
...
Add Teams functionality, using pinax-teams
2020-03-04 01:02:40 -05:00
Andrew Denisenko
2f4d91c22d
Fill followup user field if authenticated user submits ticket
2020-03-03 23:39:02 +02:00
Petr Dlouhý
81f835b77b
fix KBItem choose form
2020-02-27 11:54:04 +01:00
Petr Dlouhý
29e73158b4
make question stronger
2020-02-26 10:49:28 +01:00
Petr Dlouhý
782dd86680
add doctype to iframes
2020-02-26 10:49:28 +01:00
Petr Dlouhý
64db14148f
add KBCategory.public in admin list_display
2020-02-26 10:49:28 +01:00
Petr Dlouhý
e448491bf1
more blocks to the KB_category_base template, HTML validity fixes
2020-02-26 10:23:11 +01: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
Petr Dlouhý
07d6ee7f87
fix typo
2020-02-25 14:36:18 +01:00
Petr Dlouhý
cdddc79998
make Knowledge Base templates more flexibly overidable
2020-02-25 14:36:11 +01:00
Arkadiy Korotaev
1643a45457
fix<process_email>: free the log file handler after it's not used anymore
2020-02-12 20:53:00 +01:00
Timothy Hobbs
28531144db
Use default str for displaying kbitems in filter view
2020-02-11 17:11:41 +01:00
Timothy Hobbs
3d7860b5a3
pycodestyle fixes
2020-02-11 16:47:33 +01:00
Timothy Hobbs
bb9d886eea
Fix query by uncatigorized
2020-02-11 16:44:18 +01:00
Timothy Hobbs
74450e900a
Add team to kbitem admin table
2020-02-11 15:35:40 +01:00
Timothy Hobbs
2a3272914c
Show kbitem categories in kbitem string representation
2020-02-11 15:20:16 +01:00
Arkadiy Korotaev
354debb618
fix<public>: Public ticket creation form improvements
...
Update forms.py and views/public.py to physically delete form fields
instead of just hiding them if default values for queue, date and priority are provided.
+ some bugfixes
+ code and stale imports removal
+ fix pep8 errors
2020-02-06 10:10:07 +01:00
Timothy Hobbs
f8c652d506
Better filtering + optional columns in ticket list view
2020-02-03 14:17:19 +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
eea76a5eb7
Do not include resolved tickets in default ticket query
2020-01-27 17:56:49 +01:00
Timothy Hobbs
ecbb91b861
Private kb categories
2020-01-27 17:37:59 +01:00
Timothy Hobbs
0395f26d6c
Don't show vote counts if there are no votes
2020-01-27 17:02:20 +01:00
Timothy Hobbs
9963a3fe5d
Fix utf decoding bug in email parsing code
...
For some reason mozilla thunderbird sometimes marks email parts as 8bit
even though they are utf-8. I guess the best way to work around this is
to add a try-catch block because this really cannot be predicted.
2020-01-23 16:00:01 +01:00
Timothy Hobbs
2f8b4acf64
Fix pycodestyle errors
2020-01-20 14:17:23 +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
df94b56b07
Fix success view
2020-01-20 13:23:32 +01:00
Timothy Hobbs
cd019d1128
Improvements to iframe workflow
2020-01-20 13:23:32 +01:00
Timothy Hobbs
07a42e07f8
Made iframe ticket submit view CSRF exempt. Hopefully this is secure!
2020-01-20 13:23:31 +01:00
Timothy Hobbs
4c1fda5991
Fix iframe views so they actually can be displayed
2020-01-20 13:23:31 +01:00
Timothy Hobbs
5da7069dbd
Add submitter email to ticket list
2020-01-20 13:23:31 +01:00
Timothy Hobbs
ebd876d0e2
Remove deprecated ticket_list_table.html file
2020-01-20 13:23:31 +01:00
Timothy Hobbs
aea091b30c
Remove duplicate entries from django ticket query
2020-01-20 13:23:31 +01:00
Timothy Hobbs
a1b9d18557
Update Czech translation
2020-01-20 13:23:31 +01:00
Timothy Hobbs
0b50b14449
Add kb tests
2020-01-20 13:23:31 +01:00
Timothy Hobbs
b20f600db2
KB UX improvements
2020-01-20 13:23:31 +01:00
Timothy Hobbs
c254336c57
Fix to voting code, downvoted_by field should be readonly
2020-01-20 13:23:31 +01:00
Timothy Hobbs
05bd852799
Fix pycodestyle errors
2020-01-20 13:23:31 +01:00
Timothy Hobbs
6a8ebd56a0
Add iframe view of KB categories
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
Timothy Hobbs
606098d947
Fix field hiding and setting code for ticket submition qargs
2020-01-20 13:22:45 +01:00
Timothy Hobbs
133075f045
Fix #698
2020-01-20 13:22:45 +01:00
Timothy Hobbs
38cedca541
Can now hide custom fields using query param in public ticket form
2020-01-20 13:22:45 +01:00
Timothy Hobbs
fbae218281
Add ability to autoset custom fields in public ticket form
2020-01-20 13:22:45 +01:00
Timothy Hobbs
810184298f
Include custom fields in public ticket form
2020-01-20 13:22:44 +01:00
Timothy Hobbs
aadfe08504
Add iframe supporting view for submitting tickets
2020-01-20 13:07:46 +01:00
Timothy Hobbs
24b8e45f66
Add ability to hide fields in public ticket submission form using kwargs
2020-01-20 13:07:45 +01:00
Timothy Hobbs
3b5a7fe49a
Django <2 is no longer supported
2020-01-20 13:03:44 +01:00
Timothy Hobbs
d32d23e4e2
Add OR syntax to search
2020-01-20 13:03:44 +01:00
Timothy Hobbs
2fbd4818c1
filtering should not be mandatory
2020-01-20 13:03:44 +01:00
Timothy Hobbs
ef9c4c589a
Fix linting errors
2020-01-20 13:03:44 +01:00
Timothy Hobbs
b96d725239
Refactor query code into customizable class
2020-01-20 13:03:44 +01:00
Timothy Hobbs
6eee6d196c
Add timeline view for ticket queries
2020-01-20 13:03:44 +01:00
Timothy Hobbs
c4a1b9ed66
Move Query Results above Query Selection
2020-01-20 13:03:44 +01:00
Timothy Hobbs
627f2ba21b
Add search button next to user emails
2020-01-20 13:03:44 +01:00
Timothy Hobbs
8985fc759d
Remove hardcoded pk from test suit
2020-01-20 13:03:42 +01:00
Garret Wassermann
ebf765e10e
Merge pull request #794 from koriaf/master
...
fix<tickets>: Force HELPDESK_PUBLIC_TICKET_QUEUE for anon tickets
2020-01-11 16:47:16 -05:00
Arkadiy Korotaev
896307582a
fix<tickets>: Force HELPDESK_PUBLIC_TICKET_QUEUE for anon tickets
...
Before: we set initial value for the widget and had it hidden. So user could still change the queue with some HTML knowledge.
Now: we drop the field at all and assign queue directly, utterly ignoring the POST request content for "queue" field.
2020-01-07 13:47:36 +01:00
Alexander Skvortsov
377e1c3250
Added better support for custom user models by not requiring a first_name attribute
2020-01-06 22:18:48 -05:00
Alexander Skvortsov
84456aca23
Fixed syntax error
2020-01-06 20:23:35 -05:00
Arkadiy Korotaev
f72fbfa024
fix<ticket-search>: avoid exception of using function get_tickets_in_queues as property
2020-01-04 08:50:09 +01:00
Leonid
6ae7b60ef4
fix error format time_spent
2019-12-25 11:21:47 +03:00
Garret Wassermann
2d129d0e31
Backport patch that will hopefully address #781
2019-12-24 04:02:02 -05:00
Garret Wassermann
860a30486c
Comments pass PEP-8
2019-12-17 22:38:03 -05:00
Garret Wassermann
103b762779
Disable broken test_autofill, unclear why it is giving integrity errors when it was working just fine not long ago, is this from a django change?
2019-12-17 22:35:32 -05:00
Arkadiy Korotaev
015b226766
fix<migrations>: correct import of b64decode in migration 0020
2019-12-17 19:25:45 +01:00
Garret Wassermann
b6e9a2cb80
Update to jQuery 3.4.1
2019-12-17 09:28:38 -05:00
Garret Wassermann
b356b867bf
Update to DataTables 1.10.20
2019-12-17 09:24:52 -05:00
Garret Wassermann
3719cde63b
Update to Font Awesome 5.12.0
2019-12-17 09:22:04 -05:00
Garret Wassermann
cec4536e61
Update to Bootstrap CSS 4.4.1
2019-12-17 09:19:05 -05:00
Garret Wassermann
7dbf1c3b68
Possibly fix test_autofill test case integrity fail
2019-12-17 09:11:37 -05:00
Garret Wassermann
1784d5cf60
Follow recommendation to use == instead of keyword is
2019-12-17 08:41:30 -05:00
Igor Mikeshin
407c00addd
Fix ticket search, when there are multiple custom fields
2019-11-22 15:14:56 +08:00
Timothy Hobbs
61dd12abd9
Fix tests
2019-10-16 17:36:55 +02:00
Garret Wassermann
0573bc37f8
PEP-8 codestyle improvements to pass tests
2019-10-12 19:05:00 -04:00
Garret Wassermann
182d553356
Fix some renaming issues from most recent merge
2019-10-12 18:58:50 -04:00
Timothy Hobbs
8a57f72349
Further refactor datatables code
2019-10-11 17:12:39 +02:00
Timothy Hobbs
4ca6adbe39
Move query helper functions out of lib to special query file
2019-10-11 16:31:52 +02: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
Timothy Hobbs
03d1c66dd6
Refactor ticket list code
2019-10-11 13:10:35 +02:00
Timothy Hobbs
b862732512
Remove "classic" code path and always use datatables for ticket lists
2019-10-08 17:54:59 +02:00
Timothy Hobbs
f127b2c224
Refactor ticket list
2019-10-08 17:54:58 +02:00
Timothy Hobbs
b43e60875a
Don't use file paths because they don't work on S3
...
Fixes #721 on develop but not on master
2019-09-23 16:52:17 +02:00
Garret Wassermann
7f27eb9428
Merge 0.2.17 release into develop
2019-08-27 21:53:25 -04:00
Garret Wassermann
4adec7c5b0
Merge pull request #769 from willstott101/patch-2
...
Search custom field values.
2019-08-27 21:14:07 -04:00
Janne Alatalo
e9fc53d461
Fix linter error
2019-08-27 14:36:58 +03:00
Janne Alatalo
042e766be1
Add a test that checks that LOGIN_URL can be a view name
...
This test requires that the admin urls are added to the test
configuration.
2019-08-27 13:04:00 +03:00
Janne Alatalo
0a43b9a160
Add support for custom login handler
...
The custom login handler can be configured by setting the
settings.LOGIN_URL variable. If LOGIN_URL is None or 'helpdesk:login',
the app uses the default helpdesk login system. LOGIN_URL can be a view
name or raw url.
2019-08-27 13:02:07 +03:00
Garret Wassermann
66ab507c15
Snyc with master to get patches for ru templates and custom User models
2019-08-05 19:40:38 -04:00
Alexander Skvortsov
62fbee205c
Adjusted get_email management command to support custom User model
2019-08-05 18:41:31 -04:00
Will Stott
45854e44a7
Search custom field values.
2019-07-31 14:04:31 +01:00
Garret Wassermann
e1e05999eb
#767 , fix a misspelled urL in emailtemplate.json
2019-07-25 12:43:29 -04: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
e7465ab2fd
more redminenish ticket filters
2019-07-06 22:36:59 +02:00
Jachym Cepicky
61d8df932c
more redminenish ticket view
2019-07-06 22:36:58 +02:00
Jachym Cepicky
74bcb4fc4f
updating font awesome
2019-07-06 22:36:58 +02: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
Garret Wassermann
0de263280f
Merged 0.2.16 bugfixes
2019-05-25 01:25:39 -04:00
Garret Wassermann
ae26216435
PEP-8 fixes for get_email
2019-05-25 01:04:05 -04:00
Garret Wassermann
ce018d2ce5
Copy emails to CC list when processing with get_email, for #744
2019-05-25 01:01:02 -04:00
Garret Wassermann
e20f441992
PEP-8 fixes
2019-05-24 13:27:48 -04:00