Commit Graph

33 Commits

Author SHA1 Message Date
yuriy odonnell
88769697df unsync - Add early exit if non-success HTTP code is encountered during query http-get command
* Update version to 1.0.82

[CL 34752406 by yuriy odonnell in ue5-main branch]
2024-06-28 19:51:06 -04:00
yuriy odonnell
c65a2c0128 unsync - Add query http-get <url> command to easily issue use Horde and Unsync HTTP APIs
* Add extended error messages to various places

[CL 34701319 by yuriy odonnell in ue5-main branch]
2024-06-27 00:49:36 -04:00
yuriy odonnell
8a833fe9ff unsync - Add Horde artifact listing syntax backwards-compatible with filesystem based paths
* Specify artifact filters using `KeyA=ValueA;KeyB=ValueB` syntax
* Specify artifact listing formating and directory structure using `{FieldA}{dir}{FieldB}` syntax, where {FieldA/B} are substituted with artifact metadata and {dir} creates a virtual sub-directory
* Missing fields are substituted with `[unknown]`

[CL 34660906 by yuriy odonnell in ue5-main branch]
2024-06-25 18:31:35 -04:00
yuriy odonnell
653714087b unsync - Implement experimental mechanism to list Horde artifacts as a virtual directory structure
* Use 5 minute threshold by default for triggering auth token refresh

[CL 34549235 by yuriy odonnell in ue5-main branch]
2024-06-20 18:37:09 -04:00
yuriy odonnell
7a8cebabab unsync - Use common implementation of server directory listing for query list and search commands
[CL 34518988 by yuriy odonnell in ue5-main branch]
2024-06-19 20:06:19 -04:00
Yuriy ODonnell
ad086b7e64 unsync - Remove ConcRT/PPL, use custom scheduler by default
#jira none

[CL 33595690 by Yuriy ODonnell in ue5-main branch]
2024-05-11 20:20:25 -04:00
Yuriy ODonnell
0acabe5490 unsync - Added a mechanism for unified proxy server and source directory specification to simply sync command line
Example command line `unsync.exe sync https://foo.bar/directory/path <dest>` is equivalent to `unsync.exe sync --proxy https://foo.bar directory/path <dest>`

#jira none

[CL 33569778 by Yuriy ODonnell in ue5-main branch]
2024-05-10 00:54:55 -04:00
Yuriy ODonnell
a63405040e unsync - Add a basic custom thread scheduler for Mac/Linux
#jira none

[CL 33556179 by Yuriy ODonnell in ue5-main branch]
2024-05-09 15:37:00 -04:00
Yuriy ODonnell
bb18878804 unsync - Fix manifest search, output HTTP status codes on query errors
#jira none

[CL 33507065 by Yuriy ODonnell in ue5-main branch]
2024-05-08 01:56:22 -04:00
Yuriy ODonnell
926e87e4bd unsync - ListDirectory and DownloadFile helpers now take FHttpConnection
#jira none

[CL 33487910 by Yuriy ODonnell in ue5-main branch]
2024-05-07 13:10:40 -04:00
yuriy odonnell
351f099b51 unsync - Attempt to establish TLS connections by default and allow fallback unless explicitly connecting to HTTPS port or using authentication
[CL 33127126 by yuriy odonnell in ue5-main branch]
2024-04-19 22:35:37 -04:00
yuriy odonnell
4ba5f8d39d unsync - Automatically enable TLS when server port is standard https/443
[CL 33095223 by yuriy odonnell in ue5-main branch]
2024-04-18 22:55:33 -04:00
yuriy odonnell
257f18b5b6 unsync - Split OpenID config out of FAuthDesc into a separate structure and use auth desc to generate token cache key instead of just server address
* Avoids unnecessary login steps when using different proxy servers that share auth config

[CL 29877767 by yuriy odonnell in ue5-main branch]
2023-11-21 18:25:48 -05:00
yuriy odonnell
4efaac4719 unsync - Tweak default logging level to output minimal information by default
* Add --silent flag to explicitly turn off all console logging except warnings and errors
* Output command line when starting logging to file

[CL 29289476 by yuriy odonnell in ue5-main branch]
2023-10-31 16:34:04 -04:00
yuriy odonnell
149778ff91 unsync - Always use the specified proxy server for performing authentication instead of auto-selected closest, fix few other minor issues
* Use correct TLS subject after auto-selecting a proxy (previously the root proxy address was used)

[CL 29051065 by yuriy odonnell in ue5-main branch]
2023-10-24 15:07:43 -04:00
yuriy odonnell
ce65262807 unsync - Direct file download and search query improvements
* Derive output filename if one was not provided explicitly
* Include all encountered files and directories in the search query, not just leaf
* Bump version to 1.0.60

#rb none

[CL 28547863 by yuriy odonnell in ue5-main branch]
2023-10-06 13:37:16 -04:00
yuriy odonnell
ce12226ba7 unsync - Extend output of the search query to include some file metadata and use paths relative to root of the query
* Bump version to 1.0.59

#rb none

[CL 28214653 by yuriy odonnell in ue5-main branch]
2023-09-25 21:53:38 -04:00
yuriy odonnell
220463e242 unsync - Output search query results as simple string array json
* Escape strings when formatting adhoc json output
* Bump version to 1.0.57

#rb none

[CL 28171508 by yuriy odonnell in ue5-main branch]
2023-09-23 01:59:00 -04:00
yuriy odonnell
3cf6f9a0c0 unsync - Add search query to discover available builds through proxy
#rb none

[CL 28166018 by yuriy odonnell in ue5-main branch]
2023-09-22 20:13:26 -04:00
yuriy odonnell
abf5a85ab6 unsync - Fix various runtime issues on linux
* Wide string formatting
* Path normalization

#rb none

[CL 27856783 by yuriy odonnell in ue5-main branch]
2023-09-13 18:33:59 -04:00
yuriy odonnell
a02ea83d83 unsync - Use multiple concurrent connections during file download query
* Bump version to 1.0.54

#rb none

[CL 27714879 by yuriy odonnell in ue5-main branch]
2023-09-08 12:19:57 -04:00
yuriy odonnell
01b2df4dba unsync - Add quick login option
* Skip remote token validation in --quick mode, just check expiry locally

#rb none

[CL 27538554 by yuriy odonnell in ue5-main branch]
2023-08-31 17:15:46 -04:00
yuriy odonnell
8c7bdecb04 unsync - Add support for direct manifest download from proxy server (bypassing SMB)
* Add --login flag to sync command
* Add in-process token cache
* Add auth token when quering server features
* Use direct download path when supported by server

#jira UE-192913
#rb none

[CL 27535921 by yuriy odonnell in ue5-main branch]
2023-08-31 16:20:09 -04:00
yuriy odonnell
c9dc86cb37 unsync - Add dedicated login command and make output more machine-friendly
* Make TLS a mandatory required library
* Redirect human-readable log messages of login and query commands to stderr, while only directing machine-readable messages to stdout

#rb none

[CL 27471298 by yuriy odonnell in ue5-main branch]
2023-08-29 19:18:18 -04:00
yuriy odonnell
c33f84e382 unsync - Groundwork for list query
#jira UE-192913
#rb none

[CL 27341587 by yuriy odonnell in ue5-main branch]
2023-08-24 10:44:55 -04:00