Commit Graph

1661 Commits

Author SHA1 Message Date
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
Timothy Hobbs
4acbb32ef5
Merge pull request #1 from auto-mat/kb_forms
Vylepšení znalostní báze pro DPNK 2020
2020-02-27 11:19:11 +00: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
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
Garret Wassermann
4236c649c0
Merge pull request #801 from koriaf/master
fix<public>: Public ticket creation form improvements
2020-02-06 15:50:33 -05: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
c20dafe952 Use temporarilly fixed version of pinax-teams 2020-01-31 18:40:01 +01:00
Timothy Hobbs
cd0af7e0f5 Document new teams code 2020-01-27 20:01:57 +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
Garret Wassermann
e20b6d39ae
Merge pull request #798 from auto-mat/email-fix
Fix utf decoding bug in email parsing code
2020-01-23 10:15:37 -05: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
Garret Wassermann
af2d0d59b7
Update requirements.txt for django
To address CVE-2019-19844, require at least Django 2.2.9
2020-01-20 15:37:08 -05:00
Garret Wassermann
6e5e8cb21f
Merge pull request #797 from auto-mat/iframe_submit
Iframe submit, redesigned KB, various bug fixes
2020-01-20 15:34:20 -05: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