summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.DS_Storebin20484 -> 20484 bytes
-rw-r--r--android/gradle/libs.versions.toml2
-rw-r--r--app/.DS_Storebin6148 -> 6148 bytes
-rw-r--r--app/index.php5
-rw-r--r--app/notes/update-1.9.0.php19
-rw-r--r--app/ui/ending.php49
-rw-r--r--app/ui/eol.php76
-rw-r--r--app/ui/update.php2
-rw-r--r--assets/styles.css4
-rw-r--r--includes/session.php2
-rw-r--r--oauth/.DS_Storebin6148 -> 6148 bytes
11 files changed, 156 insertions, 3 deletions
diff --git a/.DS_Store b/.DS_Store
index d99bbc9..8446dcf 100644
--- a/.DS_Store
+++ b/.DS_Store
Binary files differ
diff --git a/android/gradle/libs.versions.toml b/android/gradle/libs.versions.toml
index 43e3982..34fb34c 100644
--- a/android/gradle/libs.versions.toml
+++ b/android/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
-agp = "8.3.0-alpha11"
+agp = "8.3.0-alpha16"
kotlin = "1.9.0"
core-ktx = "1.10.1"
junit = "4.13.2"
diff --git a/app/.DS_Store b/app/.DS_Store
index 20257f6..dd405b7 100644
--- a/app/.DS_Store
+++ b/app/.DS_Store
Binary files differ
diff --git a/app/index.php b/app/index.php
index 3f0a8f5..082e705 100644
--- a/app/index.php
+++ b/app/index.php
@@ -210,6 +210,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI
if (name === "search") name = "home";
if (name === "stella") name = "settings";
if (name === "video") name = "settings";
+ if (name === "ending") name = "settings";
Array.from(document.getElementById("navigation").contentDocument.getElementsByClassName("navigation-item")).map(i => i.classList.remove("active"));
document.getElementById("navigation").contentDocument.getElementById(name).classList.add("active");
} catch (e) {
@@ -1190,6 +1191,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI
document.getElementById("modal").contentWindow._modal.show();
}
+ function eolModal() {
+ openModal("Mist is going away", "eol.php", true);
+ }
+
if (!localStorage.getItem("rich-presence")) {
localStorage.setItem("rich-presence", "true");
}
diff --git a/app/notes/update-1.9.0.php b/app/notes/update-1.9.0.php
new file mode 100644
index 0000000..5655b6b
--- /dev/null
+++ b/app/notes/update-1.9.0.php
@@ -0,0 +1,19 @@
+<?php if (!isset($releaseNotes)) die(); ?>
+<h2 style="margin-top: 30px;">What's new in Mist?</h2>
+
+<div style="text-align: left; margin-top: 50px;">
+ <div style="display: grid; grid-template-columns: 48px 1fr; grid-gap: 20px; margin-bottom: 20px;">
+ <img src="/assets/icons/video.svg" style="width: 48px;" class="icon" alt="">
+ <div>
+ <div><b>Music videos</b></div>
+ <div>On desktop, enjoy music videos instead of your usual lyrics for a better experience.</div>
+ </div>
+ </div>
+ <div style="display: grid; grid-template-columns: 48px 1fr; grid-gap: 20px; margin-bottom: 20px;">
+ <img src="/assets/icons/stella.svg" style="width: 48px; padding: 4px;" class="icon" alt="">
+ <div>
+ <div><b>Mist Stella</b></div>
+ <div>Discover and rediscover your favorite songs in fully immersive spatial audio with Mist Stella.</div>
+ </div>
+ </div>
+</div> \ No newline at end of file
diff --git a/app/ui/ending.php b/app/ui/ending.php
new file mode 100644
index 0000000..c7ce4bc
--- /dev/null
+++ b/app/ui/ending.php
@@ -0,0 +1,49 @@
+<?php header("X-Frame-Options: SAMEORIGIN"); require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFILE; ?>
+<!doctype html>
+<html lang="en">
+<head>
+ <script>
+ if (typeof window.parent.openModal === "undefined") {
+ location.href = "/app/#/settings";
+ }
+ </script>
+ <meta charset="UTF-8">
+ <meta name="viewport"
+ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>Mist End of Support</title>
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/assets/dark.css" rel="stylesheet">
+ <link href="/assets/styles.css" rel="stylesheet">
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
+ <script src="/assets/localforage.min.js"></script>
+ <script src="/assets/fuse.min.js"></script>
+ <script src="/assets/js/shortcuts.js"></script>
+ <link id="native-css" href="/assets/native.css" rel="stylesheet" disabled>
+</head>
+<body class="crossplatform">
+ <script src="/assets/js/common.js"></script>
+ <div class="container">
+ <br>
+ <h2 class="desktop-title" style="margin-top: 10px; margin-bottom: 20px; margin-left: 10px;">Mist End of Support</h2>
+
+ <div style="margin-left: 10px;">
+ <h5>Mist is going out of support on April 10</h5>
+ <p>After a few months of good service, Mist will be going offline on April 10. Learn what happens and what this means for Mist and for you on this page. Mist's end of support is being extended over the span of 3 months, from January 10 to April 10. During these 3 months, Mist will be progressively disabled according to this schedule:</p>
+ <ul>
+ <li><b>January 10:</b> Users are made aware of Mist going out of support and being given options.</li>
+ <li><b>February 10:</b> No new content is added to Mist past this date. Music videos and Mist Stella songs are removed.</li>
+ <li><b>March 10:</b> Streaming music from Mist is disabled and only downloads are available.</li>
+ <li><b>April 10:</b> Mist goes offline completely and all the songs are permanently deleted.</li>
+ </ul>
+
+ <h5>What do I need to do?</h5>
+ <p>If you were not using Mist, nothing. If you are using Mist, nothing special, other than playing your music through another streaming platform. Regardless, all of your Mist user data will be permanently deleted after Mist goes offline, so you don't have to worry about asking us to delete it. However, you can request a copy of it if you like.</p>
+
+ <h5>What solutions do I have?</h5>
+ <p><b>If you don't mind paying for your music</b>, we recommend <a target="_blank" href="https://www.apple.com/music">Apple Music</a> or <a target="_blank" href="https://www.deezer.com/">Deezer</a>. Avoid Spotify and YouTube Music at all costs! If you want to try emerging streaming platforms, you can also try <a target="_blank" href="https://www.tidal.com">Tidal</a> or <a target="_blank" href="https://www.amazon.com/music/unlimited/">Amazon Music Unlimited</a>. And if you want to own your music, check out <a target="_blank" href="https://www.qobuz.com/">Qobuz</a>.</p>
+ <p><b>If you don't want to pay for music,</b> you can download music from Mist and use any music player to play them back (assuming you have downloaded the FLAC version). On macOS, use the <a target="_blank" href="https://support.apple.com/guide/music/welcome/mac">Music</a> app. On Windows, use the <a target="_blank" href="https://apps.microsoft.com/detail/9WZDNCRFJ3PT">Media Player</a> app. On Linux, use <a target="_blank" href="https://wiki.gnome.org/Apps/Lollypop">Lollypop</a> or <a target="_blank" href="https://apps.kde.org/elisa/">Elisa</a>. On Android, use <a target="_blank" href="https://play.google.com/store/apps/details?id=code.name.monkey.retromusic">Retro Music Player</a>, <a target="_blank" href="https://play.google.com/store/apps/details?id=com.sec.android.app.music">Samsung Music</a>, <a target="_blank" href="https://play.google.com/store/apps/details?id=org.videolan.vlc">VLC</a>, or <a target="_blank" href="https://play.google.com/store/apps/details?id=com.kyant.vanilla">Vanilla Music Player</a></a>.</p>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/app/ui/eol.php b/app/ui/eol.php
new file mode 100644
index 0000000..8db4e41
--- /dev/null
+++ b/app/ui/eol.php
@@ -0,0 +1,76 @@
+<?php header("X-Frame-Options: SAMEORIGIN"); require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; ?>
+<!doctype html>
+<html lang="en">
+<head>
+ <script src="/assets/js/common.js"></script>
+ <meta charset="UTF-8">
+ <meta name="viewport"
+ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>eol</title>
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/assets/dark.css" rel="stylesheet">
+ <link href="/assets/styles.css" rel="stylesheet">
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
+ <script src="/assets/localforage.min.js"></script>
+ <script src="/assets/fuse.min.js"></script>
+ <script src="/assets/js/shortcuts.js"></script>
+ <link id="native-css" href="/assets/native.css" rel="stylesheet" disabled>
+ <style>
+ * {
+ overflow-x: hidden;
+ }
+ </style>
+</head>
+<body class="crossplatform" style="background-color: transparent !important;">
+ <script>
+ if (navigator.userAgent.includes("MistNative/darwin") || navigator.userAgent.includes("MistNative/win32")) {
+ document.getElementById("native-css").disabled = false;
+ document.body.classList.remove("crossplatform");
+ }
+ </script>
+ <div style="padding: 1rem;">
+ <div style="display: flex; justify-content: center;">
+ <div style="position: relative; left: 15px;">
+ <div style="display: inline-block; width: 24px; height: 24px; background: #d7e36d; border-radius: 999px;"></div>
+ <div style="display: inline-block; z-index: -1; width: calc(165vw / 4 - 23px * 4); height: 8px; background: linear-gradient(90deg, #d7e36d 0%, #e3d96d 100%); position: relative; left: -7px; top: -7px; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ <div style="display: inline-block; width: 24px; height: 24px; background: #e3d96d; border-radius: 999px; left: -12px; position: relative; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ <div style="display: inline-block; z-index: -1; width: calc(165vw / 4 - 23px * 4); height: 8px; background: linear-gradient(90deg, #e3d96d 0%, #e3a26d 100%); position: relative; left: -17px; top: -7px; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ <div style="display: inline-block; width: 24px; height: 24px; background: #e3a26d; border-radius: 999px; left: -22px; position: relative; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ <div style="display: inline-block; z-index: -1; width: calc(165vw / 4 - 23px * 4); height: 8px; background: linear-gradient(90deg, #e3a26d 0%, #e36d6d 100%); position: relative; left: -27px; top: -7px; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ <div style="display: inline-block; width: 24px; height: 24px; background: #e36d6d; border-radius: 999px; left: -32px; position: relative; filter: saturate(0) contrast(0) brightness(190%);"></div>
+ </div>
+ </div>
+ <div style="display: grid; grid-template-columns: repeat(4, 1fr); position: relative; left: -38px; width: 108vw;">
+ <div style="text-align: center;">January</div>
+ <div style="text-align: center;">February</div>
+ <div style="text-align: center;">March</div>
+ <div style="text-align: center;">April</div>
+ </div>
+
+ <hr>
+
+ <p>Mist has served its time well and is now going away. It will progressively be taken offline over the next few months, to give you time to get your data away and know what is going to happen. If you want more information, you can click on "Learn more" below.</p>
+
+ <ul>
+ <li><b>Users being warned</b></li>
+ <li class="text-muted">No more new content</li>
+ <li class="text-muted">Removal of videos and Mist Stella</li>
+ <li class="text-muted">Mist goes download only</li>
+ <li class="text-muted">Mist is taken offline</li>
+ </ul>
+
+ <a class="btn btn-primary" onclick="window.parent._modal.hide(); window.parent.parent.location.hash = '#/ending';">Learn more</span></a>
+ <a style="float: right;" class="btn btn-outline-secondary" onclick="window.parent._modal.hide();">Close</a>
+ </div>
+
+ <script>
+ window.sizeInterval = setInterval(() => {
+ if (document.body.clientHeight > 0) {
+ clearInterval(sizeInterval);
+ window.parent.document.getElementById("modal-frame").style.height = document.body.clientHeight + "px";
+ }
+ });
+ </script>
+</body>
+</html> \ No newline at end of file
diff --git a/app/ui/update.php b/app/ui/update.php
index 7484ae5..ba77fa8 100644
--- a/app/ui/update.php
+++ b/app/ui/update.php
@@ -25,7 +25,7 @@
<script src="/assets/js/common.js"></script>
<div style="padding: 1rem;">
<div style="text-align: center;">
- <?php $releaseNotes = true; require_once "../notes/update-1.8.0.php" ?>
+ <?php $releaseNotes = true; require_once "../notes/update-1.9.0.php" ?>
<a style="margin-top: 50px; margin-bottom: 30px; display: block;" class="btn btn-primary" onclick="localStorage.setItem('lastUpdate', '<?= trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version")) ?>'); window.parent._modal.hide();">Continue</a>
</div>
diff --git a/assets/styles.css b/assets/styles.css
index 14d7bec..b8c821a 100644
--- a/assets/styles.css
+++ b/assets/styles.css
@@ -336,6 +336,10 @@ body.native #lyrics-page {
grid-gap: 10px;
}
+ .list-icons-desktop {
+ display: none !important;
+ }
+
#filter {
display: none;
}
diff --git a/includes/session.php b/includes/session.php
index 28be2dd..9b393aa 100644
--- a/includes/session.php
+++ b/includes/session.php
@@ -77,7 +77,7 @@ function displayList($list, $hasAlbum = false) { global $albums; global $favorit
</div>
<?php endif; ?>
<div class="list-actions">
- <span style="margin-right: 10px;">
+ <span class="list-icons-desktop" style="margin-right: 10px;">
<?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $id . ".stella")): ?>
<img data-bs-html="true" title="<img src='/assets/icons/stella-full.svg' class='stella-logo-full'>" data-bs-toggle="tooltip" alt="" src="/assets/icons/stella.svg" style="vertical-align: middle; width: 16px; height: 16px; position: relative; top: -11px;">
<style>
diff --git a/oauth/.DS_Store b/oauth/.DS_Store
index e14fa9f..ad3e02e 100644
--- a/oauth/.DS_Store
+++ b/oauth/.DS_Store
Binary files differ