• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TAMULib / ProjectManagementUI / 316
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 03 Sep 2020 08:32PM UTC
Jobs 1
Files 29
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
316

push

travis-ci

kaladay
Issue 95: username/password for GitHub should be removed - no longer available

To actually achieve this, much of the directive is rewritten.

The management type string needs to be passed to the directive so that it can be determined whether or not the type has changed.
With the previous design, one could not reliably determine if/when the username/password fields should disappear or not.
The original management type is saved and then the auth information is updated if the management type changes.

It also turns out that if a watch is not used, then there is no reliable way to determine if the management type is the correct value.
Closing the modal and opening up a new model is a way to potentially get the wrong information as the data from the previous open model may be preserved.
I would argue that this is a pre-existing bug that needed to be fixed to ensure that the changes here work as expected.

The isAuthRequired() function is rewritten to better handle when the 'auth' checkbox should be presented or not.
This function then should only run when needed to avoid resetting auth data when the auth data should not be reset.

The originalType should be uninitialized so that the very first run can handle setting the auth.required.
In all other cases the auth.required should never be set when the management type changes.
This is, in part, because the auth data gets cleared and it could incorrectly set the auth.useToken value.

The hasToken() function has been replaced with refreshAuth() to achieve all of this.
The name is changed to better clarify the purpose and intent of the function.

This commit requires changes in the service.

112 of 188 branches covered (59.57%)

Branch coverage included in aggregate %.

543 of 633 relevant lines covered (85.78%)

11.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 316.1 03 Sep 2020 08:32PM UTC 0
79.78
Travis Job 316.1
Source Files on build 316
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #316
  • 9bf9fff1 on github
  • Next Build on product-sprint6-95 (#322)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc