Commit Graph

348 Commits

Author SHA1 Message Date
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
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
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
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ý
cdddc79998 make Knowledge Base templates more flexibly overidable 2020-02-25 14:36:11 +01:00
Timothy Hobbs
2a3272914c Show kbitem categories in kbitem string representation 2020-02-11 15:20:16 +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
0395f26d6c Don't show vote counts if there are no votes 2020-01-27 17:02:20 +01:00
Timothy Hobbs
cd019d1128 Improvements to iframe workflow 2020-01-20 13:23:32 +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
b20f600db2 KB UX improvements 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
5f29bb632e Associate queues with KB categories 2020-01-20 13:22:45 +01:00
Timothy Hobbs
133075f045 Fix #698 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
d32d23e4e2 Add OR syntax to search 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
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
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
37c6905d46 cleaning time_spent formating 2019-07-06 22:36:58 +02: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
Jachym Cepicky
e5eea3bb43 display time spent only when user is_staff 2019-05-23 17:31:00 +02:00
Jachym Cepicky
416494c7dc fix for ticket #760 displaying followup attachments again 2019-05-23 17:18:57 +02:00
Jachym Cepicky
2e58798fe1 fixes #758 : enables adding comments to public tickets 2019-05-23 09:55:08 +02:00
Garret Wassermann
e3aa39220f
Merge pull request #751 from OpenGeoLabs/template_fix
add space to heading of kb item
2019-04-01 15:54:41 -04:00
Jachym Cepicky
af7cc184e9 add space to heading of kb item 2019-04-01 21:52:48 +02:00
Jachym Cepicky
ef63a1186b fix markdown bug 2019-03-29 15:17:10 +01:00
Jachym Cepicky
579c9db3fc adding some boostrap tyles 2019-03-10 12:43:41 +01:00
Garret Wassermann
ff74a8c21b Sync with upstream merges 2019-03-09 19:01:51 -05:00
Garret Wassermann
519236c288 Merge 0.2.15 bugfixes 2019-03-09 19:00:06 -05:00
Garret Wassermann
d42fc23e08 Fix password change URLs and add basic templates, to address #734 2019-03-09 18:38:24 -05:00
Jachym Cepicky
9127275557 adding support for images as knowledgebase attachment 2019-03-09 18:14:11 +01:00
Jachym Cepicky
d4f1f85b29 Markdown for Knowledge base, ticket and comments.
Removed markdown-deux
2019-03-06 14:42:57 +01:00
Garret Wassermann
4fb6c40c4e
Merge pull request #717 from OpenGeoLabs/time_tracking
Basic support for tracking time spent on tickets and follow-ups
2019-02-24 15:18:01 -05:00
Jachym Cepicky
2093bf7faf adding dedicated_time attribute to Queue model 2019-02-24 20:46:30 +01:00
Garret Wassermann
f6fe5a7834 Merge remote-tracking branch 'upstream/develop' into develop 2019-02-15 19:45:18 -05:00
Garret Wassermann
c97483deff Merge 0.2.14 bugfixes 2019-02-15 19:44:41 -05:00
Garret Wassermann
64414141f7 Update ticket_cc_add template for bootstrap4 2019-02-15 19:37:46 -05:00
Jachym Cepicky
6ceb89a5cb basic support for time spend of tikets and follow-ups 2019-02-06 21:55:53 +01:00
Jachym Cepicky
305d669e71 adding e-mail templates for czech language 2019-02-05 14:43:50 +01:00
Jachym Cepicky
d4dc1c9abe fix date picker format 2019-02-04 17:00:16 +01:00
Timothy Hobbs
c33d6d24d0
Add pencil buttons to ticket view for easier assignment and priority setting 2019-02-02 20:40:46 +01:00
Timothy Hobbs
782aec649d
Fix links to tickets in datatables ticket list 2019-01-30 15:24:05 +01:00
Garret Wassermann
d7a8cb0de7 Merge 0.2.13 polish email templates 2019-01-17 09:17:54 -05:00
Wojciech Szymała
88a3b0502a Adding Polish translation for notification templates sending by email 2019-01-17 09:25:12 +01:00
Garret Wassermann
7dbede6c28 More bootstrap css updates for ticket pages 2018-12-28 04:53:09 -05:00
Garret Wassermann
e9d2b5ced3 Remove duplicate buttons from nav header, use sidebar instead 2018-12-28 03:50:30 -05:00
Garret Wassermann
96e37b9730 Use small font in sidebar saved query list 2018-12-28 03:29:42 -05:00
Garret Wassermann
4e1257c68e Split sidebar button into All Tickets and Saved Queries 2018-12-28 03:28:20 -05:00
Garret Wassermann
41d71e9062 Missing breadcrumps on settings and rss pages 2018-12-28 02:41:31 -05:00
Garret Wassermann
6d3964d16c Fix broken javascript in the ticket page 2018-12-28 02:30:13 -05:00
Garret Wassermann
984f5b1cfb Fix styling of sidebar text for saved queries 2018-12-28 02:26:08 -05:00
Garret Wassermann
523b3065db Update public homepage templates, based on #684 item 3 2018-12-27 23:27:29 -05:00
Garret Wassermann
74974f0030 Sidebar message when no saved queries exist, for #684 task 1 2018-12-27 21:41:41 -05:00
Timothy Hobbs
cbb15c7bcb
Change bootstrap to bootstrap4form in a few places that were missed 2018-12-27 17:28:40 +01:00
Garret Wassermann
10c7e078f2 Remove generic copyright statement; users can override the attribution.html template if they wish to include a copyright statement. 2018-12-21 23:39:09 -05:00
Garret Wassermann
0c61f65060 Fix templates for knowledgebase 2018-12-21 23:37:46 -05:00
Garret Wassermann
7c64a01e6f Fix templates and javascript for reports 2018-12-21 22:37:33 -05:00
Garret Wassermann
d5a06a8082 List number of tickets at bottom of dashboard tables 2018-12-21 21:56:07 -05:00
Garret Wassermann
9e8eb7f6b2 Fix breadcrumbs for ticket dependency pages 2018-12-21 19:30:15 -05:00
Garret Wassermann
967862e739 Add saved query title to breadcrumbs for better visibility 2018-12-21 19:22:16 -05:00
Garret Wassermann
2430043f4f Remove stray icon decorator from top user menu 2018-12-21 19:17:43 -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
2a3abc44fc Fix ticket list datatables usage and select buttons 2018-12-21 18:18:46 -05:00
Garret Wassermann
4b3939c4de Update base templates for Bootstrap 4.2.1 via CDN 2018-12-21 17:07:09 -05:00
Garret Wassermann
14d89ab9b8 Merge branch 'develop' into bootstrap4 2018-12-15 13:40:21 -05:00
Timothy Hobbs
03fc062ac1
Fix datatables URL resolution
Fixes #674
2018-12-13 17:15:53 +01:00
Garret Wassermann
bb4178b477 Merge develop branch into bootstrap4 2018-11-03 22:40:03 -04: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
8f57f9d64a Update templates to use bootstrap4form 2018-09-09 03:54:56 -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
Timothy Hobbs
a12abab219
Not all fields are required
- For example, you don't have to upload an attachment.
2018-09-05 20:28:16 +02:00
Garret Wassermann
f123d78184 Continuing work on new bootstrap4 interface 2018-09-02 23:27:39 -04:00
Garret Wassermann
b610a5f492 Update breadcrumbs on ticket pages 2018-09-02 05:27:39 -04:00
Garret Wassermann
eabf32d91b Navigation is Bootstrap 4 and SB Admin 5.0 now 2018-09-02 04:36:16 -04:00
Timothy Hobbs
082b6b88f3
Add user profile links for submiters who have profiles 2018-08-30 12:53:46 +02:00
Garret Wassermann
dff14d40d3 Merge 0.2.8 bugfixes 2018-07-03 00:59:33 -04:00
Garret Wassermann
d1e57d70b0 Use jQuery datepicker widget when editing a ticket, for comment part of #616 2018-07-03 00:24:20 -04:00