Commit Graph

593 Commits

Author SHA1 Message Date
97a24fbe22 Ensure that local files are deleted after processing, and add some information about it to the install.rst documentation 2016-11-12 11:32:04 +07:00
ebfea8274d convert reverse-URL lookups to helpdesk namespace
in views.staff, this fixes:
-run_report's no-tickets-found redirect to report_index
-del_attachment's redirect to parent ticket view after deletion
2016-11-11 10:31:37 +07:00
b0b68b9541 drop south_migrations folder 2016-11-02 17:22:47 +01:00
62163eaf0e patch: implicit closing of open files; 2016-11-01 15:03:51 +01:00
2a7d82413b Miscellaneous improvements from review of #419 2016-10-31 02:57:08 -04:00
37b9d332de Fix some more missing namespace references for login and kb_category 2016-10-31 02:19:41 -04:00
c74208325b Removed test_per_queue_staff_permission assertion, report_index no longer returns unassigned_tickets 2016-10-31 02:06:49 -04:00
26f4987726 Fix a missing helpdesk namespace reference in report_index.html 2016-10-31 01:42:45 -04:00
194641613c Sync with upstream, merged in AbstractForm with bootstrap class 2016-10-31 01:38:49 -04:00
abd6fdcebe simplifying if-case branches on CustomFieldMixin 2016-10-30 20:53:18 +01:00
cce12181f0 refactoring single-letter variables into better names 2016-10-30 20:43:05 +01:00
681a1893bd missed a refactoring 2016-10-30 08:42:05 +01:00
d8d10fae90 DRY in *TicketForm --by adding an Abstrat~ one 2016-10-30 08:39:17 +01:00
bea6fbf75a fixing a deprecated usage, and adding a minor branch control 2016-10-30 08:38:49 +01:00
adf2b16c2c Fix namespaces in test 2016-10-29 04:33:27 -04:00
dc25164304 More PEP8 changes (hopefully last) 2016-10-29 04:27:29 -04:00
4cf46156f1 More PEP8 changes 2016-10-29 04:20:16 -04:00
1f1d477a35 Sync again with master 0.2 2016-10-29 04:11:41 -04:00
d791700582 Fix PEP8 errors 2016-10-29 04:08:57 -04:00
28308d19fb cleanup build-breaking whitespace merge errors 2016-10-29 14:59:14 +07:00
cad174468b Sync with namespace and other v0.2 changes 2016-10-29 03:47:15 -04:00
26c0f2e59f Merge pull request #441 from alexbarcelo/api-prune
Remove all the deprecated API related files and references
2016-10-29 14:12:31 +07:00
53ed0d3a2c Remove all the deprecated API related files and references 2016-10-29 08:50:13 +02:00
43c067dd4f merge changes from updated master 2016-10-29 13:35:03 +07:00
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
6761ad6c10 fixing RST syntax for docstring on akismet.py 2016-10-26 10:22:15 +02:00
f017adea63 fixing those two python files 2016-10-24 10:05:41 +02:00
89a6ae01b8 Fixing style (according to branch 'autocodestyle') + quicktest 2016-10-24 08:04:31 +02:00
179ceb2f82 fixing style on tests 2016-10-23 22:10:32 +02:00
30e3aa55aa almost auto-fix on misc files 2016-10-23 22:09:17 +02:00
3c35473265 fixing views.py (except deprecated api) 2016-10-23 22:02:02 +02:00
24d88be8d9 Initial general clean-up of stuff 2016-10-21 17:14:12 +02:00
d7875587b7 Revert previous change 2016-10-20 12:05:28 -04:00
884662dd21 Ensure binary data is returns so Django can decode it 2016-10-20 11:46:09 -04:00
dfb7987ebb Remove emails from queue in test_get_email 2016-10-20 11:17:51 -04:00
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
5e93297787 Fix call_command options for correct format to work with Django 1.7+ 2016-10-20 02:29:23 -04:00
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
9606201200 Fix mock tests for get_email (hopefully for good this time) 2016-10-20 02:09:05 -04:00
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
e3c9e04feb Fix python module naming in get_email test 2016-10-20 01:25:16 -04:00
af893bdcc8 Merge pull request #428 from jflesch/master
Fix form translations
2016-10-20 12:16:31 +07:00
3b181e87ef Fix inconsistent indentation 2016-10-20 11:43:22 +07:00
c9c7642724 New unit test for get_email command 2016-10-19 21:37:23 -04:00
f61d180e5d use django.utils.six instead of plain six 2016-10-19 20:02:12 -04:00
91afbb9755 fixing some additional reverse stuff 2016-10-19 15:30:37 +02:00
afd6ebad74 Merge current 'master' state into urls_app_name 2016-10-19 15:26:04 +02:00
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
0ad110ec7f forms.py: cleanup whitespaces
Signed-off-by: Jerome Flesch <jflesch@gmail.com>
2016-10-18 15:35:41 +02:00
96f4fecb71 add setting for fallback locale 2016-10-14 15:04:28 +07:00