101 Commits

Author SHA1 Message Date
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
c8b0b9982d Delete .gitkeep 2024-01-18 12:17:17 +00:00
283f0f3099 Created Tons of Dummy Tickets
This can be used to test pagination, and feel for how the application experience will be under production.
2024-01-18 12:17:11 +00:00
d48da63909 Improved filter count API 2024-01-18 12:16:32 +00:00
e5ffbc9005 Restructure of settings.py 2024-01-18 12:16:07 +00:00
067bc744d7 Delete fixtures.bat 2024-01-18 12:15:47 +00:00
8d4050ce8f Create runserver.sh
Nice script to run the server.
Migrates before hand.
Runs on 0.0.0.0:8000 with the --noreload argument.
2024-01-18 12:15:42 +00:00
6df16f054b Staticfiles Restructure - removal of assets/
Removed meaningless assets/ folder within static.

I believe its an artifact from an older Django version, but it needed to be removed to reduce clutter and use {% static %} tags.
2024-01-18 12:15:08 +00:00
a3b62f4a8e Fixed scrollbar issues 2024-01-18 00:13:09 +00:00
da1372de6f Rate limit alert 2024-01-17 23:39:47 +00:00
917b904790 Remove unused code 2024-01-17 23:39:38 +00:00
eb2c8439fe Implement API rate limits • 1000/day 2024-01-17 23:19:16 +00:00
79145b1e84 fix ticket template issues 2024-01-17 23:18:53 +00:00
9dce656a48 Migrate to bootstrap 5.3 2024-01-17 23:18:33 +00:00
b437071e6a Split css into several components 2024-01-17 22:12:15 +00:00
aa1ef52694 integrate API changes into frontend 2024-01-17 21:54:54 +00:00
77dc45044b moved fixtures into app folders 2024-01-17 21:54:35 +00:00
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