8000 Management webapp redesign by mmoayyed · Pull Request #1083 · apereo/cas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Management webapp redesign #1083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 200 commits into from
Aug 17, 2015
Merged

Management webapp redesign #1083

merged 200 commits into from
Aug 17, 2015

Conversation

mmoayyed
Copy link
Member
@mmoayyed mmoayyed commented Aug 7, 2015

Closes https://github.com/Jasig/cas/issues/496

There are a few more issues to work out, but I will leave this pull open as we merge changes into the branch so others can review and test.

This is the last wrinkle in 4.1 release.

SavvasMisaghMoayyed and others added 30 commits March 13, 2015 11:45
New UI/UX architecture with Bootstrap, Angular and jQuery
Expanded on manage form; adding app js; modified gitignore
Updated the form with the rest of the values
Conflicts:
	.gitignore
	cas-management-webapp/src/main/webapp/WEB-INF/view/jsp/manage.jsp
	pom.xml
Modified form with feedback from tech lead
Added functionality to the manage services table
@mmoayyed
Copy link
Member Author

This pull is ready to be merged. All issues have been fixed.

@mmoayyed
Copy link
Member Author

ping @leleuj would like to expedite the release. Think we can merge this and work through issues by end of week?

@leleuj
Copy link
Contributor
leleuj commented Aug 11, 2015

I'm not sure I will have time to review everything, I'll try to take a look at least.

I'll make a test before the end of the week and let you know.

@mmoayyed
Copy link
Member Author

Thanks. I'd recommend pulling down the branch and testing it purely from a functional perspective. Code reviews may not be entire feasible as most changes are UI based and I have complete trust in our fellow UI devs to have done a good job.

We'll mark this to merge by Friday unless you or anyone else discovers bugs.

@mmoayyed
Copy link
Member Author

Ping. Getting ready to merge by tomorrow evening EDT.

@mmoayyed
Copy link
Member Author

PS I will also merge this branch into heroku

@leleuj
Copy link
Contributor
leleuj commented Aug 14, 2015

Wow! What a great job! You did that on your own?

I just quickly did a few tests, it seems to work for most of the features I tested. A few comments:

  • Ant-pattern service definitions have disappeared on purpose, haven't they?
  • there is no text for the tooltip of the "Evaluation Order" field, just the key
  • when you check / uncheck the "Require All Attributes" box, I think that the "Required Attributes" zone should appear / disappear.
  • for the "Authorized to release to credential password" chekbox, where is the key to encrypt the password? In the "Public Key Options"?
  • what is the "Authorized to release proxy granting ticket ID" checkbox? Compared to "Proxy Policy Options"?
  • the explanation for the "Attribute Filter Pattern" input field should be improved.
  • the explanation for the "Required Handlers" textarea is not clear: "Collection of ids"?
  • it's not clear why I want to use the "Public Key Options"
  • even in "Edit mode", I have the success message: "Service has been added successfully" (I was expected: "edited") and it's a bit strange to stay on the "Edit service" page after a successful update
  • the default service "http://localhost:8080/cas-management/login/cas" does not make any sense
  • the "Allow Single Sign-On" checkbox should be selected by default
  • typing "http://**" in the "Regex" field for the "Proxy Policy Options" checked to "Regex", I have the unclear error: "An error has occurred while attempting to save the service. Please try again later" (logs are explanatory).

If we have a great UI, why would we move it out of the CAS project? I was in favor of dropping the UI if we could not maintain it, but as we have a great UI and as it heavily relies on the cas-server-core module, I think we should keep it in the CAS project.

@mmoayyed
Copy link
Member Author

I did a few parts of it on my own :) I had great help with a few UI experts and I am forever thankful to them.

  • Ant-pattern service definitions have disappeared on purpose, haven't they?

They have not. When you define a pattern, it is first checked to see if it's a valid regex. If not, the code switches back to Ant. I am guessing most patterns you defined where valid regex.

  • there is no text for the tooltip of the "Evaluation Order" field, just the key

That's a bug. I'll review.

  • when you check / uncheck the "Require All Attributes" box, I think that the "Required Attributes" zone should appear / disappear.

I brought up this point during development. I was told this is not good UI design. Apparently, you still want the user to keep editing stuff even if that stuff isn't going to be applicable.

  • for the "Authorized to release to credential password" chekbox, where is the key to encrypt the password? In the "Public Key Options"?

Yes.

  • what is the "Authorized to release proxy granting ticket ID" checkbox? Compared to "Proxy Policy Options"?

The option allows you release the PGT directly in the validation response, provided service is allowed to do proxy authentication.

  • the explanation for the "Attribute Filter Pattern" input field should be improved.
    Will review.
  • the explanation for the "Required Handlers" textarea is not clear: "Collection of ids"?

Technically, it's a collection of authentication handler bean ids. Will clarify.

  • it's not clear why I want to use the "Public Key Options"

Will clarify. It's used to encrypt credential/PGT data.

  • even in "Edit mode", I have the success message: "Service has been added successfully" (I was expected: "edited") and it's a bit strange to stay on the "Edit service" page after a successful update

Agreed. I'll see if I can make the change.

  • the default service "http://localhost:8080/cas-management/login/cas" does not make any sense
    Not sure I follow. What sort of explanation would you want?
  • the "Allow Single Sign-On" checkbox should be selected by default
    Will fix.
  • typing "http://**" in the "Regex" field for the "Proxy Policy Options" checked to "Regex", I have the unclear error: "An error has occurred while attempting to save the service. Please try again later" (logs are explanatory).

We can work on this.

@leleuj
Copy link
Contributor
leleuj commented Aug 14, 2015

OK. Forget my comment about the default service.

@mmoayyed
Copy link
Member Author
  • when you check / uncheck the "Require All Attributes" box, I think that the "Required Attributes" zone should appear / disappear.

Had a look. This is not true. What the checkbox says, CAS should require all attributes/values to grant access to the service. If left unchecked, the first match will succeed. So, you could still have many attributes defined and they will be ORed together. So the pane should still remain visible.

@mmoayyed
Copy link
Member Author

All feedback has been accounted for.

@mmoayyed
Copy link
Member Author

So @leleuj I am assuming you are satisfied by the pull?

@leleuj
Copy link
Contributor
leleuj commented Aug 17, 2015

Yes, great job!
+1

mmoayyed pushed a commit that referenced this pull request Aug 17, 2015
@mmoayyed mmoayyed merged commit 2bf96a2 into apereo:master Aug 17, 2015
@mmoayyed mmoayyed deleted the mgmt-webapp branch August 17, 2015 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
42B5
Development

Successfully merging this pull request may close these issues.

5 participants
0