61 Commits

Author SHA1 Message Date
70618f2bdb Working on template for listed tickets 2024-01-17 19:33:49 +00:00
307ed35ee9 API Tokens and Filters 2024-01-17 19:33:28 +00:00
88942a84ba Fix scrolling bug on ticket page
On smaller screens, expanding the filter sidebar would create scrollable whitespace below the page.

Hiding the .full-container overflow seems to patch the issue, although investigation is required to find a smoother patch.
2024-01-17 11:16:05 +00:00
9509bffe66 Using searchbar trigger loading view 2024-01-16 23:54:44 +00:00
2586dcc944 Author name added to search filter 2024-01-16 23:54:15 +00:00
c7a185a919 Sidebar layout change + loading placeholder 2024-01-16 23:54:01 +00:00
2d0b8762b0 timed log file 2024-01-16 23:53:31 +00:00
4c37286b59 Improved logging
NOTE:
when running without --noreload, there will be two log files, as Django runs two threads to make the auto reloading functionality work.
2024-01-16 16:53:27 +00:00
b52d1376d2 Updated default priority colour 2024-01-16 16:30:53 +00:00
1a79fe3916 Added fixture for tickets with unique authors 2024-01-16 16:25:28 +00:00
e5930668c5 Tag Strict/Loose filter controls (non-functional)
Controls to specify whether to use the AND or OR operators when applying ticket filters.

I.e:
- Only show tickets with tag1 AND tag2
- Show tickets matching either tag1 OR tag2
2024-01-16 16:22:57 +00:00
dc21810add Open tickets on mobile close filter sidebar
Added line to close the filter sidebar when selecting a ticket to open on a mobile screen.
2024-01-16 16:21:14 +00:00
b8751ba315 Added custom border-radius and bg css
Added .rounded-top-0, end-0, bottom-0, start-0, for setting the respective side to have border-radius of 0.

Also added .border-none for setting boder to none.

Added bg-none for setting background to none.
2024-01-16 16:20:29 +00:00
970d6c0307 ticket API changed to detect "__in" key 2024-01-16 13:53:05 +00:00
db8206b1bd Changed departments to radio buttons 2024-01-16 13:52:41 +00:00
eb2ae9ce6b Ticket Navigation Buttons
Added buttons to move to the next or prev ticket from the current selected ticket.

Also segmented JS into functions.
2024-01-16 13:34:13 +00:00
3ef8cd20d0 Loading animation for filter and searching tickets 2024-01-16 11:23:10 +00:00
3cfdee610c "not found" message when tickets api returns none 2024-01-16 11:08:14 +00:00
546ec2ca84 Fixed #6 - Double Tickets with Filters.
Instead of applying a list of __in filters at once, iterate over the list and apply them individually.

Only then will the tickets be filtered to match them all as intended.
2024-01-16 10:04:13 +00:00
e8df39ee9e Implemented Searchbox filter 2024-01-15 23:31:50 +00:00
73eeedbb36 tickets API changes & search box function 2024-01-15 00:27:39 +00:00
df82417790 Moving to use API in home app 2024-01-14 01:51:56 +00:00
d8c608a03c Admin Models (authentication) 2024-01-14 01:51:33 +00:00
0670382172 Admin Models 2024-01-14 01:51:00 +00:00
a708a8b151 Working on Ticket API
Improved filters and added TicketCount API View.
2024-01-14 01:50:22 +00:00
a20fba656a Implement Logging and Pathlib 2024-01-14 01:49:35 +00:00
7294638493 Removed unused template pages. 2024-01-14 01:49:16 +00:00
a876bbe7fc Added vscode launch file to help with debugging 2024-01-14 01:49:00 +00:00
ee585ed4b9 Update requirements.txt
django rest framework
2024-01-14 01:48:30 +00:00
362c8f0a16 implemented rest into home app 2024-01-12 19:25:45 +00:00
e0e16efb71 rest api implementation 2024-01-12 19:25:25 +00:00
690bec9b24 functional filter + add modal 2024-01-10 23:15:43 +00:00
4c7a81e076 default priority 2024-01-10 18:06:24 +00:00
33c721c5a6 added footer colour
some tickets were visible below the footer because it was transparent, so I gave it a background colour.
2024-01-10 11:08:27 +00:00
2dbc08b93c fixed issues with multiple filters 2024-01-10 11:07:50 +00:00
f581e22a78 fixed email content not showing on small screens #2 2024-01-10 09:34:38 +00:00
03b34ebd20 working on filter functionality #4 2024-01-10 00:48:41 +00:00
8acb8c3aca update fixture scripts 2024-01-09 22:48:41 +00:00
cae5ac024e implemented filter counts #4
While this contributes to #4, it doesn't complete it as the filters are still mostly eye candy.
2024-01-09 22:48:28 +00:00
7ccdbc326a fixtures import script (windows) 2024-01-09 00:22:14 +00:00
b0c72bdc0a added shellscript to quickly install fixtures 2024-01-09 00:20:46 +00:00
8c4a06bb33 added default fixture for tickets 2024-01-09 00:17:55 +00:00
c229413f49 Update README.md 2024-01-08 23:42:28 +00:00
03de8540b0 moved from migrations to fixtures for default data 2024-01-08 23:42:21 +00:00
f49e7e7702 implemented tag and priority colour changes 2024-01-08 00:42:08 +00:00
c85c1324fd Emptied the notifications and "emails" dropdowns
also renamed "emails" dropdown to tickets dropdown
2024-01-08 00:41:53 +00:00
3089c1fa01 added uuid for Department model 2024-01-08 00:40:45 +00:00
b3b8d481fa Added background colour for priorities and tags 2024-01-08 00:40:32 +00:00
8a6bddeb97 Dependencies are now local 2024-01-08 00:39:46 +00:00
7d52bbec66 Changed how the user avatar is stored
its now media/users/USER_UUID/icon.webp every time.

it also defaults to static/images/defaultuser.webp
2024-01-05 22:58:43 +00:00