Commit Graph

15 Commits

Author SHA1 Message Date
e874cbefd6 feat(gitea-git-clone): add support for creating repositories in Gitea
* Added:
* - Users can now create new repositories in a selected Gitea instance directly from VSCode. Options include:
* - Selecting the Gitea instance (if multiple are configured).
* - Choosing the owner (personal account or organization).
* - Setting the repository visibility (private by default, or public).
* - Selecting a `.gitignore` template (if available via API).
* - The repository is initialized with an MIT license.
* - After creation, the new repository is automatically cloned and opened in VSCode.
* Changed:
* - Updated localization files to include new messages related to repository creation.
*
* Fixed:
* - Improved error handling and messages throughout the extension.
2024-10-31 14:58:36 +01:00
5f749c57c8 Support of multiple Gitea instances
* chore(gitea-git-clone): update CHANGELOG.md and README.md
* feat(gitea-git-clone): add support for multiple Gitea instances
* feat(gitea-git-clone): enhance status bar integration with branch and build status
* fix(gitea-git-clone): fix issues with status bar items not updating correctly
* fix(gitea-git-clone): fix issues with long commit messages causing errors when creating pull requests
2024-10-23 20:11:31 +02:00
aea0ffbac6 Truncate commit title longer than 255 characters
* chore(gitea-git-clone): update changelog and package version
* fix(gitea-git-clone): truncate commit titles and bodies longer than 255 and 65535 characters respectively
* feat(gitea-git-clone): show warning messages when commit titles and bodies are truncated
2024-10-23 12:19:17 +02:00
a5aaa54906 No errors if no Git or Gitea
* chore(extension.ts): add interface for Gitea error response
* feat(extension.ts): add global variables for status bar icons
* feat(extension.ts): add helper function to check if a folder is a Git repository
* feat(extension.ts): add helper function to check if the remote repository is a Gitea instance
* feat(extension.ts): create Gitea pull request function
* feat(extension.ts): add function to clone Gitea repository
* feat(extension.ts): add function to add status bar icon
* feat(extension.ts): add function to configure Gitea
* feat(extension.ts): add function to get open pull requests
* feat(extension.ts): add function to show open pull requests
* feat(extension.ts): add function to update PR status bar item
* feat(extension.ts): activate the plugin and register commands
* feat(extension.ts): create status bar icon and start updater
2024-10-23 12:09:38 +02:00
ec64c46117 * chore(gitea-git-clone): update changelog and package version
* feat(gitea-git-clone): add more verbose error handling
* fix(gitea-git-clone): fix error message for pull request creation
* fix(gitea-git-clone): fix error message for default branch retrieval
* fix(gitea-git-clone): fix error message for repository retrieval
* fix(gitea-git-clone): fix error message for authentication failure
* fix(gitea-git-clone): fix error message for pull request retrieval
* fix(gitea-git-clone): fix error message for pull request creation
* fix(gitea-git-clone): fix error message for pull request retrieval
* fix(gitea-git-clone): fix error message for pull request creation
* fix(gitea-git-clone): fix error message for default branch retrieval
* fix(gitea-git-clone): fix error message for repository
2024-10-23 11:24:16 +02:00
3e77dd62f7 * chore(gitea-git-clone): update changelog for version 1.2.1
* fix(gitea-git-clone): cloning into existing subpath working again
* fix(gitea-git-clone): update German translation for targetExists message
* fix(gitea-git-clone): update English translation for targetExists message
* fix(gitea-git-clone): update cloneGiteaRepository function to check if target directory already exists before cloning
2024-10-23 10:46:48 +02:00
f5e4d1da74 Show Open Pull Requests
* chore(gitea-git-clone): update changelog and package version
* feat(gitea-git-clone): add support for showing open pull requests
* docs(gitea-git-clone): update README.md with new features and commands
* feat(gitea-git-clone): add localization support for open pull requests
* fix(gitea-git-clone): fix typo in package.nls.json
* fix(gitea-git-clone): fix typo in package.json
* feat(gitea-git-clone): add functions for retrieving and showing open pull requests
* feat(gitea-git-clone): add command for showing open pull requests
* feat(gitea-git-clone): create status bar item for showing open pull requests
* fix(gitea-git-clone): fix missing comma in package.json
* fix(gitea-git-clone): fix missing comma in package.nls.de.json
* fix(gitea-git
2024-10-21 21:11:19 +02:00
7544998d93 * feat(extension.ts): add support for localization in Gitea Git Clone extension
* feat(extension.ts): add command to clone a repository from Gitea
2024-10-21 10:17:08 +02:00
57eccc781e
* chore(package.json): add "onStartupFinished" to activationEvents
* chore(extension.ts): update status bar text to "Create Gitea PR"
* chore(extension.ts): update comment for showing status bar icon
2024-10-21 01:57:46 +02:00
011e20b499
* feat(extension.ts): add support for retrieving default base branch from Gitea API
* fix(extension.ts): handle errors when retrieving default base branch from Gitea API
2024-10-21 01:39:31 +02:00
b5f132db7c
* refactor(extension.ts): remove unused code and comments
* feat(extension.ts): add helper functions to get last commit and current branch
2024-10-21 01:22:28 +02:00
6822001ae8 * feat(extension.ts): add support for creating a pull request in Gitea
* feat(extension.ts): add status bar icon for creating a pull request
* feat(extension.ts): implement function to create a Gitea pull request
* feat(extension.ts): implement function to add status bar icon
2024-10-20 20:17:35 +02:00
8d53bc17ed * chore(README.md): Update extension name and add feature descriptions
* fix(extension.ts): Remove unused comment and change progress location to Notification
* feat(extension.ts): Open cloned repository in VSCode after cloning
2024-10-20 19:39:08 +02:00
a23b61758b * feat(extension.ts): add support for cloning Gitea repositories via SSH
* fix(package.json): change command title from "Gitea: Configure" to "Gitea: Configure URL"
* feat(extension.ts): add command "Gitea: Clone Repository" for cloning Gitea repositories
2024-10-20 19:27:49 +02:00
31c890eb51 initialize Plugin 2024-10-20 15:42:47 +02:00