Commit Graph

1356 Commits

Author SHA1 Message Date
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
2041430cd3 Update to 0.2.21 2020-04-15 06:59:06 -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
Garret Wassermann
a6f75ada9c Update to 0.2.20 2020-04-15 05:39:27 -04:00
Garret Wassermann
20f99484ea Update quicktest configuration for Python 2 tests, to address #813 2020-04-15 05:18:37 -04:00
Garret Wassermann
c71d8879ec Update copyright year in README 2020-04-15 05:17:08 -04:00
Garret Wassermann
b9933a8c9c
Merge pull request #808 from ilikerobots/patch-2
Fix for 'NoneType' object has no attribute 'email'
2020-04-15 05:10:41 -04:00
Mike Hoolehan
266775dbf6
Update get_email.py 2020-03-18 09:11:48 +02:00
Andrew Denisenko
2f4d91c22d Fill followup user field if authenticated user submits ticket 2020-03-03 23:39:02 +02:00
Garret Wassermann
62e73f8a31 Bump version to 0.2.19 2019-12-24 04:03:33 -05:00
Garret Wassermann
2d129d0e31 Backport patch that will hopefully address #781 2019-12-24 04:02:02 -05:00
Garret Wassermann
542138c294 Bump for next bugfix, 0.2.18 2019-12-17 06:54:45 -05:00
Garret Wassermann
7c89285a7d
Merge pull request #787 from mozggg/custom-fields-search-fix
Fix ticket search, when there are multiple custom fields
2019-11-22 02:28:29 -05:00
Igor Mikeshin
407c00addd Fix ticket search, when there are multiple custom fields 2019-11-22 15:14:56 +08:00
Garret Wassermann
6d538da0f0 Bump version for new release 2019-08-27 21:39:33 -04:00
Garret Wassermann
073ebaba80 Update documentation for custom field search 2019-08-27 21:37:39 -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
Garret Wassermann
511f45d200
Merge pull request #772 from alatja/login-url
Support for custom login by setting LOGIN_URL
2019-08-27 13:07:58 -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
b41f95fd7e Drop support for python 3.4 and 3.5, since they're now unsupported too anyway 2019-08-05 19:29:14 -04:00
Garret Wassermann
d896e21fd2 Use ubuntu bionic 18.04 for automated testing 2019-08-05 19:22:08 -04:00
Garret Wassermann
843e8402fa
Merge pull request #770 from askvortsov1/master
Adjusted get_email management command to support custom User model
2019-08-05 19:19:03 -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
951cc68ecd Bump to 0.2.16 2019-05-25 01:09:46 -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
671cdd19c3
Merge pull request #746 from CedricCarrard/fix/issue-#505
Fixed #505 -- Remove infinite loop with user_passes_test
2019-03-20 13:17:22 -04:00
Cedric Carrard
9c85b8e8c1 fix redirect loop 2019-03-20 16:12:19 +01:00
Garret Wassermann
350ca276ba
Merge pull request #742 from CedricCarrard/fix/command-rundemo
Fix command rundemo
2019-03-16 12:42:17 -04:00
Garret Wassermann
ba9c6b31bf Update CONTRIBUTING 2019-03-15 16:53:35 -04:00
Garret Wassermann
a10a597b3a
Add issue templates
Initial issue templates
2019-03-15 16:21:29 -04:00
Garret Wassermann
eaba30dd65
Merge pull request #743 from CedricCarrard/fix/public_homepage_kbdisabled
Fix error 500 public homepage when objects kb_category
2019-03-15 15:10:24 -04:00
Cedric Carrard
e4d6a54659 fix public homepage with kb_category but without kb disabled 2019-03-15 14:10:43 +01:00