Commit Graph

401 Commits

Author SHA1 Message Date
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
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
Garret Wassermann
4d78bc85ca Update due date correct when adding followup to ticket, for #616 2018-07-03 00:20:51 -04:00
Garret Wassermann
d0cf8426d0 Add Due Date column to ticket list and in description table for individual ticket page 2018-07-02 22:07:59 -04:00
Garret Wassermann
c3bf39a3b9 Fix bad URL when canceling query deletion, to address #615 2018-05-10 02:14:59 -04:00
Garret Wassermann
54a6b1d21b Merge 0.2.7 bugfixes 2018-03-04 04:01:48 -05:00
Garret Wassermann
ed5f86c583 Suppress empty whitespace from edit buttons in ticket follow-up list, patch for #596 2018-02-27 20:21:03 -05:00
vzagorovskiy
40af08ee84
Attribute color is not allowed here 2018-02-24 10:33:14 +03:00
Garret Wassermann
142c291afb Merge 0.2.4 bugfixes 2017-12-18 00:45:36 -05:00
Garret Wassermann
8972baddda Remove dead jqplot code from report output, and remove unused jqplot plugin from static/ directory 2017-12-17 23:23:03 -05:00
Garret Wassermann
fca81ac38c Remove duplicate jquery files, update public_base to point to jquery included in vendor/ directory 2017-12-17 23:16:14 -05:00
Garret Wassermann
3a1bd76e75 Merge custom staff filter, PR #239 2017-10-30 03:17:40 -04:00
Garret Wassermann
ee1cae07a4 Change ticket sorting via form, to fix #562 2017-10-28 10:47:46 -04:00
Garret Wassermann
478095ca7e Fix missing templatetag load, to address #549 2017-09-13 01:17:05 -04:00
Garret Wassermann
a42a5b8aeb Add missing num_to_link in ticket description, to address #513 2017-07-16 19:38:30 -04:00
Garret Wassermann
9f9cdeec6c Show ticket ID in title of page so easier to use with many tabs open, to address #525 2017-07-16 19:24:16 -04:00
andresf01
db223abe27 Added email footer (es) 2017-06-28 11:27:10 -05:00
Garret Wassermann
8c4c1aa274 Update datatables Responsive plugin and move to datatables directory 2017-05-26 15:56:43 -04:00
Jonathan Barratt
d843a21ea7 Merge branch 'master' into master 2017-04-06 08:21:43 +07:00
Yuego [Home]
dfdb12e354 Fix link translation 2017-03-08 23:01:31 +04:00
Michael Huang
f16a196c69 Fix logout URL 2017-02-14 14:38:48 -08:00
Jonathan Barratt
8a2e6c087e
hotfix for #470: datatables error on empty ticket list
handle the no tickets match query case with js rather than python for DataTables compatibility
2017-01-03 00:42:12 +07:00
Garret Wassermann
3c6b522464 Fix form end tag placement, and remove duplicate unstyled query box 2016-12-13 23:45:43 -05:00
Garret Wassermann
04f27fdcff Use HTML5 table ordering based on Unix epoch 2016-11-21 00:12:24 -05:00
Garret Wassermann
2a7d82413b Miscellaneous improvements from review of #419 2016-10-31 02:57:08 -04:00
Garret Wassermann
37b9d332de Fix some more missing namespace references for login and kb_category 2016-10-31 02:19:41 -04:00
Garret Wassermann
26f4987726 Fix a missing helpdesk namespace reference in report_index.html 2016-10-31 01:42:45 -04:00
Garret Wassermann
cad174468b Sync with namespace and other v0.2 changes 2016-10-29 03:47:15 -04:00
Alex Barcelo
53ed0d3a2c Remove all the deprecated API related files and references 2016-10-29 08:50:13 +02:00
Alex Barcelo
afd6ebad74 Merge current 'master' state into urls_app_name 2016-10-19 15:26:04 +02:00
Ross Poulton
138904bf8b Update project URLs per #424 2016-10-12 11:14:10 +11:00
Garret Wassermann
3f620e83a2 Update style of Ticket FollowUp list to be a timeline 2016-09-27 17:29:59 -04:00
Garret Wassermann
929ec49fa8 Apply styling to KB pages. Minor tweak to dashboard. 2016-09-27 14:36:52 -04:00
Garret Wassermann
414f7e7c03 Make Knowledgebase categories nicer; include jQuery UI for DatePicker on new ticket form 2016-09-27 13:16:28 -04:00
Garret Wassermann
4203f352d9 Completely resolved jQuery issue with multiple file attachment submission on a single FollowUp due to CSS styling of file input buttons. It's really ridiculous you have to do this, but whatever. It works as expected. 2016-09-12 23:18:01 -04:00
Garret Wassermann
3002cf689c Fix CSS styling of Status radio buttons on Ticket Comment form 2016-09-12 22:54:51 -04:00
Garret Wassermann
76241b8661 Fix jQuery error with adding multiple attachments to a single FollowUp. It work when adding files one at a time but gets a little funny when adding more than one input field at a time. Also, moved RSS Feeds link to user menu to be more accessible. 2016-09-12 22:37:48 -04:00
Garret Wassermann
00cdbcf43b Finish CSS template changes for Ticket page and related properties; includes responsive Ticket list table; styled file input buttons but need to find way to update text for beyond the first input box; added a ticket_attachment_del page to confirm removal of attachment and styled it 2016-09-12 02:11:55 -04:00
Garret Wassermann
a9cb54ce7e Remove older static files, update User Settings 2016-09-11 12:30:48 -04:00
Garret Wassermann
e0875b212b Updated CSS for Ticket list and Ticket editing pages, added Font Awesome's LICENSE to list 2016-09-10 04:00:22 -04:00
Garret Wassermann
67f81ac252 Continue CSS cleanup for Ticket description, remove unneeded priority and button images and associated functions 2016-09-09 04:03:32 -04:00
Garret Wassermann
d66259efdc Update dashboard and reports to new style, add more CDN support for new javascript libraries 2016-09-09 02:45:12 -04:00
Garret Wassermann
4c89da89b5 Updated navbar, base, public_base and login page to use new StartBootstrap SB Admin v2 theme 2016-09-07 02:50:16 -04:00
Garret Wassermann
014af24d2d Added a HELPDESK_USE_CDN setting, off by default, to select between using public CDNs as before, and an up-to-date static copy 2016-08-05 00:38:17 -04:00
Garret Wassermann
d9480c9cf0 Update static jQuery and other js/css, disable CDN usage 2016-08-04 23:57:35 -04:00
mrkiwi-nz
7dd4aa11d7 Update ticket_cc_list.html 2016-06-09 12:41:12 +12:00
mrkiwi-nz
57d341f89f Update report_output.html 2016-06-09 12:40:48 +12:00
mrkiwi-nz
783aa2481c Update email_ignore_list.html 2016-06-09 12:40:08 +12:00
mrkiwi-nz
d86b82e689 Update debug.html 2016-06-09 12:39:24 +12:00