Prepared for v0.6.0 release

master
Keith Irwin 2017-04-25 20:22:18 -04:00
parent ea34e5b095
commit 29bade1914
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
4 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Tracman
###### v 0.6.0
node.js application to display a map with user's location.
node.js application to display a sharable map with user's location.
## Installation
@ -25,15 +25,19 @@ $ npm run nodemon
## Contributing
Tracman will be updated according to [this branching model](http://nvie.com/posts/a-successful-git-branching-model).
Tracman will be updated according to [this branching model](http://nvie.com/posts/a-successful-git-branching-model)... more or less.
## Changelog
#### v0.6.0
* Added more login options
* Replaced some callbacks with promises
* [#32](https://github.com/Tracman-org/Server/issues/32), [#57](https://github.com/Tracman-org/Server/issues/57), [#58](https://github.com/Tracman-org/Server/issues/58), [#60](https://github.com/Tracman-org/Server/issues/60) Added more login options
* [#50](https://github.com/Tracman-org/Server/issues/50) Replaced some callbacks with promises
* Minified static files
* [#51](https://github.com/Tracman-org/Server/issues/51), [#52](https://github.com/Tracman-org/Server/issues/52) Added settings validations
* [#54](https://github.com/Tracman-org/Server/issues/54), [#55](https://github.com/Tracman-org/Server/issues/55) Made map work better
* [#61](https://github.com/Tracman-org/Server/issues/61) New MongoDB security
* [#62](https://github.com/Tracman-org/Server/issues/62) Fixed error handling
#### v0.5.1

View File

@ -29,7 +29,7 @@ module.exports = {
init: (io)=>{
io.on('connection', (socket)=>{
// console.log(`${socket.id} connected.`);
//console.log(`${socket.id} connected.`);
// Set a few variables
socket.ip = socket.client.request.headers['x-real-ip'];
@ -61,7 +61,7 @@ module.exports = {
// Set location
socket.on('set', (loc)=>{
// console.log(`${socket.id} set location for ${loc.usr}`);
//console.log(`${socket.id} set location for ${loc.usr}`);
loc.time = Date.now();
// Check for user and sk32 token

View File

@ -79,7 +79,7 @@ const
// Path for redirects
let nextPath = ( req.path.substring(0, req.path.indexOf('#')) || req.path );
if ( nextPath.substring(0,6)!=='/login' && nextPath.substring(0,7)!=='/logout' ){
// console.log(`Setting redirect path to ${nextPath}#`);
//console.log(`Setting redirect path to ${nextPath}#`);
req.session.next = nextPath+'#';
}

View File

@ -57,9 +57,6 @@ $(function(){
$.get('/validate?'+input+'='+$('#'+input+'-input').val())
.fail(function(data,status){
console.log(typeof status);
console.log(status);
// Input is not unique
if (status===400) {
$('#'+input+'-help').show().text("That "+input+" is already in use by another user. ");