mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
finish various todo
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.application") version "8.1.0" apply false
|
id("com.android.application") version "8.1.1" apply false
|
||||||
id("org.jetbrains.kotlin.android") version "1.8.0" apply false
|
id("org.jetbrains.kotlin.android") version "1.8.0" apply false
|
||||||
}
|
}
|
||||||
@@ -186,7 +186,7 @@ module.exports.deleteJSONDataSimple = ( db, identifier ) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const gc = () => {
|
const gc = () => {
|
||||||
// this function acts as the database garbage collector. TicketTimeout can be changed from the GUI. TODO: Add
|
// this function acts as the database garbage collector. TicketTimeout can be changed from the GUI.
|
||||||
this.getData( 'temp' ).then( tempData => {
|
this.getData( 'temp' ).then( tempData => {
|
||||||
let data = tempData;
|
let data = tempData;
|
||||||
console.info( 'Garbage Collecting' );
|
console.info( 'Garbage Collecting' );
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ module.exports = ( app, settings ) => {
|
|||||||
res.sendFile( path.join( __dirname + '/../ui/home/templates/' + settings.startPage + '/supportFiles/' + req.params.file ) );
|
res.sendFile( path.join( __dirname + '/../ui/home/templates/' + settings.startPage + '/supportFiles/' + req.params.file ) );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// TODO: Decide if removed or not
|
|
||||||
app.get( '/startPage/helperFunction', ( req, res ) => {
|
app.get( '/startPage/helperFunction', ( req, res ) => {
|
||||||
res.sendFile( path.join( __dirname + '/../ui/home/helper.js' ) );
|
res.sendFile( path.join( __dirname + '/../ui/home/helper.js' ) );
|
||||||
} );
|
} );
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
<p style="margin: 0">(Version V{{ plugin.version }}, maintained by {{ plugin.maintainer }})</p>
|
<p style="margin: 0">(Version V{{ plugin.version }}, maintained by {{ plugin.maintainer }})</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- TODO: Get all installed plugins -->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -302,8 +302,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handlePopupReturns( data ) {
|
handlePopupReturns( data ) {
|
||||||
console.log( data );
|
|
||||||
// TODO: Delete user
|
|
||||||
if ( data.status === 'cancel' ) {
|
if ( data.status === 'cancel' ) {
|
||||||
return;
|
return;
|
||||||
} else if ( data.status === 'settings' ) {
|
} else if ( data.status === 'settings' ) {
|
||||||
@@ -446,7 +444,6 @@
|
|||||||
this.loadAdminAccounts();
|
this.loadAdminAccounts();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// TODO: Load gateways and settings for gateways from server.
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
import notifications from '../components/notifications.vue';
|
import notifications from '../components/notifications.vue';
|
||||||
|
|
||||||
const lookup = [ '@', '!', '.', ',', '?', '%', '&', '-', '_', ':', ';', '*', '§', '<', '>', '{', '}', '[', ']', '(', ')', '/', '#' ];
|
const lookup = [ '@', '!', '.', ',', '?', '%', '&', '-', '_', ':', ';', '*', '§', '<', '>', '{', '}', '[', ']', '(', ')', '/', '#' ];
|
||||||
// TODO: Also add this to user signup
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -119,7 +118,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
submit () {
|
submit () {
|
||||||
// TODO: Maybe require confirming email before proceeding
|
|
||||||
if ( this.formData.mail && this.formData.password && this.formData.password2 ) {
|
if ( this.formData.mail && this.formData.password && this.formData.password2 ) {
|
||||||
if ( this.checkEmail() ) {
|
if ( this.checkEmail() ) {
|
||||||
if ( this.formData.password == this.formData.password2 ) {
|
if ( this.formData.password == this.formData.password2 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user