Skip to content

Commit

Permalink
v0.11.0 (See changelog)
Browse files Browse the repository at this point in the history
  • Loading branch information
redsolver committed Jul 17, 2022
1 parent fd3a4bb commit 69ba8ae
Show file tree
Hide file tree
Showing 77 changed files with 2,270 additions and 435 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Vup Changelog

## Beta 0.11.0

- Your seed phrase is now securely stored in Keychain/KeyStore/libsecret (depending on your operating system)
- Added support for securing Vup with biometric authentication on Android, iOS and Windows
- Added Discord Rich Presence Support for music and videos streamed using Jellyfin (including thumbnails!)
- Multiple artists of a song are now detected and handled correctly
- You can now set custom covers/thumbnails for your Jellyfin collections
- Added "Open parent directory" action for files when searching
- Added experimental support for custom WebDAV remotes, can be used with rclone to read-only browse any file storage service (requires dev mode)
- Added support for streaming/downloading files stored on IPFS and Arweave (uses public gateways)
- When renaming a file or directory, the existing name is now pre-selected in the text field
- Added support for sharing files using streaming links with custom players (video, audio, Webamp) (requires dev mode)
- Improved app window behaviour on Windows and Linux
- Added button for viewing passwords in server settings
- Portal authentication tokens are now refreshed automatically
- Old versions of SkyDB entries are now automatically unpinned, this results in significantly reduced wasted storage space for directories with a lot of files
- Updated notification icon for Android
- Added experimental action to share a directory stored in Vup as a fully end-to-end-encrypted web app (requires dev mode)
- Audio file thumbnails are now automatically cropped to a square on upload
- Increased minimum Android version to Android 4.3 Jelly Bean
- The Jellyfin server now has a new page with basic listening statistics: http://localhost:8096/statistics
- Added support for downloading and streaminging unencrypted files
- Added experimental "Active files" view that shows files that are being uploaded right now (requires dev mode)
- SkyFS: Improve directory index cache format
- SkyFS: Encrypted file blobs are now stored with the filename `encrypted-file.skyfs` in your portal account
- Fixed some bugs

## Beta 0.10.1

- Added experimental portal proxy server
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM debian:latest

# Install some Vup dependencies
RUN apt-get update && apt-get install ca-certificates libsodium23 dnsutils ffmpeg atomicparsley -y
RUN apt-get update
RUN apt-get install ca-certificates dnsutils -y
RUN apt-get install libsodium23 -y
RUN apt-get install ffmpeg -y
RUN apt-get install atomicparsley -y
# TODO imagemagick openscad inkscape

# Install some Vup dependencies
Expand Down
46 changes: 29 additions & 17 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
dart_code_metrics:
anti-patterns:
- long-method
- long-parameter-list
metrics:
cyclomatic-complexity: 20
maximum-nesting-level: 5
number-of-parameters: 4
source-lines-of-code: 50
metrics-exclude:
- test/**
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
- newline-before-return
- no-boolean-literal-compare
- no-empty-block
- prefer-trailing-comma
- prefer-conditional-expressions
- no-equal-then-else
use_build_context_synchronously: false
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {

defaultConfig {
applicationId "app.vup"
minSdkVersion 16
minSdkVersion 18
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />

<uses-permission android:name="android.permission.USE_FINGERPRINT"/>

<application android:allowBackup="false" android:label="Vup" android:icon="@mipmap/ic_launcher">
<activity android:name=".MainActivity" android:launchMode="singleTask" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
Expand Down
16 changes: 8 additions & 8 deletions android/app/src/main/kotlin/net/redsolver/vup/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
package net.redsolver.vup

import android.app.Activity
/* import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.provider.DocumentsContract
import android.provider.Settings
import androidx.annotation.NonNull
import androidx.annotation.Nullable
import com.mr.flutter.plugin.filepicker.FileUtils
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel
import com.mr.flutter.plugin.filepicker.FileUtils */
import io.flutter.embedding.android.FlutterFragmentActivity
/* import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel */


class MainActivity: FlutterActivity() {
private val CHANNEL = "net.redsolver.vup/app"
class MainActivity: FlutterFragmentActivity() {
/* private val CHANNEL = "net.redsolver.vup/app"
private val PICK_DIRECTORY = 44;
Expand Down Expand Up @@ -69,6 +69,6 @@ class MainActivity: FlutterActivity() {
private fun requestManageAllFilesPermission() {
val intent = Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION);
this.activity.startActivity(intent);
}
} */

}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/web/sodium.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions assets/web/sodium.js_LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Copyright (c) 2015-2020
Ahmad Ben Mrad <batikhsouri at gmail dot org>
Frank Denis <j at pureftpd dot org>
Ryan Lester <ryan at cyph dot com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Loading

0 comments on commit 69ba8ae

Please sign in to comment.