Commit Graph

2378 Commits

Author SHA1 Message Date
Timothy Hobbs
b0ef6a5484 Fix #1138 by calling update_ticket directly from non-update views 2023-11-14 21:47:12 +01:00
Timothy Hobbs
ade4c3115e Move update ticket logic out of staff.py 2023-11-14 21:17:37 +01:00
Timothy Hobbs
6cd5522099 Move to ruff, its faster & catches more 2023-11-14 20:37:05 +01:00
Timothy Hobbs
d09c35a881 Show stack traces in stdout on standalone helpdesk 2023-11-14 19:44:43 +01:00
Christopher Broderick
d6764cd4fb
Merge pull request #1133 from tecbr/main
Fix migrations for multiple databases
2023-11-10 13:32:12 +00:00
tecbr
f1d530db2a
Fix 0034_create_email_template_for_merged.py 2023-11-09 21:22:56 -03:00
tecbr
5df7b8ff85
Fix 0009_migrate_queuemembership.py 2023-11-09 21:22:13 -03:00
Christopher Broderick
9ed5ecf327
Merge pull request #1131 from Naggafin/main
changed UserSerializer to utilize custom user classes (didn't work wi…
2023-11-09 19:21:29 +00:00
Naggafin
60aae680dd changed UserSerializer to utilize custom user classes (didn't work with them before) 2023-11-09 13:07:26 -05:00
Christopher Broderick
2b6ad7a2cf
Merge pull request #1128 from django-helpdesk/catch_exceptions_on_precess_email_loop
Catch exceptions on precess email loop
2023-10-26 22:11:30 +01:00
Christopher Broderick
2c197fb2bf Fix ordering of imports 2023-10-26 21:54:15 +01:00
Christopher Broderick
8a2ee78661 Add unit tests for get_mail task. 2023-10-26 21:32:32 +01:00
Christopher Broderick
e4da2797b9 Fix missing f-string operator.
Add queue name to info log.
2023-10-26 21:31:53 +01:00
Christopher Broderick
e040bcac77 Add missing capture of exception to variable. 2023-10-25 17:15:45 +01:00
Christopher Broderick
bc7e189a5c Remove check for info being enabled 2023-10-24 14:24:10 +01:00
Christopher Broderick
2c9e251113 Fix order of imports 2023-10-24 14:20:09 +01:00
Christopher Broderick
db3a176611
Merge branch 'main' into catch_exceptions_on_precess_email_loop 2023-10-24 14:10:37 +01:00
Christopher Broderick
a7863b5f27 Fix formatting 2023-10-24 14:08:40 +01:00
Christopher Broderick
4f65d9cd8e master is deprecated for gh-action-pypi-publis - use release/v1 2023-10-24 13:52:13 +01:00
Christopher Broderick
8849943d33 Add logging to stdout when enabled to facilitate debugging issues. 2023-10-24 13:50:23 +01:00
Christopher Broderick
79150c74d2 Enhance documentation for get_email command 2023-10-24 13:48:38 +01:00
Christopher Broderick
db949aaf6d
Merge pull request #1127 from timthelion/standalone
Standalone
2023-10-23 16:14:35 +01:00
Timothy Hobbs
1dc09ee255 isort 2023-10-23 14:52:18 +02:00
Timothy Hobbs
8be4adb756 Oops, use the standalone urls config :) 2023-10-23 14:20:44 +02:00
Timothy Hobbs
d1cce7caad Add ability to configure local_urls 2023-10-23 14:00:03 +02:00
Timothy Hobbs
7e0a335684 Switch to local_settings first for manage.py as well 2023-10-23 13:42:18 +02:00
Timothy Hobbs
327782b845 Add docs for using s3 for attachments 2023-10-23 12:52:18 +02:00
Timothy Hobbs
13bae827e9 Install git so that we can install git based extra-deps 2023-10-23 12:52:18 +02:00
Timothy Hobbs
90c9b3311e Reverse order of local_settings loading in order to allow adding new installed apps 2023-10-23 12:52:18 +02:00
Timothy Hobbs
8d08b83446 Get rid of extra comments in urls.py 2023-10-23 12:52:18 +02:00
Christopher Broderick
0d91fcca0b
Merge pull request #1124 from django-helpdesk/fix_release_script
Fix PyPi release script. Support ReadTheDocs automated release.
2023-10-18 10:02:22 +01:00
Christopher Broderick
1c419b87b1 Minor updates that have no real influence on the documentation 2023-10-17 15:12:14 +01:00
Christopher Broderick
fd273fd2bc Configuration to autobuild to readthedocs 2023-10-17 15:11:29 +01:00
Christopher Broderick
a3b7c25920 Remove the release build because that (for now) is done in the UI and is
used as a controlled release trigger event for this workflow
2023-10-17 15:06:00 +01:00
Christopher Broderick
ca94472105
Merge pull request #1123 from django-helpdesk/fix_whee
Fix wheel creation via github action
2023-10-17 11:39:42 +01:00
Christopher Broderick
f0e3ef6c8b Changes per PR review and additional cleanup. 2023-10-17 11:01:21 +01:00
Christopher Broderick
28c09f4fdb
Update CONTRIBUTING.rst
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-10-17 10:31:58 +01:00
Christopher Broderick
fd46823460 Set the long_description_content_type to avoid wheel build failure. 2023-10-17 00:27:04 +01:00
Christopher Broderick
84aca2efc5 Update to reflect the current git flow. 2023-10-17 00:26:06 +01:00
Christopher Broderick
bd80384efd
Merge pull request #1121 from django-helpdesk/enhance_teams_documentation
Enhance teams documentation
2023-10-16 17:39:58 +01:00
Christopher Broderick
9eb71f58e6 Space above indented text block 2023-10-16 08:24:46 +01:00
Christopher Broderick
6b16ce3e90 Spacing and grammar correction 2023-10-16 08:14:26 +01:00
Christopher Broderick
a2e39d1cb4 Fix grammar 2023-10-15 15:12:54 +01:00
Christopher Broderick
bcccb39a87 Enhance documentation around teams.
Provide a simple directive to disable teams.
2023-10-15 15:10:12 +01:00
Christopher Broderick
658d2b900e
Merge pull request #1119 from timthelion/standalone
Standalone helpdesk installation configuration
2023-10-15 11:14:31 +01:00
Timothy Hobbs
ac1f8ecc33 Update standalone/docker-compose.yml
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-10-14 18:48:55 +02:00
Timothy Hobbs
cbb5dcdef9 Document standalone install 2023-10-14 18:48:53 +02:00
Timothy Hobbs
1db03af35b Update standalone/Caddyfile
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2023-10-14 18:48:02 +02:00
Timothy Hobbs
405efcc33b Delete emails immediately to prevent duplicate ticket problems
Right now if there is an exception in this loop due to a single messed up
email (perhapse an invalid email address), the loop will fail without deleting
the already processed emails. In a few hours you can end up with hundreds of
duplicate tickets. This way, the already processed emails will be deleted and
not processed again.
2023-10-14 18:48:02 +02:00
Timothy Hobbs
1deb42c971 Add note about setting Site 2023-10-14 18:48:02 +02:00