128 Commits

Author SHA1 Message Date
842649ef8d Update README.md 2024-01-26 17:49:47 +00:00
709c19f6e8 Merge pull request 'jones-dev' (#19) from jones-dev into master
Reviewed-on: https://gitea.corbz.dev/corbz/ticket-website/pulls/19
2024-01-26 17:39:03 +00:00
4890d7a4c3 Merge branch 'jones-dev' of https://gitea.corbz.dev/corbz/ticket-website into jones-dev 2024-01-26 17:37:43 +00:00
c35428792e example images 2024-01-26 17:37:42 +00:00
c94775d93c Update apps/home/models.py 2024-01-24 13:24:32 +00:00
2691380f81 Update & create scripts for linux & windows 2024-01-23 12:11:43 +00:00
950676a9fe Cleaned up fixture filenames & removed old fixtures 2024-01-23 12:11:18 +00:00
7c00552714 Commenting & segmenting into functions 2024-01-23 12:10:42 +00:00
6effc6799e tooltip on ticket item department & priority 2024-01-23 11:34:38 +00:00
3446c3b760 Upgrade to javascript bootstrap 5.3 2024-01-23 11:33:14 +00:00
1c5282e6c9 Removed the ticket item complex details change 2024-01-23 10:32:39 +00:00
dfef67642f Fix js error when author had no deparment 2024-01-23 09:54:50 +00:00
6f6a0f8632 Persistent state for complex ticket info 2024-01-23 09:41:33 +00:00
e342680351 User Theme saved to local storage
The theme will no longer reset to the default on page change or reload.
2024-01-23 09:18:31 +00:00
4d7f2ba3ea working on department/priority item badge 2024-01-23 08:04:27 +00:00
bf6a004d64 Merge branch 'jones-dev' of https://gitea.corbz.dev/corbz/ticket-website into origin/jones-dev 2024-01-22 16:34:43 +00:00
a482be8883 Strict tags option & css changes 2024-01-22 16:32:48 +00:00
2364277c1a Department colours and order 2024-01-22 16:31:59 +00:00
2fb6ea6c64 Updated none-found and ticket item priority badge 2024-01-22 14:14:44 +00:00
f6568230b1 Filter spam prevention #7 2024-01-22 14:14:08 +00:00
97141dec4d TicketTag/Priority order field 2024-01-22 14:13:23 +00:00
62bd7de0be Scrollbar updater 2024-01-22 11:51:10 +00:00
c32eb91d03 Reset Ticket Items Scrollbar on State Change #17
I've added a line in the updateItemsState function to reset the scrollbar to the top when the state changes.

This fixes #17
2024-01-22 11:33:15 +00:00
3f04f3561d Merge pull request 'origin/jones-dev' (#18) from origin/jones-dev into jones-dev
Reviewed-on: https://gitea.corbz.dev/corbz/ticket-website/pulls/18
2024-01-22 11:22:49 +00:00
863f5cf6ec Quick & Hacky Theme Toggler
Just to add the base functionality, will improve upon this later.
2024-01-22 11:15:57 +00:00
4761db6541 Updated & Isolated PerfectScrollbar JS/CSS 2024-01-22 11:14:53 +00:00
368cdc6359 default to light mode for dev
because apps should always be made light mode first.

Makes it easier to implement nicer dark mode later on.
dev-user-media
2024-01-22 01:10:25 +00:00
90abffac05 Ticket Item Changes & Ticket.string_datetime
Added string datetime and indicators for priority and departments.

Also added a toggle for the indicators/departments to be shown.
2024-01-22 01:05:31 +00:00
4344dfb271 Remove commented code & remake tags dropdown 2024-01-21 23:12:01 +00:00
3f7127347b Increased Ticket.short_description length to 200
Previously 150.

I also added a check to see if 200 is exceeded before suffixing the "..." to it.
2024-01-21 22:53:00 +00:00
4647236e20 Clear filter button & item priority indicator 2024-01-21 22:52:11 +00:00
25fbfb3aa1 Made default ticket colours more vibrant 2024-01-20 20:47:39 +00:00
ead8ae4171 theme depended subtle border colours 2024-01-20 20:47:23 +00:00
5957ddf8f1 Fixed Issue Making Django Suggest makemigrations
Was using BASE_DIR in the default image path for the authentication.User model.

This is a problem because BASE_DIR may change with the host machine, which it did in my case.

Django sees the changed path and incorrectly recommends making migrations again.
2024-01-20 19:50:20 +00:00
c9e59c5c66 tags and priorities now shown in ticket items 2024-01-19 17:56:10 +00:00
4e70005cac Visual fixes and changes for tickets page 2024-01-19 17:55:10 +00:00
c62b975670 Fix conflicts with bootstrap css 2024-01-19 17:54:34 +00:00
bd57cfb94d Added short_description property to Ticket
returns a cleaned version of the description limited to 150 characters.

Suffixed with "...".
2024-01-19 17:54:11 +00:00
880bab8d33 Implement dynamic field blacklist/whitelist 2024-01-19 17:52:25 +00:00
06e00f3737 Changed some colours for tickets (light/dark mode) 2024-01-19 10:05:15 +00:00
3d9da2d729 Gave currently active ticket ".active" class.
Implemented tracking for this, over the previous code which tracked the active ticket by checking it's ".bgc-grey-100" class.

This change was made because (its better and) the previous implementation was incompatible with dark mode support.
2024-01-19 10:04:17 +00:00
187153bb7c Fixed and restyled PerfectScrollbars 2024-01-19 10:02:43 +00:00
bb28e2b2dc Redid migrations to fix issue where 004 isnt detected 2024-01-19 10:00:40 +00:00
01da177cd1 Dark mode implementation step 1 2024-01-18 23:44:47 +00:00
f97bccbcec Ticket Content Loading View 2024-01-18 23:44:35 +00:00
d9ddc0656d Create 0004_alter_user_icon.py 2024-01-18 20:22:19 +00:00
9f65fcab71 fixed invalid page error
The page would be above 1, and then would query the API with a new filter that reduced the results to a single page, causing an error.
2024-01-18 20:22:15 +00:00
9cff951b4b description for API View 2024-01-18 20:01:51 +00:00
506ed5e338 Ticket JavaScript rewrite 2024-01-18 20:00:46 +00:00
24a65014b9 fix broken proflie icons 2024-01-18 20:00:11 +00:00