67 Commits

Author SHA1 Message Date
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
Jamie Greunbaum
1f000909bb Placeholder bug report forms can now be posted to Gitea. 2024-05-20 01:55:54 -04:00
Jamie Greunbaum
fd156e56f3 Changed location of status label settings.
Moved status label settings to a place that makes a bit more sense, and lets
them be defined differently for each bug report platform.
2024-05-19 21:58:14 -04:00
Jamie Greunbaum
be16db4d76 BugMarkers are now loaded with their status intact. 2024-05-19 19:57:08 -04:00
Jamie Greunbaum
39d5834eb9 Merge pull request 'Markers can now be loaded and unloaded in the editor. Currently not fully implemented, but getting there.' (#2) from making-slow-and-annoying-progress into main
Reviewed-on: BattyBovine/Bugbot#2
2024-05-19 18:18:41 -04:00
Jamie Greunbaum
2a57cd544d Markers can now be loaded and unloaded in the editor. Currently not fully implemented, but getting there. 2024-05-19 18:12:42 -04:00
Jamie Greunbaum
a5bd6cfd72 Added an arrow to the Bugbot menu button to better indicate that it's a dropdown menu. 2024-05-19 02:01:17 -04:00
Jamie Greunbaum
c536a89d9f Added a set of BugbotServerAPI classes, which can currently pull a list of bugs from Gitea. 2024-05-18 03:35:44 -04:00
Jamie Greunbaum
f4a2695cc1 Bug Report Platform option moved to Reporting subsection to make it easier to find using Godot's settings layout. 2024-05-17 16:09:25 -04:00
Jamie Greunbaum
4b80ab327a - Added a placeholder menu that will eventually allow showing and hiding BugMarkers in the editor.
- Added a bunch of placeholder project settings to be used for submitting bugs to various bug tracking platforms.
2024-05-17 02:49:49 -04:00
Jamie Greunbaum
49a9f775b8 - Added some basic code that reacts to a bug being clicked.
- No need to check if the BugMarker dummy is valid any more, because it's definitely valid.
2024-05-17 01:49:10 -04:00
Jamie Greunbaum
8062cd3641 Added a special resource to contain unique instances of BugMarker materials. 2024-05-16 18:26:09 -04:00