Commit Graph

2220 Commits

Author SHA1 Message Date
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
Christopher Broderick
66565eff01
Merge pull request #1056 from Benbb96/fix-1054
Better error handling when attachment extension is invalid
2022-11-11 22:48:28 +00:00
Christopher Broderick
64dc91bbd7
Merge pull request #1058 from django-helpdesk/update-demo
Remove link to heroku demo
2022-11-09 11:14:38 +00:00
Garret Wassermann
c3aacbd813
Remove link to heroku demo 2022-11-07 13:42:30 -05: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
Christopher Broderick
297ecdda8c
Merge pull request #1055 from Benbb96/fix-1054
Fix fail email check when an attachment has a wrong extension
2022-10-09 23:03:17 +01:00
Benbb96
b3edba3fc5 Fix #1054 2022-10-09 23:05:16 +02:00
Garret Wassermann
0d810d6102
Merge pull request #1053 from uhurusurfa/fix_attachment_file_name_handling
Attachment file name handling, fixes email containing comma in "real name" and ignored emails
2022-09-08 21:08:46 -04:00
chrisbroderick
f134d64349 Add import sort checking and fixing to makefile 2022-09-08 23:42:20 +01:00
chrisbroderick
9e3a3abcf1 Fix import sorting 2022-09-08 23:40:49 +01:00
chrisbroderick
0ae288374c Development support apps 2022-09-08 23:31:28 +01:00
chrisbroderick
9627c17a45 Enhance for development processes 2022-09-08 23:31:02 +01:00
chrisbroderick
673d12c67b Add a dev requirements to make it easier to develop helpdesk 2022-09-08 22:12:20 +01:00
chrisbroderick
8d7ba415fa Fix formatting per flake8 2022-09-08 22:11:24 +01:00
chrisbroderick
b78be0d71f Delete no longer used CI/CD 2022-09-08 22:11:07 +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
99b2ba5372 Remove the directory created for the test 2022-09-06 19:41:29 +01:00
chrisbroderick
96b985f8a6 Ignore tox created stuff 2022-09-06 19:40:46 +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
3c4c9ce533 Additional test libraries for more detailed testing of emails 2022-09-02 22:12:42 +01:00
chrisbroderick
4e001c7f15 test utility methods to simplify more complex tests 2022-09-02 22:11:19 +01:00
Garret Wassermann
cf25e5f714
Merge pull request #1048 from martin-marty/remove_azure
Remove azure and default to github actions on pull requests,opened/reopened
2022-08-09 11:01:39 -04:00
Martin Whitehouse
c70092e113
Remove restrictions
Signed-off-by: Martin Whitehouse <martin@umed.org>
2022-08-08 18:41:57 +02:00
Martin Whitehouse
b3051fb686
Merge branch 'unstable' into remove_azure 2022-08-08 18:23:42 +02:00
Martin Whitehouse
353bd699df
Remove azure and default to pull requests,opened/reopened 2022-08-08 18:19:58 +02:00
Garret Wassermann
a8d1ee194f
Merge pull request #1038 from IvanovIvan1900/correct_requirements
Fix for latest version of markdown library and add some markdown tests
2022-08-08 09:53:24 -04:00
Alex
8359a1e5ae Fix. Add test markdown and rewrite for last markdown is working 2022-08-08 20:29:43 +07:00
Alex
3a13bbfeef Fix. Add test markdown and rewrite for last markdown is working 2022-08-08 20:20:00 +07:00
Alex
8abf0ab8a8 Fix. Add test markdown and rewrite for last markdown is working 2022-08-08 18:16:18 +07:00
Garret Wassermann
c55c98bc3e
Merge pull request #1047 from martin-marty/workflow-cache
Workflow cache update to always run tests on push
2022-08-08 06:46:23 -04:00
Martin Whitehouse
eaf4a4124a
Merge branch 'unstable' of git@github.com:martin-marty/django-helpdesk.git into workflow-cache 2022-08-08 12:18:12 +02:00
Martin Whitehouse
5d06835c03
Run 'On push' 2022-08-08 11:13:13 +02:00
IvanovIvan1900
1d450c01db
Merge branch 'unstable' into correct_requirements 2022-08-08 15:48:34 +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
Garret Wassermann
ce812a6525
Merge pull request #1046 from martin-marty/workflow-cache
Workflow cache improvement
2022-08-05 11:00:25 -04:00
Martin Whitehouse
8ab7599bea
Remove parallel constraint 2022-08-05 14:43:53 +02:00
Martin Whitehouse
cd480b2750
Add Djagno versions to test matrix
32 and 4 used for constraints
2022-08-05 14:27:29 +02:00
Martin Whitehouse
a51933f9bf
Bump django 2.2 -> 3.2 2022-08-05 10:28:31 +02:00
Martin Whitehouse
cb35578b70
Add python version to cache key
Prevents conflicts
2022-08-05 10:09:00 +02:00
Martin Whitehouse
6b0400dbcd
Add cache to workflow 2022-08-05 10:04:50 +02:00
Garret Wassermann
3a157c1f13
Merge pull request #1045 from spmzt/patch-1
Fix typo: Dissable to disable
2022-08-03 23:32:53 -04:00
Pouria Mousavizadeh Tehrani
318417f097
Merge branch 'unstable' into patch-1 2022-08-03 18:05:13 +04:30
Pouria Mousavizadeh Tehrani
47f0bf8df6
Dissable to disable 2022-08-01 16:13:59 +04:30
Alex
a28569a984 Fix. Fix problem wich version package in requirements and add test markdown 2022-07-27 19:58:39 +07:00
Garret Wassermann
e75e977911
Merge pull request #1041 from martin-marty/unstable
Refactoring to reduce complexity of several email-related functions
2022-07-25 01:47:40 -04:00
Martin Whitehouse
4a429f5498
Add flake8 exit failure to workflow 2022-07-25 04:47:59 +02: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