Bladeren bron

Ensure final newline char in text files, following .editorconfig (#575)

pull/576/head
Peter Dave Hello 4 jaren geleden
committed by GitHub
bovenliggende
commit
96af69af3b
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: 4AEE18F83AFDEB23
56 gewijzigde bestanden met toevoegingen van 49 en 50 verwijderingen
  1. +1
    -1
      .github/ISSUE_TEMPLATE.md
  2. +1
    -1
      README.md
  3. +1
    -1
      bin/build_web_extensions
  4. +1
    -1
      bin/build_web_site
  5. +1
    -1
      bin/deploy_web_extensions
  6. +1
    -1
      cli/deploy
  7. +1
    -1
      cli/lesspass/__init__.py
  8. +1
    -0
      cli/requirements.txt
  9. +1
    -1
      cli/test
  10. +1
    -0
      cli/tests/__init__.py
  11. +1
    -1
      containers/.env
  12. +1
    -1
      containers/.gitignore
  13. +1
    -1
      containers/backend/.gitignore
  14. +1
    -0
      containers/backend/api/__init__.py
  15. +1
    -0
      containers/backend/api/migrations/__init__.py
  16. +0
    -1
      containers/backend/api/models.py
  17. +1
    -0
      containers/backend/api/tests/__init__.py
  18. +1
    -1
      containers/backend/api/tests/test_auth.py
  19. +1
    -1
      containers/backend/entrypoint.sh
  20. +1
    -0
      containers/backend/lesspass/__init__.py
  21. +0
    -1
      containers/backend/lesspass/settings.py
  22. +1
    -1
      containers/backend/wait_db.py
  23. +1
    -1
      containers/deploy
  24. +1
    -1
      containers/docker-compose.yml
  25. +1
    -1
      containers/ssl/domains.ext
  26. +1
    -1
      containers/webserver/Dockerfile
  27. +1
    -1
      containers/webserver/entrypoint.sh
  28. +1
    -1
      containers/webserver/httpd-default.conf
  29. +1
    -1
      mobile/.gitattributes
  30. +1
    -1
      mobile/.watchmanconfig
  31. +0
    -1
      mobile/android/app/src/main/java/com/lesspass/android/Crypto.java
  32. +1
    -1
      mobile/android/app/src/main/java/com/lesspass/android/LessPassModule.java
  33. +1
    -1
      mobile/android/app/src/main/java/com/lesspass/android/LessPassReactPackage.java
  34. +1
    -1
      mobile/android/app/src/main/java/com/lesspass/android/MainApplication.java
  35. +1
    -1
      mobile/android/app/src/test/java/com/lesspass/android/CryptoTest.java
  36. +1
    -1
      mobile/android/build.gradle
  37. +1
    -1
      mobile/app.json
  38. +1
    -1
      packages/deploy
  39. +1
    -0
      packages/lesspass-pure/cypress/support/commands.js
  40. +0
    -1
      packages/lesspass-pure/src/components/Avatar.vue
  41. +0
    -1
      packages/lesspass-pure/src/components/PasswordProfile.vue
  42. +1
    -1
      packages/lesspass-pure/src/i18n/de.json
  43. +1
    -1
      packages/lesspass-pure/src/i18n/es.json
  44. +1
    -1
      packages/lesspass-pure/src/i18n/fr.json
  45. +1
    -1
      packages/lesspass-pure/src/i18n/pl.json
  46. +1
    -1
      packages/lesspass-pure/src/i18n/pt.json
  47. +1
    -1
      packages/lesspass-pure/src/i18n/ru.json
  48. +1
    -1
      packages/lesspass-pure/src/i18n/zh-CN.json
  49. +1
    -1
      packages/lesspass-site/.gitignore
  50. +1
    -1
      packages/lesspass-site/Dockerfile
  51. +1
    -1
      packages/lesspass-site/images/cover.original.txt
  52. +0
    -1
      packages/lesspass-site/nginx.conf
  53. +1
    -1
      packages/lesspass-web-extension/.gitignore
  54. +1
    -1
      packages/lesspass-web-extension/extension/icons/loading.svg
  55. +1
    -1
      sandbox/.gitignore
  56. +0
    -2
      sandbox/copy-paste-async.html

+ 1
- 1
.github/ISSUE_TEMPLATE.md Bestand weergeven

@@ -1,2 +1,2 @@
<!-- Love lesspass? Please consider supporting our collective:
👉 https://opencollective.com/lesspass/donate -->
👉 https://opencollective.com/lesspass/donate -->

+ 1
- 1
README.md Bestand weergeven

@@ -68,4 +68,4 @@ Thank you to all our backers!

There is no sponsor for now

Are you a member of a company or organization that might be willing to sponsor LessPass? Please ask them to consider supporting this open source project by [becoming a sponsor](https://opencollective.com/lesspass#sponsor)!
Are you a member of a company or organization that might be willing to sponsor LessPass? Please ask them to consider supporting this open source project by [becoming a sponsor](https://opencollective.com/lesspass#sponsor)!

+ 1
- 1
bin/build_web_extensions Bestand weergeven

@@ -112,4 +112,4 @@ sed -i -E "s/\"lesspass-pure\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"lesspass-pure
sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/package.json
sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-web-extension/extension/manifest.json
build
commit_and_push
commit_and_push

+ 1
- 1
bin/build_web_site Bestand weergeven

@@ -109,4 +109,4 @@ echo "Latest lesspass-pure version is ${latest_lesspass_pure_version}"
sed -i -E "s/\"lesspass-pure\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"lesspass-pure\": \"${latest_lesspass_pure_version}\"/g" packages/lesspass-site/package.json
sed -i -E "s/\"version\": \"([0-9]+)\.([0-9]+)\.([0-9]+)\"/\"version\": \"${new_version}\"/g" packages/lesspass-site/package.json
build
commit_and_push
commit_and_push

+ 1
- 1
bin/deploy_web_extensions Bestand weergeven

@@ -24,4 +24,4 @@ function release_web_extensions {
echo "Upload them on https://addons.mozilla.org/en-US/developers/"
}

release_web_extensions
release_web_extensions

+ 1
- 1
cli/deploy Bestand weergeven

@@ -22,4 +22,4 @@ function push_cli_on_pypi {
twine upload dist/*
}

push_cli_on_pypi
push_cli_on_pypi

+ 1
- 1
cli/lesspass/__init__.py Bestand weergeven

@@ -47,4 +47,4 @@ Examples:
Copyright:

Copyright © 2018 Guillaume Vincent <contact@lesspass.com>. License GPLv3: GNU GPL version 3 <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."""
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."""

+ 1
- 0
cli/requirements.txt Bestand weergeven

@@ -0,0 +1 @@


+ 1
- 1
cli/test Bestand weergeven

@@ -8,4 +8,4 @@ python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r test-requirements.txt
export PYTHONPATH='.'
python -m unittest discover
python -m unittest discover

+ 1
- 0
cli/tests/__init__.py Bestand weergeven

@@ -0,0 +1 @@


+ 1
- 1
containers/.env Bestand weergeven

@@ -21,4 +21,4 @@ EMAIL_PORT=25
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_USE_TLS=0
EMAIL_USE_SSL=0
EMAIL_USE_SSL=0

+ 1
- 1
containers/.gitignore Bestand weergeven

@@ -1,3 +1,3 @@
ssl/*
!ssl/domains.ext
!ssl/README.md
!ssl/README.md

+ 1
- 1
containers/backend/.gitignore Bestand weergeven

@@ -1,2 +1,2 @@
www
*.sqlite3
*.sqlite3

+ 1
- 0
containers/backend/api/__init__.py Bestand weergeven

@@ -0,0 +1 @@


+ 1
- 0
containers/backend/api/migrations/__init__.py Bestand weergeven

@@ -0,0 +1 @@


+ 0
- 1
containers/backend/api/models.py Bestand weergeven

@@ -87,4 +87,3 @@ class Password(DateMixin):

def __str__(self):
return str(self.id)


+ 1
- 0
containers/backend/api/tests/__init__.py Bestand weergeven

@@ -0,0 +1 @@


+ 1
- 1
containers/backend/api/tests/test_auth.py Bestand weergeven

@@ -79,4 +79,4 @@ class OldLoginTestCase(APITestCase):
headers = {"HTTP_AUTHORIZATION": "Bearer {token}".format(token=request.data["access"])}
request = self.client.get("/api/passwords/", **headers)
self.assertEqual(request.status_code, 200)
self.assertEqual(request.data["results"][0]['login'], password.login)
self.assertEqual(request.data["results"][0]['login'], password.login)

+ 1
- 1
containers/backend/entrypoint.sh Bestand weergeven

@@ -4,4 +4,4 @@ python wait_db.py
python manage.py migrate
python manage.py collectstatic --clear --no-input

exec "$@"
exec "$@"

+ 1
- 0
containers/backend/lesspass/__init__.py Bestand weergeven

@@ -0,0 +1 @@


+ 0
- 1
containers/backend/lesspass/settings.py Bestand weergeven

@@ -201,4 +201,3 @@ EMAIL_PORT = env.int("EMAIL_PORT", default=25)
EMAIL_SUBJECT_PREFIX = os.getenv("EMAIL_SUBJECT_PREFIX", "[LessPass] ")
EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", default=False)
EMAIL_USE_SSL = env.bool("EMAIL_USE_SSL", default=False)


+ 1
- 1
containers/backend/wait_db.py Bestand weergeven

@@ -16,4 +16,4 @@ while timeout != 0:
except socket.error as ex:
timeout -= 1
print('wait for db to start... (%s sec remaining)' % timeout)
time.sleep(1)
time.sleep(1)

+ 1
- 1
containers/deploy Bestand weergeven

@@ -29,4 +29,4 @@ function build_and_push_containers {
build_and_push_container frontend
}

build_and_push_containers
build_and_push_containers

+ 1
- 1
containers/docker-compose.yml Bestand weergeven

@@ -56,4 +56,4 @@ services:
- www:/var/www/html/
volumes:
postgresql:
www:
www:

+ 1
- 1
containers/ssl/domains.ext Bestand weergeven

@@ -6,4 +6,4 @@ subjectAltName = @alt_names
DNS.1 = lesspass.local
DNS.2 = www.lesspass.local
DNS.3 = api.lesspass.local
DNS.4 = admin.lesspass.local
DNS.4 = admin.lesspass.local

+ 1
- 1
containers/webserver/Dockerfile Bestand weergeven

@@ -7,4 +7,4 @@ COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
COPY ./httpd-ssl.conf /usr/local/apache2/conf/extra/httpd-ssl.conf
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["httpd-foreground"]
CMD ["httpd-foreground"]

+ 1
- 1
containers/webserver/entrypoint.sh Bestand weergeven

@@ -5,4 +5,4 @@ sed -i "s~EMAIL~${EMAIL}~" conf/httpd.conf conf/extra/httpd-ssl.conf
sed -i "s~CRT_PATH~${CRT_PATH}~" conf/extra/httpd-ssl.conf
sed -i "s~KEY_PATH~${KEY_PATH}~" conf/extra/httpd-ssl.conf

exec "$@"
exec "$@"

+ 1
- 1
containers/webserver/httpd-default.conf Bestand weergeven

@@ -87,4 +87,4 @@ HostnameLookups Off
#
<IfModule reqtimeout_module>
RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
</IfModule>
</IfModule>

+ 1
- 1
mobile/.gitattributes Bestand weergeven

@@ -1,2 +1,2 @@
# specific for windows script files
*.bat text eol=crlf
*.bat text eol=crlf

+ 1
- 1
mobile/.watchmanconfig Bestand weergeven

@@ -1 +1 @@
{}
{}

+ 0
- 1
mobile/android/app/src/main/java/com/lesspass/android/Crypto.java Bestand weergeven

@@ -43,4 +43,3 @@ public class Crypto {
return String.format("%0" + (bytes.length << 1) + "x", bi);
}
}


+ 1
- 1
mobile/android/app/src/main/java/com/lesspass/android/LessPassModule.java Bestand weergeven

@@ -34,4 +34,4 @@ public class LessPassModule extends ReactContextBaseJavaModule {
String result = new Crypto().hmac(masterPassword);
promise.resolve(result);
}
}
}

+ 1
- 1
mobile/android/app/src/main/java/com/lesspass/android/LessPassReactPackage.java Bestand weergeven

@@ -21,4 +21,4 @@ public class LessPassReactPackage implements ReactPackage {
modules.add(new LessPassModule(reactContext));
return modules;
}
}
}

+ 1
- 1
mobile/android/app/src/main/java/com/lesspass/android/MainApplication.java Bestand weergeven

@@ -76,4 +76,4 @@ public class MainApplication extends Application implements ReactApplication {
}
}
}
}
}

+ 1
- 1
mobile/android/app/src/test/java/com/lesspass/android/CryptoTest.java Bestand weergeven

@@ -28,4 +28,4 @@ public class CryptoTest {
String result = new Crypto().hmac("password");
assertEquals("e56a207acd1e6714735487c199c6f095844b7cc8e5971d86c003a7b6f36ef51e", result);
}
}
}

+ 1
- 1
mobile/android/build.gradle Bestand weergeven

@@ -52,4 +52,4 @@ def getNpmVersion() {
def getNpmVersionArray() {
def (major, minor, patch) = getNpmVersion().tokenize('.')
return [Integer.parseInt(major), Integer.parseInt(minor), Integer.parseInt(patch)] as int[]
}
}

+ 1
- 1
mobile/app.json Bestand weergeven

@@ -1,4 +1,4 @@
{
"name": "LessPass",
"displayName": "LessPass"
}
}

+ 1
- 1
packages/deploy Bestand weergeven

@@ -18,4 +18,4 @@ do
yarn publish --non-interactive
pwd
popd
done
done

+ 1
- 0
packages/lesspass-pure/cypress/support/commands.js Bestand weergeven

@@ -0,0 +1 @@


+ 0
- 1
packages/lesspass-pure/src/components/Avatar.vue Bestand weergeven

@@ -68,4 +68,3 @@ export default {
}
};
</script>


+ 0
- 1
packages/lesspass-pure/src/components/PasswordProfile.vue Bestand weergeven

@@ -62,4 +62,3 @@ export default {
}
};
</script>


+ 1
- 1
packages/lesspass-pure/src/i18n/de.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Bitte erweitern Sie Ihre Suche.",
"WelcomeRegister": "Willkommen {email}, danke für die Anmeldung.",
"resetPasswordSuccess": "Wenn die E-Mail-Adresse {email} mit einem LessPass-Konto verknüpft ist, erhalten Sie in Kürze eine E-Mail von LessPass mit Anweisungen zum Zurücksetzen Ihres Passworts."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/es.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Trate de ampliar su búsqueda.",
"WelcomeRegister": "Bienvenido o bienvenida {email}, gracias por registrarse.",
"resetPasswordSuccess": "Si la dirección de correo electrónico {email} está asociada a una cuenta LessPass, recibirá un correo electrónico de LessPass con instrucciones sobre cómo restablecer su contraseña."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/fr.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Merci de modifier votre recherche.",
"WelcomeRegister": "Bienvenue {email}, merci de vous être enregistré.",
"resetPasswordSuccess": "Si l'adresse email {email} est associée avec un compte LessPass, vous allez recevoir un email de la part de LessPass avec les instructions pour changer votre mot de passe."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/pl.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Spróbuj bardziej ogólnego zapytania.",
"WelcomeRegister": "Witaj, {email}, dziękujemy za rejestrację.",
"resetPasswordSuccess": "Jeśli adres {email} jest skojarzony z kontem LessPass, wkrótce otrzymasz wiadomość od LessPass zawierającą instrukcje resetowania hasła."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/pt.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Por favor tente ampliar sua busca.",
"WelcomeRegister": "Bem vindo {email}, obrigado por se registrar.",
"resetPasswordSuccess": "Se o seu endereço de email {email} estiver associado com uma conta LessPass, você receberá logo um email do LessPass com instruções de como resetar a sua senha."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/ru.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "Пожалуйста, попробуйте расширить условия поиска.",
"WelcomeRegister": "Добро пожаловать, {email}. Спасибо за регистрацию!",
"resetPasswordSuccess": "Если адрес электронной почты {email} связан с учетной записью LessPass, вы получите электронное письмо от LessPass с инструкциями по восстановлению пароля."
}
}

+ 1
- 1
packages/lesspass-pure/src/i18n/zh-CN.json Bestand weergeven

@@ -54,4 +54,4 @@
"UpdateYourSearch": "请尝试放宽您的搜索条件。",
"WelcomeRegister": "你好 {email},欢迎您的注册。",
"resetPasswordSuccess": "如果电子邮件地址 {email} 与一个 LessPass 账户相关联,您将很快收到 LessPass 的电子邮件,里面提供有重置密码的操作说明。"
}
}

+ 1
- 1
packages/lesspass-site/.gitignore Bestand weergeven

@@ -1 +1 @@
build
build

+ 1
- 1
packages/lesspass-site/Dockerfile Bestand weergeven

@@ -10,4 +10,4 @@ FROM nginx:alpine
COPY --from=builder /opt/frontend/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

+ 1
- 1
packages/lesspass-site/images/cover.original.txt Bestand weergeven

@@ -1 +1 @@
https://www.pexels.com/photo/grey-and-white-snow-covered-mountains-and-white-cloud-bank-65125/
https://www.pexels.com/photo/grey-and-white-snow-covered-mountains-and-white-cloud-bank-65125/

+ 0
- 1
packages/lesspass-site/nginx.conf Bestand weergeven

@@ -44,4 +44,3 @@ server {
# deny all;
#}
}


+ 1
- 1
packages/lesspass-web-extension/.gitignore Bestand weergeven

@@ -1 +1 @@
build/
build/

+ 1
- 1
packages/lesspass-web-extension/extension/icons/loading.svg Bestand weergeven

@@ -42,4 +42,4 @@
</circle>
</g>
</g>
</svg>
</svg>

+ 1
- 1
sandbox/.gitignore Bestand weergeven

@@ -1,2 +1,2 @@
lesspass-site/
lesspass-web-component/
lesspass-web-component/

+ 0
- 2
sandbox/copy-paste-async.html Bestand weergeven

@@ -33,5 +33,3 @@
});
}
</script>



Laden…
Annuleren
Opslaan