Commit Graph

27 Commits

Author SHA1 Message Date
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
yuriy odonnell
0cb9903591 unsync - Automatically refresh access token only when it's close to expiration
- Add FHttpRequest::BearerToken field
- Validate credentials using login endpoint

#jira UE-192913
#rb none

[CL 27233166 by yuriy odonnell in ue5-main branch]
2023-08-20 19:45:21 -04:00
yuriy odonnell
37b1da7fde unsync - Groundwork for user authentication
#jira UE-192913
#rb none

[CL 27227985 by yuriy odonnell in ue5-main branch]
2023-08-18 21:41:29 -04:00
yuriy odonnell
74e05813ad unsync - Skip automatic proxy selection for query command, use dedicated ping endpoint, refactor query helpers and download result mechanism
#rb none

[CL 27153277 by yuriy odonnell in ue5-main branch]
2023-08-16 16:34:36 -04:00
yuriy odonnell
c45fdca170 unsync - Automatically find closest proxy server by default
* Use --no-proxy-select to skip server selection
* Bump version to 1.0.52

#rb none

[CL 26157514 by yuriy odonnell in ue5-main branch]
2023-06-21 15:01:35 -04:00
Yuriy ODonnell
15ae7848a8 unsync - Send basic sync stat telemetry to the server (if server supports it)
#preflight skip

[CL 20938659 by Yuriy ODonnell in ue5-main branch]
2022-07-04 23:38:13 -04:00
Yuriy ODonnell
22e1d59a0f sync - Change query mirrors command output to use integer milliseconds formatting for ping times, bump version to 1.0.41
#rb none
#preflight skip

[CL 20407486 by Yuriy ODonnell in ue5-main branch]
2022-05-28 10:41:29 -04:00