Martin Whitehouse
aa876f8016
pycodestyle formatting
2022-07-12 12:34:19 +02:00
Garret Wassermann
b8511dd70b
Fix conflicts for Django 4 support
2022-04-23 02:23:51 -04:00
Daniele Scasciafratte
5792587e3e
feat(ticket): disable timeline
2022-04-15 18:48:21 +02: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
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
3695cfa19d
Remove comma in staff.py to address #988
2022-01-04 11:47:31 -05: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
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
c90811418a
chore(pep8): Fix bad imports, unused variables, pep8 warnings and some possible bugs
2021-03-05 09:37:21 +01: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
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
c9fa0c81c7
Merge pull request #895 from Benbb96/merging-tickets-feature
...
New feature: Merging tickets
2020-11-01 13:54:03 -05: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
ad55d54f2d
Update french translations
2020-10-31 00:15:51 +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
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
dc503b0437
Fix #739
2020-10-23 14:51:53 +02: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
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
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
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
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
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
25a2e5130b
Update French Translations
2020-06-09 16:18:09 +02: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
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
Timothy Hobbs
28531144db
Use default str for displaying kbitems in filter view
2020-02-11 17:11:41 +01:00
Timothy Hobbs
bb9d886eea
Fix query by uncatigorized
2020-02-11 16:44:18 +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
6579ac0e6f
Associate tickets with KB items
2020-01-20 13:23:31 +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
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
Garret Wassermann
1784d5cf60
Follow recommendation to use == instead of keyword is
2019-12-17 08:41:30 -05: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
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
Jachym Cepicky
37c6905d46
cleaning time_spent formating
2019-07-06 22:36:58 +02:00
Garret Wassermann
0de263280f
Merged 0.2.16 bugfixes
2019-05-25 01:25:39 -04:00
Garret Wassermann
b61c0c71fd
Merge pull request #757 from OpenGeoLabs/145_due_date
...
fix issue with setting due date format, for the issue #145
2019-05-24 13:23:52 -04:00
Jachym Cepicky
2e58798fe1
fixes #758 : enables adding comments to public tickets
2019-05-23 09:55:08 +02:00
Jachym Cepicky
611e6de928
fix for the issue #145
2019-05-22 11:20:01 +02:00
Jachym Cepicky
ef63a1186b
fix markdown bug
2019-03-29 15:17:10 +01:00
Timothy Hobbs
89be7a0fde
Don't show resolved tickets in unassigned tickets list
...
Fixes #741
2019-03-27 17:16:33 +01:00
Cedric Carrard
9c85b8e8c1
fix redirect loop
2019-03-20 16:12:19 +01:00
Jachym Cepicky
9127275557
adding support for images as knowledgebase attachment
2019-03-09 18:14:11 +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
Jachym Cepicky
8cc0ca47f8
display list of queues only for users with right permissions
2019-02-05 15:44:06 +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
ea8c75b884
Fix saving and loading custom queries, update for Py3/Django2.x
2018-12-21 19:14:54 -05:00
Garret Wassermann
2cd438f7b2
Demo should disable server-side processing for local demo usage
2018-12-21 16:35:26 -05:00
Garret Wassermann
bb4178b477
Merge develop branch into bootstrap4
2018-11-03 22:40:03 -04: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
Garret Wassermann
150f18e9b5
Merge branch 'develop' into bootstrap4
2018-10-15 14:14:38 -04:00
Dilip Dwarak
fc028334d9
Added optional serverside processing on datatables that lists all tickets - True by default
2018-10-14 20:23:28 -04: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
b610a5f492
Update breadcrumbs on ticket pages
2018-09-02 05:27:39 -04: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
f9dda0a8fa
Merge branch 'master' into develop to get date format patch
2018-07-13 01:11:02 -04:00
Garret Wassermann
fbddbd6f6e
Fix date format validation error reported with 0.2.8 release
2018-07-13 01:10:25 -04:00
Garret Wassermann
dff14d40d3
Merge 0.2.8 bugfixes
2018-07-03 00:59:33 -04:00
Garret Wassermann
9cb32f83ca
Minor PEP8 changes
2018-07-03 00:32:23 -04:00
Garret Wassermann
4d78bc85ca
Update due date correct when adding followup to ticket, for #616
2018-07-03 00:20:51 -04:00
Garret Wassermann
b40e9dd5ea
Fix bug while importing django version for #613
2018-06-27 02:37:35 -04:00
Garret Wassermann
15985e286f
Fix saved queries when running in Django 2.0+, for #613
2018-06-27 02:27:24 -04:00
Andrii Iudin
764c55e60e
Removed unused dash_tickets variable and its calculation, modified the
...
case where it is used to rely on model query APIs rather than on raw
queries that use the default database and are not forwarded by routers.
2018-03-26 13:46:07 +01:00
Garret Wassermann
54a6b1d21b
Merge 0.2.7 bugfixes
2018-03-04 04:01:48 -05:00
Garret Wassermann
113880bc3a
Compare user IDs to determine if same user, and add simple test case, to fix #588
2018-02-16 05:00:22 -05:00