Commit graph

314 commits

Author SHA1 Message Date
Ryan Huffman
dfe17dac67 Add audio input entitlement to mac launcher 2019-10-02 13:14:18 -07:00
Ryan Huffman
dbc136c438 Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-10-01 15:48:27 -07:00
Ryan Huffman
4caf55bb0f Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-10-01 15:48:13 -07:00
danteruiz
18fde053cb fixing last mac warning and taskbar icon for windows 2019-10-01 14:41:46 -07:00
Ryan Huffman
e81deff4e9 Add signup to qt launcher, and cleanup 2019-10-01 09:45:06 -07:00
dante ruiz
13e8dc036c mac close interface and launcher and fix compile warnings 2019-09-30 14:24:14 -07:00
dante ruiz
d5f042c361 static link resources 2019-09-27 16:59:04 -07:00
danteruiz
e8205728ce install and uninstall features 2019-09-27 15:31:44 -07:00
Dante Ruiz
836e23f5cf override defualt latest build url and add commandlineOption 2019-09-26 16:32:25 -07:00
dante ruiz
1d50856931 update qt build 2019-09-26 10:50:32 -07:00
danteruiz
308483f4e7 working on file system links 2019-09-25 18:15:15 -07:00
Ryan Huffman
6db88dae3c Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-25 08:49:59 -07:00
Ryan Huffman
c01b23b78d Update qt launcher to launch client if content cache dl fails 2019-09-25 08:49:20 -07:00
danteruiz
f1fa2f8cd2 adding windows auto-updater 2019-09-24 18:45:42 -07:00
Ryan Huffman
e6128003ec Add content cache and settings support to qt launcher 2019-09-23 16:58:06 -07:00
Ryan Huffman
67033fc13a Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-23 08:39:09 -07:00
Ryan Huffman
05e9329635 Add proper version checking to qt launcher 2019-09-23 08:27:22 -07:00
danteruiz
82faeb70c8 remove merge conflict comments 2019-09-19 10:40:16 -07:00
Ryan Huffman
e21885905f Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-19 10:31:44 -07:00
Ryan Huffman
f97a8a06c8 Add fix for S_IFLNK on Windows, and fix createClient 2019-09-19 10:30:08 -07:00
dante ruiz
09b9b1e10c mac auto-updater 2019-09-19 09:41:01 -07:00
Ryan Huffman
b6800bdc7d Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-17 14:22:46 -07:00
dante ruiz
7d6404b40b launching interface for mac and windows 2019-09-17 14:13:48 -07:00
dante ruiz
9265e9da3e Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-17 12:30:11 -07:00
dante ruiz
975fc47572 fix qml urls and text fields 2019-09-17 12:29:48 -07:00
Ryan Huffman
e03e21c0b4 Add support for symlinks and correct file permissions in qt launcher 2019-09-17 11:13:57 -07:00
Ryan Huffman
acee9a130e Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-13 15:44:21 -07:00
dante ruiz
da807e9b29 fixing some ui elements 2019-09-13 15:41:14 -07:00
Ryan Huffman
f4bca3511e Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-13 15:25:44 -07:00
dante ruiz
54a827c67f fixing merge conflicts 2019-09-13 15:23:40 -07:00
Ryan Huffman
b5df1a9f4d Fix defaults scripts and add version checking to qt launcher 2019-09-13 15:21:31 -07:00
dante ruiz
7538e100f8 do not recompile qml 2019-09-13 15:04:28 -07:00
Ryan Huffman
a78be7a451 Add passing of tokens to hifi in qt launcher, and remove dead code 2019-09-13 14:57:22 -07:00
Ryan Huffman
21e3e08679 Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-09-13 14:10:55 -07:00
Ryan Huffman
93c443abc8 Add qt launcher states, download, and install 2019-09-13 13:57:26 -07:00
Ryan Huffman
93367ce8a4 Add unzipper to qt launcher 2019-09-13 13:56:38 -07:00
dante ruiz
97460c27cf adding new UI screens 2019-09-09 15:52:42 -07:00
Matt Hardcastle
7e5026a365
Merge pull request #16141 from MattHardcastle/bad-status-code
Error bad status while downloading launcher
2019-09-09 08:56:00 -07:00
Matt Hardcastle
3074ff96e0
Merge pull request #16150 from MattHardcastle/add-signing-2.0-rebase
Add signing 2.0 rebase
2019-09-07 09:09:11 -07:00
Matt Hardcastle
dba61180be Revert "Percent decode URL from Thunder"
This reverts commit 4e6198d784.

If Thunder is properly configured this wouldn't be required.
2019-09-06 15:11:44 -07:00
Matt Hardcastle
d8fec15842 Error bad status while downloading launcher 2019-09-06 14:25:51 -07:00
Shannon Romano
42ad7d5efb
Merge pull request #16147 from MattHardcastle/updater-to-resource
Support updater in Contents/{MacOS,Resources}
2019-09-06 12:49:31 -07:00
dante ruiz
768ac08d11 Add entitlements for Launcher and Interface 2019-09-06 11:20:16 -07:00
dante ruiz
c2e0e6a976 Change Launcher config.json location
Launcher `config.json` can not be inside Interface's app bundle, as it
will break signing.
2019-09-06 11:20:06 -07:00
Matt Hardcastle
b239ad1ae3 Support updater in Contents/{MacOS,Resources}
Codesigning fails when binaries are in the `Resources` directory. This
change moves updater and ensures HQLauncher can handle the updater at
both paths.
2019-09-06 10:37:24 -07:00
Matt Hardcastle
4e6198d784 Percent decode URL from Thunder
URLs from Thunder's API may be percent encoded.
2019-09-05 16:01:16 -07:00
Dante Ruiz
59f490c97e trying to build resources 2019-09-05 15:19:35 -07:00
Shannon Romano
19c7502998
Merge pull request #16138 from MattHardcastle/check-zip-size
Check macOS Launcher's zip size before unzipping
2019-09-05 14:43:57 -07:00
Shannon Romano
b3c7ca6e8f
Merge pull request #16127 from amerhifi/master
case DEV-492:  Ensure launcher cannot be pinned
2019-09-05 14:29:38 -07:00
dante ruiz
9d62e37a46 fix jekins mac builds 2019-09-05 14:08:36 -07:00
amerhifi
9e69b79e2a adding the space back 2019-09-05 13:41:51 -07:00
amerhifi
2a3b99daa6 removing flags 2019-09-05 13:40:29 -07:00
Matt Hardcastle
43237e1409 Check macOS Launcher's zip size before unzipping
The Launcher can download an error page rather than the full Launcher.
When this happens, the error page file is passed directly to unzip,
which promptly fails with the following message:

  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
  unzip:  cannot find zipfile directory in one of NewHQLauncher.zip or
          NewHQLauncher.zip.zip, and cannot find NewHQLauncher.zip.ZIP, period.

This change improves the error message by checking the size of the
Launcher download and failing if the Launcher is smaller than the
smallest Launcher we've released. The smallest Launcher we've had is
308KB, so I picked 250KB as the limit because it's a nice rounder number
below that.
2019-09-05 12:35:24 -07:00
dante ruiz
1583db9463 disable bitcode 2019-09-04 15:09:32 -07:00
dante ruiz
954e5c986a down grade cmake required version 2019-09-04 10:10:35 -07:00
danteruiz
058343fecc fix window cmake 2019-09-03 18:05:13 -07:00
dante ruiz
8473acacee plugin fix 2019-09-03 15:50:59 -07:00
dante ruiz
37db15b5a3 getting mac cmake to work 2019-09-03 14:50:45 -07:00
amer cerkic
fe3879db4d Merge branch 'master' of https://github.com/highfidelity/hifi 2019-09-03 10:57:45 -07:00
Matt Hardcastle
cba258b8c4 Error handling for Launcher's update
Before this change the update helper app in the Mac version of HQ
Launcher silently ignored errors. This change adds error handling to aid
troubleshooting.
2019-09-03 09:18:32 -07:00
amerhifi
08ca702c82 remove space 2019-08-30 14:16:11 -07:00
amerhifi
a5923ac9aa adding unpinnable options to any dlg process and main app so that user cannot accidentaly pin the launcher 2019-08-30 14:15:03 -07:00
Ryan Huffman
1f1115f983 Add ApplicationState to qt launcher 2019-08-30 13:41:46 -07:00
danteruiz
3f865a430b splash screen to login page transititon 2019-08-30 09:10:47 -07:00
danteruiz
255c3e4334 Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher 2019-08-30 09:00:46 -07:00
Ryan Huffman
44bbe1ea36 Add qt+ssl to qt launcher 2019-08-30 08:51:45 -07:00
danteruiz
1f4e15314c enable dragging the window 2019-08-30 08:48:25 -07:00
Matt Hardcastle
b8d2e73cf7 Don't cache when fetching Thunder's build info
I was mistaken when I added the EphemeralSession to stop local caching.
Using an EphermeralSession doesn't stop Foundation from caching a
request. Setting a request cache policy controls caching.
2019-08-29 16:49:21 -07:00
danteruiz
9c062e3228 progrss bar touch up 2019-08-29 15:48:53 -07:00
danteruiz
a7e1efc763 UI Pages 2019-08-29 15:46:58 -07:00
danteruiz
476b7605d5 working on ui pages 2019-08-28 20:18:51 -07:00
danteruiz
1689096967 working on launcher app 2019-08-28 14:24:13 -07:00
danteruiz
2a6252584f starting HFControls 2019-08-28 13:10:55 -07:00
Ryan Huffman
5fe7be403b Add HIFI_THUNDER_URL to win32 launcher 2019-08-28 11:16:03 -07:00
danteruiz
6d62613888 fixing root.qml 2019-08-27 16:15:10 -07:00
danteruiz
96e0b0cf21 fixing up resources 2019-08-27 16:11:34 -07:00
danteruiz
d5bfe49cd0 get windows qt cmake working 2019-08-27 12:05:14 -07:00
danteruiz
0a2b546017 working on windows cmake version 2019-08-26 16:26:23 -07:00
Shannon Romano
7d7db56782
Merge pull request #16094 from huffman/fix/win-launcher-button-labels
DEV-396: Fix login and next button labels in launchers
2019-08-26 15:40:33 -07:00
danteruiz
06d3bb2a34 start qt launcher work 2019-08-26 15:19:23 -07:00
Matt Hardcastle
ce25ee5377 Add HIFI_THUNDER_URL environment variable 2019-08-26 09:10:19 -07:00
Ryan Huffman
2e0410c6bc Fix login and next button labels in launchers 2019-08-23 15:36:07 -07:00
Shannon Romano
264abe7d0c
Merge pull request #16046 from huffman/feat/mac-launcher-tags
DEV-316: Add build tags to Mac launcher
2019-08-23 13:41:52 -07:00
Ryan Huffman
cf64492185 Fix default_tag in win32 launcher not working 2019-08-23 08:47:35 -07:00
Ryan Huffman
328896b9ed Fix calls to setFailed in win32 launcher 2019-08-23 08:47:35 -07:00
Ryan Huffman
da1b2e9ec8 Add method for overriding builds API url in win32 launcher 2019-08-23 08:47:34 -07:00
Ryan Huffman
83bc5e3fd6 Add build tags to Windows launcher 2019-08-23 08:44:37 -07:00
Ryan Huffman
1eaba67f67 Remove use of build version in mac launcher settings 2019-08-22 15:07:12 -07:00
Shannon Romano
e328fc3766
Merge pull request #16087 from mattr1x/add-mac-user-agent-launcher
Add platform to Mac Launcher's user-agent string
2019-08-22 11:30:44 -07:00
Matt Hardcastle
fa8db8c6ee Add platform to Mac Launcher's user-agent string 2019-08-22 09:10:38 -07:00
Ryan Huffman
a73f69c62a Add platform to UserAgent on win launcher 2019-08-22 09:09:07 -07:00
Ryan Huffman
cc5565d30f Add version to UserAgent on Win launcher 2019-08-21 16:13:31 -07:00
Matt Hardcastle
c987106d96 Add User-Agent string to macOS Launcher
Before this change, the mac HQ launcher didn't set a User-Agent string.
This change adds a User-Agent header – HQLauncher/$version – to each
HTTP request the mac launcher makes.

The approach I took was to add the User-Agent header to each HTTP
request. There is room for improvement. Most of the session
initialization could be rolled up into a helper class that sets the
User-Agent headers and other configuration parameters. Making that
change would be too much overhead for this quick task.

Jira: https://highfidelity.atlassian.net/browse/DEV-417
2019-08-21 13:29:56 -07:00
Ryan Huffman
b8887aa01e Fix mac launcher not correctly reading interface version
The logic to convert the interface output assumed that the output would
be null terminated, but it was not.
2019-08-19 10:02:38 -07:00
Ryan Huffman
73c120b154 Add mac launcher logging around latest build 2019-08-19 10:00:29 -07:00
Ryan Huffman
5916fb42ac Fix mac launcher not correctly reading interface version
The logic to convert the interface output assumed that the output would
be null terminated, but it was not.
2019-08-19 09:59:16 -07:00
Ryan Huffman
5ae6a323ac Cleanup macos launcher download spam 2019-08-19 09:58:22 -07:00
Ryan Huffman
8642f2aaf8 Fix mac launcher not handling networking failures when requesting builds 2019-08-16 17:07:35 -07:00
Ryan Huffman
322ba3ad55 Add env variable to adjust builds URL in mac launcher 2019-08-16 17:07:35 -07:00
Ryan Huffman
1e65908e43 Add build tags to Mac launcher 2019-08-16 17:07:35 -07:00
Matt Hardcastle
cff4f9da19 Use execve to "launch" Interface on macOS
Co-authored-by: dante ruiz <dante@highfidelity.io>
2019-08-07 16:41:24 -07:00
luiscuenca
ecd078f6d3
Retry self copy if the old launcher is still shutting down. 2019-08-06 16:39:31 -07:00
dante ruiz
7ab8a6b8d1 fixing typo 2019-08-05 13:16:08 -07:00
Andy Howell
a0d52f6f24
Merge pull request #15985 from danteruiz/auto-updater
DEV-264: Lilypad Launcher (Mac): Auto-update Launcher
2019-08-05 09:36:01 -07:00
dante ruiz
b9106b9ade making requested changes 2019-08-02 11:26:41 -07:00
luiscuenca
9fbacd49da Delete testing code 2019-07-30 14:19:26 -07:00
luiscuenca
677e0218ef Pass a string as parameter to continue action 2019-07-30 07:29:47 -07:00
luiscuenca
8fde82dafc Renamed variables 2019-07-29 07:57:54 -07:00
luiscuenca
5e81f3684f fix self install flow and progress bar 2019-07-27 20:57:43 -07:00
luiscuenca
d54bb02f47
Fix installer process windows 2019-07-27 08:53:32 -07:00
dante ruiz
7ed13a2ba2 auto-updater 2019-07-26 17:41:46 -07:00
luiscuenca
c77da03535
Display error when connection fails 2019-07-26 12:01:33 -07:00
luiscuenca
c3ad65f628
add --skipSplash param 2019-07-25 11:22:20 -07:00
luiscuenca
13952bf27e
Fixes and seamless self update 2019-07-25 10:51:18 -07:00
luiscuenca
4d9557dfc1
Display version and autoupdate 2019-07-24 17:16:22 -07:00
dante ruiz
9c6c4a264d inital work 2019-07-24 15:23:26 -07:00
dante ruiz
08bfe00ac4 making requested changes 2019-07-23 14:09:46 -07:00
dante ruiz
1d1b1a93d9 revert 2019-07-22 10:06:24 -07:00
dante ruiz
78d877a0b6 finish versioning 2019-07-22 10:01:48 -07:00
dante ruiz
1eae39b78c starting cleanup work 2019-07-19 18:07:55 -07:00
Shannon Romano
8ad1202bcb
Merge pull request #15916 from luiscuenca/WLAsyncThunder
BUGZ-989: Get recent builds asynchronously while the windows launcher is showing the splash screen
2019-07-15 08:36:33 -07:00
luiscuenca
bc5f8ad775
Remove unneeded response 2019-07-11 11:13:58 -07:00
luiscuenca
9c56f74662
Get recent builds asynchronously 2019-07-11 10:28:49 -07:00
dante ruiz
2ffacfea83 change script params 2019-07-11 08:51:47 -07:00
Shannon Romano
eb1cb3b11c
Merge pull request #15910 from luiscuenca/WLdefaultScriptsOverride
DEV-166: Instrument the Windows Launcher to use the defaultScriptsOverride parameter
2019-07-10 18:44:54 -07:00
luiscuenca
562a181377
replace backslashes on script override 2019-07-10 16:56:17 -07:00
luiscuenca
94002436e9
Override default script 2019-07-10 16:05:24 -07:00
luiscuenca
c8ed1e369d
Trim spaces on orgname and username 2019-07-10 15:45:14 -07:00
Shannon Romano
c7e8aa141c
Merge pull request #15902 from luiscuenca/WLShowProgress
DEV-179: Windows Launcher progress indicator
2019-07-09 17:55:35 -07:00
Shannon Romano
fcd29d686b
Merge pull request #15900 from danteruiz/launcher-progress-indicator
DEV-180: Lilypad Launcher: (Mac) Launcher progress indicator
2019-07-09 17:53:39 -07:00
luiscuenca
ea94e0f637
No trace 2019-07-09 16:36:06 -07:00
luiscuenca
25c4ad76be
Fix set process 2019-07-09 16:34:32 -07:00
luiscuenca
ec63684866
Fix bar draw and catch incomplete install 2019-07-09 16:08:45 -07:00
dante ruiz
996a2f0888 remove comment 2019-07-09 15:47:05 -07:00
dante ruiz
1741b9a91b remove prints 2019-07-09 14:49:08 -07:00
dante ruiz
8819a37712 making updates 2019-07-09 14:44:40 -07:00
luiscuenca
c5156780ca
Fix bug when enter is pressed and add uninstall progress 2019-07-09 14:02:23 -07:00
luiscuenca
9f110cac13
Add progress bar 2019-07-09 12:20:09 -07:00
dante ruiz
15cc7a0e6c finished work 2019-07-09 10:43:46 -07:00
Shannon Romano
9474ca29f5
Merge pull request #15893 from luiscuenca/WLKeepConfigWhenESC
BUGZ-768: Keep config.json when updating to avoid relogin.
2019-07-08 15:26:02 -07:00
dante ruiz
a5f9283bde almost done 2019-07-06 11:46:40 -07:00
luiscuenca
6a7b9c0202
Delete install directory right before installing and keep a copy of config.json 2019-07-05 13:59:35 -07:00
luiscuenca
a94eb4d44b
Allow the launcher window to be moved 2019-07-05 11:09:36 -07:00
luiscuenca
07983cd642
Don't shut down launcher until interface window is shown 2019-07-05 09:02:34 -07:00
luiscuenca
dcbb0f5db5
Shut down interface when executing the Windows Launcher 2019-07-03 15:22:41 -07:00
dante ruiz
f210be32dc updating progress indicator work 2019-07-02 20:56:49 -07:00
luiscuenca
1f6c4dc375
Avoid saving error log twice 2019-07-02 15:31:28 -07:00
luiscuenca
b877d20219
Improve error handling on Windows Launcher 2019-07-02 15:22:00 -07:00
dante ruiz
fb8027bdf5 inital progress indicator work 2019-07-01 19:01:13 -07:00
dante ruiz
12477f3df1 making requested changes 2019-06-28 15:37:21 -07:00