Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete refactoring of Question-Contribution website #3

Open
wants to merge 80 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
f4e3627
Backup for emergency
maheshgudi Mar 8, 2018
84af409
Change question form in add_question.html
adityacp Mar 8, 2018
d32c717
Add requirements.txt
maheshgudi Mar 8, 2018
7dc9393
Add stdio test cases error notifications
maheshgudi Mar 8, 2018
a87b8e1
Show success for correct testcase
maheshgudi Mar 9, 2018
5b38d05
Allow citation to be null
maheshgudi Mar 9, 2018
f4f5835
Remove user dir; Default to yaksh setting.
maheshgudi Mar 9, 2018
29978f6
Merge pull request #1 from maheshgudi/backup
maheshgudi Mar 9, 2018
4576086
Add documentation and settings
adityacp Mar 9, 2018
0e5254b
Merge branch 'master' into backup
maheshgudi Mar 9, 2018
94e4c15
Merge pull request #2 from maheshgudi/backup
maheshgudi Mar 9, 2018
ccce513
Merge pull request #3 from maheshgudi/backup
maheshgudi Mar 9, 2018
1325164
Change doc
maheshgudi Mar 9, 2018
fc9842b
Merge pull request #4 from maheshgudi/backup
maheshgudi Mar 9, 2018
d756668
Update docs
maheshgudi Mar 9, 2018
69b713c
Merge pull request #5 from maheshgudi/backup
maheshgudi Mar 9, 2018
3094c2a
Add MakeFile to docs
maheshgudi Mar 9, 2018
9c723eb
Merge pull request #6 from maheshgudi/backup
maheshgudi Mar 9, 2018
97178ef
Update documentation
adityacp Mar 13, 2018
660c179
Change in files
adityacp Mar 13, 2018
e9ccfff
Add info on adding new testcase
maheshgudi Mar 14, 2018
e1972ba
Merge pull request #8 from maheshgudi/backup
maheshgudi Mar 14, 2018
3f52730
WIP: Allow moderator to see questions
maheshgudi Mar 22, 2018
9c83d50
Merge pull request #9 from maheshgudi/backup
maheshgudi Mar 22, 2018
709110a
User cannot see other users' questions
maheshgudi Mar 22, 2018
96bf8be
Merge pull request #10 from maheshgudi/backup
maheshgudi Mar 22, 2018
4ba4e7b
Add review models
maheshgudi Mar 23, 2018
19d7cf5
Fix bug to atleast 5 questions
maheshgudi Mar 26, 2018
279f7b7
Do not allow more than 5 questions
maheshgudi Mar 26, 2018
02d0d85
Merge pull request #11 from maheshgudi/backup
maheshgudi Mar 26, 2018
5fba648
Review interface for users
adityacp Mar 27, 2018
7312bd4
Add admin feature to add/remove users from reviewer group
maheshgudi Mar 27, 2018
6a803ab
Merge pull request #12 from maheshgudi/backup
maheshgudi Mar 27, 2018
4d857ee
Merge branch 'master' of https://github.com/maheshgudi/contribute-que…
maheshgudi Mar 27, 2018
90d8b03
Allot review questions to reviewers and allow reviewers to check ques…
maheshgudi Mar 28, 2018
f666b87
Merge templates folder into static folder
maheshgudi Apr 4, 2018
d20de23
Make PEP8 changes
maheshgudi Apr 4, 2018
a904d42
Add admin feature to check and update all questions
maheshgudi Apr 6, 2018
8595d65
Merge pull request #14 from maheshgudi/update_question_status
maheshgudi Apr 6, 2018
2f0377b
Review interface for users
adityacp Mar 27, 2018
68e3f70
Allot review questions to reviewers and allow reviewers to check ques…
maheshgudi Mar 28, 2018
06c5635
Merge templates folder into static folder
maheshgudi Apr 4, 2018
bc774ee
Make PEP8 changes
maheshgudi Apr 4, 2018
5727063
Check user solution to solve question
maheshgudi Apr 4, 2018
46d14f9
Modify model and create check answer feature
maheshgudi Apr 5, 2018
ecef645
Add skip review feature to reviewers
maheshgudi Apr 6, 2018
e439467
Allow reviewers to submit review or skip
maheshgudi Apr 6, 2018
d468b76
Merge pull request #13 from maheshgudi/questions_review
maheshgudi Apr 6, 2018
99cad6f
Rebase changes for review questions
maheshgudi Apr 6, 2018
f1cad68
Allow reviewers to submit ratings and reviews
maheshgudi Apr 6, 2018
1b3ee5c
Change button to submit review instead of check answer on submitting …
maheshgudi Apr 8, 2018
e702f5b
Merge pull request #15 from maheshgudi/check_solution
maheshgudi Apr 8, 2018
71f7d53
Fix bug to display multiline solution in Code mirror
adityacp Apr 9, 2018
47c9c7a
Merge pull request #16 from maheshgudi/check_solution
adityacp Apr 9, 2018
9eab594
Add users to reviewer group on login
maheshgudi Apr 9, 2018
8700dcd
Merge pull request #17 from maheshgudi/check_solution
maheshgudi Apr 9, 2018
aff6b88
Merge branch 'check_solution' of https://github.com/maheshgudi/contri…
adityacp Apr 9, 2018
597a0f5
Fix a bug to get moderator question
adityacp Apr 9, 2018
1c05cca
Merge pull request #18 from maheshgudi/check_solution
adityacp Apr 9, 2018
9ee1388
Bugfix for adding questions in question bank
maheshgudi Apr 9, 2018
e796223
Merge branch 'master' of https://github.com/maheshgudi/contribute-que…
maheshgudi Apr 9, 2018
c0766bf
Merge pull request #19 from maheshgudi/check_solution
maheshgudi Apr 9, 2018
124a747
Add instructions for reviewing question
maheshgudi Apr 9, 2018
e44c97d
Merge pull request #20 from maheshgudi/check_solution
maheshgudi Apr 9, 2018
afc2d1a
Add only non reviewers in review group
maheshgudi Apr 9, 2018
27276ad
Merge pull request #21 from maheshgudi/check_solution
maheshgudi Apr 9, 2018
7c32066
Add search for questions in admin interface
maheshgudi Apr 12, 2018
3205291
Update average ratings for questions
maheshgudi Apr 12, 2018
8f1ce4a
Merge pull request #22 from maheshgudi/divide_moderator_questions
maheshgudi Apr 12, 2018
e1f0688
Divide questions between moderators
maheshgudi Apr 16, 2018
0b82b93
Merge pull request #23 from maheshgudi/divide_moderator_questions
maheshgudi Apr 16, 2018
fd2adbf
Close submissions for reviewers
maheshgudi Apr 21, 2018
7bcbb7d
Merge pull request #24 from maheshgudi/close_submissions
maheshgudi Apr 21, 2018
301a06b
Get question unreviewed by moderators for students who have fullfille…
maheshgudi Apr 25, 2018
634fd6c
Merge pull request #25 from maheshgudi/unreviewed_questions
maheshgudi Apr 25, 2018
e5ed0fd
Add google analytics
maheshgudi Apr 26, 2018
81913de
Merge pull request #26 from maheshgudi/analytics
maheshgudi Apr 26, 2018
eaffd19
Check if review is completed
maheshgudi Apr 26, 2018
77fb95d
Merge pull request #27 from maheshgudi/analytics
maheshgudi Apr 26, 2018
28b4274
Show all questions to admin
maheshgudi Nov 2, 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
225 changes: 225 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# Makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " applehelp to make an Apple Help Book"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " epub3 to make an epub3"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " xml to make Docutils-native XML files"
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " coverage to run coverage check of the documentation (if enabled)"
@echo " dummy to check syntax errors of document sources"

.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*

.PHONY: html
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

.PHONY: dirhtml
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."

.PHONY: singlehtml
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."

.PHONY: pickle
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."

.PHONY: json
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."

.PHONY: htmlhelp
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."

.PHONY: qthelp
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Yaksh.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Yaksh.qhc"

.PHONY: applehelp
applehelp:
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
@echo
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
@echo "N.B. You won't be able to view it unless you put it in" \
"~/Library/Documentation/Help or install it in your application" \
"bundle."

.PHONY: devhelp
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/Yaksh"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Yaksh"
@echo "# devhelp"

.PHONY: epub
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."

.PHONY: epub3
epub3:
$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
@echo
@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."

.PHONY: latex
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."

.PHONY: latexpdf
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

.PHONY: latexpdfja
latexpdfja:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through platex and dvipdfmx..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

.PHONY: text
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."

.PHONY: man
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."

.PHONY: texinfo
texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."

.PHONY: info
info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."

.PHONY: gettext
gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."

.PHONY: changes
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."

.PHONY: linkcheck
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."

.PHONY: doctest
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."

.PHONY: coverage
coverage:
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
@echo "Testing of coverage in the sources finished, look at the " \
"results in $(BUILDDIR)/coverage/python.txt."

.PHONY: xml
xml:
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
@echo
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."

.PHONY: pseudoxml
pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

.PHONY: dummy
dummy:
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
@echo
@echo "Build finished. Dummy builder generates no files."
Loading