Commit Graph

1260 Commits

Author SHA1 Message Date
d9cb76d491 django template syntax (as instead of =) 2020-06-01 16:50:20 -07:00
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
e1b9906fd0 forgot some '%' cause im a big 'ol dummy 2020-06-01 16:22:16 -07:00
e10ffce24a more safely get the user setting for tickets per page 2020-06-01 16:20:33 -07:00
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
3ab599d141 Merge pull request #816 from kajala/feature/l10n-fi
Finnish (fi) translation
2020-04-22 07:08:44 -04:00
96f631f1c5 "Overview" not using trans in templates dashboard.html, kb_index.html, ticket_list.html 2020-04-21 16:25:26 -05:00
dcf5b8acf9 Finnish (fi) email templates to emailtemplate.json 2020-04-21 16:04:13 -05:00
272768d2c8 Finnish (fi) .po localization 2020-04-21 16:03:49 -05:00
8a521d563b Fix pycodestyle error 2020-04-15 07:42:52 -04:00
5ad0743722 Merge in 0.2.21 bugfix 2020-04-15 07:38:52 -04:00
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
266775dbf6 Update get_email.py 2020-03-18 09:11:48 +02:00
0e9358e61b Merge pull request #803 from auto-mat/teams
Add Teams functionality, using pinax-teams
2020-03-04 01:02:40 -05:00
2f4d91c22d Fill followup user field if authenticated user submits ticket 2020-03-03 23:39:02 +02:00
81f835b77b fix KBItem choose form 2020-02-27 11:54:04 +01:00
29e73158b4 make question stronger 2020-02-26 10:49:28 +01:00
782dd86680 add doctype to iframes 2020-02-26 10:49:28 +01:00
64db14148f add KBCategory.public in admin list_display 2020-02-26 10:49:28 +01:00
e448491bf1 more blocks to the KB_category_base template, HTML validity fixes 2020-02-26 10:23:11 +01:00
93e82f5469 allow KBItems to be disabled for users 2020-02-25 14:46:21 +01:00
d0aafd6135 add KBitem.order to allow ordering items 2020-02-25 14:43:10 +01:00
5a594b7436 add KBCategory.name, improve KBCategory admin 2020-02-25 14:36:18 +01:00
07d6ee7f87 fix typo 2020-02-25 14:36:18 +01:00
cdddc79998 make Knowledge Base templates more flexibly overidable 2020-02-25 14:36:11 +01:00
1643a45457 fix<process_email>: free the log file handler after it's not used anymore 2020-02-12 20:53:00 +01:00
28531144db Use default str for displaying kbitems in filter view 2020-02-11 17:11:41 +01:00
3d7860b5a3 pycodestyle fixes 2020-02-11 16:47:33 +01:00
bb9d886eea Fix query by uncatigorized 2020-02-11 16:44:18 +01:00
74450e900a Add team to kbitem admin table 2020-02-11 15:35:40 +01:00
2a3272914c Show kbitem categories in kbitem string representation 2020-02-11 15:20:16 +01:00
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
f8c652d506 Better filtering + optional columns in ticket list view 2020-02-03 14:17:19 +01:00
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
eea76a5eb7 Do not include resolved tickets in default ticket query 2020-01-27 17:56:49 +01:00
ecbb91b861 Private kb categories 2020-01-27 17:37:59 +01:00
0395f26d6c Don't show vote counts if there are no votes 2020-01-27 17:02:20 +01:00
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
2f8b4acf64 Fix pycodestyle errors 2020-01-20 14:17:23 +01:00
90621f575d Fix ironic ticket creation loop when submitter email == queue email 2020-01-20 13:23:32 +01:00
df94b56b07 Fix success view 2020-01-20 13:23:32 +01:00
cd019d1128 Improvements to iframe workflow 2020-01-20 13:23:32 +01:00
07a42e07f8 Made iframe ticket submit view CSRF exempt. Hopefully this is secure! 2020-01-20 13:23:31 +01:00
4c1fda5991 Fix iframe views so they actually can be displayed 2020-01-20 13:23:31 +01:00
5da7069dbd Add submitter email to ticket list 2020-01-20 13:23:31 +01:00
ebd876d0e2 Remove deprecated ticket_list_table.html file 2020-01-20 13:23:31 +01:00
aea091b30c Remove duplicate entries from django ticket query 2020-01-20 13:23:31 +01:00
a1b9d18557 Update Czech translation 2020-01-20 13:23:31 +01:00
0b50b14449 Add kb tests 2020-01-20 13:23:31 +01:00
b20f600db2 KB UX improvements 2020-01-20 13:23:31 +01:00