- 25 12月, 2014 1 次提交
-
-
由 Mislav Marohnić 提交于
Encode special characters in branch names for `compare` command
-
- 24 12月, 2014 2 次提交
-
-
由 Mislav Marohnić 提交于
Because the branch name becomes a URL component, special characters like `#` need to be URI-encoded. Some characters are exempt from encoding: * `/` can occur literally in a branch name * Characters like `!.*'()` are allowed in URLs * Characters like `^:~` are NOT encoded because git doesn't allow them in branch names, but they can be used in Compare view for stuff like: - `mislav:master` - `feature^` - `feature~3` * If you specify a range for Compare, nothing is escaped and the caller is responsible for encoding branch names properly. This is because such expressions can include stuff like `@{1 week ago}` that branch-encoding would totally mess up.
-
由 Mislav Marohnić 提交于
Improve authentication process
-
- 23 12月, 2014 7 次提交
-
-
由 Mislav Marohnić 提交于
* In case of wrong password, "Bad credentials" will now show * In case of a user trying to paste their Personal Access Token (which won't work as a substitute for password here), a message stating that you have to use your actual password will now show.
-
由 Mislav Marohnić 提交于
Previously, an invalid 2FA code would abort the process and the user would have to restart authentication from scratch. This was fixed with the recent modifications to authentication process, and now it's tested. It also displays a helpful warning about the previous code being invalid.
-
由 Mislav Marohnić 提交于
* it's `required; app` instead of `required;application` * there is a JSON error message in the 401 response
-
由 Mislav Marohnić 提交于
If there's already an Access Token named "hub for {USER}@{HOSTNAME}", add a number in the end and increment it maximum of 9 times until saving of the Access Token succeeds.
-
由 Mislav Marohnić 提交于
Previously, the description for the token was simply "hub". Now, it's: hub for {USER}@{HOSTNAME} This reduces the chance of token name collisions when the same user uses hub to authenticate from different machines, as well as serves as information to distinguish between various tokens in user's Personal Acess Token list.
-
由 Mislav Marohnić 提交于
Due to upcoming GitHub API changes, the "token" field will not be accessible anymore, which will make it impossible for hub to re-use an existing token that might have been generated for another computer. Now, a new Access Token will be created every time hub needs to exchange the username/password credentials for an OAuth token. https://developer.github.com/changes/2014-12-08-removing-authorizations-token/
-
由 Mislav Marohnić 提交于
-
- 28 11月, 2014 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Fixes #695
-
- 23 9月, 2014 2 次提交
-
-
由 Mislav Marohnić 提交于
When running through `bundle exec`, Bundler will have loaded URI already which will make our speedy_stdlib skip redefining it. Aggressively undefine URI if loaded through Bundler so that our tests perform against our implementation, not the stdlib one.
-
由 Mislav Marohnić 提交于
When `url.scheme` is changed from "https" to "http" when someone configured their Enterprise instance to be used over insecure protocol, the "speedy" implementation changed the port as well, but the stdlib implementation doesn't. Things would break if someone used hub in an environment where stdlib URI was already loaded, like for instance from RubyGems.
-
- 28 7月, 2014 3 次提交
-
-
由 Mislav Marohnić 提交于
Port `cherry-pick`, `pull-request` tests to cukes
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 27 7月, 2014 1 次提交
-
-
由 Mislav Marohnić 提交于
Port a bunch more tests to cukes
-
- 26 7月, 2014 7 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 17 7月, 2014 3 次提交
-
-
由 Mislav Marohnić 提交于
Fix `git --noop clone` with private repos Fixes #593
-
由 Leonardo Pistone 提交于
expect(x).to_not returns false when the test passes, so using history.all? only checks the first element of the list. Since expect raises anyway, we don't need to bother anyway.
-
由 Leonardo Pistone 提交于
As suggested by @mislav, the the previous assertion only checked against "git clone" without parameters.
-
- 15 7月, 2014 1 次提交
-
-
由 Leonardo Pistone 提交于
-
- 12 7月, 2014 5 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Also get rid of deprecation warnings for `should` and `failure_message_for_should`
-
由 Mislav Marohnić 提交于
Still won't work for Enterprise gists, but this makes it work for pull request & commit URLs. Fixes #584
-
由 Mislav Marohnić 提交于
-
- 11 7月, 2014 1 次提交
-
-
由 Mislav Marohnić 提交于
When a fix for #466 landed, it was necessary to escape slashes in branch names with `;` because they weren't supported as a path component in compare URLs. Now slashes are supported, but GitHub stopped supporting semicolons as means of escaping.
-
- 05 7月, 2014 1 次提交
-
-
由 Mislav Marohnić 提交于
Fixes #588
-
- 02 7月, 2014 4 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Instead of stderr, show this help on stdout because we suppose that the user intended to retrieve help intentionally.
-
由 Mislav Marohnić 提交于
Text wider that that is hard to read. Also, on terminals narrower than 120 chars, provide a 1-character right margin to improve readability in case of vertical splits.
-
由 Mislav Marohnić 提交于
Before we tried to automatically paginate all `puts` output depending on whether it fits on one page using LESS options. This didn't work as intended, so now explicitly opt in for pagination for `hub help -p` and `hub help hub` output. Doing so enables us to clear the screen reliably upon exiting the pager without risking single-page output being swallowed. This reverts commit 45003e19. Fixes #368
-