Skip to content
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

Header bar can be used to type bash commands #25

Open
piatra opened this issue Feb 17, 2013 · 15 comments
Open

Header bar can be used to type bash commands #25

piatra opened this issue Feb 17, 2013 · 15 comments
Assignees

Comments

@piatra
Copy link
Contributor

piatra commented Feb 17, 2013

Adding things like cd ~username to go to homepage or making the header bar location change depending on the page you are on.

@ghost ghost assigned piatra Feb 17, 2013
@alexef
Copy link
Member

alexef commented Feb 17, 2013

It would be nice to print who's online, I can provide a simple json api for that, if you want.

@piatra
Copy link
Contributor Author

piatra commented Feb 17, 2013

The api should just return an array, that way it would be easier to iterate over it 👍
Reply with the url for the api and I'll make it

@alexef
Copy link
Member

alexef commented Feb 17, 2013

@piatra
Copy link
Contributor Author

piatra commented Feb 17, 2013

Our API uses OAuth for authentication. Shouldn't this api be available without OAuth since I'm making requests from the same domain ? If not are the OAuth steps document anywhere ?

@alexef
Copy link
Member

alexef commented Feb 17, 2013

It works for me, without OAuth. Are you sure you are logged in? The db was
reset, maybe you need to login.

@piatra
Copy link
Contributor Author

piatra commented Feb 17, 2013

Works now !

@piatra
Copy link
Contributor Author

piatra commented Feb 17, 2013

Done. Just type in online I will add a help instruction to display all available commands

@alexef
Copy link
Member

alexef commented Feb 17, 2013

Would you implement a /nick newname command, if I provide the API?

We must make it easier for the players to change their nicknames. Currently, there is an "S" link on the profile page which they can use to get to a form and change the nickname.

@alexef
Copy link
Member

alexef commented Feb 17, 2013

http://wouso.rosedu.org/api/#post--api-info-nickname- here it is <- jost post the new nickname and watch the response.

@piatra
Copy link
Contributor Author

piatra commented Feb 17, 2013

What do I have to send via POST, just the new nickname ?

@alexef
Copy link
Member

alexef commented Feb 17, 2013

Yep.

@skyel
Copy link

skyel commented Feb 19, 2013

From what I see the header bar does not do autoscroll for the online command. Also I think a slightly smaller font may look better. And I think we don't quite need the horizontal scroll bar.

@piatra
Copy link
Contributor Author

piatra commented Feb 21, 2013

the website is not updating..i think, or a very aggressive cache ;(
but the feature is almost complete, it's just that I can't test it properly.

@alexef
Copy link
Member

alexef commented Feb 25, 2013

There was some ssh mess in the update process, seems ok now.

@piatra
Copy link
Contributor Author

piatra commented Feb 25, 2013

Great. More bugfixes tonight :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants