Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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/ | ||||
* | make sure every text input is safe and validated | Michael Muré | 2021-04-17 | 1 | -20/+7 |
| | | | | fix #630 | ||||
* | Github brdige: move credential loading and client creation back | Alexander Scharinger | 2021-04-09 | 1 | -12/+16 |
| | | | | Reason: failing integration tests | ||||
* | github: minor cleanups | Michael Muré | 2021-04-09 | 5 | -22/+25 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into dev-gh-bridge | Michael Muré | 2021-04-09 | 4 | -36/+33 |
|\ | |||||
| * | bug: migrate to the DAG entity structure! | Michael Muré | 2021-02-14 | 2 | -17/+12 |
| | | |||||
| * | identity: PR fixes | Michael Muré | 2021-02-14 | 2 | -2/+2 |
| | | |||||
| * | deal with the previous changes | Michael Muré | 2021-02-14 | 2 | -32/+34 |
| | | |||||
* | | Improve feedback for user when Github rate limiting | Alexander Scharinger | 2021-04-08 | 2 | -9/+9 |
| | | | | | | | | | | | | | | | | The Github bridge itself should not write anything. This commit removes code writing to stdout and itroduces an event `ImportEventRateLimiting` to `core.ImportResult` in order to inform about a rate limiting situation of the Github GraphQL API. Now the communication with the user is delegated to the various user interfaces. | ||||
* | | Add comment to clarify look ahead in import channel | Alexander Scharinger | 2021-04-08 | 1 | -1/+10 |
| | | |||||
* | | Github bridge: refactor message handling | Alexander Scharinger | 2021-03-28 | 1 | -3/+15 |
| | | |||||
* | | Github bridge: stop sleep-timer on SIGINT | Alexander Scharinger | 2021-03-27 | 1 | -2/+8 |
| | | |||||
* | | Github bridge: fix message about timeout | Alexander Scharinger | 2021-03-27 | 1 | -1/+2 |
| | | |||||
* | | Github bridge: Refactor | Alexander Scharinger | 2021-03-22 | 3 | -435/+303 |
| | | |||||
* | | Github bridge: send message to user when waiting | Alexander Scharinger | 2021-03-18 | 2 | -63/+209 |
| | | | | | | | | | | | | When the Github GraphQL API rate limit is exhausted print a message at the bottom of the terminal so the user knows why the import has been paused. | ||||
* | | Github bridge: try again in case of web API error | Alexander Scharinger | 2021-03-15 | 1 | -1/+23 |
| | | |||||
* | | Remove maps containing channels. | Alexander Scharinger | 2021-03-15 | 2 | -93/+62 |
| | | | | | | | | | | | | | | | | | | The old implementation of the github bridge used maps to store several channels holding data obtained from the Github API. Removing the maps and simply packing data and channels together in a struct and passing it through one single channel makes the program simpler in terms of concurrency and, additionally, enables the garbage collector to free the memory gradually without any additional provisions. | ||||
* | | Fix errors: deadlock and empty titles | Alexander Scharinger | 2021-03-15 | 3 | -203/+263 |
| | | |||||
* | | Deal with github bridge import rate limit | Alexander Scharinger | 2021-02-28 | 4 | -737/+687 |
|/ | |||||
* | Merge pull request #534 from MichaelMure/gh-bridge-pull-fix | Michael Muré | 2021-02-01 | 3 | -419/+345 |
|\ | | | | | Fix github bridge import | ||||
| * | Add comments | Alexander Scharinger | 2021-01-28 | 1 | -9/+41 |
| | | |||||
| * | Fix bug | Alexander Scharinger | 2021-01-26 | 1 | -1/+1 |
| | | |||||
| * | Integrate new Github Bridge import | Alexander Scharinger | 2021-01-24 | 3 | -812/+246 |
| | | |||||
| * | Add GraphQL github-bridge query for comment edits | Alexander Scharinger | 2021-01-24 | 2 | -1/+92 |
| | | |||||
| * | Add GraphQL github timeline query and iterator | Alexander Scharinger | 2021-01-24 | 2 | -3/+115 |
| | | |||||
| * | Add issue edit iterator | Alexander Scharinger | 2021-01-24 | 2 | -13/+97 |
| | | |||||
| * | Add issue iterator | Alexander Scharinger | 2021-01-24 | 1 | -0/+90 |
| | | |||||
| * | Add GraphQL github issue query | Alexander Scharinger | 2021-01-24 | 2 | -0/+40 |
| | | |||||
| * | WIP: Pinpoint some of the reasons for bug #385 | Alexander Scharinger | 2020-12-12 | 2 | -5/+48 |
| | | | | | | | | | | | | | | | | | | Work in progress. The github bridge contains a bug documented in issue #385. This commit shows what is the problem. There might be more problems. I have changed the GraphQL query for timeline items and there are much less wrong imports now. (Are there any malformed imports left?) I would like to rework the entire bridge/github/iterator in the near future in order to create a reliable fix for this bug. | ||||
* | | add github actions | Michael Muré | 2020-12-08 | 1 | -0/+3 |
|/ | |||||
* | 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 | ||||
* | repo: use go-git in more places, fix push | Michael Muré | 2020-10-04 | 2 | -3/+3 |
| | |||||
* | bridge: store credentials in the Keyring instead of the git config | Michael Muré | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | repository: remove tie to Bug, improved and reusable testing | Michael Muré | 2020-06-26 | 2 | -3/+3 |
| | | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen. | ||||
* | bug: harmonize how time are used, fix some issues in command special formats | Michael Muré | 2020-06-25 | 1 | -1/+1 |
| | | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be. | ||||
* | github: tighten the import matching | Michael Muré | 2020-03-28 | 1 | -1/+4 |
| | |||||
* | Merge pull request #344 from MichaelMure/github-lowercase-login | Michael Muré | 2020-02-29 | 2 | -45/+93 |
|\ | | | | | github: fix matching cred/identity with badly cased login | ||||
| * | github: fix tests | Michael Muré | 2020-02-29 | 1 | -23/+32 |
| | | |||||
| * | github: correct casing for user provided login | Michael Muré | 2020-02-29 | 1 | -22/+61 |
| | | |||||
* | | identity: bring back the login to hold that info from bridges (purely ↵ | Michael Muré | 2020-02-25 | 1 | -0/+2 |
|/ | | | | informational) | ||||
* | Merge pull request #341 from MichaelMure/bridges-default-login | Michael Muré | 2020-02-23 | 6 | -40/+43 |
|\ | | | | | 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 | 6 | -40/+43 |
| | | | | | | | | | | | | credential fix #338 | ||||
* | | Merge pull request #331 from MichaelMure/webui/mutations | Michael Muré | 2020-02-23 | 1 | -1/+1 |
|\ \ | | | | | | | Webui: add comments | ||||
| * | | webui: style SetStatus | Michael Muré | 2020-02-17 | 1 | -1/+1 |
| | | | |||||
* | | | use regex.MustCompile instead of dealing with the error | Michael Muré | 2020-02-23 | 1 | -4/+1 |
| |/ |/| | |||||
* | | bridges: pass the context to Init for when a client build process needs it | Michael Muré | 2020-02-15 | 4 | -7/+9 |
| | |