diff --git a/app/src/main/assets/changelogs/6000.md b/app/src/main/assets/changelogs/6000.md deleted file mode 100644 index c2faeadf..00000000 --- a/app/src/main/assets/changelogs/6000.md +++ /dev/null @@ -1,90 +0,0 @@ -#  - -## Welcome Beta Ring II π - -For many of you, this is the first time you're seeing this app. Welcome to the second beta ring! -You'll be helping us test the app and find bugs before we release it to the general public. Everyone -is so excited to have you here! - -Crashes are expected, and we're working hard to fix them. If you find a crash, it will be reported -automatically. If you have anything else to say, use the **channels on Jenvolt** or the **Feedback** -button in settings. - -## Server Identities are here - -Server identities and role colours will now be shown across the app. This should help make the app -feel a lot more like the web client, which is our compatibility target. Servers look a lot closer -now! - -We'll still exploring how to best show these identities in user sheets, but for now, they're only -shown inline in chat and in the member list. - -## Changelogs - -You're reading one right now! New releases will now come with changelogs, so you can see what's -been cooking in the kitchen. We'll also be posting these on the website after general availability, -so feel free to check them out there too. - -## Updated to Android 14 SDK - -We've updated the app to use the latest Android SDK, which is Android 14. This means we're now -ahead of the actual Android release schedule! 14 is still in beta, but the SDK is stable by now. - -This will help us keep the -app [in the Play Store](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en) -for longer, and it also means we can use the latest and greatest APIs. As always, the app's aim is -to make use of the Android platform as much as possible, and being on the newest SDK helps us do -that. - -## Extended Markdown in Bios and Changelogs - -There is now a separate **web-based** Markdown renderer, currently in use on user bios and -changelogs. -This renderer is more powerful than the one we use in chat, and it's also more accurate to the web -client. It is a little slower, but we're working on that. The aim will be to instantly render -Markdown in it, however the current placeholder implementation works alright. Look forward to KaTeX -and more! - -Now, our focus will go back to the native chat Markdown renderer. It is quite a bit behind in terms -of feature support. Some features (such as KaTeX) will be impossible to implement natively, so we -will be looking at ways to fuse the two renderers together on-demand. As always, this is a long-term -goal, but we're getting there. - -## Member List - -Here it is, the member list sheet! This is equivalent to the right sidebar on the web client. It -shows all the members of the server, sorted by role and position, along with the correct role colour -and identity. - -In the future, you will be able to filter this list by role, and search for members. For now, it's -just a list. - -## The Small Things - -- Latest and greatest dependency versions are now used, including Kotlin 1.9.10 and Compose 1.5.3. -- Audio player gained a "share URL" menu item. -- Message timestamps now use native time formatting APIs, which means they'll be formatted - correctly for your locale and will stay accurate in all cases. -- The disconnected/reconnected/connected banner is now using Material You colouring if your theme is - set to that. -- Roles in the user sheet are now sorted by position. -- If a users' profile is empty or fails to load, the fallback messages are now clearly - distinguishable as such. -- Debug builds now have "+debug" appended to their version string, an app ID of "chat.revolt.debug", - and a different name. This allows you to install the debug build alongside the release build. - -## Squished Bug Showcase - -- Fixed a crash when opening the user sheet for a user that has blocked you. -- Fixed a condition in which messages from yesterday would be shown as "Today" in the chat. -- Fixed a condition in which GIFs would not play in the chat. -- Fixed a condition in which animated WebP images would not play in the chat. -- Fixed a condition in which users were eagerly shown as offline when they were actually online. -- Fixed a condition in which the ripple area for server icons would be too small compared to the - icon. - -## π«‘β¨ - -That's all for now! We hope you enjoy this release, and we're looking forward to your feedback. -Please report any bugs you find, and let us know what you think of the app so far. Thank you for -testing! \ No newline at end of file diff --git a/app/src/main/assets/changelogs/6001.md b/app/src/main/assets/changelogs/6001.md deleted file mode 100644 index 73a156d5..00000000 --- a/app/src/main/assets/changelogs/6001.md +++ /dev/null @@ -1,92 +0,0 @@ -#  - -Hello Revolters! Onwards to another release. - -## Links - -This is the big one. Links are here. -You can now tap on links in messages and they will open in your browser. -Never seen before. - -Jokes aside, this is obviously very important for usability. - - - -As you can see, it works for channel and user mentions as well! They even have their own special -little highlight. - -If you long tap a link, you will be presented with an action sheet. This action sheet allows you to -either open the link in your browser, or copy the link to your clipboard. - - - -Getting this to work has been more difficult than it should have been. The main issue was that -the TextView API in Android should be considered a war crime. One custom touch handler later, and -we have a working solution. - -## Custom Emotes in Messages - -Custom emotes are now displayed inline in messages. This means that you can now see the emotes -that someone sends. - - - -As one would expect, when a message consists solely of emotes, they will be displayed larger. - - - -## Permissions - -This release adds support for channel, server and role permissions. This means that if you don't -have permission to, for instance, -send messages in a channel, you will be notified of that. - - - -This isn't a huge change, but it required some pretty heavy lifting on the development side. - -## New Home Screen - - - -There's a cat. 'Nuff said. - -## Server Badges - -Servers sometimes get verified by Revolt, for example when they're noteworthy communities or when -they're official communities. This release adds support for displaying these badges. - - - -Of course, servers ran by Revolt also get their own special badge that you can see above. Both of -those badges are also -displayed in the server context sheet. - - - -## The Small Things - -As always, some additions have not made their own heading. Don't worry, here they are: - -- Do not hardcode the attachment authority of the application. If the package name differs, the app - will not crash when providing an attachment (for example, by sharing a file). -- `WebCompat` will no longer spam Logcat when resolving colours correctly. -- Session token is no longer fetched in every route implementation. This helps make the codebase a - little cleaner. -- Access control ("DRM"βin quotes) is now a native C++ module. -- Member list now has support for group chats. -- Opening the member list in group chats, direct messages or saved messages no longer crashes the - app. -- Timestamps now have the correct monospaced font. -- If you cannot send messages in a channel, that information will now be displayed in a - nicer-looking way than before. -- Additional safeguard for sending the same message multiple times by mashing the send button. -- Jenvolt link removed from the settings screen. -- Upgrade the Android Gradle Plugin, twice. -- Empty channels will no longer show as having unread messages. -- Editing a message now correctly causes your text cursor to start at the end of the message. - -## Wrapping Up - -That's it for this release. If you have any feedback, please let the team know using the usual -channels. We're always happy to hear from you. \ No newline at end of file diff --git a/app/src/main/assets/changelogs/7000.md b/app/src/main/assets/changelogs/7000.md deleted file mode 100644 index e315cd17..00000000 --- a/app/src/main/assets/changelogs/7000.md +++ /dev/null @@ -1,86 +0,0 @@ -# .png) - -Hello Revolters! Continuing our roughly monthly release schedule, this is a big one. - -## .png) - -"...but Themes were already in the app!", I hear you say. "What's new?", you ask. - -Besides a polished, beautiful, and more concise user interface, there's one important addition. You -can now create your own themes and share them with others! Customise every colourful aspect of the -Material 3 design language, and export them to an ultra-compact `.RATO` (Revolt Android Theme -Overrides, but I've been told it means "rat" in Portuguese) file. - -Be sure to share your creations in [Jenvolt](https://rvlt.gg/jen)'s #themes channel. I'm sure some -of them will even be uploaded to an official theme repository in the future π - -##  - -Wake up, new settings dropped. You can now change your profile picture, profile background and bio -right from the Android app, because it is *essential* that everyone knows you're a furry. I mean, -that you're a gamer. I mean, that you're a furry gamer. I'm sure you get the point. - -Of course, around here we also like to emphasise security, so that's why you can now manage your -active devices and sessions right from the app. If you see a device or session you don't recognise, -you can terminate it on the go. If you're paranoid, you can also terminate all other sessions at -once β I'm sure this will be useful for some of you. - -##  - -What's that next to the send button? Could it be... an emoji picker? Yes, yes it is! -Tap once to see all your servers lined up neatly above the performant grid of emojis. That's the -custom emotes of the servers you're in, of course. Scroll in the server list, all the way, to see -the standard Unicode emoji. Tap on an emoji to add it to your message and spread the joy. There's -even a search bar, if you're into that. I've seen the amount of servers some of you are in β -so some of you are definitely into that. - -##  - -You can now view your incoming friend requests from the app. I'm sure you get lots of them. -Friends are not included and are sold separately. - -##  - -Look at this status UI. It is simply beautiful β and it's so simple to use, too! You can now -set your status right from the app, and get a quick explainer blurb on what each status means. I -mean, what the hell is -a ["Focus"](https://upload.wikimedia.org/wikipedia/commons/b/b2/Ford_Focus_2004.jpg) anyway? - -##  - -Lots of people have been asking for this one, and honestly, I've been too. But since I will not let -myself (and you Android folks) fall behind the iOS app, I've implemented it. Channels in the channel -list are now grouped by the category the server's owner has put them in, and are now in the correct -order, too. This is revolutionary. - -## Other changes - -- Do not show "Copied X to clipboard" toast on Android 12 and later, as the system already shows a - toast when you copy something. -- Channels should feel like they load faster now, because I am a master at psychology. -- The changelog description for 0.6.1 has been fixed, because I am not a master at copy-pasting. -- Some translations that have been sitting around for a while have been merged in. Apologies for the - wait. You might hear some more info on Android translations soon, stay tuned. -- Channel mentions now lead you to the correct channel, not the first channel in the server. -- Images load in with a nice fade-in animation now. I can't even describe the impact this has on me, - it's just so much better. -- If you try to follow an invalid user mention, the resulting error sheet looks a lot nicer than - before. -- On Android 14, the app will now detect if you only granted partial access to media, and will ask - you to reconsider. We're up to date! -- The message field has been rewritten, which allows users of certain custom keyboards to type - again. -- You can now drag images into the message field, as well as insert them from the clipboard and your - keyboard's GIF picker, for instance. -- Users are now no longer shown as online when actually offline. -- The "Home" page now has a menu button in its top bar which opens the sidebar. -- The "Home" page now has a home icon instead of a text channel icon. -- The indicator showing the current sidebar page now doesn't stay at its previous position when you - switch pages. -- Embeds no longer show up as empty if scrolled away and then back to. -- System messages now have clickable user mentions, and display the correct user name. -- Release builds no longer log to logcat. This is a security improvement. -- The heart in the about screen is now an emoji heart, because the iOS app has one and we don't want - to get jealous. -- Synced settings are now fetched when you are successfully authenticated, not when the app starts. - This makes settings a bit more reliable. \ No newline at end of file diff --git a/app/src/main/assets/changelogs/assets/6000/header.png b/app/src/main/assets/changelogs/assets/6000/header.png deleted file mode 100644 index 6656c543..00000000 Binary files a/app/src/main/assets/changelogs/assets/6000/header.png and /dev/null differ diff --git a/app/src/main/assets/changelogs/assets/6001/header.png b/app/src/main/assets/changelogs/assets/6001/header.png deleted file mode 100644 index 0f2be67c..00000000 Binary files a/app/src/main/assets/changelogs/assets/6001/header.png and /dev/null differ diff --git a/app/src/main/assets/changelogs/index.json b/app/src/main/assets/changelogs/index.json deleted file mode 100644 index 164cbb13..00000000 --- a/app/src/main/assets/changelogs/index.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "list": { - "6000": { - "summary": "Beta Ring II, Server Identities, Changelogs, SDK34", - "version": "0.6.0", - "date": "2023-09-08" - }, - "6001": { - "summary": "Links, mentions, channels and emotes in messages, permissions", - "version": "0.6.1", - "date": "2023-10-03" - }, - "7000": { - "summary": "Emoji picker, friends menu, categories and more", - "version": "0.7.0", - "date": "2023-10-31" - } - }, - "latest": "7000" -} \ No newline at end of file diff --git a/app/src/main/assets/webmarkdown/renderer.html b/app/src/main/assets/changelogs/renderer.html similarity index 69% rename from app/src/main/assets/webmarkdown/renderer.html rename to app/src/main/assets/changelogs/renderer.html index c15f32f1..3f0a3a20 100644 --- a/app/src/main/assets/webmarkdown/renderer.html +++ b/app/src/main/assets/changelogs/renderer.html @@ -12,6 +12,13 @@ font-style: normal; } + @font-face { + font-family: "Inter Display"; + src: url("/_android_res/font/inter_display_semibold.ttf"); + font-weight: 600; + font-style: normal; + } + @font-face { font-family: "Inter"; src: url("/_android_res/font/inter_bold.ttf"); @@ -55,29 +62,23 @@ max-width: 100%; height: auto; } + + #markdown h2 { + font-size: 1.2em; + font-family: "Inter Display", sans-serif; + font-weight: 600; + } + + #markdown p, #markdown li { + line-height: 1.5; + }
- -