Skip to content

v2.7.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 18:09
· 1129 commits to main since this release

The dark theme can go true black for OLED screens, the accent can follow your system's colour, MEGA links download on their own, and KnightLoader follows GlimStone 4.2.1 on every surface.

✨ Added

  • An OLED switch under the theme puts the dark theme on true black for OLED and AMOLED screens, in the web interface, the desktop app, the phone app and the browser extension. It counts whenever dark shows, also when the theme follows the device, and each browser or phone keeps its own choice. With Light chosen the switch keeps its state and shakes when pressed. The desktop window's frame turns black with the page. Thanks to @leonp5, who asked for it in ArrowLoop (#123).
  • A wand swatch at the start of the accent row takes the system's colour: Material You on Android 12 and newer, the accent colour of Windows, macOS or Linux in the desktop app, and the system colour in Firefox and Safari. Choosing it changes only that device, so every other client keeps the instance's accent, and a circle picked afterwards goes back to it. Where the system has no colour, the swatch isn't there. This one is also @leonp5's idea, from ArrowLoop (#124). Thank you!
  • The browser extension has a Version card before Help and About, as the Info tile of the web interface does. Each version links to its release.
  • MEGA file and folder links download without JDownloader. KnightLoader decrypts them as they arrive and checks each file against the checksum in its key. A folder link becomes one row per file with its name and size, and each subfolder becomes a package of its own, with or without a debrid service. When MEGA's free transfer quota runs out, the download waits as long as MEGA says and carries on where it stopped. A debrid service or JDownloader still takes MEGA links when you move it above MEGA on the priority card. Thanks to @jirat-sumitanun for the report and the video in #147.

🎨 Design

  • KnightLoader follows GlimStone 4.2.1 everywhere, in the web interface, the desktop app, the phone app and the browser extension, and the Version card names it.
  • Text on an accent fill is near-black on Blue, Red, Purple, Orange and Pink, where white read at only 2.3 to 3.0:1. Every ink the colour engine works out reaches 4.5:1, so a colour mixed by hand or taken from the system reads as well as the presets.
  • The lists tell more kinds of file apart by their symbol: PDFs, office documents, spreadsheets, presentations, e-books, playlists, disk images, programs, fonts, 3D models, checksums, torrents, RAW photos and design files.
  • Notifications all have the same width, and a button such as Undo stands under the message. A path breaks after a slash instead of in the middle of a name. On a phone the notifications span the window and the newest two show.
  • A text field shows that you are typing in it by a lighter fill rather than a ring, in the web interface, the phone app and the extension. Menus and other fields without a caret keep the ring.
  • A switch that is off is darker in the light theme, so it stands out from the card it sits on.
  • The colour picker works with the arrow keys, Shift for bigger steps, and with a pen as well as a mouse or a finger. The handle shows the colour under it.
  • The buttons at the foot of a window wrap on a narrow screen instead of squeezing their words. A button that does not fit moves to a second row.
  • The phone app and the extension use GlimStone's five text sizes and its button symbols, and their warnings are orange. Under rainbow each selector takes its own colour while text keeps the one accent.
  • Chrome's button is green. On the Apps page, in the phone app and in the README, Chrome takes the green of its own logo, so it no longer looks like Edge's blue button right beside it.
  • The KnightLoader logo is touched up. The shield is a little wider, and the sword's crossguard and grip are redrawn. It shows in the web interface, the desktop app and its tray, the Android app, the browser extension, the desktop installer and the store listings.
  • Update now on the JDownloader row wears the two arrows of the update check. At button size the old glyph read less clearly than the arrows the update check already shows.
  • The desktop installer's grey buttons take on a touch of the app's colour when you point at them, through PommelPorter 1.1.1.

🔒 Security

  • A download server can no longer put a file outside the download folder. When the file name it sent in the Content-Disposition header, or at the end of the link, had a path in it, KnightLoader kept the path. A server could use that to overwrite or delete a file elsewhere on the disk, create folders there, or find out whether a file exists. Only the last part of such a name counts now, and names from resolvers, link containers and torrents are cut down the same way. Names saved by an earlier version are cut down when KnightLoader starts.

🐛 Fixed

  • A hoster shows under its own name. A link to one of a hoster's other domains, such as rg.to for Rapidgator, showed that domain in the Host column. It reads rapidgator.net there, as in JDownloader, and links already in the list take the main domain at the next start.
  • A folder link JDownloader opens becomes its files. The link check waited for exactly as many links as went in and ran out of time on a folder, so the folder stayed a single row.
  • A file from a folder that JDownloader downloads shows as done. JDownloader filed it under the folder's name, KnightLoader never found it again, and the row stayed queued after the file had arrived.
  • A settings address that names no page shows the empty page. An address such as #/settings/constructor broke the settings page instead of saying that there is nothing there.