Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
089ae03
Templates added for testing on test server
Dec 22, 2016
b66b7bd
Error message for unregistered email id
Dec 22, 2016
7b4e6e1
Email Template changed
Dec 22, 2016
a2f6f89
Skip feedback button chaged
Dec 23, 2016
7e6ba80
Email text rendering issues resolved
Dec 23, 2016
aae9289
Changes suggested byy Kiran
Jan 2, 2017
3694d9c
Input box made Responsive
Jan 2, 2017
e451034
Changes
Jan 2, 2017
82e9e35
Skip feedback removed in scipy2016
Jan 3, 2017
91d11ec
Contact line added on download page
Jan 3, 2017
fda702a
changes in scipy 2016 feedback form
Jan 4, 2017
1ce34bb
OpenModelica Certificates
Jan 20, 2017
a4f05e8
Merge pull request #18 from FOSSEE/openmodelica
priyankabhagwat Jan 20, 2017
4b37748
Python Workshop Certificates added
Jan 23, 2017
2559c16
Merge pull request #19 from FOSSEE/openmodelica
priyankabhagwat Jan 23, 2017
b125fab
Modified Python Workshop Template
Jan 25, 2017
80492a4
Merge pull request #20 from FOSSEE/openmodelica
priyankabhagwat Jan 30, 2017
9a34462
Update Python_Workshop model to allow null ws_date field
ankitjavalkar Feb 6, 2017
9a5f1c9
Fixed stray True value
ankitjavalkar Feb 6, 2017
4c269f0
Added new field and a condition to create coordinator certificate
binson-b May 8, 2017
a3a9b1a
Merge branch 'master' of https://github.com/FOSSEE/certificate-genera…
binson-b May 8, 2017
8655f9d
Coordinator certificate template
binson-b May 8, 2017
d6cb03e
new template for coordinator certiicate
binson-b May 8, 2017
5244cf5
Merge pull request #21 from binson-b/coordinator_certificate
prathamesh920 May 8, 2017
51dfc38
3 day ceritificate included
arunkp1986 Jun 14, 2017
0e9aed6
removed print statment in views
arunkp1986 Jun 14, 2017
d84cfd3
commented 3 day model
arunkp1986 Jun 16, 2017
e95eb20
corrected html based on review comment
arunkp1986 Jun 20, 2017
207efdb
Merge pull request #23 from arunkp1986/3daycertificate
ankitjavalkar Jun 20, 2017
8e1c4a4
implemented verify for 3day workshop
arunkp1986 Jun 21, 2017
abe7fb4
Merge pull request #24 from arunkp1986/3daycertificate
ankitjavalkar Jun 23, 2017
21cd5e6
fossee_internship: downloadfile's year will be fetched from duration …
binson-b Jun 29, 2017
8218556
added virtualenv folder to gitignore
binson-b Sep 27, 2017
c8fd5bc
addde footer with fossee and iitb logo and contacts
binson-b Sep 28, 2017
3eddda1
added static folder for social_media icons, added related weblinks
binson-b Sep 29, 2017
15ca81e
scipy2017 interface working
binson-b Nov 22, 2017
2ad3e9b
latex text adjustment and reduced 4 scipy tables to one with attendee…
binson-b Nov 25, 2017
15963d7
certificate working
binson-b Nov 29, 2017
2afa6a6
templatefiles and setting changed
binson-b Nov 29, 2017
ba84e5d
modified template pages
binson-b Nov 29, 2017
9e17f13
issue resolved and verfiy checked
binson-b Nov 29, 2017
424c41e
Merge pull request #26 from binson-b/scipy2017
prathamesh920 Nov 29, 2017
a88467e
added feedback form, new sign and removerd verify at from qrcode
binson-b Dec 4, 2017
779df72
certificate/templates/scipy_feedback_2017.html
binson-b Dec 4, 2017
8c0e279
removed scipy 2017 download link
binson-b Dec 4, 2017
5975837
Merge pull request #27 from binson-b/scipy2017
prathamesh920 Dec 4, 2017
004013b
Error popup added for duplicate email ids
binson-b Dec 5, 2017
6a33e7d
message for dulicpate id changed
binson-b Dec 5, 2017
aa6d989
removed print statement
binson-b Dec 5, 2017
0e465fe
Merge pull request #28 from binson-b/scipy2017
prathamesh920 Dec 5, 2017
91c20a9
change:osdag_ws certifcate to download certificate certificate
binson-b Feb 6, 2018
0e34db2
update: views to print year in template
binson-b Feb 13, 2018
0c59194
add: allowed host if debug is False
binson-b Feb 13, 2018
7965a14
change: updated as per comments
binson-b Feb 13, 2018
a629806
update: views.py to choose latest certifcate
binson-b Mar 1, 2018
7033845
update: SEL in verify and python_workshop_download
binson-b Mar 7, 2018
67d0005
update: selflearning mode
binson-b Mar 8, 2018
54f3670
update: models with start_date and end_date; add: date field in osdag…
binson-b Mar 8, 2018
7b31958
update: python certificate download with date and drop down category
binson-b Mar 9, 2018
ccc0a9b
update: ws_date in user filter
binson-b Mar 9, 2018
7623813
update: made input field required
binson-b Mar 9, 2018
5f73820
update: width and height for input field
binson-b Mar 9, 2018
ab8173a
Merge pull request #29 from binson-b/scipy2016
prathamesh920 Mar 12, 2018
d04af4b
conflits resovled
binson-b Mar 12, 2018
1a91575
conflict resolved
binson-b Mar 12, 2018
b6b9c6b
Merge pull request #30 from binson-b/self_learning_python
prathamesh920 Mar 12, 2018
2ad9281
added message for failed students and contact form
arunkp1986 Mar 19, 2018
7136f25
added WS_Date and Name to message
arunkp1986 Mar 20, 2018
59ae00a
update: date format to be printed in certificate changed Ex:from 01 J…
binson-b Mar 20, 2018
aa23314
Merge pull request #31 from binson-b/scipy2016
prathamesh920 Mar 20, 2018
cf1e43a
Included Workshop type in form
arunkp1986 Mar 21, 2018
874567d
changed to email address to certificates@fossee.in and synced setting…
arunkp1986 Mar 22, 2018
60cfc3e
removed commented code lines
arunkp1986 Mar 22, 2018
3101d75
implemented PR comments PEP8 compliance, separate css file
arunkp1986 Mar 23, 2018
c53cb9c
resolved PR conflict
arunkp1986 Mar 26, 2018
6861215
resolved PR conflict
arunkp1986 Mar 26, 2018
afea953
resolved PR conflict
arunkp1986 Mar 26, 2018
29f6065
Merge pull request #32 from arunkp1986/failed_students
prathamesh920 Mar 26, 2018
fa97a49
drupal in a day workshop certificated generated
binson-b May 7, 2018
0690020
removed comments altered date and status field in drupal_ws model
binson-b May 7, 2018
81dea9a
Merge pull request #33 from binson-b/scipy2016
prathamesh920 May 7, 2018
888c5d1
certificate to fossee fellows 2018
binson-b Jul 20, 2018
5df9e65
Merge branch 'scipy2016' of https://github.com/FOSSEE/certificate-gen…
binson-b Jul 20, 2018
7e122c9
remove: intership 2015 link from urls and index
binson-b Jul 23, 2018
79d7d7a
delete: fossee_internship_cerificate_download.html ; update: create i…
binson-b Jul 27, 2018
2e0ed09
update:method to find the year from internship duration; remove: the …
binson-b Jul 30, 2018
8934023
update: removed "Verify aat" from python certificate and internship c…
binson-b Jul 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
*.swo
*.swp
local.py
env/*
*.sqlite3
21 changes: 21 additions & 0 deletions certificate/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django import forms
from certificate.models import FeedBack
import datetime

class FeedBackForm(forms.Form):
name = forms.CharField(max_length=30)
Expand All @@ -16,3 +17,23 @@ class FeedBackForm(forms.Form):
# (max_length=30, required=False)
#state = forms.CharField\
# (max_length=128)

email_subject_choice = [
('Certificate not Awarded','Certificate not Awarded'),
('Change in Name','Change in Name'),
('Issue with Workshop Date','Issue with Workshop Date'),
('Invalid Email Address','Invalid Email Address'),
('Others','Others')]
ws_type_choice = [
('iscp','Introduction to Scientific Computing using Python(ISCP)'),
('3day','Basic Programming using Python'),
('sel','Self Learning(Basics of Python)')]

class ContactForm(forms.Form):
name = forms.CharField(label= 'Full Name',max_length=30)
email = forms.EmailField()
date = forms.DateField(label="Workshop Date",initial=datetime.date.today)
category = forms.CharField(widget=forms.Select(choices=ws_type_choice))
subject = forms.CharField(widget=forms.Select(choices=email_subject_choice))
message = forms.CharField(label='Message',widget=forms.Textarea)

68 changes: 0 additions & 68 deletions certificate/migrations/0001_initial.py

This file was deleted.

20 changes: 0 additions & 20 deletions certificate/migrations/0002_certificate_name.py

This file was deleted.

51 changes: 51 additions & 0 deletions certificate/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.db import models
from django.contrib.auth.models import User
from datetime import datetime
# Create your models here.

events = (
Expand All @@ -16,6 +17,9 @@
('OWS', 'Osdag Workshop'),
('EWS', 'eSim Workshop'),
('DRP', 'Drupal Workshop'),
('OMW', 'OpenModelica Workshop'),
('PWS', 'Python Workshop'),
('S17', 'Scipy 2017 Conference')
)

class Profile(models.Model):
Expand Down Expand Up @@ -159,12 +163,22 @@ class Esim_faculty(models.Model):
class Osdag_WS(models.Model):
name = models.CharField(max_length=200)
email = models.EmailField()
college = models.CharField(max_length=200, null=True, blank=True)
start_date = models.DateField(default='2016-01-01')
end_date = models.DateField(default='2016-01-01')
purpose = models.CharField(max_length=10, default='OWS')

class Drupal_WS(models.Model):
name = models.CharField(max_length=200)
email = models.EmailField()
purpose = models.CharField(max_length=10, default='DRP')
status = models.BooleanField(default=False)
date = models.DateField(default='2016-01-01')

class OpenModelica_WS(models.Model):
name = models.CharField(max_length=200)
email = models.EmailField()
purpose = models.CharField(max_length=10, default='OMW')

class eSim_WS(models.Model):
name = models.CharField(max_length=200)
Expand Down Expand Up @@ -218,6 +232,28 @@ class OpenFOAM_Symposium_speaker_2016(models.Model):
paper = models.CharField(max_length=300)
purpose = models.CharField(max_length=10, default='OFC')

class Python_Workshop(models.Model):
name = models.CharField(max_length=300)
email = models.CharField(max_length=300)
paper = models.CharField(max_length=300) #grades
purpose = models.CharField(max_length=10, default='PWS')
college = models.CharField(max_length = 200)
ws_date = models.CharField(max_length = 100, null=True, blank=True)
is_coordinator = models.BooleanField(default=False)


class Python_Workshop_BPPy(models.Model):
"""
3day python workshop user details
"""
name = models.CharField(max_length=300)
email = models.CharField(max_length=300)
paper = models.CharField(max_length=300) #grades
purpose = models.CharField(max_length=10, default='PWS')
college = models.CharField(max_length = 200)
ws_date = models.CharField(max_length = 100, null=True, blank=True)
is_coordinator = models.BooleanField(default=False)


class Internship_participant(models.Model):
name = models.CharField(max_length=200)
Expand All @@ -239,3 +275,18 @@ class Internship16_participant(models.Model):
project_title = models.CharField(max_length=1000)
internship_project_duration = models.CharField(max_length=500, null=True, blank=True)
purpose = models.CharField(max_length=10, default='F16')


attendee_types = (
('P','Participants'),
('A','Speaker'),
('W','Workshop'),
('T','Organizers')
)

class Scipy_2017(models.Model):
name = models.CharField(max_length=300)
email = models.CharField(max_length=300)
paper = models.CharField(max_length=300)
purpose = models.CharField(max_length=10, default='S17')
attendee_type = models.CharField(max_length=25, choices=attendee_types)
36 changes: 36 additions & 0 deletions certificate/openmodelica_workshop_template/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Makefile for Certificate

# bashful package available @
# http://www.ctan.org/tex-archive/macros/latex/contrib/bashful

# pst-barcode package available @
# http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-barcode

# target is not a real file
.PHONY: help certificate clean

# following line is because on server texlive is not installed system-wide
export PATH := /usr/local/texlive/2015/bin/x86_64-linux:$(PATH)
# default help
help:
@echo "current make version is: "$(MAKE_VERSION)
@echo "Please use \`make <target>' where <target> is one of"
@echo ""
@echo "participant_cert file_name=xyz Generate certificate."
@echo "clean clean all tmp and pdf files."
@echo "help Show this help."
@echo ""

name = $(file_name)

# certificate
participant_cert: $(name).tex bashful.sty
pdflatex -shell-escape $(name).tex

paper_cert: $(name).tex bashful.sty
pdflatex -shell-escape $(name).tex

clean:
@echo "removing all tmp+pdf files"
-rm -rvf $(name)*.pdf *~ $(name).aux $(name).log $(name).tex *.vrb *.out *.toc *.nav *.snm
-rm -rvf *.std* *.sh
Loading