78 Commits

Author SHA1 Message Date
Jamie Greunbaum
843ac8f765 Jira Version fields were not working correctly due to putting "value" in the post data like all the other fields, whereas Jira expects versions to be "name". This has been fixed. 2024-06-05 22:59:58 -04:00
Jamie Greunbaum
fb66765bce Bug markers show a dialogue when selected, giving basic info and offering a link to the bug's webpage. 2024-06-05 19:26:56 -04:00
Jamie Greunbaum
695945b783 Made a minor change to formatting. This code does not need to be two lines and I don't know why I made it that way. 2024-06-05 10:30:51 -04:00
Jamie Greunbaum
e529d410bb Jira API query now uses JQL to filter issue types and statuses on request.
JQL statements were added which will:
- Only retrieves issues with the set type (defaults to "Bug")
- Only retrieve issues from the current project
- Only retrieves issues relevant to the current scene
- Filters out issues where the marker location is empty
- Filters by whether the set resolution status should be displayed in the editor
2024-06-05 10:30:00 -04:00
Jamie Greunbaum
795455f915 BugMarker collision shape is rendered invisible by default, making the markers
more clear and distinct when loaded into the editor.
2024-06-05 01:09:22 -04:00
Jamie Greunbaum
c21115e97a Bug markers can now give bug info when clicked
The bug marker root node is now placed directly in the scene tree, as it was
once before. Not only does this now work correctly when switching nodes, this
makes them interactible, allowing them to give information about the bug that
was clicked on, currently printed to the console.
2024-06-05 01:08:00 -04:00
Jamie Greunbaum
cfe08da56c Project names are now retrieved from the project settings using a virtual function in the BugbotServerAPI class. 2024-06-04 14:24:06 -04:00
Jamie Greunbaum
1900b0aeaa Relabeled "Component:" to "Department:", since this nomenclature makes more sense on services other than Bugzilla. 2024-06-04 02:22:40 -04:00
Jamie Greunbaum
78d333a2ab Merge pull request 'Jira now supports all the same field types as the other APIs, with the addition of supporting cascading select lists for Hardware and OS combined.' (#25) from optional-tags-for-jira into main
Reviewed-on: BattyBovine/Bugbot#25
2024-06-04 02:17:45 -04:00
Jamie Greunbaum
3a36d1316b Jira now supports all the same field types as the other APIs, with the addition of supporting cascading select lists for Hardware and OS combined. 2024-06-04 02:13:47 -04:00
Jamie Greunbaum
482781d6c6 Moved lesser-used label prefixes for Gitea into a new setting subcategory. 2024-06-03 12:12:20 -04:00
Jamie Greunbaum
2f9edef1b9 Merge pull request 'Bugzilla API is now fully implemented' (#24) from bugzilla-api into main
Reviewed-on: BattyBovine/Bugbot#24
2024-06-03 11:47:11 -04:00
Jamie Greunbaum
4eed4393e4 Bugzilla API is now fully implemented. 2024-06-03 11:44:46 -04:00
Jamie Greunbaum
275cc63225 Bug report form now has an extra check to ensure the received array of tag options is the correct size. 2024-06-02 22:54:49 -04:00
Jamie Greunbaum
097990dcbe Added default status label lists to BugbotServerGiteaAPI, even though they are blank by default. 2024-06-02 02:44:26 -04:00
Jamie Greunbaum
fc99f7c468 Added proper defaults for showing unresolved, in progress, and resolved bug markers. 2024-06-02 02:14:59 -04:00
Jamie Greunbaum
869bef413e Merge pull request 'Jira API is now fully implemented.' (#15) from add-jira-support into main
Reviewed-on: BattyBovine/Bugbot#15
2024-06-01 03:07:12 -04:00
Jamie Greunbaum
c5c0c192cb Jira API is now fully implemented. 2024-06-01 03:04:07 -04:00
Jamie Greunbaum
d763eb48fe Gitea labels are now passed with both names and IDs to more easily support services that use one or the other. 2024-05-31 23:40:15 -04:00
Jamie Greunbaum
d4d59c957c Revert "Filling in menu lists on the bug report form no longer depends on the exact item format used by Gitea."
This reverts commit bf7389466a66d3a8cc16daaa53386b67eefd8cad.
2024-05-31 19:57:52 -04:00
Jamie Greunbaum
512658b0e5 Improved tag sorting code to simply sort the original list of available tags instead of trying to sort them later. 2024-05-31 15:01:55 -04:00
Jamie Greunbaum
b1c2451c3e Bugbot no longer freezes if the thread is busy with a request when the player places a marker. 2024-05-31 03:20:09 -04:00
Jamie Greunbaum
bf7389466a Filling in menu lists on the bug report form no longer depends on the exact item format used by Gitea. 2024-05-31 03:14:32 -04:00
Jamie Greunbaum
12a294cdd5 Setting duplicate_of makes no sense when it's not even being used right now. Leaving it as default makes more sense than resetting it to default manually for no reason. 2024-05-30 20:10:20 -04:00
Jamie Greunbaum
0495c15a6d BugbotBugData now defaults the normal to Vector3.UP. 2024-05-30 20:09:40 -04:00
Jamie Greunbaum
c7e78ba4ac Bugbot now properly uses project settings to determine raycast length for marker placement. 2024-05-30 20:06:52 -04:00
Jamie Greunbaum
cf1c6a3632 Gitea bugs are now considered to be "in progress" if someone is assigned to the bug. 2024-05-30 02:19:47 -04:00
Jamie Greunbaum
7cdd6d239d Server is no longer incorrectly pulled from Gitea settings every time. 2024-05-29 20:26:07 -04:00
Jamie Greunbaum
27b5d593f6 Bug markers now have their info properly set when first created. 2024-05-28 18:39:58 -04:00
Jamie Greunbaum
58bc591405 Functions for returning API responses are now handled entirely in the parent class, avoiding code duplication across all supported APIs. 2024-05-28 15:59:01 -04:00
Jamie Greunbaum
407e3b2a9e - Improved error handling for empty fields.
- Added extra static typing hints.
2024-05-28 13:21:54 -04:00
Jamie Greunbaum
b7a08e7511 - Adjusted theming, including adding an error colour to text when a form field needs to be filled out. 2024-05-28 01:15:08 -04:00
Jamie Greunbaum
941967d5ee Merge pull request 'Bug markers look better at longer distances.' (#9) from bug-marker-distance-improvements into main
Reviewed-on: BattyBovine/Bugbot#9
2024-05-27 19:28:00 -04:00
Jamie Greunbaum
a2d92f6fdd Bug markers look better at longer distances. 2024-05-27 19:25:32 -04:00
Jamie Greunbaum
d9bc4da810 Marker data is now created using a Dictionary stringified into JSON. 2024-05-27 14:49:25 -04:00
Jamie Greunbaum
e80fb3dff9 Bug data is printed to console when a marker is clicked. This will eventually have a real UI to show more detailed information. 2024-05-27 02:52:55 -04:00
Jamie Greunbaum
c571c35908 Merge pull request 'Bug markers can be loaded and unloaded during gameplay' (#7) from in-game-marker-display into main
Reviewed-on: BattyBovine/Bugbot#7
2024-05-27 02:04:48 -04:00
Jamie Greunbaum
b75c1f002f Bug markers can now be loaded and unloaded during gameplay using static functions in the Bugbot class. 2024-05-27 02:01:39 -04:00
Jamie Greunbaum
a31a2f63af Bugs are now only placed in the scene if the bug report form was submitted. 2024-05-27 00:01:03 -04:00
Jamie Greunbaum
209d83cfea Merge pull request 'Bug marker colours settings finally implemented.' (#6) from marker-colour-changes into main
Reviewed-on: BattyBovine/Bugbot#6
2024-05-26 23:21:42 -04:00
Jamie Greunbaum
87c49f7b2f Bug markers' colours are now actually affected by project settings, including actively in the editor when changing the associated project settings. 2024-05-26 23:19:35 -04:00
Jamie Greunbaum
53c22e1048 Bug markers can now be properly shown and hidden between multiple tabs. 2024-05-26 16:34:06 -04:00
Jamie Greunbaum
ded09a8fa8 Bugs are now filed with their position information, and loaded into Godot with their proper positions intact. 2024-05-26 02:32:55 -04:00
Jamie Greunbaum
5b4dc53a62 Bug report form can now send summary, description, and labels to the Gitea server when submitting a bug. 2024-05-24 19:04:50 -04:00
Jamie Greunbaum
acbdbe413e Label prefixes are now removed before labels are added to the form data. 2024-05-23 20:04:59 -04:00
Jamie Greunbaum
ab74bda6f0 Tag selection buttons now populate the form entry menu with available tags. 2024-05-23 17:00:41 -04:00
Jamie Greunbaum
64f6193701 Added code to fill in menus for the bug report form and display it when placing a marker. 2024-05-23 01:36:00 -04:00
Jamie Greunbaum
5c37903872 - Bugs are now filtered out by status before being passed out of the HTTPClient thread.
- Fixed an issue that caused bugs to be given the incorrect resolution tag.
2024-05-22 01:46:51 -04:00
Jamie Greunbaum
131e944779 Moved code for hiding bug markers into a separate static function. 2024-05-21 21:44:08 -04:00
Jamie Greunbaum
75bd3d2793 Bugbot data is now stored with each marker, so that it can be retrieved without additional server calls. 2024-05-21 19:24:46 -04:00