This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template id="test-template"> | |
<div> | |
<span>test-template</span> | |
<span>{{content}}</span> | |
</div> | |
</template> | |
<script> | |
kiwi.plugin('test-body-template', function (kiwi, log) { | |
const testTemplate = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kiwi.plugin('robohash', (kiwi) => { | |
const avatarUrl = 'https://robohash.org/%NICK%.png?set=set1&size=%SIZE%'; | |
kiwi.on('irc.join', (event, net) => { | |
kiwi.Vue.nextTick(() => { | |
updateAvatar(net, event.nick, false); | |
}); | |
}); | |
kiwi.on('irc.wholist', (event, net) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kiwi.plugin('simple-avatars', (kiwi) => { | |
kiwi.on('irc.join', (event, net) => { | |
kiwi.Vue.nextTick(() => { | |
updateAvatar(net, event.nick, false); | |
}); | |
}); | |
kiwi.on('irc.wholist', (event, net) => { | |
let nicks = event.users.map((user) => user.nick); | |
kiwi.Vue.nextTick(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Test how many records the UTC date would remove */ | |
SELECT (SELECT COUNT(*) FROM logs WHERE time <= strftime('%s000','2022-05-25 12:50:00')) || '/' || (SELECT COUNT(*) FROM logs) | |
/* Remove records from logs before the set UTC date */ | |
DELETE FROM logs WHERE time <= strftime('%s000','2022-05-25 12:31:00'); | |
/* Clean data of any orphaned records */ | |
DELETE FROM data WHERE id NOT IN ( | |
SELECT msgtagsref AS ids FROM logs | |
UNION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"windowTitle": "Kiwi IRC - The web IRC client", | |
"startupScreen": "welcome", | |
"kiwiServer": "http://localhost:8080/webirc/kiwiirc/", | |
"restricted": false, | |
"theme": "Default", | |
"themes": [ | |
{ "name": "Default", "url": "static/themes/default" }, | |
{ "name": "Dark", "url": "static/themes/dark" }, | |
{ "name": "Coffee", "url": "static/themes/coffee" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JDK8 https://www.azul.com/downloads/?version=java-8-lts&os=windows&package=jdk | |
Node 12.x https://nodejs.org/download/release/v12.22.11/ | |
Android studio with Android 28 (I did 24-28) & Build-tools 28.0.3 (i did newest versions of 25.0.3 -> 29.0.3) | |
`npm remove -g nativescript && npm install -g [email protected]` | |
`git clone https://github.com/kiwiirc/kiwiirc-mobile.git && cd kiwiirc-mobile` | |
edit package.json change ns doctor to tns doctor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template id="ignorelist"> | |
<div class="kiwi-ignorelist-container"> | |
<table v-if="ignoredUsers.length > 0" class="kiwi-ignorelist-table"> | |
<tr> | |
<td colspan="3"> | |
<h3>{{ $t('plugin-ignorelist:ignore_list') }}</h3> | |
</td> | |
</tr> | |
<tr v-for="user in ignoredUsers" :key="user.nick"> | |
<td>{{ user.nick }}</td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template id="test-template"> | |
<div> | |
<span>test-template</span> | |
<span v-html="content" /> | |
</div> | |
</template> | |
<script> | |
kiwi.plugin('test-body-template', function (kiwi, log) { | |
const testTemplate = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.kiwi-startup-common-section-info { | |
display: none; | |
} | |
.kiwi-startup-common-section-connection { | |
margin: 0 auto; | |
} | |
.kiwi-welcome-simple-form { | |
border: 1px solid lightgrey; | |
border-radius: 16px; |