Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
f1f3b60
use IONOS cmake instead of nextcloud
EmilBohleber Nov 21, 2024
47e0f0c
add vscode configuration
EmilBohleber Nov 21, 2024
19fc09d
add licence and notice
EmilBohleber Nov 21, 2024
302e79d
add ionos fonts
EmilBohleber Nov 21, 2024
a129085
add ionos logos and icons
EmilBohleber Nov 21, 2024
380e4a6
add style sizes and colors
chaetty Jan 14, 2025
52e75fd
add custom components and themes
chaetty Jan 14, 2025
e6c6673
style gui/wizzard welcome pages
chaetty Jan 14, 2025
15e75c6
style tray
chaetty Jan 14, 2025
ffebb1a
Fixed Tray by adjusting import
chaetty Jan 15, 2025
a04e473
Fixed some merge issues
chaetty Jan 16, 2025
a6f9158
add ses style helpers
EmilBohleber Nov 21, 2024
8b2be29
Merge Fix
chaetty Jan 16, 2025
58cb256
style activity view and shares view
chaetty Jan 16, 2025
94fc9d8
style credentials
chaetty Jan 17, 2025
62cbf66
style settings - account-settings
chaetty Jan 17, 2025
2296f02
style settings - added files
chaetty Jan 17, 2025
be6b8e1
style settings - minor dialog changes
chaetty Jan 22, 2025
fd8d234
style settings - more dialog changes
chaetty Jan 22, 2025
eefe642
style settings - stettingsdialog & generalsettings
chaetty Jan 22, 2025
c2ec747
style settings - systray, main & owncloudgui
chaetty Jan 22, 2025
98e7a5c
style settings - ignorelisttablewidget
chaetty Jan 23, 2025
482706d
style settings - folderwizard dialog
chaetty Jan 23, 2025
f727603
style settings - folderstatusdelegate (treeview)
chaetty Jan 23, 2025
21bfc16
style settings - CMake Variable
chaetty Jan 23, 2025
cfecd48
add stylings in libsync
chaetty Jan 23, 2025
ae223c7
add ga4 tracking
EmilBohleber Nov 21, 2024
16c8464
usage of ga4 tracking
chaetty Jan 23, 2025
333fde2
add a space in shellext for windows
EmilBohleber Nov 21, 2024
55461e4
update windows build scripts
EmilBohleber Nov 21, 2024
e27b9d2
add adr documentation
EmilBohleber Nov 21, 2024
e8123c5
add mac specific styles and shell extension changes
chaetty Jan 23, 2025
7a9df05
add mac build script
EmilBohleber Nov 21, 2024
9260f9a
change windows ci script to manual trigger
EmilBohleber Nov 21, 2024
1b21003
replace all ses icons with some other icon from nextcloud
EmilBohleber Nov 21, 2024
a7cf2fa
replaced link icons with simliar icon
chaetty Nov 25, 2024
2de0526
SES-186 replace installer banner with white image
kevinberaz Dec 3, 2024
a40250f
SES-161 Use AppShortName for Update URL
chaetty Jan 23, 2025
3c48f33
SES-161 Use correct Update Server
chaetty Dec 3, 2024
98b6803
SES-228 validate manual input in FolderWizardLocalPath
borisbaltesbrickmakers Dec 12, 2024
cf5220d
adjusted .vscode files to VM Directory
chaetty Jan 23, 2025
f8aef93
move build directory out of respository
kevinberaz Dec 12, 2024
a7fde2b
SES-228 cleanup - moved validation one step up
borisbaltesbrickmakers Dec 12, 2024
7c01fd2
SES-213 replace nextcloud with hidrivenext in logfile names
chaetty Jan 23, 2025
90e02fe
SES-212 style buttons in conflict dialog according to Tray Menu Style
kevinberaz Dec 13, 2024
839568f
SES-225 prevent error message if folderpicker was canceled
borisbaltesbrickmakers Dec 16, 2024
d603da1
SES-227 do not show context menu on text input fields
borisbaltesbrickmakers Dec 17, 2024
c62c507
SES-223 do not turn path seperator into slashes for communication reason
borisbaltesbrickmakers Dec 18, 2024
06f6ff0
SES-223 reworked path validation
borisbaltesbrickmakers Dec 18, 2024
777acbb
SES-218 style toolbar overflow menu
kevinberaz Dec 18, 2024
21e79aa
SES-218 set font color for checkbox labels to black
kevinberaz Dec 18, 2024
70a6b75
SES-218 prevent highlighting of ExpandMemoryButton
kevinberaz Dec 18, 2024
4ec3226
SES-215 replace installer background for mac with empty image
EmilBohleber Dec 20, 2024
91bb896
SES-223 Merge Fix for 2bb2ae68aee451b9cff27e6dd8fc8fa50cb1890f
chaetty Jan 23, 2025
7112817
SES-216 adjust color of CustomButtons
chaetty Jan 23, 2025
1ab15cf
SES-256 replace nextcloud offline state icon
kevinberaz Jan 7, 2025
d0b1b26
SES-256 replace app icon
kevinberaz Jan 9, 2025
7ed637b
SES-214 replace help URL
chaetty Jan 23, 2025
1893536
SES-256 change offline icon back to standord nextcloud icon
kevinberaz Jan 10, 2025
167f23c
SES-257 add macOS specific app icon
kevinberaz Jan 15, 2025
ff404f5
SES-257 set correct APPLICATION_ICON_NAME for macOS
kevinberaz Jan 15, 2025
63d13d3
SES-224 set default value of 'promptDeleteAllFiles' to false
kevinberaz Jan 15, 2025
1e16326
SES-248 replace sparkle key wich our new one
EmilBohleber Jan 17, 2025
9557286
SES-248 make start.sh executable
EmilBohleber Jan 17, 2025
ac22285
SES-275 set inactive tab text to black
EmilBohleber Jan 17, 2025
8d168db
SES-229 add new icons
kevinberaz Jan 21, 2025
64146e5
SES-229 use icons in ionostheme.h and style.qml
kevinberaz Jan 21, 2025
1ab536b
SES-229 use new icons in UI Components
chaetty Jan 23, 2025
541b4f3
SES-248 remove fileprovider param from updater call
EmilBohleber Jan 21, 2025
703c9a7
SES-248 move sparkle sign up so it will be signed bevore integration …
EmilBohleber Jan 21, 2025
72b82a4
Merge translations changes
chaetty Jan 23, 2025
c84d3f8
Merge fix
chaetty Jan 23, 2025
ce98360
updatet translations
kevinberaz Jan 23, 2025
33e37da
SES-265 remove failing macOS code
EmilBohleber Jan 27, 2025
01dd175
SES-296 Used BaseStyle explicit instead of default
chaetty Jan 30, 2025
e0197a2
SES-293 hide connection tab
EmilBohleber Jan 30, 2025
0fbf539
SES-299 Removed obsolete Window.qml (replaced by MainWindow.qml))
chaetty Jan 30, 2025
cad46a3
SES-299 Fixed double icon
chaetty Jan 30, 2025
f70c58d
SES-293 remove quotes and prevent double escaped space
EmilBohleber Jan 30, 2025
1c118b0
SES-291 increase margins and fontweight
Jan 30, 2025
4f692dd
SES-306 color tray resolve conflict button black
EmilBohleber Jan 30, 2025
e6e8c37
SES-301 Fixed Menu sizes
chaetty Jan 31, 2025
2df5eaa
SES-297 apply font configuration for primary button also on windows
Jan 31, 2025
886f5a3
SES-306 remove button color sets so all pill buttons look the same
EmilBohleber Jan 31, 2025
1ed8395
SES-302 Removed ColorOverlay and restored Caret - Arrow
chaetty Feb 3, 2025
27dc477
SES-302 Fixed Button Margin
chaetty Feb 3, 2025
014398e
SES-302 Fixed wrong Color
chaetty Feb 3, 2025
dc14aa6
SES-297 Fixed Scrollbar by using Palette
chaetty Feb 3, 2025
f5fcc4d
SES-297 Fixed Clipped border of TreeView
chaetty Feb 3, 2025
7b0ceb2
SES-297 Fixed clipped text
chaetty Feb 4, 2025
e69b4a4
SES-308 Format document
chaetty Feb 4, 2025
90dcfea
SES-308 Fixed Button Size
chaetty Feb 4, 2025
d2cb228
SES-309 Increased Size to fixed clipped icon
chaetty Feb 4, 2025
35d2ab0
SES-289 Modifed Q_LOGGING_CATEGORY
chaetty Feb 6, 2025
a79c7da
SES-307 Hide FileDrop Checkbox
chaetty Feb 4, 2025
7d6f492
SES-282 remove External Storage checkbox from Setup Page
kevinberaz Jan 24, 2025
abe2768
SES-282 add link to issue for commented out code
EmilBohleber Jan 27, 2025
e9a70ce
SES-306 add primary and secondary pill button
EmilBohleber Feb 6, 2025
6f98733
SES-306 reset ActivityItemAction button to NC style
EmilBohleber Feb 6, 2025
d5c3e5c
SES-306 replace button with primary pill button
EmilBohleber Feb 6, 2025
892b14d
SES-306 add white icons for share details view
EmilBohleber Feb 6, 2025
befa04f
SES-306 remove animations from share details page
EmilBohleber Feb 6, 2025
b8c1ade
SES-306 use pill buttons on share details page
EmilBohleber Feb 6, 2025
793cefe
SES-306 set color for subtext in sync state
EmilBohleber Feb 6, 2025
35194f1
SES-279 Fixed Sizeing and clipping of FolderCreationDialog
chaetty Feb 7, 2025
55bd04f
SES-303 add standalone icon button
EmilBohleber Feb 10, 2025
f974a1a
SES-303 use IconButton in activity view
EmilBohleber Feb 10, 2025
7e89707
SES-303 add white version of icon
EmilBohleber Feb 10, 2025
26cc9d7
SES-303 configure button to match design
EmilBohleber Feb 10, 2025
cb84b7d
SES-303 replace dismiss button in activity view
EmilBohleber Feb 10, 2025
22df477
SES-300 readd animations on hover to pill buttons
EmilBohleber Feb 10, 2025
ff75f41
SES-300 replace close button in share details page
EmilBohleber Feb 10, 2025
7a5947b
SES-300 hide tooltip if there is none
EmilBohleber Feb 10, 2025
06c888f
SES-300 replace close button on details page
EmilBohleber Feb 10, 2025
e106bcd
SES-300 replace add and more oprions buttons on share delegate page
EmilBohleber Feb 10, 2025
f74f6ba
Add ApplicationName to friendlyUserAgentString
Feb 11, 2025
773d9ef
SES-316 Added CompilerFlag for IONOS-Builds
chaetty Feb 11, 2025
64de628
SES-316 switched some comments to #ifdef
chaetty Feb 11, 2025
1014f83
SES-316 Removed "Activity" Item from ContextMenu
chaetty Feb 11, 2025
b4a6f92
SES-300 replace copy link button with secondary pill button with anim…
EmilBohleber Feb 11, 2025
8461ca8
SES-300 replace other sescustombuttons with new buttons
EmilBohleber Feb 11, 2025
72ecfba
SES-300 remove sesCustomButton
EmilBohleber Feb 11, 2025
c1f56c0
SES-300 accept solution instead of reject
EmilBohleber Feb 11, 2025
fb3e29a
SES-307 Fixed Custom Permission Box
chaetty Feb 11, 2025
c84e1ff
SES-307 Hide Checkbox for Filedrop only on "Internal Shares"
chaetty Feb 11, 2025
1350bad
Reduced merge conflicts by using mostly additive changes
chaetty Feb 13, 2025
a1b6a3c
SES-209 Added path to fix pkg-config error
chaetty Feb 14, 2025
61e0215
SES-209 Added Craft64 path to not break build on diffrent systems
chaetty Feb 14, 2025
505b8fe
SES-209 Fixed Logging Category related build errors
chaetty Feb 14, 2025
7fe4ccf
SES-209 Fixed merge related errors in Style Context
chaetty Feb 14, 2025
54e87fb
SES-209 Reverted installer banner changes
chaetty Feb 17, 2025
cb5c293
SES-327 Used IconButton for correct HoverEffect
chaetty Feb 17, 2025
888fee8
SES-326 remove gray area around buttons
EmilBohleber Feb 17, 2025
5e07dce
SES-326 make resolve conflicts button a primary button
EmilBohleber Feb 17, 2025
bfaa98d
SES-209 make failing, not needed github workflows manual
EmilBohleber Feb 17, 2025
6649106
SES-209 adjusted Application Names in Cmake to fit Customization Service
chaetty Feb 18, 2025
e6503a2
SES-209 Fixed translation merge error
chaetty Feb 18, 2025
0eafa3d
SES-209 modify value of APPLICATION_ICON_NAME, to fit Customization S…
chaetty Feb 18, 2025
694e68f
SES-322 Removed obsolete palettes
EmilBohleber Feb 18, 2025
d6abc9d
SES-322 Explicit set the palette here
EmilBohleber Feb 18, 2025
c39e2fc
SES-322 Set color in the system palette of the Application
chaetty Feb 14, 2025
56685e2
SES-322 Removed obsolete explicit color
chaetty Feb 14, 2025
9daea57
SES-322 Set explicit color
chaetty Feb 14, 2025
fa91da2
SES-323 hide share options for virtual files
kevinberaz Feb 13, 2025
9057ea7
SES-209 renamed icon for CS
chaetty Feb 19, 2025
a0fdf25
SES-209 Reverted Mac Installer image changes for CS compatibility
chaetty Feb 19, 2025
f749e2b
SES-209 added alternative banner and dialog
chaetty Feb 20, 2025
1df7a25
SES-209 remove styling to fix build and app run
EmilBohleber Feb 20, 2025
e2c69e0
SES-209 hopefully fix fr translation
EmilBohleber Feb 24, 2025
4783747
SES-209 regenerate fr keys
EmilBohleber Feb 24, 2025
ed94950
SES-209 add missing import
EmilBohleber Feb 24, 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/HiDriveNext.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"
}

}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"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}",
}
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"
},
]
}
8 changes: 3 additions & 5 deletions 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 "11.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 Expand Up @@ -62,10 +64,6 @@ string(REPLACE "&" "&" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME}")
string(REPLACE "<" "&lt;" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME_XML_ESCAPED}")
string(REPLACE ">" "&gt;" APPLICATION_NAME_XML_ESCAPED "${APPLICATION_NAME_XML_ESCAPED}")

string(REPLACE "&" "&amp;" APPLICATION_VENDOR_XML_ESCAPED "${APPLICATION_VENDOR}")
string(REPLACE "<" "&lt;" APPLICATION_VENDOR_XML_ESCAPED "${APPLICATION_VENDOR_XML_ESCAPED}")
string(REPLACE ">" "&gt;" APPLICATION_VENDOR_XML_ESCAPED "${APPLICATION_VENDOR_XML_ESCAPED}")

if (NOT DEFINED LINUX_PACKAGE_SHORTNAME)
set(LINUX_PACKAGE_SHORTNAME "${APPLICATION_SHORTNAME}")
endif()
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
84 changes: 84 additions & 0 deletions IONOS.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
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 "HiDrive Next" AND EXISTS "${CMAKE_SOURCE_DIR}/theme/colored/hidrivenext-macOS-icon.svg")
set( APPLICATION_ICON_NAME "hidrivenext-macOS" )
message("Using macOS-specific application icon: ${APPLICATION_ICON_NAME}")
else()
# set( APPLICATION_ICON_NAME "${APPLICATION_SHORTNAME}" )
set( APPLICATION_ICON_NAME "ionos_hidrive_next" )
endif()

set( APPLICATION_ICON_SET "SVG" )
set( APPLICATION_SERVER_URL "https://easy-qa-1.nextcloud-ionos.com" 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 "{28F7B423-F04D-4035-9163-742ABAB2C09D}" )

# Overlays
set( WIN_SHELLEXT_OVERLAY_GUID_ERROR "{69E48F56-3877-4D15-BE6C-148D20D9AD39}" )
set( WIN_SHELLEXT_OVERLAY_GUID_OK "{66163328-2F7D-4727-8557-07AA1A4951D4}" )
set( WIN_SHELLEXT_OVERLAY_GUID_OK_SHARED "{FE8E7808-F772-402A-96C5-5998ADAE34B7}" )
set( WIN_SHELLEXT_OVERLAY_GUID_SYNC "{BE95EBD1-B334-4D70-8797-F3827DBA7884}" )
set( WIN_SHELLEXT_OVERLAY_GUID_WARNING "{F5D52817-2813-4CF7-94E6-4D58D96E5EB3}" )

# MSI Upgrade Code (without brackets)
set( WIN_MSI_UPGRADE_CODE "DB5332BA-8B5B-43A9-8594-48263DE4E7EA" )

# 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