Code Monkey home page Code Monkey logo

filen-drive-legacy's Introduction

Filen Drive for the Web

Web app written in TypeScript using React and Chakra UI

Contributing translations

If you want to help us translate the app you can head over to this page and check out the Readme provided there! :)

Getting Started

Scripts

npm run dev

Runs the app in the development mode.
Open http://localhost:3003 to view it in the browser.

The page will reload if you make edits.\

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

filen-drive-legacy's People

Contributors

dwynr avatar danielprog39 avatar zhangbalabala avatar kou-kee avatar lyonelf avatar devpnal avatar ram-4 avatar flamenco687 avatar xqtp avatar jirisko avatar dodoledev avatar phinrohs avatar fabriziobagala avatar der-pixel avatar exprpapi avatar flo-st avatar

Stargazers

Kvar Izunia avatar Larson T. avatar  avatar

Watchers

 avatar

Forkers

dnred

filen-drive-legacy's Issues

Feature request : add a “Properties” dialog

Hi!
It would be nice to add a “Properties” dialog, featuring:

  • Date when the file was created/uploaded
  • Date when the file was last edited
  • Size (also in bytes, and used by versionning)
  • Hashes of the file (which could be calculated just before the upload)
  • MIME type

All these in a elegant way!

I could make some mockups if you want... 🙃

Best regards!

[Bug] File size is not encrypted

In the Security Whitepaper it says:

Even folder names, file metadata (such as mime type, size etc.) are encrypted.

However, when you login to Filen web with Chrome, open the browser's developer tools (F12) and inspect the response data while you open a folder, you can see that the file size is received in clear text from the server. Is this intentional?

[Feature Request] Search in subfolders too

I sometimes search for a file and don't know in which directory I saved it. Today's search works only in the displayed folder, but not also in subfolders or in the entire drive. It would be cool to have the ability to search in subfolders too or search in the entire Drive. Optimal would be also further search options like file type (*.xlsx) or also search by modification date (last modified >= %1 & <= %2) as well as a combination of search options.

Feature request : share writable folders with other Filen users

Hi!
First of all, THANK YOU SO MUCH for this incredible encrypted cloud! ♥

I was just wondering if a feature allowing us to share folders with other users in such a way they could edit its contents is planned in a near future...

Currently we can only provide a read-only access to other users...

Best regards!

[Feature Request] List of files with versions

It would be nice to get an overview / a list of all files that have versions. And the possibility in this list to delete versions per file quickly (maybe via a tree view and delete the version fast and direct with an delete-button). There is a function in the settings to delete all versions (Settings, Versioned Files, Delete) so that all old versions are deleted and only the newest version is left, but I cannot see which files have versions that will be all deleted. I would like to be able to see directly the files that have versions, so that I can search for files that have old versions and delete those old versions only on specific files.

[FR] Add right-click menu entries related to Filen Desktop

Hi!
Directly related to this issue, it could be interesting to allow the Filen Web Drive to interact with the client app thanks to a custom protocol.

Some options that could be integrated:

  • Create new Sync Locations:
    image

  • Open files with system programs:
    image

  • Open local synced folder from the Filen Web Drive interface

To avoid potential data leaks due to link trackers or similar, the link argument will be encrypted using the account master key. This ensures that the app associated with the custom protocol can decrypt the data only if it has access to the same account master key.

Idea: Thumbnail creation during upload

Referring to https://cdn.filen.io/whitepaper.pdf

3.2 Thumbnail generation
The client creates image thumbnails by downloading the encrypted data, decrypting it, resizing the resulting image, compressing it and then storing it in the client’s local storage, where it can be re-used. Video previews are created almost the same way, except for not downloading the whole video but just the first few chunks to save bandwidth and local storage space.

What about the idea of creating thumbnails directly during upload and saving them as metadata? Thumbnails are much smaller, quickly downloaded and decrypted with the metadata and so the thumbnails can be displayed faster. If necessary, you could make this optional in the user settings, whether thumbnails should be created during upload and saved as metadata or not.

markdown get blank with "#"

Hi

Mardown files are readable and rendered,
but when I put a # at the beginning of a line, the webpage get full blank,
and when I remove a # there is often a popup saying "Delete, Are you sure you want to delete 1 items?"

reproduce :

  • on drive.filen.io, create text file
  • name it test.md
  • put "#" alone

[Bug] Sorting will revert after a few minutes without user input

This is an incredibly annoying issue that makes browsing photos or videos impossible when sorting by most recent. If I go into a folder with a bunch of videos or photos, sort them by most recent, then proceed to wait not even 2-3 minutes, it will just automatically, without a single input, revert back to alphabetical order. This becomes insanely annoying when, for instance, I double-click into the most recent photo to enter gallery mode, and then use my left/right arrows to navigate. I expect my right arrow to to go the next most recent photo, and it does for a few photos and then, for some reason - it will revert to alphabetical.

So for instance, the 'most recent' sorting option will display the photos as A55 B22 A7 A1 B30. I open A55 and upon going to the next photo in gallery mode, B22, the one after that (or a few after even) will not be A7 as is expected in the more recent ordering, instead it will have reverted to alphabetical ordering, so it will go to B30.

Files sorted by most recent:
sorted by newest

WITHOUT ANY INPUT, After 2 minutes it automatically changes the sorting to alphabetical:
sorted after waiting 3 minutes

Web Login screen: "Error: Please enter your two factor authentication code"

Hello, this is not a critical bug, it is just annoying.
I have activated 2FA since day one and I have this "error" since then, first I thought it was due to Bitwarden, but no, it happens in every login.

  1. I enter in drive.filen.io
  2. I enter my user and pass, I press enter and I get the error i mentioned in the subject. "Error: Please enter your 2 Factor auth. core".
  3. Only after this error, I get the 2FA input field in which I enter my code and I can access Filen.

In the EVENT section I always get a login error also because of this:
Screenshot from 2023-05-15 17-18-03

[Feature Request] Move deleted versions to trash when all versioned files are deleted in settings

If I delete a file version (open context menu of the file with Version via right mouse button, select Versions, click the version with the left mouse button and delete the versions one by one via Delete), this version is moved to the Trash. I like that the Version is moved to Trash, because this could be a mistake for example.

But if I delete all versions with the function in the Settings (Settings, Versioned Files, Delete), all versions are deleted immediately without moving them to Trash. I would be nice, if these deleted versions are also moved to the Trash when calling Delete in the Versioned Files and then could be checked again before the final deletion.

Release as a desktop app

Filen Desktop is useful for file syncing. This is good for browsing the files in the cloud and uploading/downloading files, and renaming and deleting files.

Using the web client on the websites is less secure than using a desktop app.

Please release this as a desktop app. Therefore no need to have to use the web client.

[Feature Request] Enhanced Folder Content Information

This is a feature I would love to see both on the mobile phone app and in the webdrive. If I am supposed to crosspost it to the filen-mobile repo, let me know. Until then I won't do it to not clutter the issues.

Feature description:
When opening the context menu of a folder (webdrive: rightclick, mobile: touch-hold the folder or touch the three dots next to it) the user has the option to hit "preferences" to see in depths information about the folder and it's content. For example the user can see how many total sub- and subsubfolders there are and how many files these folders hold in total.

Made up usecase:
The user got a folder called "PhotosLocal" with dozens of subfolders that their photos are categorized and sorted in. The user also got their backup "PhotosFilen" in Filen, it is a 1:1 copy of PhotosLocal. The user is not sure if they need to update the backup. Before investing too much time on checking every single folder for it's content. The user could rightclick on PhotosFilen->Properties->See that there are 42 subfolders and 42.000 images. The user could now do the same on their local system to see if there are the same number of folders and images and if it is worth to invest more time comparing.

I know that this is nothing finetuned like an overview of "files changed" or something like that, but it would save some time.

[Feature Request] Incorporating Material You / Rounded Design

I'd love if it the designing around the Filen Drive was more rounded and modern similar to the styling of Google's Material Design 3 (You). Some aspects that could be changed in this regard would be items such as the left-side vertical bar on the Drive (below).
Filen Drive
Changing it up to include Chips and Rounded corners, vertically stacked would look cleaner and more "aesthetic" as opposed to the current design which has remained virtually unchanged and while perfectly use-able, feels outdated.
Material You SideBar Unexpanded
As for the drop-down menus when you click on folders, an expanded menu with rounded chips could be used as shown in the example below
Material You SideBar Expanded

In addition, incorporating some other customization aspects like allowing the user to set a specific accent color theme across the website, especially as the white/grey theming across the Drive can get a bit stale, would be greatly appreciated.

Cannot download folder in Firefox

After last update (v 2.0.24) cannot download folders in FF (no zip archive popup appears).
Tested in clean browser session without non-stock extensions.
Firefox version: 94.0
OS: Fedora Linux

[Feature Request] Files On-Demand

Like Onedrive, Shadow drive, Next Cloud, add the possibility to activate this function to let only in the cloud cold files rarely accessed

[Feature Request] Support previews for more file formats.

Many picture and video file formats are unable to be previewed, .bmp and .M4V respectively as examples.

Understandably not all formats are very common and supporting is just not worth it. However, it would be nice for more common file formats to be supported as sorting files based on filename alone is extremely tedious. Seeing preview support for all native apple file formats would greatly improve the experience.

Public share page is too aggressive

The page people see when a public link is loaded has promo content on the left side. This is perfectly fine, but the wording comes off as a bit aggressive for the average user. I know this because the people I shared a link with initially questioned what I'm doing using this service and if it's even safe to download from it. This is because they're not familiar with what the purpose of the service even is yet.

In my opinion, it can be toned down a few notches from "military-grade encryption" (and then synonymous terms in the same list) to something more modest and casual. Just suggesting this for growth to people outside the privacy community.

[Bug] Avoid image over zooming

If you zoom-out a lot in an image, it inverts the image on the Y axis, and then starts zooming it. There should probably be a zoom-out limit, maximum 100% size of the image I would say.

Tested on Firefox 110.0 (64-bit).

[Feature Request] ADD fido2 2FA

Let us add FIDO2 only 2FA as replacement for the OTP one.

So in short having the choice between otp or FIDO2 when setting it.

2FA recovery key

I could be very wrong, but the recovery key that is given right after activating 2FA is never asked for!

Screenshot from 2023-07-16 12-09-29

I did a test as if I didn't have 2FA at hand; after entering the password, a box appears to enter the code, but there is no option like "lost 2FA code?" or something like this:

example

I even tried putting the recovery key in place of 2FA code, I thought it would be valid since there is something like this:

Screenshot from 2023-07-09 15-55-04

the master keys work great! anyway, I clicked "forgot your password". the email is assertive; it says nothing other than to change the password. I thought I could reset my account or something, but I know that option wasn't made for that purpose

I tested it in the app and in other browsers, but nothing really showed up

where should I use this recovery key?

PS: I don't use the desktop version, so I have no opinion on it

regardless, it would be nice to have something more explicit

[Feature Request] Copy-Function

There is no function to copy files and folders. For example, if I want to copy files which are shared with me from another Filen User to my Drive. Today I have to download the files and then upload them again.

[Feature Request] Let us change our hash size in our account security tab like bitwarden

Since you have refused this change : FilenCloudDienste/filen-mobile#200 (comment)

Can you at least let us do like bitwarden do and let us set ourselves the size of the hash we want in the security section of our account ?

So like that when login you download the size who can be set like : "$rounds=UserDefinedRound", and so the client know how many round must be done before authenticating to the server and if this rounds var is set on 0 it mean the internal default of the app.

[Feature Wunsch] Webdav Zugang

Hallo allerseits,

finds echt cool dass der Dienst, den ich gestern Abend beim Stöbern entdeckt habe zufälligerweise aus Deutschland ist.

Der Feature-Wunsch den ich aüßere wurde in anderen Formen schonmals angesprochen zB auf Reddit, es handelt sich um Filesystem Integration bzw dass man den Dienst als Netzwerkspeicher oder per Dateimanager 'mount'en kann.

Webdav wäre da eine der klügsten Entscheidungen.

Hier nochmal wie ein anderer Nutzer vorgeschlagej hat, Rclone auf Desktop (https://github.com/rclone/rclone) oder rclone Android (https://github.com/newhinton/extRact - aktive 'Fork' von RCX)

jedoch wäre eine Standard Webdav Integration sinnvoll, denn dann kann man den dienst bei Zich Dateimanagern anbinden (bei Android zum beispiel über MiXplorer - freeware bei XDA Developers) bzw unterstützt Rclone auf allen Desktop-Betriebsystemen Webdav vom Hause aus.

Also schlage ich eine Webdav Integration als major Feature vor.

Habe mir heute den 100GB lifetime Pass geholt und plane definitiv auf 2TB umzusteigen wenn allew jut läuft. liebe Grüße,

A.

File names must not be changed when downloaded or sent

When viewing a file in the iOS App the file name is stated correctly (as original stored / synced to Filen).
if I save that file either by sending to Apples documents app or sent it to any device via Airdrop, the file gets a new file name, eg: "89025722329702163dae2627-ee2f-4e8a-a317-f098a15a0433.pdf"

It would be nice to keep the original file name instead.

Increase HASH iteration to meet OWASP recommendation.

Hello since Security is in the core of your app i must clear some point :

The hashing password as stated in your witepaper is 200.000 but the minimum recommended (2023) value by OWASP is now 210,000 for PBKDF2-HMAC-SHA512.

In your Whitepaper page 5 you state :

The password hash is computed as follows:
Salt= cryptographically secure generated random 256 character value
Hash= SHA-512
Iterations= 200.000
Bit Length= 512
Derived Key = PBKDF2(password, salt, iterations, hash, bitLength)

on page 8 you also state :

Public links can be configured to expire or be password protected. The password
hash for the public link will be derived from the original password using
PBKDF2(password, salt, iterations, hash, bitLength), where salt is a random 256
bit string, iterations set to 200.000, hash set to SHA-512 and bitLength set to
512.

Witch mean that by current standard you are 10.000 not enough to follow security recommendation.

I do recommend you to push it to 250.000 like that you are a little higher than the recommendation.

I also do recommend to move the Argon2 hashing client side too since hash server side is useless in case where the server is taken over, when the client will send a file they just have tho save the unhashed version before it's hashed on the server.

The whitepaper also do not specify if your using argon2d, argon2i or argon2id.

I know nothing beat a good old long complicated password, but not meeting actual recommendation can be bad for your security images (why i ask to increase it and add a way for old user to have the update too (in the client)).

[Feature Request] Video thumbnails/ability to stream all MP4's from the web

I was told this may have been a feature in the past, but it no longer works for video files.

It would be very handy to have thumbnails for video files (MP4's etc) as if you have a lot of videos within a folder with not-so-easy names, it can be quite painful to work which is which.

As a side note to this, only some of the MP4 files can be streamed from the web interface, so it can be even more difficult to sort/rename them.

Drive not working

Why the site is not loaded, it's showing as a blank page.
Because of this I can't download any files using Filen public link. Here is the screenshot:
Screenshot_20230227-200021_Bromite

USA- Web experience

Not sure if this is coding or bandwidth, but using Firefox or Chrome is painfully slow, particularly in the directory where you have backed up your mobile photos. (Using latest Windows 10 updated versions of both browsers)

French Translation

Hello,

i'm translating in French the web site but i don't have any upload access.

Can you give me it?

thanks

[Feature Request] .docx File Previews

Add the ability to preview .docx files just as you would be able to preview a .pdf as numerous users back-up word documents on a regular basis and having the ability to view the backups without downloading them to the device would be immensely useful.

very poor score at https://observatory.mozilla.org/ a set of tools to analyze website's https configuration

You are doing a great job with new web UI, so i tried to run Mozilla HTTP Observatory service test (a set of tools to analyze a website and inform if you are utilizing the best available methods to secure it) I noticed that the score obtained is quite low, F in a scale from A to F, when you have time and if you think it useful you can also improve this aspect of safety.

Thanks and good job.

here you can find results for the login page https://observatory.mozilla.org/analyze/drive.filen.io

[Feature request] File preview: Only files of the same data type are displayed

Heyho, I don't know if this is really a bug, but just wanted to document it:

I noticed while navigating through my pictures that no videos are shown to me at all, even though there were some in the folder.
Here it seems to be that only similar files are shown to me, like the ones I opened first.

Here is a simple example:
If I open a picture (JPG) and navigate with the arrow keys to the left or to the right I always get only JPG files displayed - that is when navigating back and forth.

The same happens when I click on a video. If I watch this video (MP4) and navigate from left to right, only MP4 files are shown, images (or possibly other files that do not have the same data type?) are skipped.

I tested this only in the web version of Filen, to my knowledge the preview of videos does not work on iOS yet anyway.

If needed:

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"

Storing thumbnails (as metadata) in the cloud

Referring to #14, according to the security whitepaper (https://cdn.filen.io/whitepaper.pdf), thumbnails are created by downloading an image file in its entirety from the cloud (Filen Drive) to the end device. Then a thumbnail is created and stored locally. Correct?

How about the idea of storing thumbnails in the cloud as well (as metadata to the file)?

Then when I scroll through image files in the future on the website (Filen Drive) or mobile device, I don't have to download the entire image file, but only the previously created thumbnail, which is a much smaller amount of data. The thumbnail file can then still be saved locally as it is today. This would greatly enhance the user experience when browsing image files, as images can be displayed much faster as thumbnails.

Now, I haven't looked at what resolution the thumbnails are generated at. But let's assume that I have 100 photos in the cloud in Filen Drive. Each photo has 5 MB. So now when I open the folder in the browser, 500 MB have to be downloaded just to create the thumbnails.

In Issue #14 it was described that thumbnails are now also created on upload. Let's simplify and say that each thumbnail is 50 KB in size. If these 50 KB per image file were also stored as metadata in Filen Drive in the cloud and only the thumbnails were downloaded for the folder view, only 5 MB would need to be downloaded instead of 500 MB.

Yes, this means that a little more storage would be used in the cloud per image file. But I would prefer this. Maybe you could also set a user-specific setting in Filen whether thumbnails should also be saved in the cloud (Filen Drive) or not. I think, it's better to use a little more drive space in the cloud and store the thumbnails in the cloud as well, instead of having to download very large amounts of data just to generate the thumbnails.

The creation of the thumbnails can be done as possible on upload (which will be the case, see #14) and then stored locally and in the cloud. If a thumbnail does not yet exist for a file in the cloud, this could happen / update during opening the folder like today when I scroll through the files in the browser and mobile client and then be saved / uploaded in the cloud.

Chrome Version 114.0.5735.134 - Can't see items in Cloud Folder

Seems I can see most all my folders relatively quickly, except my Phone Backup folder. This one will just sit forever, and never render the items inside.

I'm attaching a small video showing this behavior. (USA)

Screen.Recording.6-22-2023.8-21-19.AM.-.Copy.mov

[Feature Request] Upload File from URL

It would be ridiculously practical if we could use the webdrive or the desktop drive to send upload queries from HTTPS links and create background jobs that way.

Downloading to my local machine then uploading to filen is extremely slow due to most of the world having considerably slower upload speeds.

I have a 400/50 connection and I download from Filen at 20MB/s and upload at 1.6MB/s. The sync transaction would genuinely be faster if I could upload a download straight to Filen then sync it to my local machine.

Visualization:
image
Clicking on it would open a form of modal where we can paste a link (or maybe more) with a Submit or Cancel button.

Links section and deletion.

I am new to Filen and I was testing it.
I have noticed that if you create a public link for a folder or file and then delete "that link" in the Links section, you actually are deleting the folder or file itself and not deactivating the link as I thought.

I think this is particularly dangerous for the end users; the link section should only let you edit/delete(or deactivate) the links and not delete the original file or folder.

Thank you very much.

[Feature Request] Add option to (password-)protect folders/files

One may want to use the drive with multiple people having read/write access, but still protect some folders/files. This is currently not possible.

I realize that depending on previous design choices, this may take some work to achieve. For my use case, I wouldn't need that folder/file to be encrypted one more time, an auth check protecting the route would suffice.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.