Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feature: Github bridge mutation rate limit (#694) | rng-dynamics | 2021-09-14 | 1 | -1/+1 |
| | | | Unified handling of rate limiting of github graphql api | ||||
* | CLI: Add non-interactive option to interactive commands (#651) | Sascha | 2021-05-09 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to skip the AvatarURL input request Using an empty string for the avatar cli flag e.g. `git-bug user create -a ""` will still result in a prompt. As the avatar URL is an optional option, it should be possible to skip asking for it entirely. Otherwise automated user creation via a script must make use of pipe hacks. * Add global --non-interactive cmdline option * Replace --skipAvatar for --non-interactive option * Cmd BugAdd: respect non-interactive option * Cmd bridge configure: respect non-interactive opt * Cmd CommentAdd: respect non-interactive option * Cmd CommentEdit: respect non-interactive option * Cmd TermUI: respect non-interactive option * Cmd TitleEdit: respect non-interactive option * Remove global non-interactive option * Cmd UserCreate: Use local non-interactive option * Cmd BugAdd: Use local non-interactive option * Cmd BridgeConfigure: Use local non-interactive option * Cmd CommentAdd: Use local non-interactive option * Cmd CommentEdit: Use local non-interactive option * Cmd TermUI: Drop non-interactive option It should be obviouse that the termui is an interactive command. * Cmd TitleEdit: Use local non-interactive option * Update docs * Bridge GitHub: respect non-interactive option * Bridge GitLab: respect non-interactive option * Bridge Jira: respect non-interactive and token opt * Fix failing compilation * Bridge launchpad: respect non-interactive option * bridge: isNonInteractive --> interactive Co-authored-by: Michael Muré <batolettre@gmail.com> | ||||
* | Support new GitHub token formats | Ellis Clayton | 2021-04-19 | 1 | -2/+3 |
| | | | | | | | | | GitHub have introduced a new format for their access tokens, which does not fit within the rules of the previous regex. For the time being, the previous token format is still being supported by GitHub, so it makes sense to continue allowing legacy tokens. https://github.blog/changelog/2021-03-04-authentication-token-format-updates/ | ||||
* | github: minor cleanups | Michael Muré | 2021-04-09 | 1 | -1/+1 |
| | |||||
* | github: minor cleanups | Michael Muré | 2020-11-22 | 1 | -12/+26 |
| | |||||
* | Change return type from map to struct | Alexander Scharinger | 2020-11-18 | 1 | -13/+18 |
| | |||||
* | Apply suggestions from code review | rng-dynamics | 2020-11-18 | 1 | -2/+2 |
| | | | Co-authored-by: Michael Muré <batolettre@gmail.com> | ||||
* | Revision of Github bridge device authorization grant | Alexander Scharinger | 2020-11-18 | 1 | -59/+72 |
| | |||||
* | Replace Github authorization endpoint by device authorization grant | Alexander Scharinger | 2020-11-18 | 1 | -100/+94 |
| | | | | Fix issue #484 | ||||
* | bridge: store credentials in the Keyring instead of the git config | Michael Muré | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | github: correct casing for user provided login | Michael Muré | 2020-02-29 | 1 | -22/+61 |
| | |||||
* | Merge pull request #341 from MichaelMure/bridges-default-login | Michael Muré | 2020-02-23 | 1 | -2/+4 |
|\ | | | | | bridge: record the login used during the configure and use it as default credential | ||||
| * | bridge: record the login used during the configure and use it as default ↵ | Michael Muré | 2020-02-23 | 1 | -2/+4 |
| | | | | | | | | | | | | credential fix #338 | ||||
* | | use regex.MustCompile instead of dealing with the error | Michael Muré | 2020-02-23 | 1 | -4/+1 |
|/ | |||||
* | bridges: more refactor and cleanup | Michael Muré | 2020-02-15 | 1 | -21/+14 |
| | |||||
* | bridges: massive refactor | Michael Muré | 2020-02-15 | 1 | -139/+59 |
| | | | | | | - automatic flag validation and warning - generalized prompt - cleanups | ||||
* | auth: refactor and introduce Login and LoginPassword, salt IDs | Michael Muré | 2020-02-12 | 1 | -4/+4 |
| | |||||
* | github/gitlab: many fixes and improvments at the config step | Michael Muré | 2020-02-10 | 1 | -34/+76 |
| | |||||
* | it compiles \o/ | Michael Muré | 2020-02-08 | 1 | -9/+0 |
| | |||||
* | gitlab also compile | Michael Muré | 2020-02-08 | 1 | -1/+1 |
| | |||||
* | more more wip | Michael Muré | 2020-02-08 | 1 | -33/+4 |
| | |||||
* | wip | Michael Muré | 2020-02-08 | 1 | -2/+4 |
| | |||||
* | more wip | Michael Muré | 2020-02-08 | 1 | -1/+35 |
| | |||||
* | more wip | Michael Muré | 2020-02-08 | 1 | -2/+6 |
| | |||||
* | WIP | Michael Muré | 2020-02-08 | 1 | -39/+26 |
| | |||||
* | input: better reusable prompt functions | Michael Muré | 2020-02-08 | 1 | -127/+12 |
| | |||||
* | bridge: allow to configure and pull without having set a user first | Michael Muré | 2019-12-25 | 1 | -5/+12 |
| | | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run | ||||
* | bridge/gitlab: support self-hosted GitLab instance | amine | 2019-12-10 | 1 | -0/+4 |
| | |||||
* | bridge: huge refactor to accept multiple kind of credentials | Michael Muré | 2019-12-08 | 1 | -72/+63 |
| | |||||
* | gitlab: configurator cleanup | Michael Muré | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | github: tiny cleanups of the configurator | Michael Muré | 2019-11-26 | 1 | -12/+24 |
| | |||||
* | bridge: trim inputs during bridge configuration | amine | 2019-11-25 | 1 | -7/+7 |
| | |||||
* | bridge/core: add LoadTokensWithTarget and LoadOrCreateToken functions | amine | 2019-11-24 | 1 | -38/+16 |
| | | | | bridge/github: global fixes | ||||
* | commands: add bridge configure --token-id flag | amine | 2019-11-23 | 1 | -15/+0 |
| | |||||
* | bridge/github: configuration with global configs | amine | 2019-11-23 | 1 | -14/+98 |
| | |||||
* | github: sort project candidate in the interactive wizard | Michael Muré | 2019-11-19 | 1 | -0/+3 |
| | |||||
* | bridge/launchpad: add missing metadata | amine | 2019-11-19 | 1 | -3/+3 |
| | | | | bridge: use a specific key for origin metadata | ||||
* | bridge/core: add tokenStdin field to bridgeParams | Amine Hilaly | 2019-09-02 | 1 | -1/+8 |
| | | | | commands: move tokenStdin handling logic to bridge.Configure | ||||
* | bridge/github: move cleaners to where is called | Amine Hilaly | 2019-09-01 | 1 | -10/+20 |
| | |||||
* | bridge/github: recover terminal state in password prompts | Amine Hilaly | 2019-08-31 | 1 | -0/+11 |
| | | | | commands: error if a token is provide but not the bridge name and target | ||||
* | commands: enhance flag description | Amine | 2019-08-31 | 1 | -1/+1 |
| | | | | | bridge/github: improve configuration logic Co-Authored-By: Michael Muré <batolettre@gmail.com> | ||||
* | commands: read token from stdin in bridge configuration | Amine Hilaly | 2019-08-31 | 1 | -1/+11 |
| | | | | bridge: improve bridge config validation | ||||
* | fix index out of range panic in github configuration | Amine Hilaly | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | bridge/github: fix project visibility prompt | Amine Hilaly | 2019-07-22 | 1 | -2/+2 |
| | |||||
* | bridge: use a single KeyTarget constant for all bridges | Michael Muré | 2019-07-07 | 1 | -4/+3 |
| | |||||
* | Naming fixes | Amine Hilaly | 2019-06-16 | 1 | -3/+5 |
| | |||||
* | Store bridge type alongside the other params in the config | Amine Hilaly | 2019-06-15 | 1 | -0/+6 |
| | |||||
* | make token visible in configuration process | Amine Hilaly | 2019-06-07 | 1 | -12/+16 |
| | | | | | validate token global fixes | ||||
* | Allow cancelling configuration | Amine | 2019-06-05 | 1 | -2/+2 |
| | | | | | | correct error message Co-Authored-By: Michael Muré <batolettre@gmail.com> | ||||
* | add unit tests for launchpad bridge configuration | Amine Hilaly | 2019-05-30 | 1 | -1/+1 |
| | | | | | add tests for validateUsername in Github bridge panic when compile regex fail |