Sébastien Rombauts
7df550c73f
Merge pull request #21 from Unity-Technologies/fix/uum-64620_login_failure_when_license_about_to_expire
...
Covered Perforce response during the login when it warns about an exp…
2024-03-15 10:54:05 +01:00
Julio Maqueda
68153a9d37
Passed response text parameter as reference
2024-03-14 16:35:10 +01:00
Julio Maqueda
3bdb139b94
Covered Perforce response during the login when it warns about an expiring license
2024-03-14 11:07:57 +01:00
Daniel Hompanera
04e1897510
Merge pull request #19 from Unity-Technologies/perforce/mfa_support_tests
2022-08-05 16:30:29 +02:00
Daniel Hompanera
fff4a8272c
Merge pull request #18 from Unity-Technologies/perforce/mfa_support
2022-08-05 15:54:00 +02:00
danielhompanera
f52be82d02
Merge branch 'perforce/mfa_support' into perforce/mfa_support_tests
2022-08-01 18:39:17 +02:00
Daniel Hompanera
18d386aae9
Updated filters for windows VS project
2022-08-01 18:34:34 +02:00
danielhompanera
1a7faff323
Add P4MFA files
2022-08-01 18:30:41 +02:00
danielhompanera
c4ba22ad5a
Refactor to P4SpecCommand with P4MFA to make things more readable
2022-08-01 18:19:46 +02:00
danielhompanera
b34bb3551f
Remove commented lines about POpen close that were not precise
2022-08-01 16:57:52 +02:00
danielhompanera
59b3c8cce7
Remove std:string init from the verbose line as it is not needed
2022-08-01 16:56:25 +02:00
danielhompanera
d6132c4e78
Make HelixMFA exe path initilization more legible
2022-08-01 16:55:35 +02:00
danielhompanera
7c96931e84
unify 3 lines in one for fallback_error definition
2022-08-01 16:43:40 +02:00
Daniel Hompanera
29482610d3
Clean-up POpen Windows execution with some of the comments from the CR
2022-08-01 16:01:26 +02:00
Sébastien Rombauts
eec791a136
Fix error C3848: expression having type 'const VCSStatusItemCmp' would lose some const-volatile qualifiers in order to call 'bool VCSStatusItemCmp::operator ()(const VCSStatusItem &,const VCSStatusItem &)' in Visual Studio 2019
...
The operator() used for comparison in sorting algorithm need to be declared const in standard C++
2022-07-29 12:03:04 +02:00
Sébastien Rombauts
9189bca8ce
Fix p4task.cpp(441): warning C4018: '<' : signed/unsigned mismatch
...
std::string::size() returns an unsigned integer so we have to iterate on unsigned indexes as well
2022-07-29 11:44:56 +02:00
Daniel Hompanera
018fd0aacf
Update PerforcePlugin WinMain to receive -test param from TestServer
2022-07-26 17:38:25 +02:00
Daniel Hompanera
115a5253c3
Port triggers script to PowerShell so it can be run from Windows
2022-07-26 17:37:43 +02:00
Daniel Hompanera
1b709bb871
WIP - Making MFA-login2 test working on Windows
2022-07-22 00:08:54 +02:00
danielhompanera
4b15e03d3f
Adding missing Login2.test
2022-07-21 19:15:21 +02:00
danielhompanera
f7269cfce1
Remove missing "Press ENTER to continue..."
2022-07-21 19:08:56 +02:00
danielhompanera
cd50c7460c
IPv6 square brackets does not work by default on new Perforce server version for some reason
2022-07-21 19:06:28 +02:00
danielhompanera
fb4fbac822
Setup MFA-enabled server only for MFA tests
2022-07-21 18:58:55 +02:00
danielhompanera
7c6e5bc7f7
Add -test flag to recognize we are in testing mode inside PerforcePlugin
2022-07-21 18:58:15 +02:00
danielhompanera
8a34463f46
WIP: new test for MFA with login2
2022-07-20 23:42:10 +02:00
danielhompanera
380367db99
WIP: If testing run login2 instead of HelixMFA from P4Spec
...
Command
2022-07-20 23:41:25 +02:00
danielhompanera
106a85c193
Add new Login2 command to the builds
2022-07-20 23:38:23 +02:00
danielhompanera
df2a3524fa
Setup the testing server with all the MFA configurations
2022-07-20 23:36:17 +02:00
danielhompanera
fb83509218
New P4Login2 command to impersonate login2 for the testing MFA-enabled server
2022-07-20 23:35:18 +02:00
danielhompanera
99c6d236ea
Remove Verbose log that was making the tests to fail
2022-07-19 19:03:12 +02:00
danielhompanera
30a45d1087
Added new optional param -filter to build.pl -test to filter the test to execute
2022-07-19 13:28:57 +02:00
daniel-hompanera
781831c84c
Linux configuration to execute HelixMFA is added to /usr/local/bin. Added comment to explain that manual execution of HelixMFA is possible too
2022-07-14 17:35:55 +02:00
daniel-hompanera
583aab8465
Add _LINUX build variable
2022-07-14 17:33:23 +02:00
Daniel Hompanera
98cca9116e
Modify P4SpecCommand flow to adapt it to Windows peculiarities
2022-07-14 13:43:44 +02:00
Daniel Hompanera
a9004b2eee
Added dialog box to allow debugger to get attached inmediately before login
2022-07-14 13:42:08 +02:00
Daniel Hompanera
38be84df77
Adjustments to POpen's windows part to not hide HelixMFA window and to wait until closed
2022-07-14 13:39:39 +02:00
danielhompanera
2f37ae1af8
Handle HelixMFA execution properly managing the situation where it is not found and retrying spec command to fill m_Root
2022-07-13 13:52:24 +02:00
danielhompanera
9087b52319
Add a second auth method to make tests more complete
2022-07-13 13:50:12 +02:00
Miguel González
093fb621ee
First stub to call HelixMFA from plugin
...
We'll call HelixMFA from the plugin if P4 tells us that we need to call
login2. If the call fails we'll add a console error so the user knows
they need to download that app.
Signed-off-by: Miguel González <miguel.gonzalez@unity3d.com>
2022-07-12 13:29:37 +02:00
Miguel González
b7c9b141e8
Define _MACOS in macOS builds to identify platform in code
...
Signed-off-by: Miguel González <miguel.gonzalez@unity3d.com>
2022-07-12 13:28:41 +02:00
Miguel González
c548971096
Return P4PORT from P4Task
...
Signed-off-by: Miguel González <miguel.gonzalez@unity3d.com>
2022-07-12 13:28:12 +02:00
danielhompanera
0e370eb3aa
Remove old perforce_mfa.md file
2022-07-11 16:11:14 +02:00
danielhompanera
e1400a4ce4
perforce_mfa.md to README.md
2022-07-11 16:10:35 +02:00
danielhompanera
3d4e747490
MFA-enabled testing server support files
2022-07-11 16:08:38 +02:00
Miguel
5297894973
Merge pull request #17 from Unity-Technologies/perforce/19.1
...
Perforce/19.1
2022-05-19 17:28:39 +02:00
Daniel Hompanera
cc6de645cb
Remove some commented lines keeping there since the rebase from master
2022-05-18 14:00:42 +02:00
Daniel Hompanera
ed2718aa4f
Update README file
2022-05-17 14:57:10 +02:00
Daniel Hompanera
9d1f5622b1
Update perforce tests
2022-05-17 14:57:10 +02:00
daniel-hompanera
25de689ba4
Added GTK3 include for harfbuzz that was throwing errors in build
2022-05-17 11:35:53 +02:00
Daniel Hompanera
200d6ca10b
Add links for the new p4script libraries referenced by 19.1
2022-05-17 11:31:53 +02:00