Skip to content

feat(upload): add voided.host uploaders with shared config and settings UI - #480

Open
Lixqa wants to merge 1 commit into
SnapXL:developfrom
Lixqa:develop
Open

feat(upload): add voided.host uploaders with shared config and settings UI#480
Lixqa wants to merge 1 commit into
SnapXL:developfrom
Lixqa:develop

feat(upload): add voided.host uploaders with shared config and settin…

bf6419a
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action May 22, 2026 in 0s

44 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 44
           

Complexity increasing per file
==============================
- SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs  12
- SnapX.Core/Upload/File/VoidedHostFileUploader.cs  4
- SnapX.Core/Upload/Img/VoidedHostUploader.cs  77
- SnapX.Core/Upload/Text/VoidedHostTextUploader.cs  7
         

Clones added
============
- SnapX.Core/Upload/File/VoidedHostFileUploader.cs  3
- SnapX.Core/Upload/Img/VoidedHostUploader.cs  3
- SnapX.Core/Upload/Text/VoidedHostTextUploader.cs  2
         

See the complete overview on Codacy

Annotations

Check warning on line 1 in SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs#L1

Provide a 'CLSCompliant' attribute for assembly 'srcassembly.dll'.

Check notice on line 8 in SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs#L8

'partial' is gratuitous in this context.

Check failure on line 17 in SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs#L17

Potential null dereference detected.

Check notice on line 19 in SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Avalonia/Views/Settings/Views/ImageUploaders/VoidedHostUploaderSettingsView.axaml.cs#L19

Add curly braces around the nested statement(s) in this 'if' block.

Check warning on line 1 in SnapX.Core/Upload/File/VoidedHostFileUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/File/VoidedHostFileUploader.cs#L1

Provide a 'CLSCompliant' attribute for assembly 'srcassembly.dll'.

Check failure on line 17 in SnapX.Core/Upload/File/VoidedHostFileUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/File/VoidedHostFileUploader.cs#L17

Potential null dereference detected.

Check failure on line 21 in SnapX.Core/Upload/File/VoidedHostFileUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/File/VoidedHostFileUploader.cs#L21

Potential null dereference detected.

Check failure on line 22 in SnapX.Core/Upload/File/VoidedHostFileUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/File/VoidedHostFileUploader.cs#L22

Potential null dereference detected.

Check failure on line 45 in SnapX.Core/Upload/File/VoidedHostFileUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/File/VoidedHostFileUploader.cs#L45

Potential null dereference detected.

Check warning on line 1 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L1

Provide a 'CLSCompliant' attribute for assembly 'srcassembly.dll'.

Check failure on line 21 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L21

Potential null dereference detected.

Check failure on line 25 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L25

Potential null dereference detected.

Check failure on line 26 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L26

Potential null dereference detected.

Check warning on line 38 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L38

Either change this parameter type to 'System.Uri' or provide an overload which takes a 'System.Uri' parameter.

Check warning on line 47 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L47

Method VoidedHostMultipartUploader::Upload has 75 lines of code (limit is 50)

Check warning on line 47 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L47

Method VoidedHostMultipartUploader::Upload has a cyclomatic complexity of 13 (limit is 8)

Check failure on line 140 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L140

Potential null dereference detected.

Check warning on line 167 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L167

Change this constant to a 'static' read-only property.

Check failure on line 167 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L167

Hardcoded passwords are a security risk.

Check warning on line 169 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L169

Change this constant to a 'static' read-only property.

Check warning on line 170 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L170

Change this constant to a 'static' read-only property.

Check warning on line 171 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L171

Change this constant to a 'static' read-only property.

Check warning on line 172 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L172

Change this constant to a 'static' read-only property.

Check failure on line 172 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L172

Hardcoded passwords are a security risk.

Check warning on line 173 in SnapX.Core/Upload/Img/VoidedHostUploader.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SnapX.Core/Upload/Img/VoidedHostUploader.cs#L173

Change this constant to a 'static' read-only property.