-
Notifications
You must be signed in to change notification settings - Fork 816
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
Feature/public links #4175
base: master
Are you sure you want to change the base?
Feature/public links #4175
Conversation
ae4ac1d
to
044738b
Compare
044738b
to
afcd2b6
Compare
SonarCloud Quality Gate failed. |
@mgallien How can this be tested? |
65ce5af
to
02cecd0
Compare
02cecd0
to
844766a
Compare
SonarCloud Quality Gate failed. |
844766a
to
d02414f
Compare
d02414f
to
0c6a294
Compare
Using a nextcloud server you can create a public share link for a folder |
5923be1
to
9866f8b
Compare
Codecov Report
@@ Coverage Diff @@
## master #4175 +/- ##
==========================================
+ Coverage 56.65% 56.75% +0.10%
==========================================
Files 138 138
Lines 17143 17169 +26
==========================================
+ Hits 9713 9745 +32
+ Misses 7430 7424 -6
|
9866f8b
to
784bc65
Compare
SonarCloud Quality Gate failed. |
Any updates on this? |
Is this already working? |
784bc65
to
eddad3b
Compare
eddad3b
to
a959b71
Compare
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
currently sync does not work you can login automatically unles a password is needed in that case, you get a prompt Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
a959b71
to
0dc4cc5
Compare
AppImage file: nextcloud-PR-4175-0dc4cc54043f091e2207e943ff09c6c8c3258261-x86_64.AppImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small thing, really nice otherwise
side note: when I restarted the client I was prompted to sign in for the public share again, which doesn't really work ... but with the patch from #7768 applied it's fine
@@ -526,10 +530,26 @@ void Account::setSslErrorHandler(AbstractSslErrorHandler *handler) | |||
|
|||
void Account::setUrl(const QUrl &url) | |||
{ | |||
_url = url; | |||
const QRegularExpression discoverPublicLinks(R"((http.://[^/]*).*/s/([^/]*))"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice to have plain http://
links work too (e.g. for local dev)
const QRegularExpression discoverPublicLinks(R"((http.://[^/]*).*/s/([^/]*))"); | |
const QRegularExpression discoverPublicLinks(R"((https?://[^/]*).*/s/([^/]*))"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps we could allow http only when NEXTCLOUD_DEV is set.
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
No description provided.