nextcloud-desktop.git
5 years agoRemove pre-QQC2.3 workaround
Kevin Ottens [Mon, 14 Sep 2020 15:25:20 +0000 (17:25 +0200)]
Remove pre-QQC2.3 workaround

Now that we depend on Qt 5.12 anyway, the count property is available
just fine on the Menu item.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMerge pull request #2418 from nextcloud/use_primary_screen_as_fallback_when_qcursor_p...
Kevin Ottens [Tue, 15 Sep 2020 08:44:54 +0000 (10:44 +0200)]
Merge pull request #2418 from nextcloud/use_primary_screen_as_fallback_when_qcursor_pos_search_failed

Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()

5 years agoUse QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()
Kevin Ottens [Mon, 14 Sep 2020 16:22:56 +0000 (18:22 +0200)]
Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()

Under Wayland QCursor::pos() is unlikely to give us anything meaningful,
so fallback to the primary screen information.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 15 Sep 2020 03:22:14 +0000 (03:22 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 12 Sep 2020 03:19:44 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 11 Sep 2020 03:20:37 +0000 (03:20 +0000)]
[tx-robot] updated from transifex

5 years agoDon't use a confusing "royal you" in the sync messages
Kevin Ottens [Wed, 9 Sep 2020 15:43:22 +0000 (17:43 +0200)]
Don't use a confusing "royal you" in the sync messages

Users get rightfully confused with the "You changed ..." messages in the
activity list for syncs. Indeed, some of those changes might be coming
from the server in which case we don't really know who did the change.

So now we use the old "Synced ..." messages for changes pulled from the
server and we have a more precise "You changed ..." (renamed, deleted,
created) when the changes were initiated locally (since there we know
the user reading the message did it).

Also changed how the messages are constructed so that they can be
properly translated.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 10 Sep 2020 03:25:52 +0000 (03:25 +0000)]
[tx-robot] updated from transifex

5 years agoClick on activity list in systray open file in the file manager.
Camila [Wed, 9 Sep 2020 15:10:16 +0000 (17:10 +0200)]
Click on activity list in systray open file in the file manager.

Clean up code, add more const and auto.

Signed-off-by: Camila <hello@camila.codes>
5 years agoFix tooltip for activity info.
Camila [Tue, 8 Sep 2020 14:43:45 +0000 (16:43 +0200)]
Fix tooltip for activity info.

Also improves readability of the items in the list.

Signed-off-by: Camila <hello@camila.codes>
5 years agol10n: Add a period
Valdnet [Mon, 7 Sep 2020 13:57:22 +0000 (15:57 +0200)]
l10n: Add a period

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 9 Sep 2020 03:19:56 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years agol10n: Extract the button name
Valdnet [Tue, 8 Sep 2020 10:33:10 +0000 (12:33 +0200)]
l10n: Extract the button name

5 years agol10n: Delete unnecessary sentence
Valdnet [Tue, 8 Sep 2020 09:53:45 +0000 (11:53 +0200)]
l10n: Delete unnecessary sentence

5 years agol10n: A few more fixes
Valdnet [Tue, 8 Sep 2020 09:49:16 +0000 (11:49 +0200)]
l10n: A few more fixes

5 years agol10n: Word correction
Valdnet [Tue, 8 Sep 2020 09:16:54 +0000 (11:16 +0200)]
l10n: Word correction

5 years agol10n: Corrected translation
Valdnet [Mon, 7 Sep 2020 13:53:39 +0000 (15:53 +0200)]
l10n: Corrected translation

5 years agoLeave the implicit uint to int cast
Kevin Ottens [Thu, 3 Sep 2020 15:02:08 +0000 (17:02 +0200)]
Leave the implicit uint to int cast

I wrongly (and stupidly) assumed the int in QBitArray was treated as a
hash as well but it is an index so it must be positive. Also to make
things even worse I misread on which expression clang-tidy was
complaining regarding the implementation specific narrowing
conversion... This is happening after the modulo operator and not
before. We're in a safe range of values at that point, so it's fine to
let the narrowing happen.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMerge pull request #2387 from nextcloud/update-troubleshooting
Kevin Ottens [Tue, 8 Sep 2020 13:46:55 +0000 (15:46 +0200)]
Merge pull request #2387 from nextcloud/update-troubleshooting

Update troubleshooting

5 years agoAdd README with instructions on how to build the documentation.
Camila [Tue, 8 Sep 2020 13:09:31 +0000 (15:09 +0200)]
Add README with instructions on how to build the documentation.

Signed-off-by: Camila <hello@camila.codes>
5 years agoUpdate troubleshooting instructions with the newly added config file options.
Camila [Tue, 8 Sep 2020 13:00:28 +0000 (15:00 +0200)]
Update troubleshooting instructions with the newly added config file options.

Signed-off-by: Camila <hello@camila.codes>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 8 Sep 2020 03:19:49 +0000 (03:19 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 6 Sep 2020 03:28:59 +0000 (03:28 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 5 Sep 2020 03:29:13 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 4 Sep 2020 03:29:47 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2357 from thaytan/metadata-index-e2eMangledName
Kevin Ottens [Thu, 3 Sep 2020 14:20:48 +0000 (16:20 +0200)]
Merge pull request #2357 from thaytan/metadata-index-e2eMangledName

syncjournaldb: index e2eMangledName column in metadata

5 years agosyncjournaldb: index e2eMangledName column in metadata
Jan Schmidt [Thu, 3 Sep 2020 12:51:58 +0000 (22:51 +1000)]
syncjournaldb: index e2eMangledName column in metadata

Add an index on the e2eMangledName column in the metadata table
to speed up file sync by orders of magnitude on directories with
a large number of files.

Signed-off-by: Jan Schmidt <jan@centricular.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 3 Sep 2020 03:29:13 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2351 from nextcloud/fix_clang_tidy_errors_in_csync_tests
Kevin Ottens [Wed, 2 Sep 2020 06:25:24 +0000 (08:25 +0200)]
Merge pull request #2351 from nextcloud/fix_clang_tidy_errors_in_csync_tests

Fix clang tidy errors in csync tests

5 years agoSwitch to newer CI image to build csync tests
Kevin Ottens [Tue, 1 Sep 2020 16:19:31 +0000 (18:19 +0200)]
Switch to newer CI image to build csync tests

This new image brings the cmocka dependency and thus will make the CI
build the csync tests which depend on it.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix bugprone-narrowing-conversion errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 16:17:10 +0000 (18:17 +0200)]
Fix bugprone-narrowing-conversion errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-use-nullptr errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:52:49 +0000 (17:52 +0200)]
Fix modernize-use-nullptr errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-use-auto errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:51:32 +0000 (17:51 +0200)]
Fix modernize-use-auto errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoFix modernize-deprecated-headers errors in csync tests
Kevin Ottens [Tue, 1 Sep 2020 15:49:17 +0000 (17:49 +0200)]
Fix modernize-deprecated-headers errors in csync tests

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 2 Sep 2020 03:31:47 +0000 (03:31 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2283 from nextcloud/enable_bugprone_clang_tidy_checks
Kevin Ottens [Tue, 1 Sep 2020 06:47:41 +0000 (08:47 +0200)]
Merge pull request #2283 from nextcloud/enable_bugprone_clang_tidy_checks

Enable bugprone clang tidy checks

5 years agoEnable all the other bugprone clang-tidy checks
Kevin Ottens [Tue, 18 Aug 2020 20:15:31 +0000 (22:15 +0200)]
Enable all the other bugprone clang-tidy checks

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-terminating-continue clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:58:51 +0000 (21:58 +0200)]
Enable bugprone-terminating-continue clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-too-small-loop-variable clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:54:20 +0000 (21:54 +0200)]
Enable bugprone-too-small-loop-variable clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-narrowing-conversions clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 19:46:30 +0000 (21:46 +0200)]
Enable bugprone-narrowing-conversions clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-macro-parentheses clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 17:29:35 +0000 (19:29 +0200)]
Enable bugprone-macro-parentheses clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable bugprone-forward-declaration-namespace clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 16:15:21 +0000 (18:15 +0200)]
Enable bugprone-forward-declaration-namespace clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable the bugprone-branch-clone clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 15:41:02 +0000 (17:41 +0200)]
Enable the bugprone-branch-clone clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable the bugprone-argument-comment clang-tidy check
Kevin Ottens [Tue, 18 Aug 2020 14:51:16 +0000 (16:51 +0200)]
Enable the bugprone-argument-comment clang-tidy check

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 1 Sep 2020 03:26:29 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2345 from nextcloud/use_httpd_unix-directory_mimetype_for_e2ee_fo...
Kevin Ottens [Mon, 31 Aug 2020 11:11:51 +0000 (13:11 +0200)]
Merge pull request #2345 from nextcloud/use_httpd_unix-directory_mimetype_for_e2ee_folders

Use httpd/unix-directory mimetype for E2EE folders

5 years agoUse httpd/unix-directory mimetype for E2EE folders
Kevin Ottens [Mon, 31 Aug 2020 10:05:05 +0000 (12:05 +0200)]
Use httpd/unix-directory mimetype for E2EE folders

We don't do much with that mimetype on our end, but other clients
somehow don't expect inode/directory to let's lie. ;-)

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoEnable all the misc clang-tidy check except one
Kevin Ottens [Wed, 19 Aug 2020 14:32:57 +0000 (16:32 +0200)]
Enable all the misc clang-tidy check except one

This flagged mostly unused parameters. Didn't enable the
misc-non-private-member-variables-in-classes check as we got a lot of
those. Hopefully we'll get to fix them at some point but that feels too
early and too much work for now.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 31 Aug 2020 03:25:49 +0000 (03:25 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 30 Aug 2020 03:24:23 +0000 (03:24 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 29 Aug 2020 03:26:40 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2336 from nextcloud/jospoortvliet-patch-1
Michael Schuster [Fri, 28 Aug 2020 22:14:16 +0000 (00:14 +0200)]
Merge pull request #2336 from nextcloud/jospoortvliet-patch-1

Some changes to the template...

5 years agoSome changes to the template...
Jos Poortvliet [Fri, 28 Aug 2020 19:54:10 +0000 (21:54 +0200)]
Some changes to the template...

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 28 Aug 2020 03:26:44 +0000 (03:26 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 27 Aug 2020 03:29:43 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoRemove remaining QLinkedList includes in addition to #2300
Michael Schuster [Thu, 27 Aug 2020 01:10:59 +0000 (03:10 +0200)]
Remove remaining QLinkedList includes in addition to #2300

Now the only remaining reference is in:

src/3rdparty/libcrashreporter-qt/3rdparty/drkonqi-parser/backtraceparser.cpp:269:        || line.functionName().startsWith(QLatin1String("QLinkedList")

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoAdapt code style in addition to #2300
Michael Schuster [Wed, 26 Aug 2020 23:31:06 +0000 (01:31 +0200)]
Adapt code style in addition to #2300

- Use "!empty()" instead of "size() > 0" in std::list
- Add comments for namespace brackets

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoMerge pull request #2300 from chenecharry/master
Michael Schuster [Wed, 26 Aug 2020 23:27:09 +0000 (01:27 +0200)]
Merge pull request #2300 from chenecharry/master

Support client builds on VS2019 (QLinkedList is deprecated)

5 years agoMerge branch 'master' into master
Michael Schuster [Wed, 26 Aug 2020 23:12:30 +0000 (01:12 +0200)]
Merge branch 'master' into master

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 26 Aug 2020 03:29:53 +0000 (03:29 +0000)]
[tx-robot] updated from transifex

5 years agoCode review changes implemented
V.C [Wed, 26 Aug 2020 02:21:43 +0000 (02:21 +0000)]
Code review changes implemented

Code review changes implemented for bandwidthmanager.cpp
1. Use auto instead of size_t
2. Check for empty instead of size comparisions

Signed-off-by: V.C <c******@rediffmail.com>
5 years agoSupport client builds on VS2019
V.C [Fri, 21 Aug 2020 00:03:29 +0000 (00:03 +0000)]
Support client builds on VS2019

Scenario: Build fails on Qt 5.15.0 + VS2019 16.7.2
Root cause: QLinkedList seems to be depreciated. Advise to use std::list instead.
Fix: Used std::list insead of QLinkedList.

Signed-off-by: V.C <c******@rediffmail.com>
5 years agoMerge pull request #2309 from nextcloud/update-docs-page-title
Michael Schuster [Tue, 25 Aug 2020 19:07:18 +0000 (21:07 +0200)]
Merge pull request #2309 from nextcloud/update-docs-page-title

Update copyright date and version displayed in the page title.

5 years agoUpdate copyright date and version displayed in the page title.
Camila [Mon, 24 Aug 2020 14:58:33 +0000 (16:58 +0200)]
Update copyright date and version displayed in the page title.

- This is the title displayed at https://docs.nextcloud.com/desktop/x.y

Signed-off-by: Camila <hello@camila.codes>
5 years agoMerge pull request #2313 from nextcloud/update-issue-template
Michael Schuster [Tue, 25 Aug 2020 18:48:59 +0000 (20:48 +0200)]
Merge pull request #2313 from nextcloud/update-issue-template

Add --logdebug parameter to instructions in issue_template for Github.

5 years agoUpdate issue_template with information about logs, e2ee versions and code of conduct.
Camila [Tue, 25 Aug 2020 14:35:53 +0000 (16:35 +0200)]
Update issue_template with information about logs, e2ee versions and code of conduct.

Signed-off-by: Camila <hello@camila.codes>
5 years agoAdd --logdebug parameter to instructions in issue_template for Github.
Camila [Tue, 25 Aug 2020 08:37:29 +0000 (10:37 +0200)]
Add --logdebug parameter to instructions in issue_template for Github.

Signed-off-by: Camila <hello@camila.codes>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 25 Aug 2020 03:32:20 +0000 (03:32 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 24 Aug 2020 03:31:03 +0000 (03:31 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 22 Aug 2020 03:28:48 +0000 (03:28 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2302 from ivaradi/no-eoan
Michael Schuster [Fri, 21 Aug 2020 22:55:31 +0000 (00:55 +0200)]
Merge pull request #2302 from ivaradi/no-eoan

Do not build for Eoan

5 years agoDo not build for Eoan
István Váradi [Fri, 21 Aug 2020 16:54:56 +0000 (18:54 +0200)]
Do not build for Eoan

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 21 Aug 2020 03:30:20 +0000 (03:30 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #2288 from nextcloud/enh/windows-shellext
Michael Schuster [Thu, 20 Aug 2020 19:11:34 +0000 (21:11 +0200)]
Merge pull request #2288 from nextcloud/enh/windows-shellext

Windows shell extensions: Use custom GUIDs and prepare for MSI

5 years agoFix spacing
Michael Schuster [Thu, 20 Aug 2020 16:47:23 +0000 (18:47 +0200)]
Fix spacing

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shell extensions: Add WiX (MSI) fragment
Michael Schuster [Tue, 18 Aug 2020 19:42:31 +0000 (21:42 +0200)]
Windows shell extensions: Add WiX (MSI) fragment

Use CMake to generate a WXI fragment to handle the DLL registration and file deployment for the shellext components.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shell extensions: Change NCUtil Pipe name from ownCloud to APPLICATION_EXECUTABLE
Michael Schuster [Tue, 18 Aug 2020 17:31:11 +0000 (19:31 +0200)]
Windows shell extensions: Change NCUtil Pipe name from ownCloud to APPLICATION_EXECUTABLE

Avoid interference with foreign pipes as this is always a bad idea ;p

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shell extensions: Rename all files and classes from OC* to NC*, update versio...
Michael Schuster [Tue, 18 Aug 2020 17:11:08 +0000 (19:11 +0200)]
Windows shell extensions: Rename all files and classes from OC* to NC*, update version info

This also ensures a clear separation in the system registry.

SelfReg is not recommended by Microsoft and will be handled by the MSI package to allow proper Repair and Uninstall.
However, we keep it for backward compatibility with the NSIS installer.

For details see:
https://stackoverflow.com/questions/364187/how-do-you-register-a-win32-com-dll-file-in-wix-3#364210
https://docs.microsoft.com/en-us/windows/win32/msi/selfreg-table#remarks

Another fix by this commit:
The "Version" registry value in the NCOverlays self reg should be a key and not a value.

Details: https://wixtoolset.org/documentation/manual/v3/xsd/wix/class.html

Example:

  [HKCR\CLSID\{01234567-89AB-CDEF-0123-456789ABCDEF}\Version]
  @="1.0.0.0"

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shell extensions: Use custom GUIDs via CMake and prepare MSI reg
Michael Schuster [Tue, 18 Aug 2020 16:12:29 +0000 (18:12 +0200)]
Windows shell extensions: Use custom GUIDs via CMake and prepare MSI reg

Previously side by side installation with ownCloud or other NC custom builds would break the shell integration because the same GUIDs and registry keys were used.

Now we specify our custom GUIDs in NEXTCLOUD.cmake and use CMake to generate a header file and WiX (MSI) include file with these constants.

Note: Using generators like "guidgen" or "uuidgen" ensures that GUIDs are unique, as manual changes are not guaranteed to be.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoRemove dead code
Hannah von Reth [Mon, 17 Aug 2020 19:30:46 +0000 (21:30 +0200)]
Remove dead code

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years ago2.7 has less automatic includes on Windows
Hannah von Reth [Mon, 17 Aug 2020 19:28:18 +0000 (21:28 +0200)]
2.7 has less automatic includes on Windows

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoCleanup Windows shell extensions
Hannah von Reth [Mon, 17 Aug 2020 18:35:39 +0000 (20:35 +0200)]
Cleanup Windows shell extensions

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoRemove outdated visual studio projects, we now use cmake
Hannah von Reth [Tue, 13 Aug 2019 14:07:33 +0000 (16:07 +0200)]
Remove outdated visual studio projects, we now use cmake

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoAvoid warning because /MT overrides /MD flag
Dominik Schmidt [Mon, 29 Oct 2018 15:29:04 +0000 (08:29 -0700)]
Avoid warning because /MT overrides /MD flag

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoMake OCUtil helper lib static and link it statically against crt
Dominik Schmidt [Fri, 26 Oct 2018 07:01:47 +0000 (00:01 -0700)]
Make OCUtil helper lib static and link it statically against crt

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows Shell Integration: Don't limit the size of the buffer
Olivier Goffart [Thu, 20 Sep 2018 15:14:05 +0000 (17:14 +0200)]
Windows Shell Integration: Don't limit the size of the buffer

Otherwise we can't have operation that has many many filename

As reported in #6780

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shellext: Update copyrights and company name
Christian Kamm [Mon, 18 Jun 2018 08:07:17 +0000 (10:07 +0200)]
Windows shellext: Update copyrights and company name

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agowindows shell extension: add OCUtil/resource.h
Olivier Goffart [Wed, 13 Jun 2018 11:56:33 +0000 (13:56 +0200)]
windows shell extension: add OCUtil/resource.h

It's a copy from OCContextMenu/resources.h

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoWindows shellext: Add rc for OCUtil #6554
Christian Kamm [Mon, 11 Jun 2018 11:55:06 +0000 (13:55 +0200)]
Windows shellext: Add rc for OCUtil #6554

To set the dll's metadata.

Signed-off-by: Michael Schuster <michael@schuster.ms>
5 years agoMerge pull request #2292 from nextcloud/prevent_sharing_for_e2ee_folders
Kevin Ottens [Thu, 20 Aug 2020 16:36:37 +0000 (18:36 +0200)]
Merge pull request #2292 from nextcloud/prevent_sharing_for_e2ee_folders

Disable context menu actions for E2EE files and folders

5 years agoPresent sharing of E2EE files from the main dialog too
Kevin Ottens [Thu, 20 Aug 2020 12:53:14 +0000 (14:53 +0200)]
Present sharing of E2EE files from the main dialog too

The visibility of the share button for the activity list is tied to the
path role in the ActivityListModel, so make sure we don't return a path
for E2EE files and folders.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoDisable context menu actions for E2EE files and folders
Kevin Ottens [Thu, 20 Aug 2020 12:13:56 +0000 (14:13 +0200)]
Disable context menu actions for E2EE files and folders

Those files and folders are not shareable and the "Edit" or "Open in
browser" actions will lead to showing an error in the web GUI. No need
to lead users there so just disable them.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 20 Aug 2020 03:32:34 +0000 (03:32 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 19 Aug 2020 03:32:55 +0000 (03:32 +0000)]
[tx-robot] updated from transifex

5 years agoShow the "Display mnemonic" button only when we know e2e is supported
Kevin Ottens [Tue, 18 Aug 2020 14:35:47 +0000 (16:35 +0200)]
Show the "Display mnemonic" button only when we know e2e is supported

Turns out that showing the button straight from the page ctor is a bit
too early. At that point the account might not be connected yet and thus
we wouldn't have proper information. Currently we were displaying that
button all the time, now we wait for the account to be connected to
decide to show it or not.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years agoMinor fix in text of warning and debug message.
Camila [Tue, 18 Aug 2020 11:30:15 +0000 (13:30 +0200)]
Minor fix in text of warning and debug message.

Signed-off-by: Camila <hello@camila.codes>
5 years agoMake sure we don't assert when calling fileStatus
Kevin Ottens [Tue, 18 Aug 2020 08:23:52 +0000 (10:23 +0200)]
Make sure we don't assert when calling fileStatus

It happens that sometimes we leak a directory path ending with a slash,
but that violates fileStatus' precondition so let's catch it early and
skip such path.

Of course the right fix would be a larger swipe in the sync engine and
around it to not use naked strings anymore but rely on the typesystem.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 18 Aug 2020 03:34:45 +0000 (03:34 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 17 Aug 2020 03:28:12 +0000 (03:28 +0000)]
[tx-robot] updated from transifex

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 16 Aug 2020 03:28:22 +0000 (03:28 +0000)]
[tx-robot] updated from transifex