asoftwareguy / gravitas Goto Github PK
View Code? Open in Web Editor NEWAn AngularJS client, Grails REST server based event sign-up application.
An AngularJS client, Grails REST server based event sign-up application.
Hi aSoftwareGuy-
Great tutorial and sample app here. I am really new to rest/angular and I have been struggling to figure out how to implement this functionality with grails.
I ran into a minor issue and had a question as well,
The app seems to be fully functional, although if you do not log off before you close your browser and then fire up the browser again you will remain logged in, however the main.gsp under the ng-show="isAuthenticated" is now false and therefore the Login/Logout dialog is not visible. I am not sure how to best fix this but I thought I would let you know.
My question is a bit unrelated, but is it possible to use the approach that you created here with a multi-page application rather than a single page app? Would the LocalStorage of the token be accessible in another page?
Thanks for any insight
Event list page only shows the oldest 10 events
If you logout and then you are able to login just by providing the username without password.
Clicking the 'Log out' link in the header causes a blank page to be displayed instead of showing the home page
If wrong credentials are provided the login screen will reappear again and again even though right credentials are submitted later.
When deleting an event, the deleted event remains in the event list. An manual page refresh removes the entry from the table, as does a second delete. The list should refresh immediately after the delete has happened.
Log in with a user. See the header is available. Hit F5 or refresh page. Header disappears.
When attempting to setup a drone.io build for the project, it was discovered that the grailsw file is not executable.
https://drone.io/github.com/asoftwareguy/gravitas
You have to click Delete twice to remove an event.
This is not a bug with gravitas, it's fine:)
I was using this application as a reference to setup my own rest-based grails application with security. In the end, I wasted several hours trying to get a working application with the 1.5.1 version of spring-security-rest
Once I matched the plugin of this application, everything worked like a charm.
Just wanted to share this in case others try doing the same.
Thanks
Exception thrown with error "Message: ‘mediaType’ must not be empty"
java.lang.IllegalArgumentException: ‘mediaType’ must not be empty
org.springframework.util.Assert.hasLength(Assert.java:136)
org.springframework.http.MediaType.parseMediaType(MediaType.java:687)
org.springframework.http.MediaType$parseMediaType.call(Unknown Source)
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.