Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
e8414e1
add vscode configuration
EmilBohleber Nov 21, 2024
93667a2
add licence and notice
EmilBohleber Nov 21, 2024
cd7a2b8
add ionos fonts
EmilBohleber Nov 21, 2024
b83fb02
add ionos logos and icons
EmilBohleber Nov 21, 2024
f7bc7a2
add style sizes and colors
chaetty Jan 14, 2025
c129108
add custom components and themes
chaetty Jan 14, 2025
baa5d46
style gui/wizzard welcome pages
chaetty Jan 14, 2025
1305912
style tray
chaetty Jan 14, 2025
81796c0
Fixed Tray by adjusting import
chaetty Jan 15, 2025
1337047
Fixed some merge issues
chaetty Jan 16, 2025
094df65
add ses style helpers
EmilBohleber Nov 21, 2024
342a3f8
Merge Fix
chaetty Jan 16, 2025
b62703c
style activity view and shares view
chaetty Jan 16, 2025
7fe8826
style credentials
chaetty Jan 17, 2025
94ff123
style settings - account-settings
chaetty Jan 17, 2025
5fbce64
style settings - added files
chaetty Jan 17, 2025
20d6672
style settings - minor dialog changes
chaetty Jan 22, 2025
5cd1d92
style settings - more dialog changes
chaetty Jan 22, 2025
27105e3
style settings - stettingsdialog & generalsettings
chaetty Jan 22, 2025
9048210
style settings - systray, main & owncloudgui
chaetty Jan 22, 2025
b8777ca
style settings - ignorelisttablewidget
chaetty Jan 23, 2025
b50a091
style settings - folderwizard dialog
chaetty Jan 23, 2025
54d9cd0
style settings - folderstatusdelegate (treeview)
chaetty Jan 23, 2025
8fb284d
style settings - CMake Variable
chaetty Jan 23, 2025
15f1cc4
add stylings in libsync
chaetty Jan 23, 2025
7472051
add ga4 tracking
EmilBohleber Nov 21, 2024
5487d54
usage of ga4 tracking
chaetty Jan 23, 2025
d2c0aa6
add a space in shellext for windows
EmilBohleber Nov 21, 2024
aab2a7f
update windows build scripts
EmilBohleber Nov 21, 2024
5726b78
add adr documentation
EmilBohleber Nov 21, 2024
1e80d1a
add mac specific styles and shell extension changes
chaetty Jan 23, 2025
1879691
add mac build script
EmilBohleber Nov 21, 2024
071713e
change windows ci script to manual trigger
EmilBohleber Nov 21, 2024
79985ad
replace all ses icons with some other icon from nextcloud
EmilBohleber Nov 21, 2024
73e3957
replaced link icons with simliar icon
chaetty Nov 25, 2024
3c85026
SES-186 replace installer banner with white image
kevinberaz Dec 3, 2024
a1b47eb
SES-161 Use AppShortName for Update URL
chaetty Jan 23, 2025
6b6093b
SES-161 Use correct Update Server
chaetty Dec 3, 2024
bb69a4b
SES-228 validate manual input in FolderWizardLocalPath
borisbaltesbrickmakers Dec 12, 2024
d0073f3
adjusted .vscode files to VM Directory
chaetty Jan 23, 2025
1467b1e
move build directory out of respository
kevinberaz Dec 12, 2024
15dd16a
SES-228 cleanup - moved validation one step up
borisbaltesbrickmakers Dec 12, 2024
c70d9c0
SES-213 replace nextcloud with hidrivenext in logfile names
chaetty Jan 23, 2025
c831717
SES-212 style buttons in conflict dialog according to Tray Menu Style
kevinberaz Dec 13, 2024
a135d07
SES-225 prevent error message if folderpicker was canceled
borisbaltesbrickmakers Dec 16, 2024
73c9e80
SES-227 do not show context menu on text input fields
borisbaltesbrickmakers Dec 17, 2024
29feca5
SES-223 do not turn path seperator into slashes for communication reason
borisbaltesbrickmakers Dec 18, 2024
df1c4e5
SES-223 reworked path validation
borisbaltesbrickmakers Dec 18, 2024
e4b8903
SES-218 style toolbar overflow menu
kevinberaz Dec 18, 2024
707c271
SES-218 set font color for checkbox labels to black
kevinberaz Dec 18, 2024
cc161dd
SES-218 prevent highlighting of ExpandMemoryButton
kevinberaz Dec 18, 2024
4a252ce
SES-215 replace installer background for mac with empty image
EmilBohleber Dec 20, 2024
3766a89
SES-223 Merge Fix for 2bb2ae68aee451b9cff27e6dd8fc8fa50cb1890f
chaetty Jan 23, 2025
064a5dd
SES-216 adjust color of CustomButtons
chaetty Jan 23, 2025
7efde60
SES-256 replace nextcloud offline state icon
kevinberaz Jan 7, 2025
f13f342
SES-256 replace app icon
kevinberaz Jan 9, 2025
aa54aea
SES-214 replace help URL
chaetty Jan 23, 2025
8fe9e80
SES-256 change offline icon back to standord nextcloud icon
kevinberaz Jan 10, 2025
2f32eeb
SES-257 add macOS specific app icon
kevinberaz Jan 15, 2025
5e04e3a
SES-257 set correct APPLICATION_ICON_NAME for macOS
kevinberaz Jan 15, 2025
2e9a951
SES-224 set default value of 'promptDeleteAllFiles' to false
kevinberaz Jan 15, 2025
3df1697
SES-248 replace sparkle key wich our new one
EmilBohleber Jan 17, 2025
9aaded1
SES-248 make start.sh executable
EmilBohleber Jan 17, 2025
d0be325
SES-275 set inactive tab text to black
EmilBohleber Jan 17, 2025
d6ca53f
SES-229 add new icons
kevinberaz Jan 21, 2025
14043aa
SES-229 use icons in ionostheme.h and style.qml
kevinberaz Jan 21, 2025
12cc645
SES-229 use new icons in UI Components
chaetty Jan 23, 2025
59070c1
SES-248 remove fileprovider param from updater call
EmilBohleber Jan 21, 2025
27f3015
SES-248 move sparkle sign up so it will be signed bevore integration …
EmilBohleber Jan 21, 2025
b61398b
Merge translations changes
chaetty Jan 23, 2025
cd96565
Merge fix
chaetty Jan 23, 2025
6577989
SES-265 remove failing macOS code
EmilBohleber Jan 27, 2025
fd1f6e0
SES-296 Used BaseStyle explicit instead of default
chaetty Jan 30, 2025
32f994d
SES-293 hide connection tab
EmilBohleber Jan 30, 2025
1bc0b5e
SES-299 Removed obsolete Window.qml (replaced by MainWindow.qml))
chaetty Jan 30, 2025
8f0c10b
SES-299 Fixed double icon
chaetty Jan 30, 2025
06abdd6
SES-293 remove quotes and prevent double escaped space
EmilBohleber Jan 30, 2025
5e5dd9f
SES-291 increase margins and fontweight
Jan 30, 2025
19a6837
SES-306 color tray resolve conflict button black
EmilBohleber Jan 30, 2025
c1feee4
SES-301 Fixed Menu sizes
chaetty Jan 31, 2025
fce1ed3
SES-297 apply font configuration for primary button also on windows
Jan 31, 2025
b31a34a
SES-306 remove button color sets so all pill buttons look the same
EmilBohleber Jan 31, 2025
9d85a47
SES-302 Removed ColorOverlay and restored Caret - Arrow
chaetty Feb 3, 2025
cf36d0e
SES-302 Fixed Button Margin
chaetty Feb 3, 2025
cab5ef9
SES-302 Fixed wrong Color
chaetty Feb 3, 2025
5761c6c
SES-297 Fixed Scrollbar by using Palette
chaetty Feb 3, 2025
2ee983a
SES-297 Fixed Clipped border of TreeView
chaetty Feb 3, 2025
3e4902e
SES-297 Fixed clipped text
chaetty Feb 4, 2025
40d341d
SES-308 Format document
chaetty Feb 4, 2025
74ee36e
SES-308 Fixed Button Size
chaetty Feb 4, 2025
fde7881
SES-309 Increased Size to fixed clipped icon
chaetty Feb 4, 2025
1c57824
SES-289 Modifed Q_LOGGING_CATEGORY
chaetty Feb 6, 2025
e65febe
SES-307 Hide FileDrop Checkbox
chaetty Feb 4, 2025
149dded
SES-282 remove External Storage checkbox from Setup Page
kevinberaz Jan 24, 2025
e20925b
SES-282 add link to issue for commented out code
EmilBohleber Jan 27, 2025
d930cb0
SES-306 add primary and secondary pill button
EmilBohleber Feb 6, 2025
d78008d
SES-306 reset ActivityItemAction button to NC style
EmilBohleber Feb 6, 2025
6cf571c
SES-306 replace button with primary pill button
EmilBohleber Feb 6, 2025
0f6d58a
SES-306 add white icons for share details view
EmilBohleber Feb 6, 2025
e3eaeab
SES-306 remove animations from share details page
EmilBohleber Feb 6, 2025
446d953
SES-306 use pill buttons on share details page
EmilBohleber Feb 6, 2025
b381d60
SES-306 set color for subtext in sync state
EmilBohleber Feb 6, 2025
4296dc9
SES-279 Fixed Sizeing and clipping of FolderCreationDialog
chaetty Feb 7, 2025
5bb22b1
SES-303 add standalone icon button
EmilBohleber Feb 10, 2025
a1c3ab2
SES-303 use IconButton in activity view
EmilBohleber Feb 10, 2025
4ceffd7
SES-303 add white version of icon
EmilBohleber Feb 10, 2025
d29f3a8
SES-303 configure button to match design
EmilBohleber Feb 10, 2025
18538e5
SES-303 replace dismiss button in activity view
EmilBohleber Feb 10, 2025
c772674
SES-300 readd animations on hover to pill buttons
EmilBohleber Feb 10, 2025
3553570
SES-300 replace close button in share details page
EmilBohleber Feb 10, 2025
6ef09b3
SES-300 hide tooltip if there is none
EmilBohleber Feb 10, 2025
4826588
SES-300 replace close button on details page
EmilBohleber Feb 10, 2025
f25d25f
SES-300 replace add and more oprions buttons on share delegate page
EmilBohleber Feb 10, 2025
e3b2a99
Add ApplicationName to friendlyUserAgentString
Feb 11, 2025
c3ed837
SES-316 Added CompilerFlag for IONOS-Builds
chaetty Feb 11, 2025
acba311
SES-316 switched some comments to #ifdef
chaetty Feb 11, 2025
8beda23
SES-316 Removed "Activity" Item from ContextMenu
chaetty Feb 11, 2025
aa08442
SES-300 replace copy link button with secondary pill button with anim…
EmilBohleber Feb 11, 2025
d615716
SES-300 replace other sescustombuttons with new buttons
EmilBohleber Feb 11, 2025
47227a5
SES-300 remove sesCustomButton
EmilBohleber Feb 11, 2025
800c0a8
SES-300 accept solution instead of reject
EmilBohleber Feb 11, 2025
292d22a
SES-307 Fixed Custom Permission Box
chaetty Feb 11, 2025
bbb5d28
SES-307 Hide Checkbox for Filedrop only on "Internal Shares"
chaetty Feb 11, 2025
2247228
Reduced merge conflicts by using mostly additive changes
chaetty Feb 13, 2025
a44586d
SES-209 Added path to fix pkg-config error
chaetty Feb 14, 2025
4f2e2dc
SES-209 Added Craft64 path to not break build on diffrent systems
chaetty Feb 14, 2025
b768d0b
SES-209 Fixed Logging Category related build errors
chaetty Feb 14, 2025
775b80b
SES-209 Fixed merge related errors in Style Context
chaetty Feb 14, 2025
1fd2e35
SES-209 Reverted installer banner changes
chaetty Feb 17, 2025
60752ad
SES-327 Used IconButton for correct HoverEffect
chaetty Feb 17, 2025
10fcc98
SES-326 remove gray area around buttons
EmilBohleber Feb 17, 2025
c16c779
SES-326 make resolve conflicts button a primary button
EmilBohleber Feb 17, 2025
e9cadd4
SES-209 make failing, not needed github workflows manual
EmilBohleber Feb 17, 2025
1f321aa
SES-209 adjusted Application Names in Cmake to fit Customization Service
chaetty Feb 18, 2025
339a5bc
SES-209 modify value of APPLICATION_ICON_NAME, to fit Customization S…
chaetty Feb 18, 2025
b9e088e
SES-322 Removed obsolete palettes
EmilBohleber Feb 18, 2025
09019b0
SES-322 Explicit set the palette here
EmilBohleber Feb 18, 2025
ea9ab01
SES-322 Set color in the system palette of the Application
chaetty Feb 14, 2025
b56bf8a
SES-322 Removed obsolete explicit color
chaetty Feb 14, 2025
8b2aa40
SES-322 Set explicit color
chaetty Feb 14, 2025
212b293
SES-323 hide share options for virtual files
kevinberaz Feb 13, 2025
07e00de
SES-209 renamed icon for CS
chaetty Feb 19, 2025
9c6e855
SES-209 Reverted Mac Installer image changes for CS compatibility
chaetty Feb 19, 2025
ea45528
SES-209 added alternative banner and dialog
chaetty Feb 20, 2025
5baaf41
SES-209 remove styling to fix build and app run
EmilBohleber Feb 20, 2025
c70a1e6
SES-209 add missing import
EmilBohleber Feb 24, 2025
4b7356d
SES-209 fix a bug
EmilBohleber Feb 27, 2025
c3af65d
SES-209 remove not needed new functions
EmilBohleber Feb 27, 2025
c43c22f
SES-209 add IONOS to name of app in mac branch
EmilBohleber Feb 27, 2025
c8ebb46
SES-286 some translations modifications
chaetty Feb 28, 2025
3b7381e
SES-209 fix mac naming
EmilBohleber Mar 3, 2025
00e67cc
SES-209 remove thumbnailjob
EmilBohleber Mar 3, 2025
8a2cbd7
SES-209 fix wrong rename
EmilBohleber Mar 3, 2025
96920c2
SES-209 remove not needed feature
EmilBohleber Mar 3, 2025
0123502
SES-286 some more translations modifications
EmilBohleber Mar 7, 2025
0a3cff7
SES-286 added diff files and merge script
chaetty Feb 28, 2025
f4e33c1
SES-286 add readme containing instructions
EmilBohleber Mar 6, 2025
437c5ba
SES-286 add branching description
EmilBohleber Mar 7, 2025
44288be
SES-286 fix paths in lupdate call
EmilBohleber Mar 7, 2025
0c88af2
SES-286 add stash workflow
EmilBohleber Mar 7, 2025
29ba473
SES-340 wrap string in QString so params work
EmilBohleber Mar 12, 2025
1ae446a
Adjusted every icon to use the new correct name
EmilBohleber Mar 12, 2025
0f6592a
SES-340 hardcode names in maccrafter
EmilBohleber Mar 12, 2025
64648ff
SES-340 use IONOS.cmake
EmilBohleber Mar 12, 2025
6e4d2ce
SES-340 use IONOS.cmake in CPack
EmilBohleber Mar 14, 2025
e156611
SES-340 fix merge bug in file provider
EmilBohleber Mar 14, 2025
e45009c
[SES-359] replaced app icon for windows and macOS
kevinberaz Apr 17, 2025
299c521
[SES-359] replace app icons in black and white folder
kevinberaz Apr 17, 2025
c8b9e3b
SES-284 add flag to cmake command to use custom sidebar icon on macOS
kevinberaz Jan 28, 2025
8afccab
SES-290 set release suffix to stable
EmilBohleber Jan 29, 2025
cd1b0e4
SES-209 add adr
EmilBohleber Feb 12, 2025
aa30dee
SES-207 lint other adr
EmilBohleber Feb 12, 2025
2288cd3
SES-332 Removed trailing "/" and used localization for urls
chaetty Feb 27, 2025
f5bda2d
SES-209 use new naming scheme in start.sh
EmilBohleber Feb 27, 2025
e7b1379
Reverted changes to Installer banner & dialog.bmp
chaetty Mar 4, 2025
95efe16
SES-331 renamed VisualElementsManifest, it must have the same name as…
chaetty Mar 4, 2025
fa39af9
SES-311 changed GUIDs to match Brander/CS GUIDs
chaetty Mar 4, 2025
48da914
Changed URL to pre-live-system
chaetty Mar 10, 2025
f669783
SES-285 SES-354 Fixed Acces Violation / Null Point (introduced with S…
chaetty Apr 17, 2025
1e4e006
SES-354 SES-366 Adjusted to Brander
chaetty Apr 22, 2025
daf0fb3
SES-354 SES-366 Fixed clipped descender
chaetty Apr 25, 2025
a1113b2
SES-354 SES-366 FolderWizardSelectiveSync restored Checkbox function
chaetty Apr 26, 2025
71ea5e1
SES-354 SES-366 Fixed Icon presentation
chaetty Apr 26, 2025
a9b09c3
SES-352 add data Protection Slide files and resources
Apr 30, 2025
554d12f
SES-352 add data Protection Settings Page
Apr 30, 2025
81b3a22
SES-352 add Data Protection pges to owncloudwizard component
Apr 30, 2025
5081591
SES-352 extend data Protection in generalSettings with a checkbox
Apr 30, 2025
63d3676
SES-352 adjust wizard page order
Apr 30, 2025
b0d3e99
SES-352 use new name of exe file in launch.json
Apr 30, 2025
b37c42c
SES-352 missing things
Apr 30, 2025
2d076d5
SES-352 add new dataprotection section to generalsettings
May 6, 2025
84ed3a4
SES-352 design changes
May 6, 2025
63e2b78
SES-352 change order of wizard pages depending on IONOS_BUILD
May 6, 2025
180c1ed
SES-352 hide Back and Next Button of QWIzard
May 6, 2025
2ef5b2f
SES-352 design changes in dataprotection settings
May 6, 2025
570f404
SES-352 anonymous use checkbox is unchecked by default
May 6, 2025
3611a39
SES-352 anonymous use checkbox is true by default
kevinberaz May 7, 2025
190eda6
SES-352 style tracking checkbox titles
kevinberaz May 7, 2025
10ab15b
SES-354 set correct background Color for General- and AccountSettings
chaetty May 7, 2025
805d85e
SES-354 fix font in PillButtons
chaetty May 7, 2025
ed8cc02
SES-354 set background color for foldercreationdialog
chaetty May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: clang-tidy-review

on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
clang-tidy:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linux-appimage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Linux Appimage Package
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
name: Linux Appimage Package
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linux-clang-compile-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Linux Clang compilation and tests
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
name: Linux Clang compilation and tests
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linux-gcc-compile-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Linux GCC compilation and tests
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
name: Linux GCC compilation and tests
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: SonarCloud analysis
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
name: SonarCloud analysis
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Windows Build and Test
on:
workflow_dispatch:
# push:
# branches:
# - master
# - develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ t1.cfg
## Ignore Visual Studio Code config & environment files

.vs/
.vscode/
# .vscode/

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down Expand Up @@ -192,3 +192,7 @@ convert.exe
*state-*.png
theme.qrc
*.AppImage

.idea/

shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/
14 changes: 14 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"configurations": [
{
"name": "Linux",
"compileCommands": [
"${workspaceFolder}/../build/win32-MSVC-x64/RelWithDebInfo/compile_commands.json"
],
"intelliSenseMode": "linux-gcc-x64",
"cStandard": "c17",
"cppStandard": "c++17"
}
],
"version": 4
}
56 changes: 56 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "(RelWithDebInfo) Launch HiDriveNext",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/../build/win32-MSVC-x64/RelWithDebInfo/bin/IONOS_HiDrive_Next.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "PATH",
"value": "C:/CraftRoot/bin;C:/Craft64/bin;%PATH%"
},
{ "name": "QML_IMPORT_TRACE", "value": "1" },
{ "name": "QT_LOGGING_RULES", "value": "qt.qml.debug=true" }
],
},
{
"name": "(RelWithDebInfo) Launch NextCloud",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/../build/win32-MSVC-x64/RelWithDebInfo/bin/nextcloud.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "PATH",
"value": "C:/CraftRoot/bin;C:/Craft64/bin;%PATH%"
},
],
},
{
"name": "(Release) Launch NextCloud",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/../build/win32-MSVC-x64/Release/bin/nextcloud.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "PATH",
"value": "C:/CraftRoot/bin;C:/Craft64/bin;%PATH%"
},
],
},
]
}
30 changes: 30 additions & 0 deletions .vscode/nc-desktop-snippets.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
// Place your nc-desktop workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }

"DebugLog": {
"scope": "cpp",
"prefix": "dlog",
"body": [
"char buffer$1[256];",
"sprintf(buffer$1, \"$2\\n\", $3);",
"OutputDebugStringA(buffer$1);"
],
"description": "Debug log output"
}

}
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"cmake.generator": "Ninja",
"cmake.configureSettings": {
"CMAKE_PREFIX_PATH": [
"C:/CraftRoot",
"C:/CraftRoot/dev-utils/bin",
"C:/Craft64",
"C:/Craft64/dev-utils/bin"
],
"BUILD_TESTING":"OFF",
},
"cmake.buildDirectory": "${workspaceFolder}/../build/${buildKitTargetOs}-${buildKitVendor}-${buildKitTargetArch}/${buildType}",
"files.associations": {
"qwizardpage": "cpp",
"xutility": "cpp"
},
}
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "clean RelWithDebInfo",
"type": "shell",
"command": "powershell",
"args": [
"-NoProfile",
"-Command",
"Remove-Item -Recurse -Force ..\\build\\win32-MSVC-x64\\RelWithDebInfo"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "A task to clean the build directory using PowerShell"
},
{
"label": "clean Release",
"type": "shell",
"command": "powershell",
"args": [
"-NoProfile",
"-Command",
"Remove-Item -Recurse -Force ..\\build\\win32-MSVC-x64\\Release"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "A task to clean the build directory using PowerShell"
},
]
}
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ cmake_policy(SET CMP0071 NEW) # Enable use of QtQuick compiler/generated code

project(client)

add_compile_definitions(IONOS_BUILD)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if(APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "12.0" CACHE STRING "Minimum OSX deployment version")
endif()
Expand All @@ -21,7 +23,7 @@ set(CMAKE_XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES)

set(BIN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")

include(${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake)
include(${CMAKE_SOURCE_DIR}/IONOS.cmake)

set(QT_VERSION_MAJOR "6")
set(REQUIRED_QT_VERSION "6.8.0")
Expand Down
2 changes: 1 addition & 1 deletion CPackOptions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif(CPACK_GENERATOR MATCHES "NSIS")
set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )

include("${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake")
include("${CMAKE_SOURCE_DIR}/IONOS.cmake")

set( CRASHREPORTER_EXECUTABLE @CRASHREPORTER_EXECUTABLE@)

Expand Down
83 changes: 83 additions & 0 deletions IONOS.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
set( APPLICATION_NAME "IONOS HiDrive Next" )
set( APPLICATION_SHORTNAME "IONOSHiDriveNext" )
set( APPLICATION_EXECUTABLE "IONOS_HiDrive_Next" )
# set( APPLICATION_CONFIG_NAME "${APPLICATION_EXECUTABLE}" )
set( APPLICATION_CONFIG_NAME "IONOS-HiDrive-Next" )
set( APPLICATION_DOMAIN "ionos.com" )
set( APPLICATION_VENDOR "IONOS SE" )
set( APPLICATION_UPDATE_URL "https://customerupdates.nextcloud.com/client/" CACHE STRING "URL for updater" )
set( APPLICATION_HELP_URL "" CACHE STRING "URL for the help menu" )

if(APPLE AND APPLICATION_NAME STREQUAL "IONOS HiDrive Next")
set( APPLICATION_ICON_NAME "ionos_hidrive_next-macOS" )
message("Using macOS-specific application icon: ${APPLICATION_ICON_NAME}")
else()
set( APPLICATION_ICON_NAME "ionos_hidrive_next" )
endif()

set( APPLICATION_ICON_SET "SVG" )
set( APPLICATION_SERVER_URL "https://storage.ionos.fr" CACHE STRING "URL for the server to use. If entered, the UI field will be pre-filled with it" )
set( APPLICATION_SERVER_URL_ENFORCE ON ) # If set and APPLICATION_SERVER_URL is defined, the server can only connect to the pre-defined URL
set( APPLICATION_REV_DOMAIN "com.ionos.hidrivenext.desktopclient" )
# set( APPLICATION_VIRTUALFILE_SUFFIX "nextcloud" CACHE STRING "Virtual file suffix (not including the .)")
set( APPLICATION_OCSP_STAPLING_ENABLED OFF )
set( APPLICATION_FORBID_BAD_SSL OFF )

set( LINUX_PACKAGE_SHORTNAME "hidrivenext" )
set( LINUX_APPLICATION_ID "${APPLICATION_REV_DOMAIN}.${LINUX_PACKAGE_SHORTNAME}")

set( THEME_CLASS "NextcloudTheme" )
set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" )

set( MAC_INSTALLER_BACKGROUND_FILE "${CMAKE_SOURCE_DIR}/admin/osx/installer-background.png" CACHE STRING "The MacOSX installer background image")

# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )

option( WITH_CRASHREPORTER "Build crashreporter" OFF )
#set( CRASHREPORTER_SUBMIT_URL "https://crash-reports.owncloud.com/submit" CACHE STRING "URL for crash reporter" )
#set( CRASHREPORTER_ICON ":/owncloud-icon.png" )

## Updater options
option( BUILD_UPDATER "Build updater" ON )

option( WITH_PROVIDERS "Build with providers list" ON )

option( ENFORCE_VIRTUAL_FILES_SYNC_FOLDER "Enforce use of virtual files sync folder when available" OFF )

option(ENFORCE_SINGLE_ACCOUNT "Enforce use of a single account in desktop client" OFF)

option( DO_NOT_USE_PROXY "Do not use system wide proxy, instead always do a direct connection to server" OFF )

## Theming options
set(NEXTCLOUD_BACKGROUND_COLOR "#0082c9" CACHE STRING "Default Nextcloud background color")
set( APPLICATION_WIZARD_HEADER_BACKGROUND_COLOR ${NEXTCLOUD_BACKGROUND_COLOR} CACHE STRING "Hex color of the wizard header background")
set( APPLICATION_WIZARD_HEADER_TITLE_COLOR "#000000" CACHE STRING "Hex color of the text in the wizard header")
option( APPLICATION_WIZARD_USE_CUSTOM_LOGO "Use the logo from ':/client/theme/colored/wizard_logo.(png|svg)' else the default application icon is used" ON )


#
## Windows Shell Extensions & MSI - IMPORTANT: Generate new GUIDs for custom builds with "guidgen" or "uuidgen"
#
if(WIN32)
# Context Menu
set( WIN_SHELLEXT_CONTEXT_MENU_GUID "{6B16FF7B-F242-4CE3-8FB9-F06EF127E0DC}" )

# Overlays
set( WIN_SHELLEXT_OVERLAY_GUID_ERROR "{243D887B-9F74-41DD-BACA-BC5501AF10AC}" )
set( WIN_SHELLEXT_OVERLAY_GUID_OK "{2D88D499-3272-4A76-84BF-D252254B40D6}" )
set( WIN_SHELLEXT_OVERLAY_GUID_OK_SHARED "{7BEF6B56-5B5B-4284-A70C-56D62254C97A}" )
set( WIN_SHELLEXT_OVERLAY_GUID_SYNC "{5F2F493D-A683-426F-925E-4CA25F17C4A9}" )
set( WIN_SHELLEXT_OVERLAY_GUID_WARNING "{7F256BB6-29D2-4E40-A6C4-E5E756E64C82}" )

# MSI Upgrade Code (without brackets)
set( WIN_MSI_UPGRADE_CODE "6C9E5670-E8A9-4BBD-9BDF-D003794AC177" )

# Windows build options
option( BUILD_WIN_MSI "Build MSI scripts and helper DLL" OFF )
option( BUILD_WIN_TOOLS "Build Win32 migration tools" OFF )
endif()

if (APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 11.0)
option( BUILD_FILE_PROVIDER_MODULE "Build the macOS virtual files File Provider module" OFF )
endif()
Loading
Loading