Skip to content

Conversation

@philard
Copy link
Owner

@philard philard commented Feb 2, 2016

This pull request contains two tasks, the first in "week4", then seconds in "authServer".

Telnet server
The server is functional. It will punish you if you type " no". It will ask for your name, quest and favorite color. It will send you a message when a new user joins and when users send a message. The new messages will be inserted above the user's half typed message in the telnet client. Connect with "telnet localhost:7171". There is a unit test for the handler module.

Auth server
Working example of express-authorization. Authorization rules belong to users and each rule consists of one or more nouns followed by on or more verbs based on the "Apache Shiro" functionality. Authentication provided by express-session. Run npm install, then node express-authorization.js.

Any comments/improvements on the back end structure would be welcome.

Philip_John_Ardley and others added 30 commits December 18, 2015 22:36
…" and "show".

- Bug if the user crossed out the "prefs" window.
- Todo unit tests.
Todo:
- Unit tests
- handlerChatMessage
- done "handleChatMessage".
- done "no" detection.

todo: make code look nicer
todo: unit testing
git rm --cached .idea -r
Soo I'm taking my authServer work from another repo.
… in the browser (non amd/script tag loaded) AND in the npm test (ES6 babelified module loaded).

For now on all my tests with conform to this style.
Philip_John_Ardley and others added 11 commits January 25, 2016 20:07
* post user_page now edits just one permission noun.
* Own permissions editable from a table.
* You can add new permission on the user_page now.
* Permission error messages displayed on user_page.
* Separate handlers for rejected permissions for GET and POST in user_page.
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.

2 participants