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

Including Leaves in Mess Excel sheet to weed out redundancies #75

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
02946f5
Models updated and profiles pushed
SebastinSanty Oct 31, 2017
bbc4eb8
Requirements added
SebastinSanty Oct 31, 2017
2c5867b
Fix user login
sharanry Oct 31, 2017
39aea15
GraphQL added successfully
SebastinSanty Nov 3, 2017
5c38b5f
All data inserted in SWD
SebastinSanty Nov 5, 2017
1b4f0c0
Add admin search fields
SebastinSanty Nov 5, 2017
0132359
React Added
SebastinSanty Nov 5, 2017
1786ff2
Add all models to admin
SebastinSanty Nov 8, 2017
08549ac
Add backup dashboard
SebastinSanty Nov 28, 2017
82971a1
Profile and Dashboard done
SebastinSanty Dec 9, 2017
0dffb0b
Contribution Guidelines
SebastinSanty Dec 19, 2017
e58efac
Remove unwanted templates
SebastinSanty Dec 19, 2017
0e99fc8
Implementing Mess option (#4)
SebastinSanty Dec 24, 2017
3cefede
Implementation Leave Module (#5)
SebastinSanty Dec 25, 2017
5591133
Implement Leave Status
SebastinSanty Dec 25, 2017
bf378b3
Bonafide certificates implemented
SebastinSanty Dec 25, 2017
cb6597f
Add React, Configure Apollo, Add REST framework for authentication (#3)
sharanry Dec 25, 2017
80d4838
Final UI update
SebastinSanty Dec 25, 2017
1c3a467
Change SideNav to TopNav
SebastinSanty Dec 26, 2017
e156d56
Initialize Bonafide PDF generation
SebastinSanty Dec 26, 2017
a26520b
Bonafide Complete except Cosmetics
SebastinSanty Dec 27, 2017
118cc5a
Update requirements.txt to include pdf generation
SebastinSanty Dec 28, 2017
a6c33bd
Make admin more user friendly (#13)
sharanry Dec 29, 2017
674eafd
Create Login/Logout Page using MaterializeCSS (#14)
adi10197 Dec 29, 2017
63587ad
Bonafide PDF action button (#16)
sharanry Dec 30, 2017
3d4a235
App specific urls moved to main/urls.py (#17)
adi10197 Dec 31, 2017
b739294
Add Warden Interface
SebastinSanty Dec 31, 2017
512cb2f
Minor Mistake solved in BonafidePDFView
SebastinSanty Jan 1, 2018
cdc808d
Login validation and basic login/logout (#9)
0xRampey Jan 2, 2018
92161d4
Design new dashboard page (#20)
adi10197 Jan 4, 2018
4a930c9
Connect with authentication server for password verification
SebastinSanty Jan 6, 2018
5c644cc
Data Import done + Removed BonafidePDFView temporarily for server setup
SebastinSanty Jan 9, 2018
ceb3f57
Revert "Data Import done + Removed BonafidePDFView temporarily for s…
adi10197 Jan 11, 2018
e13788b
Create a production ready (deployable on demand) code (#26)
SebastinSanty Jan 13, 2018
851ae45
Add CGPA, Address, other_info
SebastinSanty Jan 13, 2018
c9e381c
Leave Model updated
SebastinSanty Jan 15, 2018
26bf421
Fixed Change of Mess and Dashboard status for Leave and Bonafide (#44)
DMak21 Jan 19, 2018
83d4e79
Edit homepage, login page and add badges (#47)
adi10197 Jan 19, 2018
69ee130
New model for warden + Auth separation (#48)
adi10197 Jan 24, 2018
745af73
Implement DayPass and remove AH4 hardcoding (#23)
adi10197 Jan 26, 2018
dc3f08a
Bonafide Data Import
SebastinSanty Feb 1, 2018
28666e1
Leaves Data Import
SebastinSanty Feb 2, 2018
7f91500
Instructions to import data in README.md
SebastinSanty Feb 10, 2018
cff25a5
Need ModelBackend for creating superusers in db
SebastinSanty Feb 12, 2018
2454a12
Calculate Mess Rebate for Leaves
SebastinSanty Feb 21, 2018
e9f2a0d
Prod changes for collectstatic Error (#61)
SebastinSanty Feb 21, 2018
6586aab
Remove static and add assets outside
SebastinSanty Feb 21, 2018
2fafc12
Add Sidebar navigation and About SWD page (#15)
0xRampey Feb 21, 2018
38f478e
MessBill dynamic date + segregation
SebastinSanty Feb 21, 2018
3da1df0
Limited Bonafide Certificates to 3 per semester (#63)
sarthakag Feb 22, 2018
6a67798
Provision to print mess wise complete data
SebastinSanty Feb 22, 2018
1d7e000
Upgrade django to 2.0.2 from 1.11.6 (#65)
sharanry Feb 22, 2018
5da5a4b
Bonafide printing using HTML (#68)
sarthakag Feb 25, 2018
d84b596
Date validations done in Leave and DayPass. Errors shown in form. (#52)
adi10197 Feb 27, 2018
f829070
Including Leaves in Mess Excel sheet to weed out redundancies
adi10197 Mar 10, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
*.sublime-project
*.sublime-workspace
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,45 @@
# swd_django
# Web Application for SWD BITS Goa

## About

The main repository for the development of SWD web application of BITS Goa.

## Installation

* Assuming you have python 3.4 already installed, go to the desired folder on your machine and follow these commands to clone the repository and install dependencies in a virtual environment:

```
$ virtualenv swd
$ cd swd
$ source bin/activate
$ git clone https://github.com/SebastinSanty/swd_django src
$ cd src/swd
$ pip install -r requirements.txt
```
NOTE for windows in the 3rd line use:
```
$ swd\Scripts\activate
```

* db.sqlite3 is the database for this repository, you can delete that if you want to start with a fresh database and follow: (But not required and can skip this step)

```
$ python manage.py migrate
```

* Create a superuser for admin controls (accessible at localhost:8000/admin)

```
$ python manage.py createsuperuser
```

* Run the server and access at localhost:8000

```
$ python manage.py runserver
```

## Importing Data

To import data, there are a set of scripts created. On hitting the urls mentioned in [swd/swd/urls.py#L52-L58](https://github.com/SebastinSanty/swd_django/blob/master/swd/swd/urls.py#L52-L58), the data will get imported. Please be patient as there are ~9000 records to be inserted. You don't necessarily need to use all the data. Scripts are designed to handle failures, so no worries :). If you need more data, just hit the url again.

4 changes: 4 additions & 0 deletions swd/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["es2015"]
}

12 changes: 12 additions & 0 deletions swd/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.log
*.pot
*.pyc
__pycache__/
local_settings.py

.env
db.sqlite3
node_modules
migrations
config.py
static
Loading