-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Webdav provider poc #4621
base: main
Are you sure you want to change the base?
Commits on Aug 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df98cca - Browse repository at this point
Copy the full SHA df98ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccf2ae - Browse repository at this point
Copy the full SHA 9ccf2aeView commit details -
not critical but some browsers might have problems
Configuration menu - View commit details
-
Copy full SHA for 04128f9 - Browse repository at this point
Copy the full SHA 04128f9View commit details -
simplify/speedup token generation
so we don't have to decode/decrypt/encode/encrypt so many times
Configuration menu - View commit details
-
Copy full SHA for 9ceac7c - Browse repository at this point
Copy the full SHA 9ceac7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 600b2d0 - Browse repository at this point
Copy the full SHA 600b2d0View commit details -
Implement alternative provider auth
New concept "simple auth" - authentication that happens immediately (in one http request) without redirecting to any third party. uppyAuthToken initially used to simply contain an encrypted & json encoded OAuth2 access_token for a specific provider. Then we added refresh tokens as well inside uppyAuthToken #4448. Now we also allow storing other state or parameters needed for that specific provider, like username, password, host name, webdav URL etc... This is needed for providers like webdav, ftp etc, where the user needs to give some more input data while authenticating Companion: - `providerTokens` has been renamed to `providerUserSession` because it now includes not only tokens, but a user's session with a provider. Companion `Provider` class: - New `hasSimpleAuth` static boolean property - whether this provider uses simple auth - uppyAuthToken expiry default 24hr again for providers that don't support refresh tokens - make uppyAuthToken expiry configurable per provider - new `authStateExpiry` static property (defaults to 24hr) - new static property `grantDynamicToUserSession`, allows providers to specify which state from Grant `dynamic` to include into the provider's `providerUserSession`.
Configuration menu - View commit details
-
Copy full SHA for da67ac9 - Browse repository at this point
Copy the full SHA da67ac9View commit details
Commits on Aug 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7d59489 - Browse repository at this point
Copy the full SHA 7d59489View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab06da6 - Browse repository at this point
Copy the full SHA ab06da6View commit details -
it wasn't returning the status code (like `got` does on error) it's needed to respond properly with a http error
Configuration menu - View commit details
-
Copy full SHA for 16d4e3f - Browse repository at this point
Copy the full SHA 16d4e3fView commit details -
don't throw when missing i18n key
instead log error and show the key this in on par with other i18n frameworks
Configuration menu - View commit details
-
Copy full SHA for 2092387 - Browse repository at this point
Copy the full SHA 2092387View commit details -
Configuration menu - View commit details
-
Copy full SHA for f575dbc - Browse repository at this point
Copy the full SHA f575dbcView commit details -
and don't replace the whole view with a loader when plugin state loading it will cause auth views to lose state an inter-view loading text looks much more graceful and is how SearchProviderView works too
Configuration menu - View commit details
-
Copy full SHA for 754e2e0 - Browse repository at this point
Copy the full SHA 754e2e0View commit details -
add support for passing objects and messages from companion to uppy this allows companion to for example give a more detailed error when authenticating
Configuration menu - View commit details
-
Copy full SHA for 6441123 - Browse repository at this point
Copy the full SHA 6441123View commit details -
don't tightly couple auth form with html form
don't force the user to use html form and use preact for it, for flexibility
Configuration menu - View commit details
-
Copy full SHA for f503d1f - Browse repository at this point
Copy the full SHA f503d1fView commit details -
heavily based on owncloud#1 but modified to work with the new provider user sessions
Configuration menu - View commit details
-
Copy full SHA for f0ba00f - Browse repository at this point
Copy the full SHA f0ba00fView commit details
Commits on Aug 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 272e3d1 - Browse repository at this point
Copy the full SHA 272e3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e5aa4 - Browse repository at this point
Copy the full SHA f2e5aa4View commit details
Commits on Sep 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8016a5d - Browse repository at this point
Copy the full SHA 8016a5dView commit details -
Merge branch 'main' into provider-user-sessions
# Conflicts: # packages/@uppy/companion/src/server/controllers/refresh-token.js # packages/@uppy/companion/src/server/provider/index.js
Configuration menu - View commit details
-
Copy full SHA for 9f160f4 - Browse repository at this point
Copy the full SHA 9f160f4View commit details -
allow sending certain errors to the user
this is useful because: // onedrive gives some errors here that the user might want to know about // e.g. these happen if you try to login to a users in an organization, // without an Office365 licence or OneDrive account setup completed // 400: Tenant does not have a SPO license // 403: You do not have access to create this personal site or you do not have a valid license
Configuration menu - View commit details
-
Copy full SHA for a28fcec - Browse repository at this point
Copy the full SHA a28fcecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3166db9 - Browse repository at this point
Copy the full SHA 3166db9View commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5c20186 - Browse repository at this point
Copy the full SHA 5c20186View commit details -
Merge branch 'provider-user-sessions' into webdav-provider-poc
# Conflicts: # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for b10edf9 - Browse repository at this point
Copy the full SHA b10edf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 367a0de - Browse repository at this point
Copy the full SHA 367a0deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9600104 - Browse repository at this point
Copy the full SHA 9600104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a9351 - Browse repository at this point
Copy the full SHA 55a9351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13642fb - Browse repository at this point
Copy the full SHA 13642fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59262c1 - Browse repository at this point
Copy the full SHA 59262c1View commit details
Commits on Oct 2, 2023
-
Merge branch 'main' into provider-user-sessions
# Conflicts: # packages/@uppy/companion-client/src/Provider.js # packages/@uppy/companion/src/server/provider/error.d.ts
Configuration menu - View commit details
-
Copy full SHA for b33f5b1 - Browse repository at this point
Copy the full SHA b33f5b1View commit details -
Merge branch 'provider-user-sessions' into webdav-provider-poc
# Conflicts: # private/dev/Dashboard.js # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for 47c4025 - Browse repository at this point
Copy the full SHA 47c4025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4be2b6f - Browse repository at this point
Copy the full SHA 4be2b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff13823 - Browse repository at this point
Copy the full SHA ff13823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63d0b0c - Browse repository at this point
Copy the full SHA 63d0b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7549da4 - Browse repository at this point
Copy the full SHA 7549da4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a795d05 - Browse repository at this point
Copy the full SHA a795d05View commit details
Commits on Oct 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0542371 - Browse repository at this point
Copy the full SHA 0542371View commit details
Commits on Oct 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1302574 - Browse repository at this point
Copy the full SHA 1302574View commit details
Commits on Nov 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8794f63 - Browse repository at this point
Copy the full SHA 8794f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f74b2 - Browse repository at this point
Copy the full SHA 42f74b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a84c8d - Browse repository at this point
Copy the full SHA 7a84c8dView commit details
Commits on Nov 29, 2023
-
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
Configuration menu - View commit details
-
Copy full SHA for 38eee72 - Browse repository at this point
Copy the full SHA 38eee72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a7a48 - Browse repository at this point
Copy the full SHA 70a7a48View commit details
Commits on Dec 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0d81a9b - Browse repository at this point
Copy the full SHA 0d81a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96eb565 - Browse repository at this point
Copy the full SHA 96eb565View commit details
Commits on Dec 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 67d8595 - Browse repository at this point
Copy the full SHA 67d8595View commit details
Commits on Dec 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5025a73 - Browse repository at this point
Copy the full SHA 5025a73View commit details -
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
Configuration menu - View commit details
-
Copy full SHA for 761dcdc - Browse repository at this point
Copy the full SHA 761dcdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c8e38 - Browse repository at this point
Copy the full SHA 95c8e38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ce471 - Browse repository at this point
Copy the full SHA 64ce471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 654da1a - Browse repository at this point
Copy the full SHA 654da1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a69a1fe - Browse repository at this point
Copy the full SHA a69a1feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d766cb - Browse repository at this point
Copy the full SHA 6d766cbView commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2af7b24 - Browse repository at this point
Copy the full SHA 2af7b24View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6cafdc - Browse repository at this point
Copy the full SHA c6cafdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 828c0ae - Browse repository at this point
Copy the full SHA 828c0aeView commit details