Unverified Commit c3828cd7 authored by Felix Förtsch's avatar Felix Förtsch
Browse files

remove validation, add certs

parent c9bb4068
Pipeline #50447 failed with stage
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="dataSourceStorageLocal" created-in="IU-212.5457.46">
<data-source name="luca-backend@localhost" uuid="6ae6de39-aa48-40a3-b694-0b4d322029c0">
<database-info product="PostgreSQL" version="11.9" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.2.22" dbms="POSTGRES" exact-version="11.9" exact-driver-version="42.2">
<identifier-quote-string>&quot;</identifier-quote-string>
</database-info>
<case-sensitivity plain-identifiers="lower" quoted-identifiers="exact" />
<secret-storage>master_key</secret-storage>
<user-name>luca</user-name>
<schema-mapping>
<introspection-scope>
<node kind="database" qname="@">
<node kind="schema" qname="@" />
</node>
</introspection-scope>
</schema-mapping>
</data-source>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="luca-backend@localhost" uuid="6ae6de39-aa48-40a3-b694-0b4d322029c0">
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://localhost:5432/luca-backend</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>
\ No newline at end of file
......@@ -21,6 +21,9 @@
</map>
</option>
</component>
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
......
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
......@@ -38,7 +38,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.culture4life
matchingFallbacks = ['release']
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2:8080"'
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2"'
buildConfigField "String", "STAGING_API_USERNAME", '""'
buildConfigField "String", "STAGING_API_PASSWORD", '""'
buildConfigField "String", "COMMIT_HASH", project.getProperties().getOrDefault("COMMIT_HASH", '"<commit hash>"')
......@@ -46,11 +46,11 @@ android {
debug {
debuggable true
minifyEnabled false
versionNameSuffix " Debug"
versionNameSuffix " Dev"
applicationIdSuffix ".dev"
signingConfig signingConfigs.debug
matchingFallbacks = ['debug']
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2:8001"'
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2"'
buildConfigField "String", "STAGING_API_USERNAME", project.getProperties().getOrDefault("STAGING_API_USERNAME", '"<staging username>"')
buildConfigField "String", "STAGING_API_PASSWORD", project.getProperties().getOrDefault("STAGING_API_PASSWORD", '"<staging password>"')
buildConfigField "String", "COMMIT_HASH", project.getProperties().getOrDefault("COMMIT_HASH", '"<commit hash>"')
......@@ -59,7 +59,7 @@ android {
initWith debug
versionNameSuffix " QS"
applicationIdSuffix ".qs"
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2:8080"'
buildConfigField "String", "API_BASE_URL", '"http://10.0.2.2"'
}
aqs {
initWith debug
......
-----BEGIN CERTIFICATE-----
MIIFtjCCA56gAwIBAgIUWFJgppltLBGzNHcMTLOXiG/iJscwDQYJKoZIhvcNAQEN
BQAwXTELMAkGA1UEBhMCREUxDzANBgNVBAgTBkJlcmxpbjEPMA0GA1UEBxMGQmVy
bGluMREwDwYDVQQKEwhsdWNhIERldjEZMBcGA1UEAxMQbHVjYSBEZXYgUm9vdCBD
QTAeFw0yMTExMDUyMDAxMDBaFw0yMjExMDU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yVhdCPTWs+sNzkpS0ZeFy2K
K5UCAwEAAaOBjDCBiTAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUH
AwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUyQZ7ZEMpkBItQ8U41doGVizefLgw
HwYDVR0jBBgwFoAUwXlcQAa/ID6dx2kfsYKfvwGB7SswFAYDVR0RBA0wC4IJbG9j
YWxob3N0MA0GCSqGSIb3DQEBDQUAA4ICAQBGQgN02owqltza2jFCorhLjsfi0ett
oSKGJq9Uj/VZK8Tez5kOkvFeEKBkvUFoExUgEyWtsCTqll80+SW/I4/BlpXV7zgb
oFN4egRDvzD7L1U7icL67ezlIzU9+2p5Xe/hhD1RkZb4mk0TdQmVnWLsUYP5GXEu
tBNmpAyjHRaBG7eSyROBXKLGT9TbBAx1P5jv9cWyCIoCYZOYKYYk2Axap08yYwmS
/UKAtDSQwn+NaUimtel78aT9Qg1z+9ertQILinhDHGOCR/m3Y0YJzk75b/Re/JK1
UsXJ/4LINbFrxOcT6LBE6MkRT/cnBg537n3dOluK0bBTDZLtv6+ArktNZUFpSdz6
Jk/1Pzfq9AIHxWPwZcBL6NMVUNCVXRm+SIKIhp/KZ95A8GtIsaxu8Fq5uRPsPJhH
0co864fjbd082TP0sJek08mHrDbXcRa/k4nOcjOKI2y1v78mgXgsqqCr8k6gUxkY
U00Zb/UV8sPDIMwBJMzqJxLcpCWQJLFGNcXr2WykAyjsyY1XskquWljYImvG8Ab5
2Cxd/qNul8jJBJE6upeLgBXUP27VB2EF2gDJZwZpbA3SFJOoEHFN5mV0YOCURzNG
wl0Q7OzcbyieHhm0GQJP7V7hepafCLjO+a2ZCC3XxcIo0e7q69yKFrBvhWzTCL9D
qKzdsZUyxyaE9w==
-----END CERTIFICATE-----
......@@ -32,7 +32,7 @@ public class RegistrationTextInputLayout extends TextInputLayout {
}
public boolean isValidOrEmptyAndNotRequired() {
return valid || isEmptyAndNotRequired();
return true;
}
public boolean isEmptyButRequired() {
......
......@@ -586,15 +586,7 @@ public class RegistrationViewModel extends BaseViewModel {
}
boolean isValidPhoneNumber(@NonNull String phoneNumberString) {
if (isUsingTestingCredentials()) {
return true;
}
try {
Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneNumberString, GERMAN_REGION_CODE);
return phoneNumberUtil.isValidNumber(phoneNumber);
} catch (NumberParseException e) {
return false;
}
return true;
}
boolean isMobilePhoneNumber(String phoneNumberString) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment