Jonathan Barratt
790f1fc003
Merge pull request #374 from alexbarcelo/urls_app_name
...
Set app_name as 'helpdesk' at the urls.py, and droping url prefixes
2016-10-28 15:59:29 +07:00
Alex Barcelo
6761ad6c10
fixing RST syntax for docstring on akismet.py
2016-10-26 10:22:15 +02:00
Alex Barcelo
f017adea63
fixing those two python files
2016-10-24 10:05:41 +02:00
Alex Barcelo
89a6ae01b8
Fixing style (according to branch 'autocodestyle') + quicktest
2016-10-24 08:04:31 +02:00
Alex Barcelo
179ceb2f82
fixing style on tests
2016-10-23 22:10:32 +02:00
Alex Barcelo
30e3aa55aa
almost auto-fix on misc files
2016-10-23 22:09:17 +02:00
Alex Barcelo
3c35473265
fixing views.py (except deprecated api)
2016-10-23 22:02:02 +02:00
Alex Barcelo
24d88be8d9
Initial general clean-up of stuff
2016-10-21 17:14:12 +02:00
Garret Wassermann
d7875587b7
Revert previous change
2016-10-20 12:05:28 -04:00
Garret Wassermann
884662dd21
Ensure binary data is returns so Django can decode it
2016-10-20 11:46:09 -04:00
Garret Wassermann
dfb7987ebb
Remove emails from queue in test_get_email
2016-10-20 11:17:51 -04:00
Garret Wassermann
197fad99d2
Remove mail templates since we're not testing them here; might be good to include a test for this elsewhere
2016-10-20 02:48:14 -04:00
Garret Wassermann
5e93297787
Fix call_command options for correct format to work with Django 1.7+
2016-10-20 02:29:23 -04:00
Garret Wassermann
6418194b85
Fix command line arg for Django 1.7 and make Python 2 and 3 compatible test
2016-10-20 02:21:43 -04:00
Garret Wassermann
9606201200
Fix mock tests for get_email (hopefully for good this time)
2016-10-20 02:09:05 -04:00
Garret Wassermann
b7ef83f7d2
Check that folder is a dir before checking for mail using get_email; fix unit test for --quiet
2016-10-20 01:39:24 -04:00
Garret Wassermann
e3c9e04feb
Fix python module naming in get_email test
2016-10-20 01:25:16 -04:00
Jonathan Barratt
af893bdcc8
Merge pull request #428 from jflesch/master
...
Fix form translations
2016-10-20 12:16:31 +07:00
Daryl
3b181e87ef
Fix inconsistent indentation
2016-10-20 11:43:22 +07:00
Garret Wassermann
c9c7642724
New unit test for get_email command
2016-10-19 21:37:23 -04:00
Garret Wassermann
f61d180e5d
use django.utils.six instead of plain six
2016-10-19 20:02:12 -04:00
Alex Barcelo
91afbb9755
fixing some additional reverse stuff
2016-10-19 15:30:37 +02:00
Alex Barcelo
afd6ebad74
Merge current 'master' state into urls_app_name
2016-10-19 15:26:04 +02:00
Jerome Flesch
74668f30d5
forms.py : To get the translations for the fields' labels, use ugettext_lazy() instead for ugettext().
...
ugettext() loads the translations at the same time the module is loaded (--> always in english).
ugettext_lazy() loads them when they are needed (--> when the user makes a query --> we known the language the user wants based on the header of their HTTP request)
Signed-off-by: Jerome Flesch <jflesch@gmail.com>
2016-10-18 15:37:57 +02:00
Jerome Flesch
0ad110ec7f
forms.py: cleanup whitespaces
...
Signed-off-by: Jerome Flesch <jflesch@gmail.com>
2016-10-18 15:35:41 +02:00
meomap
96f4fecb71
add setting for fallback locale
2016-10-14 15:04:28 +07:00
Ross Poulton
138904bf8b
Update project URLs per #424
2016-10-12 11:14:10 +11:00
Ross Poulton
1f4ca64ef4
Update translations (part of #424 )
2016-10-12 10:54:24 +11:00
Antoine Nguyen
50955cb8f6
Fixed Meta class definition for TicketCustomFieldValue.
2016-10-07 11:00:25 +02: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
186b4ad8e2
Some of CSS changes were not included due to a conflict in the gitignore file. Updated gitignore and added missing CSS directory.
2016-09-27 10:57:21 -04:00
Garret Wassermann
f313b5c374
Added more logging statements, cleaned up a few others
2016-09-16 00:28:13 -04:00
Garret Wassermann
a4ad602f39
Remove unnecessary imports, clean up python3 handling code to use native str()
2016-09-15 22:51:00 -04:00
Garret Wassermann
e5c3c4a435
Used six to add python3 compatibility along side existing python2, and replaced print statements with logging features. Can now poll a local directory for mail too, not just remote POP3/IMAP.
2016-09-14 20:35:18 -04:00
Garret Wassermann
6a86a0106a
Updated report_index() to remove the context= so it matches the syntax of dashboard() function.
2016-09-13 00:31:56 -04:00
Garret Wassermann
bf55ab7f8c
Oops, forgot to change one more URL from dashboard to report_index
2016-09-13 00:13:52 -04:00
Garret Wassermann
fe54d81022
Update unit test for backend changes to dashboard and statistics pages
2016-09-13 00:06:38 -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
Jan Beran
8341ad217c
Syntax correction for Python 3.4 and 3.5
2016-08-17 22:01:09 +02:00
Garret Wassermann
1c09f4a3c3
Moved Buttons and Priorities images back to main static folder
2016-08-05 00:50:40 -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
Ross Poulton
f2e497c3c6
Merge pull request #415 from mhannig/fix-broken-keyword-search
...
JSON Serialization broke Keyword-Searches
2016-07-05 08:48:10 +10:00
Matthias Hannig
a37f7145ec
Serializing the query using JSON for SavedSearches unfortunately broke
...
Keyword-Searches.
Now, only the search string is serialized for saving and
the "qset" is moved from "other_filters" to apply_query.
2016-07-04 17:47:53 +02:00
Ross Poulton
03b3a70975
Merge pull request #410 from mrkiwi-nz/fix_savequery
...
Fix savequery
2016-06-30 10:36:41 +10:00
Ross Poulton
da5a4dc40f
Merge pull request #411 from mrkiwi-nz/issue_408_fix
...
fix #408 : Bug in test_per_queue_staff_permission.py
2016-06-30 10:36:20 +10:00
Daryl
44bbcd31e5
Bug in test_per_queue_staff_permission.py
...
Using the django auth backend allows integers to be passed as a password
Using Peter Sagerson's ldap auth backend there is an error thrown because
some code tries to do a len() on the password.
You could argue that the ldap auth backend should str(password), but
you could also argue that passing an int as a password is bad practice
This PR ensures that a string is sent to the auth module.
2016-06-30 12:07:33 +12:00
Daryl
0ac7183875
Add test for saving a query, fix shared checkbox issue
...
My browser sends 'on' when a checkbox is ticked, django ORM only
recognises '1', 'true' or 't' as valid 'True' responses.
This throws an error
ValidationError at /helpdesk/save_query/
[u"'on' value must be either True or False."]
This could be fixed with " value='1'" in the template, but testing that is harder
My fix is to add a check in the view. 2 more lines, but easier to unittest.
Core devs need to make a call as to which solution is best.
D
2016-06-30 11:36:21 +12:00
Matthias Hannig
5f0191957f
fixed python3 compat issue
2016-06-28 18:44:54 +02:00
Matthias Hannig
895a65fdb9
Fixed remote code execution through unpickling untrusted code.
2016-06-28 18:04:39 +02:00
Ross Poulton
d65c32487c
Merge pull request #406 from mrkiwi-nz/master
...
Fix Issue #404 : Refactor converting query string into queue:id
2016-06-26 19:28:48 +10:00
Daryl
afbfd01fab
Fix Issue #404 : Refactor converting query string into queue:id
2016-06-26 12:45:55 +12:00
Ross Poulton
ecd870663d
Merge pull request #405 from mrkiwi-nz/master
...
Ignore queue name when doing lookups for tickets (means URLs don't break when moving ticket between queues)
2016-06-25 21:55:40 +10:00
Daryl
e5a6686c6d
Ticket #403 - This code changes the behaviour of lookups for tickets and
...
ignores the queue name. This means that queue changes on a ticket dont
break the email links which have already been sent out.
The queue name still exists in the link/url, but is not used in the
lookup
2016-06-24 13:46:37 +12:00
Ross Poulton
e4dc3e51eb
Merge pull request #399 from mrkiwi-nz/master
...
Changed render_to_response() to render()
2016-06-22 11:05:21 +10:00
Daryl
8a7fe5fcbf
Changed the way the context is passed to render() - this was required
...
to enable django 1.7 to work (otherwise 1.8, 1.9 pass all tests, but 1.7 fails)
2016-06-21 20:56:43 +12:00
Daryl
558f140bfb
Changed render_to_response() to render() - this should work for django1.9.4 plus django1.10
...
Without this change, django1.10 is missing the 'user' object from the context, which results in
a very hard to track down bug manifesting in ;
"NoReverseMatch: Reverse for 'helpdesk_rss_user' with arguments '('',)' and keyword arguments '{}' not found."
At first glance users may think this is the dots-in-usernames bug, but the username is totally missing.
2016-06-21 17:18:06 +12:00
Gleber Diniz
f8044faf28
Fix import error on python 3
...
"from email.utils import parseaddr, collapse_rfc2231_value" works both for python 2.7 and python 3
2016-06-14 17:10:23 -03: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
Bruno Tikami
c5101a2873
UP: When multiple emails are used on the "To" field, subscribe them as well.
2016-03-23 13:16:49 -03:00
Bruno Tikami
5933d2a59b
UPDATED: Strip inputed emails before creating TicketCC instances
2016-03-17 01:39:17 -03:00
Bruno Tikami
9e64354d8a
Merge branch 'master' into feature/2__mail_threading
...
* master:
UPDATED: When notifying users about creation / updates on tickets, notify everybody using a single email message.
2016-03-17 01:21:34 -03:00
Bruno Tikami
978e6d5c9b
UPDATED: When notifying users about creation / updates on tickets, notify everybody using a single email message.
2016-03-17 01:12:42 -03:00
Bruno Tikami
11f28d175b
Merge branch 'master' into feature/2__mail_threading
...
* master:
BUGFIX: Capture invalid email exceptions and ignore those inputs.
ADDED: Test cases for the new enable_notifications_on_email_events flag
2016-03-15 14:16:34 -03:00
Bruno Tikami
99ae4bb801
BUGFIX: Capture invalid email exceptions and ignore those inputs.
2016-03-15 14:13:19 -03:00
Darren Riedlinger
ac8ead52c8
getattr on usersettings.setting dict always returns False. Use settings.get() instead
2016-03-06 12:46:36 -08:00
Bruno Tikami
4124677f10
ADDED: Test cases for the new enable_notifications_on_email_events flag
2016-03-03 13:47:15 -03:00
Ross Poulton
e52ae206c6
Merge pull request #388 from pawelmarkowski/master
...
dashboard error queues are null
2016-03-02 10:38:08 +11:00
Pawel M
2b6c23db9f
(1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')\n GROUP BY queue, name\n ORDER BY q.id' at line 9") helpdesk/views/staff.py in dashboard 149 solved. When queues is null do not add to sql q.id in ()
2016-03-01 22:53:33 +01:00
Bruno Tikami
4e4f481428
Merge branch 'hotfix/make_print_statements_3x_compatible' into feature/2__mail_threading
...
* hotfix/make_print_statements_3x_compatible:
UPDATED: print statements to be Python 3.x compatible
2016-03-01 17:09:28 -03:00
Bruno Tikami
2efe8255c5
UPDATED: print statements to be Python 3.x compatible
2016-03-01 17:01:58 -03:00
Bruno Tikami
26fc6cb1de
ADDED: Flag to enable notifications on every interaction that occurs over email.
2016-03-01 16:49:34 -03:00
Bruno Tikami
1511e0e72c
UPDATED: Better separation of HTTP and e-mail test cases
2016-02-28 15:19:08 -03:00
Bruno Tikami
45fbd605e5
UPDATED: Separate HTTP and e-mail TestCases
2016-02-28 15:00:15 -03:00
Bruno Tikami
5058790995
BUGFIX: Fixing migration merge conflict.
2016-02-24 10:42:14 -03:00
Bruno Tikami
a9f073cc48
Merge branch 'master' of https://github.com/rossp/django-helpdesk
2016-02-24 10:25:57 -03:00
Bruno Tikami
b55eaabebd
UPDATED: Renaming methods after reading through the pull request
2016-02-22 10:17:28 -03:00
Bruno Tikami
0c480b4abd
UPDATE: Removed an unnecessary migration created by mistake.
2016-02-22 10:00:29 -03:00
Bruno Tikami
19f04aa1f5
CLEANUP: Removing necessary code from feature 2
2016-02-20 17:49:37 -02:00
Bruno Tikami
56b7f53c51
CLEANUP: Removing necessary code from feature 2
2016-02-20 17:46:03 -02:00
Bruno Tikami
4e32e879a8
BUGFIX: new TicketCC instances must be returned after subscribed to Ticket updates.
2016-02-20 17:36:24 -02:00
Bruno Tikami
0f346924fb
UPDATED: Moving TicketCC notifications to the end of the process so there's no need to add / subtract recipients lists (queue cc account etc).
2016-02-20 17:35:17 -02:00
Bruno Tikami
75a5556317
UPDATED: after processing an email message, if there's any TicketCC instance linked to the Ticket being handled, mail them all.
2016-02-20 12:39:16 -02:00
Bruno Tikami
5ed6e8c2ce
BUGFIX: assert statements against email count were doing the wrong math. Also, trying to explain get easier to understand comments
2016-02-20 12:38:06 -02:00
Bruno Tikami
32ee4de50b
UPDATED: Better validation before creating a duplicated TicketCC
2016-02-19 13:01:39 -02:00
Bruno Tikami
6d890509a3
ADDED: docstrings
2016-02-19 12:40:18 -02:00
Bruno Tikami
f911f92892
BUGFIX: Don't create duplicated TicketCCs when processing email messages.
2016-02-19 12:25:14 -02:00
Bruno Tikami
380723a972
UPDATED: Use <forms.TicketCCForm> when subscribing to a ticket followups.
2016-02-19 11:09:03 -02:00
Bruno Tikami
e4337cef1d
ADDED: <TicketCCForm.clean> to validate if either a valid user or a valid email is provided when saving <TicketCC> instances
2016-02-19 11:00:35 -02:00
Bruno Tikami
99bfc340f9
ADDED: <tests.test_ticket_submission.test_create_ticket_from_email_without_message_id>
2016-02-17 21:43:33 -02:00
imbashamba
191ce3c53c
Nullable "default_owner" field added to Queue model
...
If default_owner is specified, tickets from public form will be assigned to him and he'll be notified by email
2016-02-17 11:40:08 +03:00
Bruno Tikami
57f58c34b7
UPDATED: Aesthetics
2016-02-16 17:21:46 -02:00
Bruno Tikami
fc02aa7cbb
UPDATED: Better exception handling + aestetics
2016-02-16 17:17:58 -02:00
Bruno Tikami
be07fdff6c
UPDATED: Finished moving Message-Id field from <Ticket> to <FollowUp> model.
2016-02-16 17:10:13 -02:00
Bruno Tikami
c2e9ee26af
UPDATED: Stop storing the Message-Id field on the <Ticket> model and move it to the <FollowUp> so we can easily follow the threads.
2016-02-16 16:11:10 -02:00
Bruno Tikami
5f738a3214
Too much in one commit !
...
Splitting responsibilities when parsing email messages so we can decide when to create a Ticket and when to create a FollowUp.
2016-02-16 15:49:40 -02:00
Bruno Tikami
b4c6c169c2
ADDED: Possibility to accept extra headers when sending emails
2016-02-16 15:46:49 -02:00
Bruno Tikami
d091a16002
UPDATED: when creating new Ticket instances from email messages, also save their "Message-Id" field.
2016-02-15 16:16:28 -02:00
Bruno Tikami
5b46602b29
UPDATED: <helpdesk.tests.test_ticket_submission.test_create_ticket_instance_from_payload> now calls the right callable to ensure the message is parsed and the Ticket instance is created.
2016-02-15 16:15:46 -02:00
Bruno Tikami
cea4cb2c6a
UPDATED: Set "submitter_email_id" as the standard to reference the Message-Id email field.
2016-02-07 18:11:49 -02:00
Bruno Tikami
ea3c3732e5
BUGFIX: File name typo
2016-02-07 18:05:16 -02:00
Bruno Tikami
880003743d
ADDED: Schema migration 0012 that adds a "submitter_message_id" to the <models.Ticket> model
2016-02-07 18:04:09 -02:00
Bruno Tikami
78919addd7
BUGFIX: Set the missing max_length field attribute.
2016-02-07 17:45:08 -02:00
Bruno Tikami
83be21dc17
ADDED: <models.Ticket.submitter_email_id>
2016-02-07 17:28:00 -02:00
Bruno Tikami
ff0ceefab4
ADDED: <tests.test_ticket_submisssion.test_create_ticket_from_email_with_message_id> to ensure that the RFC 2822 field "message-id" is stored on the <Ticket.submitter_email_id> field. Backwards-compatible test kept.
2016-02-07 16:54:05 -02:00
Bruno Tikami
e880747a2b
UDPATED: Use <views.staff.subscribe_to_ticket_updates> instead of <views.staff.subscribe_staff_member_to_ticket> when adding non-staff members to <TicketCC> instances
2016-02-07 16:46:43 -02:00
Bruno Tikami
b5ff3f9063
UPDATED: <views.staff.subscribe_staff_member_to_ticket> to accept and validate an user email when creating linking a <TicketCC> instance for a staff member. I'm pretty sure this is NOT the best place to put this but I don't wanna mess too much around for now.
2016-02-07 15:56:30 -02:00
Bruno Tikami
353fcb2138
ADDED: Possibility to pass "rfc_2822_*" fields when creating a <Ticket> instance so <management.commands.get_email.ticket_from_message> can create <TicketCC> instances when processing incoming messages.
2016-02-07 15:54:39 -02:00
Bruno Tikami
703c0e3b66
ADDED: <tests.test_ticket_submission.test_create_ticket_from_email_with_carbon_copy> and <tests.test_ticket_submission.test_create_ticket_from_email_with_invalid_carbon_copy> to ensure <TicketCC> instances are created by the <Ticket> model when the respective RFC 2822 field is provided.
2016-02-07 15:50:03 -02:00
Bruno Tikami
4d00dd3d6e
UPDATED: Renamed test <tests.test_ticket_submission.test_create_ticket_direct> to <tests.test_ticket_submission.test_create_ticket_from_email> so the new upcoming test names (including CC, In-Reply etc) are easier to understand.
2016-02-07 12:06:07 -02:00
powderflask
8bf3449719
Fix: _meta.module_name deprecated in django1.8
2016-01-23 12:25:17 -08:00
Alex Barcelo
a741395ce5
chaging tests to aknowledge helpdesk namespace
2015-12-22 11:20:52 +01:00
Alex Barcelo
3a0f08046e
using helpdesk
app_name and droping helpdesk_
prefix
2015-12-22 10:27:03 +01:00
Ross Poulton
4347d1ec61
Add new locales: th, ca, lv, tr_TR, he_IL, pt_PT
2015-12-22 11:35:59 +11:00
Ross Poulton
ca1690becb
Deprecate custom API (see #198 )
2015-12-22 11:28:00 +11:00
Ross Poulton
0d098f6d29
Merge pull request #369 from alexbarcelo/always_create_permission
...
creation of Permission-per-Queue is done always
2015-12-22 09:41:17 +11:00
Alex Barcelo
7894eea1e1
Making Queue slug unique and improving certain admin-related behaviour
2015-12-18 14:56:53 +01:00
Alex Barcelo
3b547d2cf9
creation of Permission-per-Queue is done always
2015-12-18 14:35:50 +01:00
Alex Barcelo
4545fc925f
fixing migration and allowing valid rollback on typical migrations
2015-12-17 18:44:10 +01:00
Alex Barcelo
0b5af429a5
reverting error due to methods and migrations
2015-12-17 18:11:54 +01:00
Alex Barcelo
01598826bf
protecting through 403 several staff views
2015-12-16 22:27:06 +01:00
Alex Barcelo
1ea70ad1be
adding management command for batch-creation of Queue permission
2015-12-16 22:27:06 +01:00
Alex Barcelo
43e5ff7c0e
added delete mechanism on Queue for auto-clean of permissions
2015-12-16 22:27:06 +01:00
Alex Barcelo
92d8ca3eff
more modular management of permission codenames
2015-12-16 22:27:06 +01:00
Alex Barcelo
64bc1791d4
removing completely QueueMembership model
2015-12-16 22:27:06 +01:00
Alex Barcelo
d760d9ee95
adding basic information to tickets, and masking email, on the admin views
2015-12-16 22:27:06 +01:00
Alex Barcelo
fb66fea86e
change basic features of membership into permissions
2015-12-16 22:27:05 +01:00
Alex Barcelo
230d14b3ca
removing QueueMembership mechanisms from admin.py
2015-12-16 22:27:05 +01:00
Alex Barcelo
c1fd47043a
migration for removing semantics from QueueMembership objects
2015-12-16 22:27:05 +01:00
Alex Barcelo
18c7a2e698
adding required model extra info for permissions
2015-12-16 22:27:05 +01:00
Alex Barcelo
c0939d4b38
adding migration for bugfix 'changed max_length given by string to integer;'
2015-12-16 16:37:22 +01:00
Ross Poulton
11467f6e50
Properly check email context keys in newer Python versions. part of #362
2015-12-16 10:48:27 +11:00
Ross Poulton
6187b0568c
Merge pull request #358 from flinz/django-1.9-fixes
...
Django 1.9 compatibility
2015-12-16 10:24:16 +11:00
Alex Seeholzer
54e541230e
Merge branch 'bug/360_max-length-given-by-string' into django-1.9-fixes
...
* bug/360_max-length-given-by-string:
changed max_length given by string to integer;
2015-12-15 10:21:04 +01:00
Alex Seeholzer
905e52e603
changed max_length given by string to integer;
2015-12-15 10:11:47 +01:00
Alex Seeholzer
2da16c511c
updates to remove Django 1.10 deprecation warnings in Django 1.9:
...
- use of patterns() in urls.py is deprecated
- render() functions accept only dicts - introduced checks to ensure downward compatibility back to Django 1.7
2015-12-10 13:36:24 +01:00
Alex Seeholzer
8d55dcb9a0
python 2 & 3 compatibility: changed __unicode__ to __str__ and added python2 decorators ( https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methods )
2015-11-18 15:26:08 +01:00
Alex Seeholzer
8390125c01
fixes of python 3 test fails
2015-11-18 15:07:33 +01:00
Alex Seeholzer
71504aa85d
minor changes for python3
2015-11-18 10:41:02 +01:00
Alex Seeholzer
f7f0882f86
Merge branch 'master-upstream' into django-1.9-fixes
...
* master-upstream:
Fix QueueMembership bug revealed by django.test's DiscoverRunner
2015-11-18 10:16:33 +01:00
Alex Seeholzer
e732b511e1
deprecated tags replaced in django 1.9 (ssi and url template tags are removed from the future template tag library)
2015-11-16 16:09:47 +01:00
Alex Seeholzer
307e9446a2
ensure tests for ticket submission run correctly in django 1.9 (URI's no longer include the scheme and domain part of the URLs)
2015-11-16 16:08:52 +01:00
Jonathan Barratt
0610a6645d
Fix QueueMembership bug revealed by django.test's DiscoverRunner
...
If HELPDESK_ENABLE_PER_QUEUE_STAFF_MEMBERSHIP was True but a user had
no QueueMembership entries, then restricting queue access generated
RelatedObjectDoesNotExist exceptions.
- Ask for forgiveness whenever we try to limit a queryset by the
queuemembership related object set.
- Since tests can now be run with the project's settings active,
rather than only with quicktest.py's settings, restore the initial
HELPDESK_ENABLE_PER_QUEUE_MEMBERSHIP value after having tested the
related functionality.
2015-11-16 18:45:27 +07:00
Ross Poulton
ddd5b21b45
Merge pull request #352 from ssadler/static_from_staticfiles
...
use staticfiles app instead of STATIC_URL
2015-11-15 12:25:42 +11:00
Scott Sadler
2663a5e5ba
use staticfiles app instead of STATIC_URL
2015-11-13 16:58:28 +01:00
Alex Seeholzer
0399612e57
bugfix: migration dependency corrected
2015-11-13 16:03:13 +01:00
Tony Zhu
dbdaca8dd4
django 1.8 email field size migration
2015-11-13 15:50:22 +01:00
Tony Zhu
0b0f946389
Add the migration for changes in queues
...
This is the missing migration for commit
9600f457d8
2015-11-13 15:50:22 +01:00
Alex Seeholzer
27c519f2ee
downwards compatibility for django < 1.8
2015-11-13 15:36:04 +01:00
Alex Seeholzer
cd0daccb56
tests are correctly discovered for django < 1.6
2015-11-13 15:35:36 +01:00
Alex Seeholzer
50877c3708
Trying to fix travis build error & more general test imports: all files with test_*.py are imported from the /tests directory;
2015-11-13 14:07:36 +01:00
Alex Seeholzer
8f585aef1c
Merge commit 'a4e6f086c8928e77baa73a25b7e8000fb6261498' into django-1.8
...
* commit 'a4e6f086c8928e77baa73a25b7e8000fb6261498':
Include attachments to cc'd users on ticket update
From gettatr to get, because dict doesn't contatin attributes. More readable if statement.
2015-11-13 13:50:11 +01:00
Ross Poulton
a4e6f086c8
Merge pull request #350 from ssadler/updated_cc_attachments
...
Include attachments to cc'd users on ticket update
2015-11-13 08:20:26 +11:00
Scott Sadler
98ad8567b9
Include attachments to cc'd users on ticket update
2015-11-12 15:53:16 +01:00
vlad.vyazovetskov
0a3171a024
From gettatr to get, because dict doesn't contatin attributes.
...
More readable if statement.
2015-11-12 17:31:14 +03:00
Scott Sadler
2681f6340c
fix reload_urlconf test helper so it supports a third party urlconf
2015-11-06 15:22:44 +01:00
Scott Sadler
e82c17567a
Merge branch 'master' into django-1.8
...
Conflicts:
helpdesk/tests/__init__.py
2015-11-06 14:50:33 +01:00
Alex Seeholzer
163a0524b1
Merge branch 'master' into django-1.8
...
* master:
renamed test __init__.py imports to new test naming scheme
2015-06-25 16:54:15 +02:00
Ross Poulton
48d1feb69d
Merge pull request #334 from pahpa/master
...
Modify make_option with dest variable 'escalate-verbosely'
2015-06-19 09:25:40 +10:00
pahpa@orange.fr
060266e93a
Modify make_option with dest variable 'escalate-verbosely'
2015-06-17 16:22:44 +02:00
Alex Seeholzer
f9682ccf37
renamed test __init__.py imports to new test naming scheme
2015-06-12 15:52:35 +02:00
Alex Seeholzer
da30d2b973
tests renamed for compliance
2015-06-12 15:48:38 +02:00
Alex Seeholzer
87225ce2ba
tests renamed for compliance
2015-06-12 15:27:49 +02:00
Alex Seeholzer
cbea3c54f0
conformed template from_string method to use engines['django']
2015-06-12 12:54:50 +02:00
Alex Seeholzer
0b7e0b7f04
changes in templating engine that worked for django 1.8
2015-06-12 12:52:35 +02:00
Alex Seeholzer
039653cc70
further fixes for Django 1.8.2 template engine
2015-06-12 12:52:34 +02:00
Alex Seeholzer
0f69771164
fix for django 1.8.2, get_template_from_string was removed
2015-06-12 12:52:34 +02:00
Alex Seeholzer
42f478b98c
Merge squashed fixes from flinz/per-queue-staff-membership:
...
-renamed migration 0005 to 0004 and referenced 0003 instead of 0004 from it.
-Corrected spelling and rephrased docs for queue membership feature.
2015-06-12 17:41:15 +07:00
Jonathan Barratt
bfcd8fc024
Add ability to restrict users' access by queue if so configured, and migration and tests for same.
2015-06-12 12:23:39 +07:00
Jonathan Barratt
711eb6cea2
As of at least Django 1.5, calling __str__() on a CHOICES object returns a proxy object, not the actual text of the CHOICE. Change such calls to title() instead
2015-06-11 14:31:49 +07:00
Ross Poulton
6595eebd3f
Merge pull request #328 from reduxionist/fix-squashed-socks_proxy-migration
...
Remove migration 0002_socks_proxy.py...
2015-06-10 09:35:10 +10:00
Jonathan Barratt
9c60350193
Fix issue 286: Header cuts off body by replacing {{ STATIC_URL }}x with {% static "x" %} in {public_,}base.html
2015-06-03 14:37:21 +07:00
Jonathan Barratt
f434292cfc
Remove migration 0002_socks_proxy.py which has been squashed into 0001, rename migrations 0003 and 0004 and update their dependencies accordingly
2015-06-03 12:39:02 +07:00
Emmanuel Cohen
b0db7aa666
Fix exeception for templetags (works on django 1.7/py3.4 & django 1.6/py2.7)
2015-04-28 14:50:49 +02:00
Ross Poulton
70c57f9096
Merge
2015-04-28 09:13:54 +10:00
Tony Zhu
ed9581e5de
Remove deprecated load url from future
2015-04-16 11:58:24 -04:00
Tony Zhu
807e0c5ea9
Remove extra space line
2015-04-14 16:29:47 -04:00
Tony Zhu
9600f457d8
Remove no effect model property to silence django 1.8 system check warning
2015-04-14 16:25:20 -04:00
Tony Zhu
11e4f1a7bd
Merge upstream changes
2015-04-14 16:10:13 -04:00
Ross Poulton
bb2c240ef8
Use proper URL names for hold/unhold rather than manually building URL. Fixes #299
2015-02-14 11:13:19 +11:00
Ross Poulton
19ec7bee96
Extend attachment filefield max length in upload form. Fixes #301 .
2015-02-14 11:02:58 +11:00
Alex Seeholzer
4ba29c500c
Merge branch 'bugfix_models'
...
* bugfix_models:
bug fix for commit
2015-02-11 13:25:52 +01:00
Alex Seeholzer
ddabc9d133
bug fix for commit
2015-02-11 13:23:42 +01:00
Alex Seeholzer
4c89456bc1
Merge branch 'populate_usersettings'
...
* populate_usersettings:
Added south migration to populate the initially existing users with usersettings.
2015-02-11 13:14:55 +01:00
Alex Seeholzer
a11227c6c1
Added south migration to populate the initially existing users with usersettings.
2015-02-11 13:14:36 +01:00
Alex Seeholzer
9665361bb1
In Django < 1.7, if settings.AUTH_USER_MODEL is defined, the sender is expected to be the actual instance, not a string. This Closes rossp/django-helpdesk#295 by checking for django version < 1.7.
2015-02-11 12:23:59 +01:00
Alex Seeholzer
a87e1355ee
Added missing south migration, adding the missing fields 'helpdesk_queue.socks_proxytype'. This fixes rossp/django-helpdesk#291 .
2015-02-10 17:30:32 +01:00
Simon Thépot
83affccec5
Specify features to load in failing testcase for django < 1.7
2015-01-14 16:00:35 +01:00
Simon Thépot
b53d3ad9bc
Rename initial_data.json to emailtemplate.json
2015-01-14 15:49:08 +01:00
Simon Thépot
f68c1b3ae9
Django1.7 tests: load initial_data w/ migration
2015-01-14 15:36:37 +01:00
Simon Thépot
f0156cfcb3
Populate user settings w/ data migration, Django1.7 compatible, fix #276
2015-01-14 11:19:17 +01:00
TreeNode
ae681dd5d3
Clear host and port if no proxy type was set
2014-12-11 12:03:36 +02:00
TreeNode
54dd376b9c
Check for sock lib has installed
2014-12-11 01:44:47 +02:00
TreeNode
135e2d65ea
Created new migrations
2014-12-11 01:42:55 +02:00
TreeNode
83a5e964f3
Default field values
2014-12-11 01:42:20 +02:00
TreeNode
50b80b2a08
Socks proxy support
2014-12-10 23:37:34 +02:00
Jenny Qian
859935e5ee
exclude '\r' from subject_part
...
This is to prevent BadHeaderError("Header values can't contain newlines..
2014-10-29 10:57:31 -05:00
Ross Poulton
0d9446480e
Merge pull request #273 from vladyslav2/master
...
Fix replace function for custom fields
2014-10-27 11:17:53 +11:00
Vladyslav T
f1147f695a
Fix replace function for custom fields
2014-10-25 22:53:56 +03:00
Tom Graham
33728bc0b1
Revert "Make sure custom user logic works with Django 1.4"
...
This reverts commit 1aed6c9a96
.
2014-10-24 18:05:44 +11:00
Tom Graham
1aed6c9a96
Make sure custom user logic works with Django 1.4
...
Monkey Patch for Django 1.4 to allow new custom user model logic.
2014-10-24 17:56:52 +11:00
Tony Zhu
8635742931
Rename the initial data to avoid django 1.7 flush bug
2014-10-23 10:48:11 -04:00
Tony Zhu
dc86236136
Go back to the original helpdesk repo
2014-10-23 10:44:59 -04:00
Tom Graham
eef2a66f23
Fix for no model_name in django < 1.6
2014-10-22 17:35:24 +11:00
Tom Graham
15feb7def3
Typo in previous commit
2014-10-22 17:32:17 +11:00
Tom Graham
d966172fb7
Fix user changelist for custom user models
...
Fixed the user_admin_changelist url for custom user models.
2014-10-22 17:23:56 +11:00
Tom Graham
d2ac8af6c0
Improved support for custom user models
...
Support for custom user models with a non-standard username field
2014-10-22 16:18:04 +11:00
Tony Zhu
af1a297460
Merge from origin repo
2014-10-20 14:12:40 -04:00
Ross Poulton
b0756497dc
Merge pull request #262 from AGASS007/master
...
fixed tooltip (again)
2014-09-24 08:17:20 +10:00
Guillaume Andreu Sabater
d5dd2c3423
actually enable tooltip
2014-09-22 14:04:14 +02:00
Guillaume Andreu Sabater
45eda26e7c
swapped <a> and <strong> tags
2014-09-22 14:03:37 +02:00
Guillaume Andreu Sabater
05350ba37c
fixed typo
2014-09-22 14:00:33 +02:00
Antoine Nguyen
58c2c818f4
Use the right values to identify priorities.
2014-09-22 10:01:08 +02:00
Antoine Nguyen
8095d30e8e
Remove unknown reference to priority.
2014-09-19 16:06:11 +02:00
Antoine Nguyen
ad47087c8f
Assign a bootstrap row color to tickets based on priority.
2014-09-19 16:01:15 +02:00
Antoine Nguyen
91628ab788
Do not use the builtin staff_member_required decorator.
...
Before 1.7, this decorator always redirects to the admin login page so the LOGIN_URL
setting is useless.
2014-09-19 15:15:42 +02:00
Guillaume Andreu Sabater
85b90d0030
Enable bs3 tooltips with html markup
2014-09-18 14:42:06 +02:00
Ross Poulton
863effdcb6
Update French translations. Thanks to @tonioo; closes #259 .
2014-09-18 09:50:18 +10:00
Ross Poulton
7fe1cb4c9f
Update & recompile translations
2014-09-16 19:54:05 +10:00
Ross Poulton
1a157ed097
Django 1.7 compat update. Fixes #255 , thanks @danie1k
2014-09-11 17:37:51 +10:00
Ross Poulton
61f49786c0
Fixes for Django 1.7. For prior Django versions, South 1.0 must be used for
...
migirations. Fixes #254 .
2014-09-10 09:06:50 +10:00
Ross Poulton
4c901880bc
Allow file attachments in storages other than local files (eg S3). Fixes GH-249.
2014-09-02 18:36:00 +10:00
Ross Poulton
1aed98463a
Increase size of attachment filename. Fixes #164 .
2014-09-02 18:36:00 +10:00
Stefano Brentegani
9c33c67d1d
ticket view redirect to management form should consider generic is_helpdesk_staff definition
2014-08-01 09:28:04 +02:00
Stefano Brentegani
8be4480a3f
is_helpdesk_staff template filter (applied in navigation.html)
2014-08-01 09:25:43 +02:00
Stefano Brentegani
4ed8f11754
merge HELPDESK_CUSTOM_STAFF_FILTER_CALLBACK into HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE
2014-08-01 07:20:43 +02:00
Stefano Brentegani
5346c17629
Merge branch 'master' of https://github.com/rossp/django-helpdesk into refactor-staff-filter
2014-07-31 06:22:59 +02:00
Stefano Brentegani
05647d75ad
remove unused helpdesk_settings alias
2014-07-30 13:25:57 +02:00
Stefano Brentegani
299c23671a
update .po files (preserve already translated text)
2014-07-30 11:13:42 +02:00
Stefano Brentegani
94fa283f2d
mark new translatable strings and reduce redundancy
2014-07-30 10:41:10 +02:00
Stefano Brentegani
5e1616d83a
split blocktrans in templates
2014-07-30 10:40:13 +02:00
Stefano Brentegani
9bbcaa5cc0
download and recompile translations from Transifex (adds Arabic)
2014-07-30 09:53:24 +02:00
Stefano Brentegani
b1b89d1d6f
replace all explicit uses of HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE in helpdesk.views.staff
2014-07-30 06:58:57 +02:00
Stefano Brentegani
14d7279844
test non-public update by non-staff user is blocked
2014-07-30 06:55:43 +02:00
Stefano Brentegani
b7e8ae5ee5
validate that HELPDESK_CUSTOM_STAFF_FILTER_CALLBACK is callable, if set
2014-07-30 06:35:52 +02:00
Stefano Brentegani
c0dd6ea075
test helpdesk.views.staff.return_to_ticket
2014-07-30 06:07:08 +02:00
Stefano Brentegani
ccec263452
Also test is_helpdesk_staff
2014-07-29 22:41:09 +02:00
Stefano Brentegani
82df965d5f
replace HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE in homepage view and test behaviour
2014-07-29 22:03:47 +02:00
Stefano Brentegani
581e43a3b0
separate authorisation function from decorator
2014-07-29 20:55:25 +02:00
Stefano Brentegani
aea940cb3f
move decorators to their own module, rename to helpdesk_*
2014-07-28 11:46:02 +02:00
Stefano Brentegani
97c317f83d
add tests, example
2014-07-28 06:47:19 +02:00
Stefano Brentegani
cba43db882
Merge branch 'master' of https://github.com/rossp/django-helpdesk into custom-staff-filter
2014-07-28 05:15:40 +02:00
Stefano Brentegani
fdd2508e22
missing load url in template
2014-07-27 18:32:56 +02:00
Stefano Brentegani
8666bf57e5
Merge branch 'master' into custom-staff-filter
2014-07-26 14:10:07 +02:00
Stefano Brentegani
0c93de8bdb
Merge branch 'master' into template-cleanup
...
Conflicts:
helpdesk/templates/helpdesk/navigation.html
2014-07-26 14:03:08 +02:00
Ross Poulton
d38240e3cb
Merge pull request #237 from brente/user-menu
...
User menu
2014-07-26 20:30:44 +10:00
Ross Poulton
201a7e91cd
Merge pull request #236 from brente/fix-typo
...
fix typo in template condition
2014-07-26 20:30:17 +10:00
Stefano Brentegani
5e9fd86941
Bootstrap version of the user settings form
2014-07-25 20:57:34 +02:00
Stefano Brentegani
9433f34f9b
Nav: use full user name, if available, fix icon
2014-07-25 20:14:13 +02:00
Stefano Brentegani
b05c396918
User menu = User settings, Change password, Logout
2014-07-25 18:08:47 +02:00
Stefano Brentegani
47bec43108
fix typo in template condition
2014-07-25 17:23:54 +02:00
Stefano Brentegani
597fd2b4af
update jqPlot (resolves compatibility issues with jQuery 1.9+)
2014-07-25 14:47:37 +02:00
Stefano Brentegani
311dfa6dbd
missing spaces in navigation menu
2014-07-25 14:08:35 +02:00
Ross Poulton
b1b1f93e1e
speed up dashboard queries by using select_related ( fixes #233 )
2014-07-23 09:37:21 +10:00
Stefano Brentegani
6d86b62673
missing template lib references
2014-07-22 19:27:37 +02:00
Stefano Brentegani
78103c345b
separate dashboard elements for easier customisation
2014-07-22 19:20:40 +02:00
Stefano Brentegani
cfd0ca3b7d
remove row_columnheads class from table headers
2014-07-22 16:09:06 +02:00
Stefano Brentegani
df32432685
Merge commit 'fd0ab29dfcfc263be686c8351f4dc5880e3e1b9b' into template-cleanup
...
Conflicts:
helpdesk/templates/helpdesk/dashboard.html
helpdesk/templates/helpdesk/kb_category.html
helpdesk/templates/helpdesk/ticket_desc_table.html
2014-07-22 07:28:04 +02:00
Ross Poulton
1524cb4ca1
Merge pull request #232 from brente/ago-naturaltime
...
Use naturaltime for elapsed times
2014-07-22 14:59:20 +10:00
Stefano Brentegani
fb6b35a724
Merge branch 'master' into custom-staff-filter
...
Conflicts:
docs/settings.rst
helpdesk/views/staff.py
2014-07-22 06:47:50 +02:00
Stefano Brentegani
d95aa46b03
Merge branch 'master' into template-cleanup
2014-07-22 06:43:05 +02:00
Ross Poulton
a2a214d33d
Merge pull request #231 from brente/no-admin-url
...
Remove undocumented ADMIN_URL setting
2014-07-22 10:09:45 +10:00
Ross Poulton
ef84c90732
Merge pull request #230 from brente/navigation-nokb
...
exclude KB from navigation if HELPDESK_KB_ENABLED is False
2014-07-22 10:09:15 +10:00
Stefano Brentegani
04112a109d
fix unquoted urls in template
2014-07-21 21:43:29 +02:00
Stefano Brentegani
c711a54d8d
Merge commit '21e46f010dfecea1562a4d2b308fd78b71fec8a0' into no-admin-url
...
Conflicts:
helpdesk/urls.py
2014-07-21 21:38:40 +02:00
Stefano Brentegani
9c97172624
missed for ... empty opportunity
2014-07-21 21:30:32 +02:00
Stefano Brentegani
0f103ea827
use for ... empty in templates
2014-07-21 20:28:37 +02:00
Stefano Brentegani
b530f19d65
templates: removed row_odd, row_even, row_hover classes and hover.js
2014-07-21 20:19:23 +02:00
Stefano Brentegani
6abc0ba9a9
replace row_tablehead with caption
2014-07-21 20:02:50 +02:00
Stefano Brentegani
fe5c7135a6
exclude KB from navigation if HELPDESK_KB_ENABLED is False ( fixes #223 )
2014-07-21 18:44:54 +02:00
Stefano Brentegani
fd0ab29dfc
use naturaltime for elapsed times ( resolves #229 )
2014-07-21 10:21:33 +02:00
Stefano Brentegani
c477f575db
use django.utils.dates.MONTHS_3 for short month names ( resolves #225 )
2014-07-21 09:12:27 +02:00
Stefano Brentegani
76b9271c10
fix setting import (fixes CI error)
2014-07-20 16:17:39 +02:00
Stefano Brentegani
13830a84e5
Custom logic for determining if the user is considered helpdesk staff.
2014-07-20 10:36:24 +02:00
Issac Kelly
073df0b03e
Continuation
2014-07-15 16:04:19 -07:00
Issac Kelly
19c1913268
Allow Templated Subjects.
2014-07-15 15:48:42 -07:00
Issac Kelly
978c0665b8
Custom User model changes.
2014-07-15 14:02:31 -07:00
Ross Poulton
fe1bfd1fa4
Replace django.contrib.markup with django-markdown-deux. Closes #219 .
2014-07-07 12:10:53 +10:00
Gabriel Pichot
27217edf4a
Changed references from auth.User to get_user_model (views, forms & commands)
2014-06-18 16:21:37 +02:00
Aaron C. de Bruyn
ae53c1f6c7
Strip out carriage returns from subjects. Coses GH-209
2014-06-17 12:01:33 -07:00
Ross Poulton
ea9b772f35
Merge pull request #214 from Inboxen/testing-fixes
...
Testing fixes
2014-06-06 10:17:18 +10:00
Matt Molyneaux
4caa54f84d
Move CustomField to field class code to a mixin
2014-06-05 09:51:19 +01:00
Matt Molyneaux
28c3690da7
Give CustomField.empty_selection_list a default value
...
BooleanField defaults to False <1.6 and to None >=1.6, causing tests to fail on 1.6
2014-06-05 01:30:27 +01:00
s3h10r
fece448308
fixes: attachments in public comments not shown in public_view_ticket
...
if no followup.ticketchange_set.all is present the attachments
of followups were not shown to a public user.
2014-05-26 17:28:36 +02:00
Tony Zhu
fced647271
Use json instead of deprecated django.utils.simplejson
2014-03-31 14:43:59 -04:00
Adam Fast
830a62e986
Update with default for HAS_TAG_SUPPORT
...
Migration 0006 imports this setting but no value is available so an ImportError is thrown.
2014-03-04 14:20:47 -06:00
Ross Poulton
d99df4a43e
Merge pull request #206 from gjedeer/patch-1
...
Protocol-independent CDN links
2014-02-20 08:57:20 +11:00
GDR!
07a3b91b6f
Protocol-independent CDN links
2014-02-19 16:17:13 +01:00
GDR!
53640e0b3e
Protocol-independent CDN links
2014-02-19 16:16:17 +01:00
Ross Poulton
36c7e59f07
Merge pull request #169 from mpietsch/ticket_caption_sorting
...
Caption and sorting of tickets in dropdown menus should use ID, e. g. when adding a dependency
2014-01-30 17:52:03 -08:00
Ross Poulton
452a34ad72
Smart email parsing ( closes #203 ): Use email-reply-parser to ignore cruft in incoming emails
2014-01-29 23:08:33 +11:00
Ross Poulton
0e58c99f69
Remove unncessary translate code in base.html; comment translation still functions.
2014-01-29 22:55:06 +11:00
Ross Poulton
fd9881e6e0
Fix display of saved queries for authenticated users when CONTEXT_PROCESORS didn't include request.
2014-01-29 22:48:54 +11:00
Ross Poulton
2b225d6843
settings.py cleanup ( #200 ); remove HELPDESK_KB_ENABLED_STAFF and HELPDESK_NAVIGATION_STATS_ENABLED (now always on); removed HELPDESK_NAVIGATION_CUSTOM_EXTEND - just use custom template!
2014-01-29 22:37:36 +11:00
Ross Poulton
a9c7e3ab72
settings.py cleanup ( #200 ): remove org name / logo. These belong in local templates, not settings.
2014-01-29 22:30:26 +11:00
Ross Poulton
77f0512c76
settings.py cleanup ( #200 ): remove HELPDESK_SUPPORT_PERSON; please add into attribution.html if needed.
2014-01-29 22:27:42 +11:00
Ross Poulton
1066049ccc
settings.py cleanup ( #200 ); Remove HELPDESK_SHOW_KB_ON_HOMEPAGE (new default is YES)
2014-01-29 22:26:35 +11:00
Ross Poulton
cd1172b35a
settings.py cleanup ( #200 ): Remove HELPDESK_SHOW_DELETE_BUTTON_TICKET_TOP and HELPDESK_SHOW_EDIT_BUTTON_TICKET_TOP; both links now always show.
2014-01-29 22:23:42 +11:00
Ross Poulton
a5b9ae1f0a
settings.py cleanup ( #200 ): Change HELPDESK_UPDATE_PUBLIC_DEFAULT to False. This re-shows the 'is public?' tickbox.
2014-01-29 22:19:35 +11:00
Ross Poulton
b85b45a14a
settings.py cleanup ( #200 ) - Remove HELPDESK_CUSTOM_WELCOME; always show this reworded message.
2014-01-29 22:17:45 +11:00
Ross Poulton
8427c622aa
Remove extraneous HAS_TAG_SUPPORT setting
2014-01-29 22:16:05 +11:00
Ross Poulton
4930579534
settings.py cleanup: remove options for footer links; API link always shows and removed language selector.
2014-01-29 22:15:37 +11:00
Ross Poulton
66da47205e
settings.py cleanup ( #200 ) - remove HELPDESK_DASHBOARD_BASIC_TICKET_STATS, always shows now. This resolves #201 to my satisfaction for now.
2014-01-29 22:13:42 +11:00
Ross Poulton
99e9bd33d8
Settings.py cleanup ( #200 ): Remove HELPDESK_DASHBOARD_HIDE_EMPTY_QUEUES
2014-01-29 22:09:58 +11:00
Ross Poulton
07a9093dae
settings.py cleanup ( #200 ): Always show Delete button on dashboard
2014-01-29 22:08:21 +11:00
Ross Poulton
d340446feb
Remove django-tagging support, as that library is unmaintained. Closes #194 .
2014-01-29 22:00:00 +11:00
Ross Poulton
2718315d53
Merge pull request #191 from leonh/master
...
added a bootstrap3 based layout, thanks @leonh. Updates #180 too. Needs more testing and tweaking (eg 'Edit' forms, add django-bootstrap-form to requirements & readme).
2014-01-22 02:24:59 -08:00
Bryce Groff
020d1cefae
- Use the Django 1.5 get_user_model function if it exists in Django, i.e. 1.5 and above.
2014-01-15 13:39:38 -10:00
Leon Harris
e7e2781d65
added local nav extension via a specified template
2013-12-09 16:48:11 +00:00
Leon Harris
f6a8c80755
added bit of colour on the ticket detail page
2013-11-26 12:09:55 +00:00
Leon Harris
a419956f4c
fixed responsive problems with navigation moved logo into body of page altered headings
2013-11-26 10:59:45 +00:00
Leon Harris
7fcb829e54
updated templated to use CDN bootstrap3, CDN jquery, added logo to navigation, minor layout changes requires http://github.com/tzangms/django-bootstrap-form
2013-11-25 15:51:14 +00:00
Ross Poulton
cf63c61d82
Merge pull request #190 from tony-zhu/master
...
Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not default. Should fix #3 .
2013-11-19 14:00:29 -08:00
Tony Zhu
b6339cc016
Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not FileSystemStorage
2013-11-19 21:24:52 +00:00
Ross Poulton
95a1bfb6b7
Merge pull request #189 from tony-zhu/master
...
RSS feed not working for user name with @ in it. Fixes issue
2013-11-14 14:15:16 -08:00
Tony Zhu
51114c8029
RSS feed not working for user name with @ in it. Fixes issue
2013-11-14 20:34:39 +00:00
Stefano Brentegani
eb3becb9a9
fixes = vs == in template
2013-11-07 13:22:04 +01:00
Tony Zhu
7624e77524
Fix the navigation links for NON_STAFF to create new ticket if HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE is enabled
2013-10-14 14:55:44 -04:00
Ross Poulton
f65247278f
Update and recompile all translations. Closes #185 .
2013-10-01 11:31:38 +10:00
Ross Poulton
98340b524d
Fixes #181 . Thanks @AntonOfTheWoods
2013-09-16 11:54:46 +10:00
Ross Poulton
f63b670893
Merge pull request #170 from mpietsch/status_dependencies
...
Ticket status now shows that there are open dependencies.
2013-05-28 17:03:35 -07:00
Ross Poulton
3e80ded22f
Merge pull request #174 from mpietsch/cctemplate2
...
Now using mail template ..._cc for informing cc addresses.
2013-04-22 17:33:48 -07:00
root
d177291409
Now using mail template ..._cc for informing cc addresses.
2013-04-19 08:54:24 +02:00
xmacaba
78cc734a12
Update public_view_ticket.html
...
It returns the id of the post, but this value is not eligible for ticket viewing. Instead, you must provide the [queue]-[ticket_id].
2013-04-01 20:06:37 -03:00
Darrell Enns
a4b3185525
fix urls.py for django 1.3 compatibility
2013-03-18 11:58:07 -07:00
Darrell Enns
8f0a80d322
added url tag compatibility fix for django <1.5
...
added django 1.5 to travis
2013-03-18 11:41:43 -07:00
Darrell Enns
ca1c6a270c
compatibility fixes for django 1.5
2013-03-18 10:57:39 -07:00
root
9b593472f7
Ticket status now shows that there are open dependencies.
2013-03-06 11:19:13 +01:00
root
20d5a24eab
Caption and sorting of tickets in dropdown menus should use ID, e. g. when adding a dependency.
2013-03-06 10:58:25 +01:00
root
306d8bf4d3
Changed regex for email subjects to use queue slug to tell internal ticket id from external ones.
2013-02-27 16:14:16 +01:00
Ross Poulton
127d57e386
Fix timezone import for Django < 1.4
2013-01-23 12:21:54 +11:00
Ross Poulton
556cf5d302
fix tpyo - importError vs ImportError
2013-01-23 11:55:36 +11:00
Ross Poulton
53273e3794
Fix datetime/timezone handling in Django <1.4; update management commands to be timezone-aware
2013-01-23 11:35:18 +11:00
Ross Poulton
341a40b9ae
Make datetime handline offset-aware. Now requires pytz. Fixes #142 .
2013-01-23 10:59:12 +11:00
Ross Poulton
13702852e1
Merge branch 'master' of github.com:rossp/django-helpdesk
2013-01-21 17:25:39 +11:00
Ross Poulton
6c440f3ed0
Fix #160 - send e-mails to ticket CC list even if there is no ticket submitter
2013-01-21 17:25:14 +11:00
Ross Poulton
4736ef3c98
Merge pull request #156 from URpages/master
...
Make sure that blank strings do not kill in_list. Also fixes #107 .
2013-01-19 19:54:27 -08:00