Commit Graph

221 Commits

Author SHA1 Message Date
Harrison (Harry) Cramer
ed3a90cf00 Feat: Add target branch to details panel (#160)
This is a PATCH release, it adds the target branch to the details panel in the summary view.
2024-01-13 10:45:17 -05:00
Harrison (Harry) Cramer
50e06ceff6 Feat: Add and Remove Labels from an MR (#159)
This MR adds the ability to add or remove labels to a merge request. These labels are visible in the summary panel and are colored the same way as they would be in the Gitlab UI.

This is a MINOR release.
2024-01-13 10:37:05 -05:00
Harrison (Harry) Cramer
67f09e559a Add Better Help Documentation (#157)
Adds better documentation that's searchable within Neovim via the `:help` command. This is a NONE release.
2024-01-12 22:36:14 -05:00
Harrison (Harry) Cramer
abd8011bcb fix: Adds missing pipeline service (#155) 2024-01-02 12:12:18 -05:00
Harrison (Harry) Cramer
37a53842d0 Feat: Create Merge Request (#149)
- Adds the ability to create MRs to the plugin
- Adds the ability to jump to specific discussions/notes in the browser
- Fixes stale icons
- Adds debug keybinding for discussion tree for developers
2023-12-19 13:41:07 -05:00
Harrison (Harry) Cramer
35f0bc16a5 fixed sign/diagnostic filtering (#150)
This was a small diagnostics/signs regression introduced by #147.

We were filtering the diagnostics and discussions but then not actually using the filtered data. Facepalm.
2023-12-18 17:00:04 -05:00
Harrison (Harry) Cramer
571173c881 fix: Comments on unchanged, expanded lines (#146)
This MR fixes an issue with refreshes of the diagnostics and signs when users leave comments on unchanged lines.
2023-12-18 09:11:15 -05:00
Alif Arfab Pavel
cf73d629dc docs: fixed instructions to install using lazy plugin manager (#148)
This is a docs fix, will not ship tags/release: NONE
2023-12-17 18:40:28 -05:00
Harrison (Harry) Cramer
64b36ac51d Feat: Adds Ability to Merge MR (#147)
This adds the ability to merge an MR from within `gitlab.nvim` directly. If the reviewer is open, it'll be closed automatically. Users may configure whether they'd like to squash commits on the merge, as well as whether they'd like to delete the original source branch on a merge.

If squashing, users are prompted to provide an optional custom squash message for the squash commit.
2023-12-17 14:28:21 -05:00
Harrison (Harry) Cramer
e254100a72 Fix: Enable No-Pipeline Fixes (#145)
This will let us skip releases with the NONE keyword (no tags, no release) for small things like README tweaks or pipeline changes.
2023-12-16 17:20:38 -05:00
Harrison (Harry) Cramer
deaadd9b03 Fix: Re-Adds Git Test File (#144)
Adds a missing test file for the Git regular expression (project info + name extraction).

This is a NONE release.
2023-12-16 17:14:35 -05:00
Harrison (Harry) Cramer
9da62d982e Bugfix: Pipeline Job Names w/ Whitespace (#140)
Fix for the pipeline job output where the job name contained whitespace characters. Users will now see the output in a new tab. Support has been added for Windows OS.
2023-12-13 18:51:18 -05:00
Harrison (Harry) Cramer
d5510f9d9a Winbar Support + Notes and Discussions; Help Popup + Auto-Open (#133)
- Adds support for toggling between discussions and notes views
- Deprecates the split view shared with both discussions and notes at the same time
- Adds winbar to discussion split, with metadata about resolved and unresolved discussions
- Adds help popups with information about keybindings for all views
- Modifies highlights in discussion tree and default symbol for unresolved discussions

This is a MINOR version bump as the default behavior of the discussion tree is changed slightly. Existing configurations should still function.
2023-12-13 17:46:34 -05:00
Harrison (Harry) Cramer
d5038d63ca Bugfix: Handle Merge Requests without Changes (#136)
This MR makes the plugin throw the correct error when someone tries to open up the reviewer without any changes
2023-12-10 21:48:09 -05:00
Jakub F. Bortlík
cc68476b15 Make Popups Configurable (#129)
This makes the popups in the plugin (those for editing and creating comments, replies, the pipeline, etc) configurable. Users can change the default width, height, transparency, and border properties, and set overrides per popup.
2023-12-05 08:06:32 -05:00
johnybx
02db3e4b0e Feat: Sort Discussions by File Name (#102)
This MR adds the ability to sort discussions by file name, rather than just by date.

This is an optional configuration that can be passed in on startup. The MR also introduces a test suite for the Lua code that runs through Neovim, so that the plugin can be fully tested with required dependencies and APIs.

Major props to @johnybx for the hard work on this change!
2023-12-04 17:03:32 -05:00
Harrison (Harry) Cramer
63cbf41221 Accidentally sending file name instead of file path (#132)
Fixes issue with file uploader, where file path value was incorrect.
2023-12-04 16:06:21 -05:00
Harrison (Harry) Cramer
c204ebc514 bugfix: Fixes shutdown functionality (#131)
Fixes an issue where the shutdown functionality did not check for the error type
2023-12-04 10:24:51 -05:00
Harrison (Harry) Cramer
93fe3e8bd6 Simplify Go Endpoints + Add Tests (#120)
This MR represents a major refactor of the Go codebase, as well as introducing tests for the handlers. The MR also introduces an endpoint to shutdown or restart the Go server, which may be useful for clients who want to refresh the state of the plugin after checking out branches. Finally, this MR adds a contributing document for users who want to make feature changes.
2023-12-04 10:15:07 -05:00
Mars Peng
10b0b596ae Feat: Support ISO 8601 timestamp with offset (#124)
Fixes timezone offset support to date parsing from Gitlab as specified by the ISO 8601 format
2023-11-28 09:13:49 -05:00
Jakub F. Bortlík
635f4642c0 Docs: Fix typos in README.md (#123)
Small changes to the README
2023-11-22 18:24:12 -05:00
Jakub F. Bortlík
711ed28532 Feat: Add reviewers to summary metadata (#121)
This commit adds reviewers to the metadata panel of the Summary popup. Thank you Jakub Bortlik!
2023-11-21 09:05:18 -05:00
Harrison (Harry) Cramer
c4a3229f16 Feat: Adds More Information to Summary Panel (#100)
This MR adds more information into the summary view, including the MR author, created at date, merge status, draft status, conflicts, and pipeline status, among other things. This is configurable via the setup function.
2023-11-20 18:56:19 -05:00
Harrison (Harry) Cramer
88b9196a2e Feat: Add Basic Lua Test Suite (#115)
This MR adds a Lua test suite to the project, run via busted, and introduces tests for a number of the utility functions. Subsequent work will have to be done to test functions that use the `vim.api` scope and external packages to the plugin.
2023-11-20 18:03:35 -05:00
Harrison (Harry) Cramer
1abc33d149 Feat: Customize Config Path (#117)
Provide the option to configure the location of the `.gitlab.nvim` file
2023-11-20 14:39:22 -05:00
Harrison (Harry) Cramer
b8c386ac6b Bugfix: Updates Diff Hashes (#106)
Rather than using branch names we are using the hashes provided directly in the Gitlab API response, to compare the point at which the branch diverged from the target to the head commit. We are additionally flashing a warning if the MR contains a merge conflict.
2023-11-20 07:19:20 -05:00
Harrison (Harry) Cramer
b1b3448dcb Automatically generate releases from new tags (#114) 2023-11-19 11:10:39 -05:00
Harrison (Harry) Cramer
34102792f5 Change branch history checks to only "last" (#113) 2023-11-18 22:39:30 -05:00
Harrison (Harry) Cramer
ba8a3b0eed Get correct sha of commit? (#112) 2023-11-18 17:13:43 -05:00
Harrison (Harry) Cramer
d3c0c44fcb Updates Readme: Remove "Extra" Section (#111)
This is not part of the core repository and is not maintained as part of .gitlab.nvim, we don't to recommend unrelated code to users.
2023-11-18 17:06:39 -05:00
Harrison (Harry) Cramer
4f1a677750 Fix tagging 4 (#110)
This should bump a #MINOR version... This is a test.
2023-11-18 17:00:17 -05:00
Harrison (Harry) Cramer
c362aa0cd6 Fix tagging 2 (#109)
Fixing the tagging so that merges into main automatically create a new tag of the correct version
2023-11-18 16:47:48 -05:00
Harrison (Harry) Cramer
3b52f7177a Fix tagging (#108)
This MR fixes the tagging logic in our pipeline to automatically set a #patch value for the tag type.
2023-11-18 16:42:39 -05:00
Harrison (Harry) Cramer
8a9f8dfc88 Fix: Allows you to open up gitlab.nvim even in nested directories (#107)
This MR is a #patch fix that ensures you can provide a `.gitlab.nvim`
file at the root of the git project and open up the reviewer at any
level of the project.
2023-11-18 16:31:06 -05:00
Harrison (Harry) Cramer
231972607d Only run go build action on pull requests (#104)
Bumps to #major release tag
2023-11-16 21:06:43 -05:00
Harrison (Harry) Cramer
debbf55572 Added tags action (#103)
This adds semantic versioning to the repository and creates the first #major release cycle
2023-11-16 21:01:20 -05:00
johnybx
a5d5dc09ef Fixes: Resolve entire discussion thread (#95)
This MR adjusts the comment/discussion resolution action to resolve the entire discussion thread, rather than an individual comment, which is the expected behavior during an MR review.
2023-11-15 08:10:26 -05:00
Daniele Isoni
cd21cdb723 Fixes delete comment default behavior (#97) 2023-11-15 07:20:48 -05:00
johnybx
deed861871 Extend git tests (#90) 2023-11-13 10:26:12 -05:00
Harrison (Harry) Cramer
1f28486ab2 Update README.md (#92)
Updates example video of plugin in action
2023-11-13 10:14:18 -05:00
Harrison (Harry) Cramer
aea8552784 Fixed indenting in README's table of contents (#91) 2023-11-13 09:47:23 -05:00
Harrison (Harry) Cramer
f0b561294a README Updates (#89)
Updates README to add table of contents, simplifies section on diagnostics
2023-11-13 09:30:36 -05:00
Harrison (Harry) Cramer
4c7a610417 Removes un-actionable warning for unknown diagnostic type (#88) 2023-11-13 09:08:54 -05:00
johnybx
58c3dcc9ec Discussion sign and diagnostics (#78)
This MR adds support for in-line comments in the review pane. This allows you to view comments (as diagnostics) directly in the Neovim buffers that you are reviewing. You can then jump to them directly in the discussion tree if you want to reply, edit, and so forth.
2023-11-13 09:06:04 -05:00
Louis LIN
59557e464b Feat: support nested folders in namespace (#87)
This MR fixes an issue with nested namespaces. It also adds CI to the project for Go tests.
2023-11-12 21:11:37 -05:00
Harrison (Harry) Cramer
80b597e56a Feat: Remove Requirement for Dotfile (#84)
This MR removes the requirement for a dotfile (the dotfile is now optional and will override the configuration provided via environment variables). The requirement for providing a project ID is also eliminated, by parsing the namespace and project name from the SSH or HTTPS remote, and then using that to query Gitlab for a matching project.
2023-11-11 23:51:11 -05:00
Harrison (Harry) Cramer
38df51bfbc Update README.md (#86) 2023-11-10 17:42:08 -05:00
Harrison (Harry) Cramer
ffdaf83784 BREAKING CHANGE: This is a breaking change, it deprecates the Delta Reviewer (#81)
BREAKING

This is a breaking change which deprecates support for the Delta reviewer. Now, only Diffview is supported.
2023-11-10 17:38:28 -05:00
mrparalon
a032c6434e Fix highlight for usernames (#83)
Changes regular expression for Gitlab usernames.
2023-11-08 13:43:23 -05:00
Harrison (Harry) Cramer
9742b5b229 Feat: Add Color Configuration (#82)
This MR adds the ability to customize colors for the discussion tree
2023-11-07 22:58:03 -05:00