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
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
Garret Wassermann
d9ca94145f
Merge pull request #759 from OpenGeoLabs/758_public_ticket_editing
...
fixes #758 : enables adding comments to public tickets
2019-05-24 11:52:47 -04:00
Garret Wassermann
04f6b3efdd
Merge pull request #761 from OpenGeoLabs/760_attachments
...
fix for ticket #760 displaying followup attachments again
2019-05-24 11:49:17 -04:00