Commit Graph

1141 Commits

Author SHA1 Message Date
Quentin Gliech
4d97e3a19a
webui: implement filtering 2020-01-25 11:40:08 +01:00
Quentin Gliech
fa13550115
webui: enhance the issue list page
This starts some ground work for filtering & moves the pagination logic
in the query params.
Also has a nice loading placeholder.
2020-01-24 01:12:01 +01:00
Michael Muré
9f7953161f
Merge pull request #300 from ludovicm67/webui-display-current-identity
Webui: display current identity + improve app bar
2020-01-24 00:46:44 +01:00
ludovicm67
70354165ff
webui: remove useless conditions 2020-01-24 00:43:12 +01:00
ludovicm67
7de5a25ffa
webui: add logo 2020-01-24 00:28:18 +01:00
ludovicm67
def48e53f4
webui: display current identity in the AppBar 2020-01-23 23:37:59 +01:00
ludovicm67
8f6bc24503
webui: fix AppBar 2020-01-23 23:05:34 +01:00
Michael Muré
ff33e62f65
Merge pull request #299 from ludovicm67/fix-webui
Fix column overflow in webui
2020-01-23 22:52:21 +01:00
ludovicm67
f716bc1db9
webui: change primary color 2020-01-23 22:49:19 +01:00
ludovicm67
e364674850
webui: fix width for pre tags in bug messages 2020-01-23 22:03:22 +01:00
ludovicm67
3413ee448a
webui: open image in a new tab on click 2020-01-23 21:50:20 +01:00
ludovicm67
e08ecf1a7f
webui: fix column width on bug 2020-01-23 21:40:53 +01:00
ludovicm67
42219ab655
webui: custom image tag 2020-01-23 21:36:49 +01:00
Michael Muré
20080aa0e4
fix version not set properly when built on travis 2020-01-22 14:14:24 +01:00
Michael Muré
00b1bd0434
Merge pull request #298 from MichaelMure/webui/gql-fragment-matcher
Use the IntrospectionFragmentMatcher & update dependencies
2020-01-21 21:05:58 +01:00
Quentin Gliech
5374a74ecb
webui: use the IntrospectionFragmentMatcher & update dependencies 2020-01-21 21:01:51 +01:00
Michael Muré
ead3fdd074
Merge pull request #287 from MichaelMure/github-import-error
Github import error
2020-01-07 19:05:45 +01:00
Michael Muré
ee48aef489
github: warning when the comment to be edited is missing instead of failing
fix #286
2020-01-04 13:11:29 +01:00
Josh Bialkowski
a785bcdad6
codereview #6: don't fail one warning
* presence of an error in the import event doesn't indicate failure
2020-01-04 13:04:21 +01:00
Josh Bialkowski
f15206e7b1
* Fix git config reader can't read values with spaces
* Add NewImportWarning for things that aren't exactly errors.
  Use this for unhandled changelog events.
* Add NewExportWarning for things that aren't exactly errors.
  Use this for un-exportable status changes.
2020-01-04 13:04:15 +01:00
Michael Muré
ca1d305308
Merge pull request #285 from MichaelMure/fix-gitlab
Fix gitlab
2020-01-03 22:35:46 +01:00
Michael Muré
86b114ae7e
gitlab: proper token generation URL with custom base URL 2020-01-03 13:53:59 +01:00
Michael Muré
d2ed6747e5
gitlab: fix edit not being pushed with baseUrl
fix #284
2020-01-03 13:52:03 +01:00
Michael Muré
fc568209f0
termui: fix an excessive assumption about an error 2019-12-27 20:08:58 +01:00
Michael Muré
1bcba473fb
Merge pull request #280 from MichaelMure/bridge-gitlab
bridge/gitlab: add base url configuration
2019-12-27 12:12:01 +01:00
Amine
c769348c75
bridge/gitlab/config.go printing typo
Co-Authored-By: Michael Muré <batolettre@gmail.com>
2019-12-27 03:29:53 +01:00
Michael Muré
8acbc9db40
Merge pull request #277 from MichaelMure/dependabot/dep/github.com/MichaelMure/go-term-text-0.2.4
build(deps): bump github.com/MichaelMure/go-term-text from 0.2.1 to 0.2.4
2019-12-26 21:50:48 +01:00
Michael Muré
6fffe24dea dep ensure 2019-12-26 21:49:39 +01:00
dependabot-preview[bot]
2852bb27e5 build(deps): bump github.com/MichaelMure/go-term-text
Bumps [github.com/MichaelMure/go-term-text](https://github.com/MichaelMure/go-term-text) from 0.2.1 to 0.2.4.
- [Release notes](https://github.com/MichaelMure/go-term-text/releases)
- [Commits](https://github.com/MichaelMure/go-term-text/compare/v0.2.1...v0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 21:44:38 +01:00
Michael Muré
3a3a4ffacd
Merge pull request #278 from MichaelMure/bridge-conf-workflow
bridge: allow to configure and pull without having set a user first
2019-12-26 21:42:47 +01:00
amine
5cffb5d114 bridge/gitlab: add missing baseUrl prompt and options
bridge/gitlab: fix api calls with self hosted Gitlab instances
2019-12-26 20:16:18 +01:00
Michael Muré
864d3ed335 bridge: allow to configure and pull without having set a user first
- 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
2019-12-25 23:25:39 +01:00
Josh Bialkowski
dca85b309a repair after rebase 2019-12-18 12:18:47 -08:00
Josh Bialkowski
3384d1b26b codereview #6: don't fail one warning
* presence of an error in the import event doesn't indicate failure
2019-12-18 07:42:16 -08:00
Josh Bialkowski
4e64c834e2 codereview #5: reverse-map and ImportWarning
* Fix git config reader can't read values with spaces
* Add bug-id-revmap config option for the reverse map, and use this
  in the importer
* Add NewImportWarning for things that aren't exactly errors.
  Use this for unhandled changelog events.
* Add NewExportWarning for things that aren't exactly errors.
  Use this for un-exportable status changes.
* Strip newlines from titles on import
2019-12-18 07:42:16 -08:00
Josh Bialkowski
98bd372e60 codereview #4: fixes from testing
* don't prefix imported title's with jira ID
* fix import new comment due to wrong variable name
* fix double import of comment edition due to improper err check
* fix JIRA cloud paginated changelog has a different JSON
  field then the embedded changelog in the JIRA server issue
  object
* fix splitting label strings yielded an empty string as a label
  value
2019-12-18 07:42:16 -08:00
Josh Bialkowski
a59aaebc7e codreview #3: two credential types, more fixes
* Support both token and session credential types
* use getTimeDervedID in export.go
* keyOrigin -> core.KeyOrigin
* fix one indentation
* remove project key from operation metadata
* fix missing credentials codepath if not using sidecar
2019-12-18 07:42:16 -08:00
Josh Bialkowski
cd889572f7 codereview #2: some cleanup, correct use of nothing-events
* return error, don't panic
* skipping status export is an error
* use switch in config.go
* move PromptPassword to input
* move client construction into getIdentityClient
* use non-pointer context throughout client since it is an interface
* remove some TODOs
* don't emit multiple nothing-events, just one per bug only if nothing
  happened.
* rename EditBody to EditCreateComment
* add configuration notes about additional values
* store bug id map in a dictionary in the config
* some fixes from testing
2019-12-18 07:42:16 -08:00
Josh Bialkowski
7657a38ff2 codereview #1: clean lint from golangcibot 2019-12-18 07:42:16 -08:00
Josh Bialkowski
eff830bdcb Implement jira bridge 2019-12-18 07:42:13 -08:00
Michael Muré
e96d8e6771
Merge pull request #274 from MichaelMure/gitlab-bridge
bridge/gitlab: support self-hosted GitLab instance
2019-12-10 21:13:54 +01:00
amine
f6b4830c0b bridge/gitlab: support self-hosted GitLab instance 2019-12-10 21:05:55 +01:00
Amine
ef6801a37f
Merge pull request #273 from MichaelMure/user-create-set
cmd: "user create" only assign the user identity if not set
2019-12-10 20:52:01 +01:00
Michael Muré
da6591e480 cmd: "user create" only assign the user identity if not set 2019-12-10 20:13:49 +01:00
Michael Muré
f1ed857cbd
Merge pull request #271 from MichaelMure/bridge-credentials
bridge: huge refactor to accept multiple kind of credentials
2019-12-10 00:42:23 +01:00
amine
58c0e5aac9 auth: Correctly cast configs[configKeyKind] 2019-12-09 17:16:44 +01:00
Michael Muré
4c6d33e48e
type the CredentialKind values
Co-Authored-By: Amine <hilalyamine@gmail.com>
2019-12-09 16:43:30 +01:00
Amine
69af7a1e0c
Merge pull request #272 from MichaelMure/fix-import-time-save
bridge: fix incorrect last import time on context cancel
2019-12-09 15:22:14 +01:00
Michael Muré
8f7f89561b
bridge: fix incorrect last import time on context cancel 2019-12-09 01:03:37 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials 2019-12-08 21:28:27 +01:00