Skip to content

Commit

Permalink
Disable OAuth login due to GitLab changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilyheart committed Oct 28, 2022
1 parent acf3660 commit 8915561
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Not current accepting pull requests.

## History

### [[0.3.4]](https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.4) - 2022-10-28
Disabled the OAuth login option due to [authentication changes made by GitLab](https://docs.gitlab.com/ee/update/deprecations.html#oauth-implicit-grant). OAuth may be added back at a future date.

### [[0.3.3]](https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.3) - 2021-10-28
Removed feedback library and updated link to go directly to Bucknell's Gitlab. This change will break the link for non-Bucknell users.

Expand Down
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ <h3 class="pad-below">Gitlab Setup</h3>


<ul class="nav nav-pills nav-justified mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
<!-- <li class="nav-item">
<a class="nav-link active" id="gitlab_auth_oauth" data-toggle="pill" href="#pills-auth-oauth" role="tab" aria-controls="pills-auth-oauth" aria-selected="true">
Log in
</a>
</li>
</li> -->
<li class="nav-item">
<a class="nav-link" id="gitlab_auth_apikey" data-toggle="pill" href="#pills-auth-apikey" role="tab" aria-controls="pills-auth-apikey" aria-selected="false">
<a class="nav-link active" id="gitlab_auth_apikey" data-toggle="pill" href="#pills-auth-apikey" role="tab" aria-controls="pills-auth-apikey" aria-selected="false">
Api Key
</a>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-auth-oauth" role="tabpanel" aria-labelledby="gitlab_auth_oauth">
<!-- <div class="tab-pane fade show active" id="pills-auth-oauth" role="tabpanel" aria-labelledby="gitlab_auth_oauth">
<div id="">
<div class="form-group row">
<label for="auth-server-dropdown" class="col-sm-4 align-self-center col-form-label">Gitlab Website:</label>
Expand All @@ -119,8 +119,8 @@ <h3 class="pad-below">Gitlab Setup</h3>
</button>
</div>
</div>
</div>
<div class="tab-pane fade" id="pills-auth-apikey" role="tabpanel" aria-labelledby="gitlab_auth_apikey">
</div> -->
<div class="tab-pane fade show active" id="pills-auth-apikey" role="tabpanel" aria-labelledby="gitlab_auth_apikey">
<div class="form-group row">
<label for="base_url" class="col-sm-4 col-form-label">Gitlab URL:</label>
<div class="col-sm-8">
Expand Down Expand Up @@ -393,7 +393,7 @@ <h4 class="d-inline-flex">Warnings</h4>
<div class="tab-pane fade show active" id="faqtab" role="tabpanel" aria-labelledby="faq-tab">
<div id="faqtab-html">
<script>
$("#faqtab-html").load("partials/faqtab.html?ver=0.3.3");
$("#faqtab-html").load("partials/faqtab.html?ver=0.3.4");
</script>
</div>
</div>
Expand Down
17 changes: 9 additions & 8 deletions partials/faqtab.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ <h3>New</h3>
<p>
<ul>
<!-- <li class="new">2021/MM/DD <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/vX.X.X">vX.X.X</a></u></strong>: XXXXXX <span class="badge badge-primary">New</span></li> -->
<li class="new">2021/10/28 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.3">v0.3.3</a></u></strong>: Updated <strong>"Send Feedback"</strong> link to go directly to feedback repository on Bucknell's GitLab<span class="badge badge-primary">New</span></li>
<li class="pb-3">2021/10/13 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.2">v0.3.2</a></u></strong>: Bug affecting calculating date to apply spent change has been fixed. This is in result to a GitLab change in how spent time comments are published.</li>
<li class="new">2022/10/28 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.4">v0.3.4</a></u></strong>: Disabled OAuth login due to GitLab authentication changes. <span class="badge badge-primary">New</span></li>
<li class="">2021/10/28 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.3">v0.3.3</a></u></strong>: Updated <strong>"Send Feedback"</strong> link to go directly to feedback repository on Bucknell's GitLab</li>
<li class="">2021/10/13 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.2">v0.3.2</a></u></strong>: Bug affecting calculating date to apply spent change has been fixed. This is in result to a GitLab change in how spent time comments are published.</li>
<li class="">2020/02/20 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.0">v0.3.0</a></u></strong>: Now in Beta!!! View a burndown chart of specific sprints <strong>[Release Tab]</strong>. If you have any issues with it, find me or use the Send Feedback link above.</li>
<!-- <li>2019/12/07 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.2.8">v0.2.8</a></u></strong>: Survey
<p>I know we might be tired of feedback surveys, but I would appreciate it if you could take the time to complete the survey on the tab that will load once you are logged into your Gitlab from this page.</p>
Expand Down Expand Up @@ -44,10 +45,10 @@ <h3>Getting Started</h3>
The website is continuously being improved, and new features are added regularly. Feedback can be provided using the Send Feedback button above.
</p>
<div class="accordion" id="login-accordion">
<button class="btn btn-outline-secondary btn-block" data-toggle="collapse" href="#login-details">
<!-- <button class="btn btn-outline-secondary btn-block" data-toggle="collapse" href="#login-details">
Log in
</button >
<div class="collapse show" id="login-details" data-parent="#login-accordion">
</button > -->
<!-- <div class="collapse show" id="login-details" data-parent="#login-accordion">
The easiest way to authenticate is by logging into Gitlab through this application. In the Gitlab setup, select the Log in button.
<ul>
<li>Select the specific GitLab website you want to access in the dropdown</li>
Expand All @@ -59,12 +60,12 @@ <h3>Getting Started</h3>
<li>This will forward you to your Gitlab website. If you are not already logged into the site, you will be prompted to log in</li>
<li>The first time you log in, you will need to authorize AgileGitlab to use your account. AgileGitlab requests API access to your account to analyze the issue data. This access can be revoked following the steps later in this FAQ</li>
</ul>
</div>
</div> -->

<button class="btn btn-outline-secondary btn-block" data-toggle="collapse" href="#apikey-details">
API Key (for if you cannot or do not want to use the Log in method)
API Key
</button >
<div class="collapse" id="apikey-details" data-parent="#login-accordion">
<div class="collapse show" id="apikey-details" data-parent="#login-accordion">
<ul>
<li>To find your Gitlab URL:</li>
<ul>
Expand Down

0 comments on commit 8915561

Please sign in to comment.