Skip to content

Commit 2b6fc80

Browse files
authored
added regex checs for recaptcha key, email, secured password visibility (PalisadoesFoundation#1153)
1 parent 13a5b9c commit 2b6fc80

File tree

4 files changed

+425
-0
lines changed

4 files changed

+425
-0
lines changed

.env.template

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# If you intend on using the installer.py script, be sure to copy the contents of this file to .env, else the installer will not work.
2+
3+
# 👋 Hey there, this is a sample file for .env file to showcase the different
4+
# environment variables and some information about them. You can copy the contents
5+
# of this file to the .env file and populate the environment variables.
6+
7+
# This environment variable is used to provide a unique random secret key for
8+
# for signing/verifying access tokens using JWT(jsonwebtokens).
9+
10+
[AccessTokenSecret]
11+
ACCESS_TOKEN_SECRET=
12+
13+
14+
# This environment variable is used to provide a unique random secret key for
15+
# for signing/verifying refresh tokens using JWT(jsonwebtokens).
16+
17+
[RefreshTokenSecret]
18+
REFRESH_TOKEN_SECRET=
19+
20+
21+
# This environment variable is used to provide connection string of the mongoDB
22+
# database for talawa-api to connect to.
23+
24+
[DBConnectionString]
25+
MONGO_DB_URL=
26+
27+
28+
# This environment variable is used to provide reCAPTCHA secret key for
29+
# authentication purpose.
30+
31+
[reCAPTCHASecretKey]
32+
RECAPTCHA_SECRET_KEY=
33+
34+
35+
# This environment variable is used to provide the username for mailing service.
36+
# authentication purpose.
37+
38+
[MailUsername]
39+
MAIL_USERNAME=
40+
41+
# This environment variable is used to provide the password for mailing service.
42+
43+
[MailPassword]
44+
MAIL_PASSWORD=
45+
46+
47+
# androidFirebaseOptions
48+
# These environment variables are used for configuring notification service
49+
# on android devices.
50+
51+
apiKey=AIzaSyBkqgTkg2yNRsl7jIx_EtCyF9YqiCJX7sz
52+
appId=1:803598513727:android:20d58bd8c9aae2102c2a8a
53+
messagingSenderId=803598513727
54+
projectId=talawa-352607
55+
storageBucket=talawa-352607.appspot.com
56+
57+
58+
# iosFirebaseOptions
59+
# These environment variables are used for configuring notification service
60+
# on iOS devices.
61+
62+
iOSapiKey=AIzaSyCw_AKsWnW6oqUq4CC41aDmFcPuLkLO0gc
63+
iOSappId=1:803598513727:ios:1f06f9c8eef964b42c2a8a
64+
iOSmessagingSenderId=803598513727
65+
iOSprojectId=talawa-352607
66+
iOSstorageBucket=talawa-352607.appspot.com
67+
iosClientId=803598513727-2gt176dpe0ljn5ie967o4d0rm0vo8sm0.apps.googleusercontent.com
68+
iosBundleId=com.talawa.app

.pylintrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[BASE]
2+
const-rgx=^[A-Z][A-Z0-9_]+$
3+
[FORMAT]
4+
ignore=C0103
5+
max-line-length=130
6+
[MESSAGES CONTROL]
7+
disable=W0703,W0621,W0603
8+
variable-rgx=^[a-z_][a-z0-9_]*$
9+
attr-rgx = _?_?[a-z0-9]+(_[a-z]+)*_?_?$

0 commit comments

Comments
 (0)