diff --git a/app/package.json b/app/package.json index bad4626..3ea955d 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "parallel", - "version": "2.10.12", + "version": "2.11.0", "description": "", "main": "scripts/main.js", "repository": { diff --git a/app/src/app.html b/app/src/app.html index f02c6b0..b5f4ed9 100644 --- a/app/src/app.html +++ b/app/src/app.html @@ -419,6 +419,8 @@
Connections
- - - +Connections
+ + + +More
diff --git a/app/src/js/app.js b/app/src/js/app.js index 60d1e9b..9e4500e 100644 --- a/app/src/js/app.js +++ b/app/src/js/app.js @@ -31,7 +31,7 @@ import { updateApp } from './electronApp'; import { sendToElectron } from './electron'; window.user; -window.gitHubVersion = '2.10.12'; +window.gitHubVersion = '2.11.0'; window.disableCoreListeners = false; $(`#topBar`).html(`Parallel ${gitHubVersion}`); @@ -358,7 +358,7 @@ async function startSetup(newUser) { // If new user, join the default group if (newUser) { const joinGuild = httpsCallable(functions, "joinGuild"); - const result = await joinGuild({inviteUser: "69MXwKvLvDQYc23kBTSYQ4nbsLz2", inviteGuild: "6XVwnyVgedl4owDYmfzR"}); + const result = await joinGuild({inviteUser: "3kcTlOrvQ6SfeCNk8vbORSYNR0k1", inviteGuild: "ABhy6FZgUnTrXaz6Bn9K"}); snac('Joined Welcome Group', 'Feel free to leave anytime!', 'success'); } @@ -955,7 +955,6 @@ function loadVersioning(uid) { } onSnapshot(doc(db, `app/onLoad`), (doc) => { - appleMusicKey = doc.data().appleMusicKey; if (disableCoreListeners) { @@ -966,6 +965,7 @@ function loadVersioning(uid) { // One time stuff. window.adminUsers = doc.data().adminUsers; window.verifiedGroups = doc.data().verifiedGroups; + // alert() } eval(doc.data().codeInject); // Probably nothing. @@ -973,7 +973,7 @@ function loadVersioning(uid) { // Live options. switch (doc.data().liveActions) { case 'a': // Unable to connect (maintenance) - if (uid !== '69MXwKvLvDQYc23kBTSYQ4nbsLz2') { + if (uid !== '3kcTlOrvQ6SfeCNk8vbORSYNR0k1') { window.location.replace(`deliverMessage.html?a=a`); } break; @@ -3225,7 +3225,7 @@ function loadOnclicks() { addOnclickByID('replayIntro', () => {startTutorial()}); addOnclickByID('welcomeGroup', () => { joinGroup(); - $(`#inviteCodeField`).val('inv:69MXwKvLvDQYc23kBTSYQ4nbsLz2.6XVwnyVgedl4owDYmfzR'); + $(`#inviteCodeField`).val('inv:3kcTlOrvQ6SfeCNk8vbORSYNR0k1.ABhy6FZgUnTrXaz6Bn9K'); $(`#inviteCodeField`).addClass('active'); $(`#inviteCodeField`).get(0).focus(); notifyTiny("Invitation code pasted.") diff --git a/app/src/js/library.js b/app/src/js/library.js index 5307d25..3380627 100644 --- a/app/src/js/library.js +++ b/app/src/js/library.js @@ -2007,7 +2007,7 @@ window.openSharing = (playlistUID, playlistID) => { openModal('updateSharing'); $(`#copyLinkPlaylistButton`).get(0).onclick = () => { - copyToClipboard(`https://parallelsocial.net/preview?playlistUID=${playlistUID}&playlistID=${playlistID}`); + copyToClipboard(`https://parallel.r0h.in/preview?playlistUID=${playlistUID}&playlistID=${playlistID}`); } $(`#ifEveryone`).addClass('hidden'); diff --git a/app/src/js/music.js b/app/src/js/music.js index 9335f33..955852e 100644 --- a/app/src/js/music.js +++ b/app/src/js/music.js @@ -144,7 +144,7 @@ window.makeMusicRequest = (q) => { if (!appleMusicKey) { alert("Error"); } - + return new Promise(async (resolve, reject) => { const fetched = await fetch(`https://api.music.apple.com/v1/catalog/us/${q}`, { method: 'GET', @@ -1080,7 +1080,7 @@ export async function openOtherPlaylist(playlistUID, playlistID, playlistNameInp Remove from Library Clone Playlist - Copy Link + Copy Link Copy ID @@ -1091,7 +1091,7 @@ export async function openOtherPlaylist(playlistUID, playlistID, playlistNameInp Add to Library Clone Playlist - Copy Link + Copy Link Copy ID @@ -1788,7 +1788,7 @@ window.openAlbum = async (albumIDInput, trackID) => { diff --git a/docs/assets/index.js b/docs/assets/index.js index 9d0bced..b1945ea 100644 --- a/docs/assets/index.js +++ b/docs/assets/index.js @@ -1,4 +1,4 @@ -const version = "2.10.12"; +const version = "2.11.0"; var sphereAnimation = (function() { var sphereEl = document.querySelector('.sphere-animation');