Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jul 12, 2018

No description provided.

rladdusaw and others added 30 commits June 19, 2018 10:23
This changes the verbage for checkboxes in add and edit service admin forms.
…URL provided

The service URL is only conditionally added, so it is safe to add required to the input field without adding any further checks.
This automatically causes the Create/Update button to become disabled when the URL text field is empty.
…oat to the top even if not shortlisted so I can notice them

Pull maintenance entirely out of the array before reducing out the short list.
Then append the short list array to the newly constructed maintenance array.
Add failsafe as public view if user role is undefined.
Weaver-UI-Core currently does not define "role" if the user is anonymous.

Non-public accounts may not have the role property assigned.
If the role is undefined, assume user is anonymous.

There is a setting 'anonymousRole' in app/config/appConfig.js.
I cannot find anywhere this is being used.

Ideally, this would need to respect the 'anonymousRole' appConfig.js setting but the solution may need to be done in Weaver-UI-Core instead of here.
This maintains the existing check for ROLE_ANONYMOUS such that if and when Weaver-UI-Core makes the mentioned change, this file need not be altered.
…UserRepo)

mockUserRepo is returning an undefined variable.
…ective-sorting-services-improvements

suggested improvements
…sible

Altered filter to promote downed services to the short list
…biage

Item B-03522: Change service verbiage
…ing-and-url-columns

Removed Url column and merged it into Auto Updating column
…oblem-to-help

Item B-03524: Change "Report a Problem" button to "Help"
tamu-sad-iii and others added 13 commits July 2, 2018 10:32
…re_url

Defect: D-01185 save/update possible when Service set to auto but no …
Added title to status icons for hover text
…at_to_top

Item B-03530: As a Patron, I would like In-Maintenance Services to fl…
…_for_anonymous

Defect D-01186: Non-Public Services showing for anonymous user
…and-order

Reordered tabs and altered permissions
…ective-sorting-services

Sprint5 b03526 isolated scope directive sorting services
…re change

Solving B-03526 changed the structure of the table, effectively breaking B-03525's solution.
Solve B-03525 with consideration to B-03526's new structure.

Use "Auto Updating URL" instead of either "Auto Updating" or "URL" for clarity.
The solution for B-03523 incorrectly tests when the status is set to "DOWN".
It appears to be testings if the service is visible to the public OR if the status is "DOWN".
This ends up exposing non-public services to anonymous, thereby re-introducing D-01186.

Change the filterByStatus() condition parameter to an array so that multiple status can be checked via a single pass.
Fix regression in D-01186, introduced by B-03523
@ghost ghost requested a review from jcreel July 12, 2018 17:02
@coveralls
Copy link

Pull Request Test Coverage Report for Build 94

  • 43 of 175 (24.57%) changed or added relevant lines in 12 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+3.9%) to 16.239%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/repo/noteRepo.js 0 1 0.0%
app/controllers/dashboardController.js 2 3 66.67%
app/controllers/abstractIdeaController.js 0 3 0.0%
app/controllers/userRepoController.js 0 4 0.0%
app/controllers/serviceController.js 15 20 75.0%
app/controllers/noteController.js 1 15 6.67%
app/controllers/featureProposalController.js 1 16 6.25%
app/repo/serviceRepo.js 1 22 4.55%
app/controllers/ideaController.js 1 25 4.0%
app/directives/weaverTableDirective.js 1 45 2.22%
Files with Coverage Reduction New Missed Lines %
app/controllers/dashboardController.js 1 68.97%
app/controllers/serviceController.js 1 40.0%
Totals Coverage Status
Change from base Build 14: 3.9%
Covered Lines: 215
Relevant Lines: 1198

💛 - Coveralls

Copy link
Member

@jcreel jcreel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved features from sprint 5. Improved test coverage.

@jcreel jcreel merged commit 0845780 into master Jul 25, 2018
@ghost ghost deleted the sprint5-staging branch August 8, 2018 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants