Authentication #170

Merged
bones7242 merged 43 commits from authentication into master 2017-09-29 02:29:22 +02:00
4 changed files with 25 additions and 6 deletions
Showing only changes of commit 5228b55a0f - Show all commits

View file

@ -0,0 +1,20 @@
module.exports = {
up: (queryInterface, Sequelize) => {
// logic for transforming into the new state
return queryInterface.addColumn(
'Claim',
'FileId',
{
type : Sequelize.STRING,
allowNull: true,
}
);
},
down: (queryInterface, Sequelize) => {
// logic for reverting the changes
return queryInterface.removeColumn(
'Claim',
'FileId'
);
},
};

View file

@ -54,8 +54,6 @@
width: 90%
}
/* show routes */
.show-asset {
width: 100%;

View file

@ -1,6 +1,7 @@
body, button, input, textarea, label, select, option {
font-family: serif;
}
/* Containters */
.wrapper {
@ -170,11 +171,11 @@ input:-webkit-autofill {
}
.input-text--primary {
border-bottom: 1px solid grey;
border-bottom: 1px solid blue;
}
.input-text--primary:focus {
border-bottom: 1px solid blue;
border-bottom: 1px solid grey;
}
/* MEDIA QUERIES */

View file

@ -30,7 +30,7 @@ module.exports = (app) => {
if (result === true) {
res.status(200).json(true);
} else {
logger.debug(`Rejecting publish request because ${params.name} has already been published via spee.ch`);
logger.debug(`Rejecting '${params.name}' because that name has already been claimed on spee.ch`);
res.status(200).json(false);
}
})
@ -45,7 +45,7 @@ module.exports = (app) => {
if (result === true) {
res.status(200).json(true);
} else {
logger.debug(`Rejecting publish request because ${params.name} has already been published via spee.ch`);
logger.debug(`Rejecting '${params.name}' because that channel has already been claimed on spee.ch`);
res.status(200).json(false);
}
})