Commit Graph

301 Commits

Author SHA1 Message Date
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
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
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
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
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ý
93e82f5469 allow KBItems to be disabled for users 2020-02-25 14:46:21 +01: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
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
2f8b4acf64 Fix pycodestyle errors 2020-01-20 14:17:23 +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
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
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
fbae218281 Add ability to autoset custom fields in public ticket form 2020-01-20 13:22:45 +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
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