jld3103
d8e6ccecff
chore(dynamite_end_to_end_test,nextcloud): Remove unnecessary casts
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
eade429f45
refactor(nextcloud,neon_files): Introduce PathUri for WebDAV path handling
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
9d8aaeffdd
fix(nextcloud): Re-use HttpClient in WebDAV requests
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
8796b8c58f
fix(nextcloud): Fix WebDAV path construction
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
Nikolas Rimikis
dd185cdd06
feat(dynamite,dynamite_runtime): generate DynamiteRawResponses for all endpoints
...
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
1 year ago
jld3103
a2132ed6b4
chore: Fix typos
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
2ad5ae5872
fix(nextcloud): Fix WebDAV progress callback typo
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
Nikolas Rimikis
d6c75b4219
refactor: enable analyzer option strict-inference
...
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
1 year ago
Nikolas Rimikis
5056f43f1d
feat(app,dynamite,neon,neon_files,neon_news,neon_notes,neon_notifications,neon_lints,nextcloud): enable strict-raw-types
...
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
1 year ago
Nikolas Rimikis
dac919fb66
refactor(dynamite,neon_files,nextcloud): make webdav client use Uri objects for paths
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
1 year ago
Nikolas Rimikis
c4d38589a7
feat(neon_files): enable hiding files starting with a '.'
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
jld3103
685ac6efb2
feat(nextcloud): Support progress on webdav put stream
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
Nikolas Rimikis
198393d439
perf(nextcloud): read file as Uint8List
...
according to comment by a dart dev: https://stackoverflow.com/questions/73478943/flutter-dart-read-portions-of-file-as-bytes-rather-than-listint#comment129764806_73478943
it will allways return Uint8List
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
Nikolas Rimikis
ed6502697a
perf(nextcloud): use stream based body decoding
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
Nikolas Rimikis
52e6ef96f5
refactor(nextcloud): use avoid creating unnecessary streams
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
Nikolas Rimikis
d072c91ff1
style(nextcloud): cleaup header map handling
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
Nikolas Rimikis
9d243580cb
style(nextcloud): cleanup unnecessary cast
...
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
Nikolas Rimikis
962102407d
refactor(dynamite,neon,nextcloud): use dart 3.1 utf8.encode as Uint8List
...
While the entire utf8 converter has been switched to Uint8List the type annotation still remains List<int> for this release.
Adding the downcast as this behavior is what we need.
A future dart release should also change the type annotations triggering a linter rule.
see: https://github.com/dart-lang/sdk/issues/52801
Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
1 year ago
jld3103
a545b8003f
fix(nextcloud): Fix WebDAV progress
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
f3267abe00
feat(nextcloud): Use enum for WebDAV depth
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 year ago
jld3103
06bea32427
feat(nextcloud): Add get/put files operations to WebDAV
1 year ago
jld3103
678ed004a3
fix(nextcloud,neon_files): Do not require client for toWebDavFiles
1 year ago
jld3103
4eadf43be2
refactor(nextcloud): Allow any 2xx status code in WebDAV
1 year ago
jld3103
69ba5e61ef
refactor(nextcloud): Follow WebDAV redirects automatically
1 year ago
jld3103
552a0ca0b9
refactor(nextcloud): Remove safe option for mkcol
1 year ago
jld3103
1fb9224c9d
feat(nextcloud): Implement WebDAV proppatch remove
1 year ago
jld3103
f6d785bcd6
refactor(nextcloud): Rename WebDAV prop without values
1 year ago
jld3103
098b4123e6
refactor(nextcloud): Reorder WebDAV methods
1 year ago
jld3103
6acd512cef
refactor(nextcloud): Rename WebDAV methods to their HTTP methods and add documentation
1 year ago
jld3103
25f5ff78f5
refactor(nextcloud): Rename WebDAV path variables
1 year ago
jld3103
a37e583598
refactor(nextcloud): Use WebDAV endpoint that does not require the username
1 year ago
jld3103
c8c8cdec72
fix(nextcloud): Downloading file via WebDAV to memory
1 year ago
jld3103
6cf94cb6a6
tool,specs,nextcloud: Split generated code per spec
1 year ago
Nikolas Rimikis
a541436dd4
dynamite, dynamite_runtime, nextcloud: improve data fetching performance
1 year ago
jld3103
71a24ba847
nextcloud: Add tests for WebDavFile
1 year ago
jld3103
f6d3b4a7bd
nextcloud: Cleanup WebDAV upload and download methods
1 year ago
jld3103
9519af62e4
nextcloud: Fix WebDAV element name
1 year ago
jld3103
1ab7c70151
nextcloud: Add missing coverage ignores for WebDAV
1 year ago
jld3103
bf3b0b187c
nextcloud: Add Content-Length headers for uploading
2 years ago
jld3103
15dc7366e7
nextcloud,neon: Fix toWebDavFiles removing first entry
2 years ago
jld3103
12e5c80d9e
nextcloud: Properly set values for propfinds
2 years ago
jld3103
eeaa3c65be
nextcloud: Format generated props
2 years ago
jld3103
ba56d9a1b6
nextcloud: Implement dav resourcetype
2 years ago
jld3103
b2ff970a5a
nextcloud: Fix WebDav propfind depth
2 years ago
jld3103
b7fd35c515
nextcloud: Make WebDAV serializable
2 years ago
jld3103
97965e2043
nextcloud,specs: Adapt to per operation security
2 years ago
jld3103
658ad9f26b
nextcloud: Support setting last modified time when uploading
2 years ago
jld3103
66614bb2e2
dynamite,nextcloud,neon: Prefix every object
2 years ago
jld3103
e10ab7dbf3
nextcloud: Make coverage reports more useful
2 years ago
jld3103
86d4871cac
dynamite,nextcloud: Expose root client and request method
2 years ago