A Django application to manage tickets for an internal helpdesk. Formerly known as Jutda Helpdesk.
Go to file
2023-05-03 10:58:39 +01:00
.github Trigger on tag to push to PyPi 2023-03-26 00:24:24 +00:00
.tx update Transifex config file 2014-07-30 09:52:14 +02:00
demo Removed future import 2022-07-22 03:28:46 +02:00
docs Merge branch 'unstable' into patch-1 2022-08-03 18:05:13 +04:30
helpdesk Update French translations 2023-05-01 23:46:20 +02:00
.coveragerc removing leftover references to south_migrations folder 2016-11-02 17:24:05 +01:00
.flake8 Add complexity to flake8 configuration 2022-07-25 01:17:12 +02:00
.gitignore Ignore tox created stuff 2022-09-06 19:40:46 +01:00
.isort.cfg Initial isort configuration 2022-07-22 03:26:41 +02:00
.pylintrc removing leftover references to south_migrations folder 2016-11-02 17:24:05 +01:00
AUTHORS replace non-existent UPGRADE with updated AUTHORS in MANIFEST.in 2016-10-27 15:08:48 +07:00
build_project.sh Update project URLs per #424 2016-10-12 11:14:10 +11:00
constraints-Django4.txt Rename constraints-Django4 to constraints-Django4.txt 2022-07-02 06:33:56 -04:00
constraints-Django32.txt Update azure pipelines config to test all versions of django supported 2021-10-17 23:34:23 -04:00
CONTRIBUTING.rst Update CONTRIBUTING for the new branch naming scheme 2021-11-21 23:36:17 -05:00
LICENSE Set end date for official 0.2 support, update license copyright years 2021-10-18 00:57:31 -04:00
LICENSE.3RDPARTY timeline 3 license 2020-11-16 07:13:56 -07:00
Makefile Add import sort checking and fixing to makefile 2022-09-08 23:42:20 +01:00
MANIFEST.in Update documentation for 0.3.0 release, restrict support to python 3.8+ because earlier pythons are no longer supported upstream anyway 2021-10-17 23:49:16 -04:00
quicktest.py Add user defined IMAP Debug Level and improved exception message 2023-04-19 20:07:43 +10:00
README.rst Fix badge in readme not showing 2023-04-17 05:11:08 +03:00
requirements-dev.txt Development support apps 2022-09-08 23:31:28 +01:00
requirements-no-pinax.txt Fix some docs and migrations in prep for 0.3 release, see #878 2021-08-20 02:05:21 -04:00
requirements-testing.txt Removed codecov 2023-04-16 20:48:24 +10:00
requirements.txt Add IMAP OAUTH Mail Box Type 2023-04-15 22:13:57 +10:00
SECURITY.md Set end date for official 0.2 support, update license copyright years 2021-10-18 00:57:31 -04:00
setup.py Initial isort configuration 2022-07-22 03:26:41 +02:00
tox.ini Initial isort configuration 2022-07-22 03:26:41 +02:00

django-helpdesk - A Django powered ticket tracker for small businesses.
=======================================================================

.. image:: https://dev.azure.com/django-helpdesk/django-helpdesk/_apis/build/status/django-helpdesk.django-helpdesk?branchName=master
  :target: https://dev.azure.com/django-helpdesk/django-helpdesk/_build/latest?definitionId=1&branchName=master
  :alt: Build Status

.. image:: https://codecov.io/gh/django-helpdesk/django-helpdesk/branch/develop/graph/badge.svg
  :target: https://codecov.io/gh/django-helpdesk/django-helpdesk

Copyright 2009-2022 Ross Poulton and django-helpdesk contributors. All Rights Reserved.
See LICENSE for details.

django-helpdesk was formerly known as Jutda Helpdesk, named after the
company which originally created it. As of January 2011 the name has been
changed to reflect what it really is: a Django-powered ticket tracker with
contributors reaching far beyond Jutda.

Complete documentation is available in the docs/ directory,
or online at http://django-helpdesk.readthedocs.org/.

Demo Quickstart
---------------

`django-helpdesk` includes a basic demo Django project so that you may easily
get started with testing or developing `django-helpdesk`. The demo project
resides in the `demo/` top-level folder.

It's likely that you can start up a demo project server by running
only the command::

    make rundemo

then pointing your web browser at `localhost:8080`.

For more information and options, please read the `demo/README.rst` file.

**NOTE REGARDING SQLITE AND SEARCHING:**
The demo project uses `sqlite` as its database. Sqlite does not allow
case-insensitive searches and so the search function may not work as
effectively as it would on other database such as PostgreSQL or MySQL
that does support case-insensitive searches.
For more information, see this note_ in the Django documentation.

When you try to do a keyword search using `sqlite`, a message will be displayed
to alert you to this shortcoming. There is no way around it, sorry.

Installation
------------

`django-helpdesk` requires:

* Python 3.8+
* Django 3.2 LTS highly recommended (early adopters may test Django 4)

You can quickly install the latest stable version of `django-helpdesk`
app via `pip`::

    pip install django-helpdesk

You may also check out the `master` branch on GitHub, and install manually::

    python setup.py install

Either way, you will need to add `django-helpdesk` to an existing
Django project.

For further installation information see `docs/install.html`
and `docs/configuration.html`

Developer Environment
---------------------

Follow these steps to set up your development environment to contribute to helpdesk:
 - install a virtual environment
     - using virtualenv from the helpdesk base folder do::
          virtualenv .venv && source .venv/bin/activate

 - install the requirements for development::
    pip install -r requirements.txt -r requirements-dev.txt

To see option for the Makefile run: `make`

The project enforces a standardized formatting in the CI/CD pipeline. To ensure you have the correct formatting run::
    make checkformat
    
To auto format any code use this::
    make format

Testing
-------

From the command line you can run the tests using: `make test`

See `quicktest.py` for usage details.

Upgrading from previous versions
--------------------------------

If you are upgrading from a previous version of `django-helpdesk` that used
migrations, get an up to date version of the code base (eg by using
`git pull` or `pip install --upgrade django-helpdesk`) then migrate the database::

    python manage.py migrate helpdesk --db-dry-run # DB untouched
    python manage.py migrate helpdesk

Lastly, restart your web server software (eg Apache) or FastCGI instance, to
ensure the latest changes are in use.

Unfortunately we are unable to assist if you are upgrading from a
version of `django-helpdesk` prior to migrations (ie pre-2011).

You can continue to the 'Initial Configuration' area, if needed.

Contributing
------------

We're happy to include any type of contribution! This can be:

* back-end python/django code development
* front-end web development (HTML/Javascript, especially jQuery)
* language translations
* writing improved documentation and demos

For more information on contributing, please see the `CONTRIBUTING.rst` file.


Licensing
---------

django-helpdesk is licensed under terms of the BSD 3-clause license.
See the `LICENSE` file for full licensing terms.

Note that django-helpdesk is distributed with 3rd party products which
have their own licenses. See LICENSE.3RDPARTY for license terms for
included packages.

.. _note: http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching