Bruce
6f72db6760
Force URTF-8 Encoding on File Open
2023-03-27 21:36:24 +10:00
Christopher Broderick
7ff870ec88
Merge branch 'main' into #1075---add-options-for-date-and-datetime-input-in-ticket-view
2023-03-26 00:46:07 +00:00
Christopher Broderick
6c968626b6
Fix format failure
2023-03-25 13:28:13 +00:00
Christopher Broderick
8cb3d43311
Use simpler conversion to string
2023-03-25 13:25:22 +00:00
Christopher Broderick
4cd66d7e0c
Fix import format fail
2023-03-25 13:21:38 +00:00
Christopher Broderick
9e71fc8467
Remove redundant import
2023-03-25 13:21:27 +00:00
Christopher Broderick
85aeb8e79e
Allow specifiying the content for a multipart
2023-03-25 13:06:40 +00:00
Christopher Broderick
cdbd531931
Ensure multipart attachments are saved
2023-03-25 13:06:03 +00:00
Christopher Broderick
ae2f24b299
Add test to verify that attachments as multipart are stored.
2023-03-25 13:04:38 +00:00
finnertysea
21ccc83d69
#1075 - make view agnostic to format of incoming due date
2023-03-17 13:12:03 -07:00
Christopher Broderick
930fc71d8b
Merge branch 'main' into fix-warnings
2023-03-10 23:52:46 +00:00
Christopher Broderick
d147f8b1a0
Merge branch 'main' into main
2023-03-10 23:48:29 +00:00
Christopher Broderick
77350c26f3
Merge branch 'main' into #1069_urls_username_regex
2023-03-10 23:43:11 +00:00
Christopher Broderick
dc6db21368
Merge branch 'main' into stable
2023-03-10 23:39:40 +00:00
Christopher Broderick
7f8e996668
Fix missing param in call
2023-03-10 22:11:34 +00:00
Christopher Broderick
aad73a5d90
Fix format errors
2023-03-10 22:06:14 +00:00
finnertysea
66a83a0716
#1069 - make regex matching username more permissive for rss_user to match rss_user_queue
2023-01-27 12:33:33 -08:00
finnertysea
5279180221
Bug fix #1066 - modified import order to placate isort
2023-01-24 13:36:18 -05:00
finnertysea
71ff0aa6d5
Bug fix - detected due date change when no change was made
2023-01-20 10:53:35 -05:00
Rafael Reuber
2cca51085f
Removes unused function query_to_dict
2023-01-05 22:30:57 +00:00
Benbb96
64788938b4
Catch exception on an attachment individually in order to allow valid extension to be processed.
2022-10-10 21:57:56 +02:00
Benbb96
b3edba3fc5
Fix #1054
2022-10-09 23:05:16 +02:00
chrisbroderick
9e3a3abcf1
Fix import sorting
2022-09-08 23:40:49 +01:00
chrisbroderick
8d7ba415fa
Fix formatting per flake8
2022-09-08 22:11:24 +01:00
chrisbroderick
eca2255f56
Test for filename using diaretics
2022-09-08 10:05:09 +01:00
chrisbroderick
357241e269
Refactor to make the methods more generic and able to be used to build
...
any kind of email
2022-09-07 08:48:32 +01:00
chrisbroderick
572ffd5acf
Handle ignored emails explicitly using exceptions.
...
Support the flag on IgnoreEmail model to control deleting the email if
ignored.
2022-09-06 19:40:35 +01:00
chrisbroderick
23c3b72a43
Refactor object_from_message to make it more testable and fix some bugs.
...
Extract the from email using the email library instead of pre-decoding
which exposes the comma separator causing the email address to be
extracted incorrectly if the real name contains a comma.
Raise an exception when a message to be ignored is detected to process
ignored messages explicitly.
2022-09-04 22:01:32 +01:00
chrisbroderick
e1085cb370
Custom exception to handle ignored messages explicitly.
2022-09-04 21:53:08 +01:00
chrisbroderick
4e001c7f15
test utility methods to simplify more complex tests
2022-09-02 22:11:19 +01:00
Benbb96
238dd8d3d5
Fix import order
2022-08-15 20:21:19 +02:00
Benbb96
bc3d89b555
Fix PyCharm warnings in staff.py
2022-08-15 20:15:02 +02:00
Alex
3a13bbfeef
Fix. Add test markdown and rewrite for last markdown is working
2022-08-08 20:20:00 +07:00
Alex
cf5be66fae
Fix. Fix problem wich version package in requirements and add test markdown and rewrite for new markdown
2022-08-06 18:34:16 +07:00
Alex
a28569a984
Fix. Fix problem wich version package in requirements and add test markdown
2022-07-27 19:58:39 +07:00
Martin Whitehouse
72392a3f50
Add update_summary_tables
helper function
...
Reduces complexity of 'run_report' and handles updating summary table in
own function
2022-07-25 04:44:46 +02:00
Martin Whitehouse
205c69b539
Add get_report_table_and_totals
helper function
...
Extracts a large portion of run_report handling
2022-07-25 04:41:01 +02:00
Martin Whitehouse
b1bf2cab46
Add get_report_queryset_or_redirect
helper
...
Gets required objects or redirects
2022-07-25 04:35:49 +02:00
Martin Whitehouse
50bd72ac7a
Move import to top
2022-07-25 04:31:17 +02:00
Martin Whitehouse
d858c40416
Add check_redirect_on_user_query
helper function
...
Extract the checking for a redirect to reduce complexity
2022-07-25 04:29:43 +02:00
Martin Whitehouse
f89f5b91da
Reinstate changes, fixed missing update
2022-07-25 04:23:03 +02:00
Martin Whitehouse
40a243c23b
Revert changes, updating objects missed somewhere
2022-07-25 04:15:53 +02:00
Martin Whitehouse
a248181857
Add redirect_from_chosen_ticket
helper function
...
Moves the whole handling to own block, reducing complexity greatly.
2022-07-25 04:08:16 +02:00
Martin Whitehouse
eb11c4fe0e
Rename ticket_attriubtes
to upper, module level constant.
2022-07-25 04:03:12 +02:00
Martin Whitehouse
a783156b61
Add merge_ticket_values
helper
...
Extract a large portion of code from `merge_tickets`
2022-07-25 04:01:27 +02:00
Martin Whitehouse
bed7f0e493
Add default value property to TicketCustomField
...
Property of the model, so add it there to keep consistency
2022-07-25 04:00:57 +02:00
Martin Whitehouse
46f8e9d21f
Clear error
...
Use.objects.get causes undefined variable when using get_user_model
2022-07-25 03:52:58 +02:00
Martin Whitehouse
1468982043
Remove unused variables, extract correct index
2022-07-25 03:50:49 +02:00
Martin Whitehouse
b326103d82
Fix spacing
2022-07-25 03:48:06 +02:00
Martin Whitehouse
57cd2f1471
Remove annoation for py3.8
2022-07-25 03:47:57 +02:00