Browse Source

Fix master password capitalized

* reuse TextInput from ui folder
 * move packages/lesspass-mobile into mobile folder because of symlink not working properly

Fixes #384: Master password is auto-capitalized → lowervase
pull/391/head
Guillaume Vincent 5 years ago
parent
commit
9c3794971e
100 changed files with 26 additions and 6 deletions
  1. +16
    -0
      .travis.yml
  2. +0
    -0
      mobile/.babelrc
  3. +0
    -0
      mobile/.buckconfig
  4. +0
    -0
      mobile/.flowconfig
  5. +0
    -0
      mobile/.gitattributes
  6. +0
    -0
      mobile/.gitignore
  7. +0
    -0
      mobile/android/app/BUCK
  8. +0
    -0
      mobile/android/app/build.gradle
  9. +0
    -0
      mobile/android/app/proguard-rules.pro
  10. +0
    -0
      mobile/android/app/src/main/AndroidManifest.xml
  11. +0
    -0
      mobile/android/app/src/main/assets/fonts/Entypo.ttf
  12. +0
    -0
      mobile/android/app/src/main/assets/fonts/EvilIcons.ttf
  13. +0
    -0
      mobile/android/app/src/main/assets/fonts/Feather.ttf
  14. +0
    -0
      mobile/android/app/src/main/assets/fonts/FontAwesome.ttf
  15. +0
    -0
      mobile/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf
  16. +0
    -0
      mobile/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf
  17. +0
    -0
      mobile/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf
  18. +0
    -0
      mobile/android/app/src/main/assets/fonts/Foundation.ttf
  19. +0
    -0
      mobile/android/app/src/main/assets/fonts/Ionicons.ttf
  20. +0
    -0
      mobile/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf
  21. +0
    -0
      mobile/android/app/src/main/assets/fonts/MaterialIcons.ttf
  22. +0
    -0
      mobile/android/app/src/main/assets/fonts/Octicons.ttf
  23. +0
    -0
      mobile/android/app/src/main/assets/fonts/Roboto.ttf
  24. +0
    -0
      mobile/android/app/src/main/assets/fonts/Roboto_medium.ttf
  25. +0
    -0
      mobile/android/app/src/main/assets/fonts/SimpleLineIcons.ttf
  26. +0
    -0
      mobile/android/app/src/main/assets/fonts/Zocial.ttf
  27. +0
    -0
      mobile/android/app/src/main/assets/fonts/rubicon-icon-font.ttf
  28. +0
    -0
      mobile/android/app/src/main/java/com/lesspass/Crypto.java
  29. +0
    -0
      mobile/android/app/src/main/java/com/lesspass/LessPassModule.java
  30. +0
    -0
      mobile/android/app/src/main/java/com/lesspass/LessPassReactPackage.java
  31. +0
    -0
      mobile/android/app/src/main/java/com/lesspass/MainActivity.java
  32. +0
    -0
      mobile/android/app/src/main/java/com/lesspass/MainApplication.java
  33. +0
    -0
      mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  34. +0
    -0
      mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  35. +0
    -0
      mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  36. +0
    -0
      mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  37. +0
    -0
      mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  38. +0
    -0
      mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  39. +0
    -0
      mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  40. +0
    -0
      mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  41. +0
    -0
      mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  42. +0
    -0
      mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  43. +0
    -0
      mobile/android/app/src/main/res/values/colors.xml
  44. +0
    -0
      mobile/android/app/src/main/res/values/strings.xml
  45. +0
    -0
      mobile/android/app/src/main/res/values/styles.xml
  46. +0
    -0
      mobile/android/app/src/test/java/com/lesspass/CryptoTest.java
  47. +0
    -0
      mobile/android/build.gradle
  48. +0
    -0
      mobile/android/gradle.properties
  49. +0
    -0
      mobile/android/gradle/wrapper/gradle-wrapper.jar
  50. +0
    -0
      mobile/android/gradle/wrapper/gradle-wrapper.properties
  51. +0
    -0
      mobile/android/gradlew
  52. +0
    -0
      mobile/android/gradlew.bat
  53. +0
    -0
      mobile/android/keystores/BUCK
  54. +0
    -0
      mobile/android/keystores/debug.keystore.properties
  55. +0
    -0
      mobile/android/settings.gradle
  56. +0
    -0
      mobile/app.json
  57. +0
    -0
      mobile/index.js
  58. +0
    -0
      mobile/ios/LessPass-tvOS/Info.plist
  59. +0
    -0
      mobile/ios/LessPass-tvOSTests/Info.plist
  60. +0
    -0
      mobile/ios/LessPass.xcodeproj/project.pbxproj
  61. +0
    -0
      mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass-tvOS.xcscheme
  62. +0
    -0
      mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme
  63. +0
    -0
      mobile/ios/LessPass/AppDelegate.h
  64. +0
    -0
      mobile/ios/LessPass/AppDelegate.m
  65. +0
    -0
      mobile/ios/LessPass/Base.lproj/LaunchScreen.xib
  66. +0
    -0
      mobile/ios/LessPass/Images.xcassets/AppIcon.appiconset/Contents.json
  67. +0
    -0
      mobile/ios/LessPass/Images.xcassets/Contents.json
  68. +0
    -0
      mobile/ios/LessPass/Info.plist
  69. +0
    -0
      mobile/ios/LessPass/main.m
  70. +0
    -0
      mobile/ios/LessPassTests/Info.plist
  71. +0
    -0
      mobile/ios/LessPassTests/LessPassTests.m
  72. +9
    -2
      mobile/package.json
  73. +0
    -0
      mobile/src/App.js
  74. +0
    -0
      mobile/src/auth/AuthLoadingScreen.js
  75. +0
    -0
      mobile/src/auth/AuthStack.js
  76. +0
    -0
      mobile/src/auth/SignInScreen.js
  77. +0
    -0
      mobile/src/auth/SignOutScreen.js
  78. +0
    -0
      mobile/src/auth/SignUpScreen.js
  79. +0
    -0
      mobile/src/auth/authActions.js
  80. +0
    -0
      mobile/src/auth/authReducer.js
  81. +0
    -0
      mobile/src/auth/authReducer.test.js
  82. +0
    -0
      mobile/src/errors/Errors.js
  83. +0
    -0
      mobile/src/errors/errorsActions.js
  84. +0
    -0
      mobile/src/errors/errorsReducer.js
  85. +0
    -0
      mobile/src/errors/errorsReducer.test.js
  86. +0
    -0
      mobile/src/header/Header.js
  87. +0
    -0
      mobile/src/header/logo.png
  88. +0
    -0
      mobile/src/help/HelpScreen.js
  89. +0
    -0
      mobile/src/help/fingerprint.png
  90. +0
    -0
      mobile/src/help/options.png
  91. +0
    -0
      mobile/src/password/Counter.js
  92. +0
    -0
      mobile/src/password/Fingerprint.js
  93. +0
    -0
      mobile/src/password/GeneratePasswordButton.js
  94. +0
    -0
      mobile/src/password/GeneratedPassword.js
  95. +1
    -4
      mobile/src/password/MasterPassword.js
  96. +0
    -0
      mobile/src/password/Options.js
  97. +0
    -0
      mobile/src/password/PasswordGeneratorScreen.js
  98. +0
    -0
      mobile/src/password/TouchId.js
  99. +0
    -0
      mobile/src/password/passwordGenerator.js
  100. +0
    -0
      mobile/src/password/passwordGenerator.test.js

+ 16
- 0
.travis.yml View File

@@ -43,6 +43,22 @@ jobs:
- yarn test

- stage: test
language: node_js
name: "Test mobile app"
node_js:
- "lts/*"
cache:
yarn: true
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- cd mobile
install:
- yarn install
script:
- yarn test

- stage: test
language: generic
name: "Test containers"
services:


packages/lesspass-mobile/.babelrc → mobile/.babelrc View File


packages/lesspass-mobile/.buckconfig → mobile/.buckconfig View File


packages/lesspass-mobile/.flowconfig → mobile/.flowconfig View File


packages/lesspass-mobile/.gitattributes → mobile/.gitattributes View File


packages/lesspass-mobile/.gitignore → mobile/.gitignore View File


packages/lesspass-mobile/android/app/BUCK → mobile/android/app/BUCK View File


packages/lesspass-mobile/android/app/build.gradle → mobile/android/app/build.gradle View File


packages/lesspass-mobile/android/app/proguard-rules.pro → mobile/android/app/proguard-rules.pro View File


packages/lesspass-mobile/android/app/src/main/AndroidManifest.xml → mobile/android/app/src/main/AndroidManifest.xml View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Entypo.ttf → mobile/android/app/src/main/assets/fonts/Entypo.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/EvilIcons.ttf → mobile/android/app/src/main/assets/fonts/EvilIcons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Feather.ttf → mobile/android/app/src/main/assets/fonts/Feather.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/FontAwesome.ttf → mobile/android/app/src/main/assets/fonts/FontAwesome.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf → mobile/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf → mobile/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf → mobile/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Foundation.ttf → mobile/android/app/src/main/assets/fonts/Foundation.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Ionicons.ttf → mobile/android/app/src/main/assets/fonts/Ionicons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf → mobile/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/MaterialIcons.ttf → mobile/android/app/src/main/assets/fonts/MaterialIcons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Octicons.ttf → mobile/android/app/src/main/assets/fonts/Octicons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Roboto.ttf → mobile/android/app/src/main/assets/fonts/Roboto.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Roboto_medium.ttf → mobile/android/app/src/main/assets/fonts/Roboto_medium.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/SimpleLineIcons.ttf → mobile/android/app/src/main/assets/fonts/SimpleLineIcons.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/Zocial.ttf → mobile/android/app/src/main/assets/fonts/Zocial.ttf View File


packages/lesspass-mobile/android/app/src/main/assets/fonts/rubicon-icon-font.ttf → mobile/android/app/src/main/assets/fonts/rubicon-icon-font.ttf View File


packages/lesspass-mobile/android/app/src/main/java/com/lesspass/Crypto.java → mobile/android/app/src/main/java/com/lesspass/Crypto.java View File


packages/lesspass-mobile/android/app/src/main/java/com/lesspass/LessPassModule.java → mobile/android/app/src/main/java/com/lesspass/LessPassModule.java View File


packages/lesspass-mobile/android/app/src/main/java/com/lesspass/LessPassReactPackage.java → mobile/android/app/src/main/java/com/lesspass/LessPassReactPackage.java View File


packages/lesspass-mobile/android/app/src/main/java/com/lesspass/MainActivity.java → mobile/android/app/src/main/java/com/lesspass/MainActivity.java View File


packages/lesspass-mobile/android/app/src/main/java/com/lesspass/MainApplication.java → mobile/android/app/src/main/java/com/lesspass/MainApplication.java View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png → mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png → mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png → mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png → mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png → mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png → mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png → mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png → mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png → mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png View File


packages/lesspass-mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png → mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png View File


packages/lesspass-mobile/android/app/src/main/res/values/colors.xml → mobile/android/app/src/main/res/values/colors.xml View File


packages/lesspass-mobile/android/app/src/main/res/values/strings.xml → mobile/android/app/src/main/res/values/strings.xml View File


packages/lesspass-mobile/android/app/src/main/res/values/styles.xml → mobile/android/app/src/main/res/values/styles.xml View File


packages/lesspass-mobile/android/app/src/test/java/com/lesspass/CryptoTest.java → mobile/android/app/src/test/java/com/lesspass/CryptoTest.java View File


packages/lesspass-mobile/android/build.gradle → mobile/android/build.gradle View File


packages/lesspass-mobile/android/gradle.properties → mobile/android/gradle.properties View File


packages/lesspass-mobile/android/gradle/wrapper/gradle-wrapper.jar → mobile/android/gradle/wrapper/gradle-wrapper.jar View File


packages/lesspass-mobile/android/gradle/wrapper/gradle-wrapper.properties → mobile/android/gradle/wrapper/gradle-wrapper.properties View File


packages/lesspass-mobile/android/gradlew → mobile/android/gradlew View File


packages/lesspass-mobile/android/gradlew.bat → mobile/android/gradlew.bat View File


packages/lesspass-mobile/android/keystores/BUCK → mobile/android/keystores/BUCK View File


packages/lesspass-mobile/android/keystores/debug.keystore.properties → mobile/android/keystores/debug.keystore.properties View File


packages/lesspass-mobile/android/settings.gradle → mobile/android/settings.gradle View File


packages/lesspass-mobile/app.json → mobile/app.json View File


packages/lesspass-mobile/index.js → mobile/index.js View File


packages/lesspass-mobile/ios/LessPass-tvOS/Info.plist → mobile/ios/LessPass-tvOS/Info.plist View File


packages/lesspass-mobile/ios/LessPass-tvOSTests/Info.plist → mobile/ios/LessPass-tvOSTests/Info.plist View File


packages/lesspass-mobile/ios/LessPass.xcodeproj/project.pbxproj → mobile/ios/LessPass.xcodeproj/project.pbxproj View File


packages/lesspass-mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass-tvOS.xcscheme → mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass-tvOS.xcscheme View File


packages/lesspass-mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme → mobile/ios/LessPass.xcodeproj/xcshareddata/xcschemes/LessPass.xcscheme View File


packages/lesspass-mobile/ios/LessPass/AppDelegate.h → mobile/ios/LessPass/AppDelegate.h View File


packages/lesspass-mobile/ios/LessPass/AppDelegate.m → mobile/ios/LessPass/AppDelegate.m View File


packages/lesspass-mobile/ios/LessPass/Base.lproj/LaunchScreen.xib → mobile/ios/LessPass/Base.lproj/LaunchScreen.xib View File


packages/lesspass-mobile/ios/LessPass/Images.xcassets/AppIcon.appiconset/Contents.json → mobile/ios/LessPass/Images.xcassets/AppIcon.appiconset/Contents.json View File


packages/lesspass-mobile/ios/LessPass/Images.xcassets/Contents.json → mobile/ios/LessPass/Images.xcassets/Contents.json View File


packages/lesspass-mobile/ios/LessPass/Info.plist → mobile/ios/LessPass/Info.plist View File


packages/lesspass-mobile/ios/LessPass/main.m → mobile/ios/LessPass/main.m View File


packages/lesspass-mobile/ios/LessPassTests/Info.plist → mobile/ios/LessPassTests/Info.plist View File


packages/lesspass-mobile/ios/LessPassTests/LessPassTests.m → mobile/ios/LessPassTests/LessPassTests.m View File


packages/lesspass-mobile/package.json → mobile/package.json View File

@@ -16,8 +16,8 @@
"axios": "0.18.0",
"debounce": "1.2.0",
"fuse.js": "3.3.0",
"lesspass-fingerprint": "1.0.0",
"lesspass-render-password": "1.0.0",
"lesspass-fingerprint": "file:../packages/lesspass-fingerprint",
"lesspass-render-password": "file:../packages/lesspass-render-password",
"lodash": "4.17.11",
"memoize-one": "4.0.3",
"react": "16.4.1",
@@ -34,6 +34,13 @@
"redux-persist": "5.10.0",
"redux-thunk": "2.3.0"
},
"devDependencies": {
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.6.0",
"babel-preset-react-native": "5.0.2",
"jest": "23.6.0",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}

packages/lesspass-mobile/src/App.js → mobile/src/App.js View File


packages/lesspass-mobile/src/auth/AuthLoadingScreen.js → mobile/src/auth/AuthLoadingScreen.js View File


packages/lesspass-mobile/src/auth/AuthStack.js → mobile/src/auth/AuthStack.js View File


packages/lesspass-mobile/src/auth/SignInScreen.js → mobile/src/auth/SignInScreen.js View File


packages/lesspass-mobile/src/auth/SignOutScreen.js → mobile/src/auth/SignOutScreen.js View File


packages/lesspass-mobile/src/auth/SignUpScreen.js → mobile/src/auth/SignUpScreen.js View File


packages/lesspass-mobile/src/auth/authActions.js → mobile/src/auth/authActions.js View File


packages/lesspass-mobile/src/auth/authReducer.js → mobile/src/auth/authReducer.js View File


packages/lesspass-mobile/src/auth/authReducer.test.js → mobile/src/auth/authReducer.test.js View File


packages/lesspass-mobile/src/errors/Errors.js → mobile/src/errors/Errors.js View File


packages/lesspass-mobile/src/errors/errorsActions.js → mobile/src/errors/errorsActions.js View File


packages/lesspass-mobile/src/errors/errorsReducer.js → mobile/src/errors/errorsReducer.js View File


packages/lesspass-mobile/src/errors/errorsReducer.test.js → mobile/src/errors/errorsReducer.test.js View File


packages/lesspass-mobile/src/header/Header.js → mobile/src/header/Header.js View File


packages/lesspass-mobile/src/header/logo.png → mobile/src/header/logo.png View File


packages/lesspass-mobile/src/help/HelpScreen.js → mobile/src/help/HelpScreen.js View File


packages/lesspass-mobile/src/help/fingerprint.png → mobile/src/help/fingerprint.png View File


packages/lesspass-mobile/src/help/options.png → mobile/src/help/options.png View File


packages/lesspass-mobile/src/password/Counter.js → mobile/src/password/Counter.js View File


packages/lesspass-mobile/src/password/Fingerprint.js → mobile/src/password/Fingerprint.js View File


packages/lesspass-mobile/src/password/GeneratePasswordButton.js → mobile/src/password/GeneratePasswordButton.js View File


packages/lesspass-mobile/src/password/GeneratedPassword.js → mobile/src/password/GeneratedPassword.js View File


packages/lesspass-mobile/src/password/MasterPassword.js → mobile/src/password/MasterPassword.js View File

@@ -1,8 +1,7 @@
import React, { Component } from "react";
import { View, NativeModules } from "react-native";
import { TextInput } from "react-native-paper";
import TextInput from "../ui/TextInput";
import TouchId from "./TouchId";
import Styles from "../ui/Styles";
import Fingerprint from "./Fingerprint";
import fingerprint from "lesspass-fingerprint";
import { debounce } from "lodash";
@@ -52,8 +51,6 @@ export default class MasterPassword extends Component {
return (
<View>
<TextInput
style={Styles.input}
mode="outlined"
label={label}
value={masterPassword}
secureTextEntry

packages/lesspass-mobile/src/password/Options.js → mobile/src/password/Options.js View File


packages/lesspass-mobile/src/password/PasswordGeneratorScreen.js → mobile/src/password/PasswordGeneratorScreen.js View File


packages/lesspass-mobile/src/password/TouchId.js → mobile/src/password/TouchId.js View File


packages/lesspass-mobile/src/password/passwordGenerator.js → mobile/src/password/passwordGenerator.js View File


packages/lesspass-mobile/src/password/passwordGenerator.test.js → mobile/src/password/passwordGenerator.test.js View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save