agrc / agrc.ijit Goto Github PK
View Code? Open in Web Editor NEWInternal AGRC modules/widgets
License: MIT License
Internal AGRC modules/widgets
License: MIT License
In the user admin page there should be a confirm dialog before deleting a user.
Ok picture this ๐ท
you go to sign in enter your user name password it doesn't work
you click forgot password
you get an empty box. ๐
Why not populate what was in the sign in text box so you dont' have to type it again.
Create an authentication
folder and move the LoginRegister widget stuff into that.
Remove request access button after it's been submitted.
The change request should accept an optional email address or something to get back in touch with the people who are submitting the changes.
Include:
Need to add more event listeners so that you can copy paste your password into the password field and still click the sign in button.
I think it could be helpful to be able to get to the admin page from the _LoginRegisterLogout widget.
When you successfully login via the login register widget a topic is published. When remember me is checked and authentication happens the sign in pane success thing is invoked. This emits an event. I put that code there and I think it's stupid. I don't know why I did it but for things like the pel app wizard to work properly the response from the remember me request needs to be published. This allows widgets who don't have a reference to the login stuff to act on the sign in event. I'd like to see an approach on how to refactor that in that you think is acceptable.
The LoginRegister widget needs an event added called sign-in-success
.
Is would be more clear than having to bind to onSubmitReturn
.
Add a new constructor parameter to the LoginRegister widget called logoutDom
. This should accept a dom node and populate it with something like:
Welcome Scott Davis | sign out (maybe as a dropdown?)
This should display the current user's full name and a logout link. Upon clicking logout the login window should be displayed again. After adding cookies to the widget, this would also clear any cookies. It could also be enhanced in the future to redirect the user to another page after logging out.
Needs to be added to submit button.
When you hit enter when resetting your password it refreshes the page.
admin
roleThis widget should require login and validate that the logged in user is a member of the admin
role.
Check out Steve's enhancement in PEL branch
Add change password functionality to the _LoginRegisterLogout widget.
This is a new widget that needs to be created to interface with https://github.com/agrc/ArcGisServerPermissionsProxy.
It should provide the user with the ability to register and login.
The widget needs to accept the app name as a constructor parameter.
Fields that should be collected at registration from the user:
Add a show option to the bootstrap modal constructor that is linked to a constructor option on the LoginRegister widget. Something like showDialogOnCreation
. This new constructor option should default to true.
Then add a method to LoginRegister called showDialog
.
When you click enter on the sign in widget it does not disable the submit button. It appears as nothing is happening. https://redmine.dts.utah.gov/issues/28337
We should be able to search for users to quickly find them in the grid.
This causes issues with layer-selector.
Need to look at a way to prevent or just manually remove it after successfully signing in via something like this:
esriConfig.defaults.io.corsEnabledServers.splice(
esriConfig.defaults.io.coresEnabledServers.indexOf('null://undefined'), 1);
punk.
Need to figure out how to send tokens to secured services on every request. It would be great if we could do this automatically by using setRequestPreCallback.
Also need to figure out how to request new tokens and handle a bad token being rejected by the server.
Add a "Remember me" checkbox to the "Sign In" pane in the LoginRegister widget.
This should store a long term token from ArcGIS Server, it's expiration date and the user name in localStorage or a cookie on the client. We may want to store other user info also?
Then the next time the widget is initialized it should look for these values and if they are present and the token isn't expired, it will skip the login screen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.