Commit 64601ed9 authored by Shashank Kumar's avatar Shashank Kumar

conflict resolved

parents c56f949c db6ba72b
# For Python
# Python
*.pyc
/libs/garden
# For Tests
# Tests
.pytest_cache
.coverage
......
......@@ -5,13 +5,15 @@ before_script:
- apt-get update -qy
- apt-get install -y python3 python3-dev python3-pip build-essential ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev
- apt-get install -y libgstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good
- apt-get install ffmpeg
- apt-get install -y ffmpeg git
- pip3 install pipenv
- pipenv install --dev --skip-lock
- pipenv install --skip-lock
- pipenv install --skip-lock git+http://github.com/kivy/kivy.git#egg=kivy-1.10.1
pylint:
type: test
script:
- pipenv install --skip-lock pylint
- pipenv run pylint main
- pipenv run pylint settings
- pipenv run pylint modules
......@@ -19,5 +21,5 @@ pylint:
pytest:
type: test
script:
- pipenv run pytest tests
- pipenv run pytest --cov=modules
- pipenv install --skip-lock pytest pytest-cov
- pipenv run pytest tests --cov=modules
......@@ -55,6 +55,7 @@ confidence=
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=duplicate-code,
unused-import,
pointless-string-statement,
useless-super-delegation,
parameter-unpacking,
......
......@@ -9,8 +9,8 @@ pytest = "==3.6.0"
pytest-cov = "==2.5.1"
[packages]
cython = "==0.23"
kivy = "==1.9.1"
cython = "==0.28"
requests = "==2.19.1"
[requires]
python_version = "3.5"
This diff is collapsed.
v0.0.1
## June 11 2018
- Adding Dashboard feature (Shashank Kumar)
......
......@@ -52,7 +52,11 @@ Step 4: Install application dependencies (this might take a while, grab a cup of
`$ pipenv install`
Step 5: Run New Contributor Wizard
Step 5: Install Kivy
`$ pipenv install --skip-lock git+http://github.com/kivy/kivy.git#egg=kivy-1.10.1`
Step 6: Run New Contributor Wizard
`$ pipenv run python main.py`
......@@ -88,7 +92,7 @@ There are two type of testing being done for this application.
- `tests` - This directory should and only contain the Test written for the application, both for application logic and GUI.
- `ui` - This directory should and only contain the `.kv` files which uses Kivy Language in order to create the widget tree.
- `ui` - This directory should and only contain the `.kv` files which uses Kivy Language in order to create the widget tree.
### Sign Up Module
......
......@@ -3,27 +3,27 @@ Root Kivy Application
'''
from kivy.app import App
from kivy.config import Config
from kivy.uix.screenmanager import ScreenManager
from settings import get_db_connection
from modules.signup import signup
from modules.signin import signin
from modules.dashboard import dashboard
from settings import get_db_connection, installing_kivy_garden_package
class NewContributorWizard(App):
'''
Declaration of Root Kivy App which contains Root Widget
'''
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.screen_manager_obj = ScreenManager()
self.screen_manager_obj.add_widget(signup.SignUp(name='signup'))
self.screen_manager_obj.add_widget(signin.SignIn(name='signin'))
self.screen_manager_obj.add_widget(dashboard.Dashboard(name='dashboard'))
def build(self):
return self.screen_manager_obj
'''
Overridding build method of App class to load custom kv file
'''
self.load_kv('./ui/main.kv')
def switch_screen_to_dashboard(self):
'''
This method helps clear the widget and switch directly to the Dashboard
'''
self.root.clear_widgets()
self.root.add_widget(Dashboard())
if __name__ == '__main__':
......@@ -31,15 +31,16 @@ if __name__ == '__main__':
Setting up things
'''
get_db_connection()
installing_kivy_garden_package('navigationdrawer')
'''
Setting window width to 720px and height to 480px
'''
Config.set('graphics', 'width', '720')
Config.set('graphics', 'height', '480')
Config.set('graphics', 'resizable', False)
# Importing modules
from modules.dashboard.dashboard import Dashboard
from modules.signup.signup import SignUp
'''
Running Kivy application and building root Widget
'''
# Fixing touch issue with some platforms
Config.set('input', 'mouse', 'mouse')
Config.set('graphics', 'minimum_width', 720)
Config.set('graphics', 'minimum_height', 480)
# Running Kivy application and building root Widget
NewContributorWizard().run()
'''
Dashboard module includes classes to showcase Dashboard with different courseware and settings
'''
from copy import copy as cp
import logging
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
from kivy.uix.screenmanager import Screen
try:
from libs.garden.navigationdrawer import NavigationDrawer
except ImportError:
logging.info('Dashboard: Install navigationdrawer from garden')
from modules.blog.blog import Blog
from modules.cli.cli import CLI
......@@ -26,51 +30,4 @@ class Dashboard(BoxLayout, Screen):
'''
Dashboard class to integrate courseware and settings
'''
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.all_menu_screens = {
'application_settings': ApplicationSettings(),
'blog': Blog(),
'cli': CLI(),
'communication': Communication(),
'encryption': Encryption(),
'how_to_use': HowToUse(),
'profile_settings': ProfileSettings(),
'theme_settings': ThemeSettings(),
'vcs': VCS(),
'way_ahead': WayAhead(),
}
self.all_menu_items = list(self.all_menu_screens.keys())
self.enable_menu('how_to_use')
def on_touch_down(self, touch):
'''
on_touch_down is triggered when user clicks the application anywhere
overiding this function here to perform actions on selection of menu items
'''
for menu_item in self.all_menu_items:
if self.ids[menu_item+'_box'].collide_point(*touch.pos):
self.enable_menu(menu_item)
return super().on_touch_down(touch)
def enable_menu(self, menu_item_to_enable):
'''
enable_menu function focuses on concerned menu items or settings which is clicked and
removes focus from all other menu items and settings
'''
menu_item_to_enable_widget = self.ids[menu_item_to_enable+'_box']
menu_item_to_enable_color = menu_item_to_enable_widget.canvas.before.children[0].rgba
if menu_item_to_enable_color != [1, 1, 1, 1] or 'settings' in menu_item_to_enable:
self.ids['module_screen'].add_widget(self.all_menu_screens[menu_item_to_enable])
if 'settings' not in menu_item_to_enable:
self.ids[menu_item_to_enable+'_box'].canvas.before.children[0].rgba = [1, 1, 1, 1]
self.ids[menu_item_to_enable+'_label'].color = (0, 0, 0, 1)
all_menu_items_copy = cp(self.all_menu_items)
all_menu_items_copy.remove(menu_item_to_enable)
for menu_item in all_menu_items_copy:
if 'settings' not in menu_item:
self.ids[menu_item+'_box'].canvas.before.children[0].rgba = [0, 0, 0, 1]
self.ids[menu_item+'_label'].color = (1, 1, 1, 1)
self.ids['module_screen'].remove_widget(self.all_menu_screens[menu_item])
pass
This is a revocation certificate for the OpenPGP key:
pub rsa2048 2018-07-02 [SCEA]
15BE5CE31545DD3FD3C322E7938BA9EDFBCA4180
uid Autogenerated Key <realslimshanky@justanotherone>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQE2BCABCAAgFiEEFb5c4xVF3T/TwyLnk4up7fvKQYAFAls6CmsCHQAACgkQk4up
7fvKQYBu2wf/R+VX1ks8bbapzkstHTHCyo/BTeX4lq4ulvSTziz3lC6Yd99YvuFa
CXTFzwvPRFEOfolJkOlytbCjXnN+7REVdGBQoflM/3Nu9J+4eRm6Us2Lq7+4nakW
XynBV2OzKfm6pIaR3rSIaFVZ2+3xpudQUsnhEEQzh2eBRCC2v7SNqW4JjNBUz4Ux
DbDo6CU28GyX9Vv8NdsO50kTfU0YksGF5sWZDbqMpbNtRXO+Wk4EEe5mF2NlFYep
848q8hCGSahdKSBO1nwoAiMBxh5NLD6dbM99a57BRP9QosskxDGe0yGkW6+mGP0h
ADsxm8ohEAJ0JiwXmNlw9NzBA2CitlMM0w==
=Qcoq
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-03 [SCEA] [expires: 2018-12-12]
25C235F9F77E0FCCDFC3B74352A21245428FB4AD
uid Shashank (my first key pair) <abc@cde.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQQlwjX5934PzN/Dt0NSohJFQo+0rQUCWzsqZQIdAAAKCRBSohJF
Qo+0rWIFBADWVmS3W4z+8z2dvKvpnFydkXuXVd+1x0Qk6DO8Wu43XN16rlZGY98j
GayPac9ujD27uC9R9zRS2hrhW7EMFtsiJ2TUpWe7gMVpfl08HU9pYdeI+5yL5nOq
w0Dj5LzCwpt/rSWq4F0o72xFo6GSMSBA2b871HWfyAU3Nq5QodSX/Q==
=Nyjn
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2020-12-12]
76E8E0ADC02E018139817AC7ADDB91B191AA7AA0
uid Mr. Shashank Kumar (My first key pair) <shashankkumar@gmail.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQR26OCtwC4BgTmBeset25Gxkap6oAUCWzowagIdAAAKCRCt25Gx
kap6oJ8AA/9y0BKWBy4ZXJwX1A2S2JwA8wzGiOf76J185LZRKFVO0jEVri5QHJmS
BgQGRlma+beWDbT7bGTeHxcsfaN0Knrk2dVCKVrzCvbtc1ANaaZWF5HKVdxOuJDh
XvI8y9ItuxooAqGZVmhBHiSGicz9EbEY3O051DCUsHbg1oldjIeg2Q==
=aGy0
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa2048 2018-07-02 [SCEA]
A93FB8B8B4AF9C16EB2E6272CA5809F9E3BE433F
uid Autogenerated Key <realslimshanky@justanotherone>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQE2BCABCAAgFiEEqT+4uLSvnBbrLmJyylgJ+eO+Qz8FAls6Co0CHQAACgkQylgJ
+eO+Qz82AAgArJ2RBsl9yrFwg2ASOIoAVlDj/c3v49ZtDU0ONerpoOypUeNAcKGe
2xlVqMyftsQcQw7E0yimoPGGoxoxAnX0+OlCL63PCnFSBUMubr5Mjk3or7uEr/CA
2KH/T82mLPoE+kU3q/tghKZDPaLNLTd8o55EOGXr0dy3bdEbBpp1Wt6DZbyFZSV4
VayRio9QRce/b5GYvIlXbNK0KDNLm+8jIfzg7GMTk4GGeUg/J4RvbFktCxqXS7EZ
fp/aoeQ7ikBLWSJ0dmkxoQoHugp42OXpMsfa1rbF1gbrV71gENuh3NZgJijm6+4z
Vi2wOwlv1+3f/RcJtXmuik5ablzDpLORYA==
=5EaO
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa2048 2018-07-02 [SCEA]
AB2FC4FF5CA025515DB4C51E2D0BCAA0C3EECF52
uid Autogenerated Key <realslimshanky@justanotherone>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iQE2BCABCAAgFiEEqy/E/1ygJVFdtMUeLQvKoMPuz1IFAls6CbkCHQAACgkQLQvK
oMPuz1K1Zgf8DRQMrsOeTary0mRl2vNzRWZFCBOmZlhZ2cMSU6gM2pX4L/OJbRQp
xpRMBBR8hYW0waIZ2euvbbsCrBrJUPow+y1RheV7uhVde4s/fXTrDm+uTCbZG4mY
yWP2ApFo7JEIVT03kIiY1HMD025L3KJoJ1OGf0s9WPOriTeu3uaCJySmUya1Wbse
IgfCkysHYShj9tI+Y3bRyonevAO8w53LAJ60tWuloTK5xnRg/uiCDhIamgXUaR6V
WyiqP1VWjigUN7NiYVHXU9ubvMx+lAQP/Mp/uQ6p92810dqUsjjtW7QgHVgPsYDb
LVaj7uItPDSmasfXAQql8LWB1ctjwYy+JQ==
=Djm7
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2018-12-12]
B1F41E62EECFC8A6A536355800C83E2B75F5C44C
uid Shashank (a) <a@a.o>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQSx9B5i7s/IpqU2NVgAyD4rdfXETAUCWzop2QIdAAAKCRAAyD4r
dfXETCPxBACBuqFz92jq90jIybdr2KnuJGIP1jhOo/8PVLVaFEqtVGCovEeQV11H
h0Rm2oKiPz2/RNpcUtZvbfB9382FPZH9Gnqh40GAWMcwiZvu7fBP3vXQVpeQDwfW
gwdVB30wB+7JZw/JmHgb+VBhvXI3BosH8quNB/JOIyfT1WD2jKuS9A==
=uqjt
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2018-07-12]
BA06FB796FFF1C2A011E30D5D5F7A2E82659DB85
uid a (qwer) <a@a.c>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQS6Bvt5b/8cKgEeMNXV96LoJlnbhQUCWzosHQIdAAAKCRDV96Lo
JlnbhTzkBACxmmqIBcqdwdSm9uSrwua+y5zOdV5/GLIiB/mo8ORhBiD1ZbMhMtXz
YdJVJ7LgLM3cTynteClk5x2k4pUdjym0xtNAfzhTQKdRpHS2B4ezeF1zQcxNd+2t
4/wPSb1eIXRllEMZvQkgIrt8zF55UXo+edaY3ldKNoa3noNDiqv57g==
=zCSa
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-03 [SCEA] [expires: 2020-12-12]
C795E6FAD5CD9CA54941D1A51FB427B0D736B6F8
uid Mr. Shashank Kumar (My first key pair) <shashankkumar@gmail.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQTHleb61c2cpUlB0aUftCew1za2+AUCWzsp/AIdAAAKCRAftCew
1za2+ObVA/9oWSRz5rSAO1Om5AEhMgB8w7wan+vD8I6inZefkrgKaQpKTPrQRvh9
/xoid3ooBb7otgWFXpQh3BAqN8p8HNnW9VOKU8UxPx0Nj81+QRuXH+xc/PApNmyF
J8mvO7thuX+TQ5hgtZrBFJxCm/jeiAQVJ276eNvmDRV67znoZaMALg==
=RxaJ
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-03 [SCEA] [expires: 2020-12-12]
DD59BCD2E2614C5D76C65845517899EA4BBE4BE0
uid Mr. Shashank Kumar (My first key pair) <shashankkumar@gmail.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQTdWbzS4mFMXXbGWEVReJnqS75L4AUCWzsoMgIdAAAKCRBReJnq
S75L4LEFBACYPnWPHIkIt8ZozojEyCvCTVeGKOKWLjGXHkIeJiVOr0F0yzHnVUS7
Sie9weReVMwErL31jC80ql8KrGja9CRbB+n3gWfxMY4ObL/nxsV9GTi+x5Brbt5e
7NenYPgZjVbYJYgf3aKzV02+QHBpXFZaq+DS8DiFo7+i8yz6IQYMqA==
=7dZj
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2018-12-10]
E94E4F06D8FA5C03779B71344C4579574DCC8847
uid Shashank (Just the first) <a@c.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQTpTk8G2PpcA3ebcTRMRXlXTcyIRwUCWzopNgIdAAAKCRBMRXlX
TcyIR/6YA/9tPOnK67YR9bYjeqCUBK/Dd2AeTL3e7+E1YCGgdp3jWqGXheqb47ox
YcVE898p2DINPf4HVfeLOELnUkvSh8JIHK6/ZYanXpExGDtmnvg6+yjFRyjVAlyI
2vAu6XFghimHrresphebPRxMKhL+5A4L2HePRBvKOAG+9wSQbmu0DA==
=N0gI
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2018-12-12]
F3DDCA888EA312616D00EB6C3AE51C5F74EBD7F0
uid S (a) <a@a.a>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQTz3cqIjqMSYW0A62w65RxfdOvX8AUCWzoqJAIdAAAKCRA65Rxf
dOvX8FXpA/9TAHsbUvFhZIPnHW5nkG0do6QH1mKeONLkdXFxCQ/CnzL9F+07iZ3L
oDm+MuGD5tSP+yXGltHuOEN+E+Lwxiayf3OB6pA7qkimh+QtDWVHRQ0p5NWpandK
ZcuiUjmfNA4PoAMIsAsUgS8nXsPUOf5Vri43fmwcMp1cUtDhaUmXEw==
=AcB9
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2018-12-12]
F5A63FD3EB26FB8DBB02BB03E5F01E2AD1082291
uid S (a) <a@a.q>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQT1pj/T6yb7jbsCuwPl8B4q0QgikQUCWzoqSwIdAAAKCRDl8B4q
0QgikWk1BADMOFTB+EA++KRJ2fykue5uPiHROp+wOkw6LyarVOdAo+imzl4PxKkE
RA/BD7G8gEWqk9lcEb/XZ+QGmnvmrQbyCr1kDrDVA86c9CIce/TDBif+XLsazIhR
FTtsvetBt6bOfW/wIUrBaBnMzCrlDaeDXEMcq1Geve3enQPOtOxACw==
=JVvM
-----END PGP PUBLIC KEY BLOCK-----
This is a revocation certificate for the OpenPGP key:
pub rsa1024 2018-07-02 [SCEA] [expires: 2020-12-12]
FD3F97FF3BA125B81A1E21CE154F8818EF4ACF2B
uid Mr. Shashank Kumar (My first key pair) <shashankkumar@gmail.com>
A revocation certificate is a kind of "kill switch" to publicly
declare that a key shall not anymore be used. It is not possible
to retract such a revocation certificate once it has been published.
Use it to revoke this key in case of a compromise or loss of
the secret key. However, if the secret key is still accessible,
it is better to generate a new revocation certificate and give
a reason for the revocation. For details see the description of
of the gpg command "--generate-revocation" in the GnuPG manual.
To avoid an accidental use of this file, a colon has been inserted
before the 5 dashes below. Remove this colon with a text editor
before importing and publishing this revocation certificate.
:-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This is a revocation certificate
iLYEIAEIACAWIQT9P5f/O6EluBoeIc4VT4gY70rPKwUCWzowbQIdAAAKCRAVT4gY
70rPK8UuA/wNEU6qIKBHs4hyDmlyN7qXFM+Ld0kIcT3Tb+7ZD5oei5qrgB1zWo1d
o44z5WHvCSussbTk+PlXje8PqhONwhycU+8sSLOLR8BCQhuDLKVWtlQLADawnPtK
TGacIqKceFZPIpZIqIr4huV/VU/CE9aBnWlh7czN+/nslo1UMhAWFg==
=9fKN
-----END PGP PUBLIC KEY BLOCK-----
......@@ -3,6 +3,7 @@ Class for SignUp Screen
'''
import logging
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
from kivy.clock import Clock
......@@ -25,24 +26,6 @@ class SignUp(BoxLayout, Screen):
'''
Declaration of SignUp Screen Class
'''
def __init__(self, **kwargs):
'''
Creating instance of vaidation class
Creating instance of updateBD class
'''
super().__init__(**kwargs)
def on_touch_down(self, touch):
'''
on_touch_down is triggered when user clicks the application anywhere
overiding this function here to perform actions on selection of menu items
'''
if self.ids['login_info'].collide_point(*touch.pos):
self.manager.transition.direction = 'down'
self.manager.current = 'signin'
return super().on_touch_down(touch)
def prompt_error_message(self, label, error_text):
'''
Displays error message on the UI on the respective label widget
......@@ -56,14 +39,14 @@ class SignUp(BoxLayout, Screen):
Replacing original text in label
delay time is defined by args[0]
'''
self.ids[label].text = original_text
self.ids[label].color = [1, 1, 1, 1]
logging.info(
'SignUp: \'%s\' changed to \'%s\' after %s seconds',
error_text,