Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
632a2a6
Added template files and vscode settings
Nov 20, 2022
d4a95fe
Added mongodb settings
Nov 20, 2022
6ce2f1d
Cleanup and Install.MD
Nov 24, 2022
cb14efc
Merge pull request #1 from VSangarya/readme
melonpii Nov 24, 2022
1c6e2d3
Added build file - GitHub Actions
Nov 24, 2022
27e3429
Update README.md
melonpii Nov 24, 2022
7208ee3
Changed password input and stored in db as hash
atharv67 Nov 26, 2022
6972b57
unique username fix
atharv67 Nov 26, 2022
85a2c87
added forum feature
atharv67 Nov 29, 2022
1db0be5
adjusted UI
atharv67 Nov 29, 2022
7bc9b99
adjusted UI
atharv67 Nov 29, 2022
37c7fb1
Autocomplete check v1
VSangarya Nov 30, 2022
46c6b88
l
VSangarya Nov 30, 2022
325d1ec
Edit route auto complete
VSangarya Nov 30, 2022
172f0c9
Update views.py
VSangarya Nov 30, 2022
c0f0e57
Merge branch 'main' into passwordstore
Nov 30, 2022
3fe0a36
Merge pull request #14 from VSangarya/passwordstore
VSangarya Nov 30, 2022
7b45922
Merge branch 'main' into auto-complete-check
Nov 30, 2022
7819ddd
fix gitignore
Nov 30, 2022
ea82276
Merge pull request #15 from VSangarya/auto-complete-check
shivangichopra10 Nov 30, 2022
032b0df
Remove unused imports
Dec 1, 2022
4b93169
Merge branch 'main' into ride-dependency
Dec 1, 2022
7c01dc7
Removed ride-route dependency
Dec 1, 2022
de5a247
Readd google places api
Dec 1, 2022
57d6be5
Rides can now be requested and approved
Dec 2, 2022
7dd458c
Autocomplete to source
VSangarya Dec 2, 2022
170fb80
Merge pull request #16 from VSangarya/ride-dependency
VSangarya Dec 2, 2022
1a7f543
Add map route for ride
VSangarya Dec 2, 2022
2223fe3
Merge pull request #19 from VSangarya/gmaps-route
atharv67 Dec 3, 2022
14ea198
Refactor code to remove unused methods and fix linter issues with doc…
Dec 3, 2022
3a46f41
Fixed codacy warnings
Dec 3, 2022
ee5dd69
Update README.md
melonpii Dec 4, 2022
3799e45
testcases for ride creation
Dec 4, 2022
b0e4135
Update README.md
Dec 4, 2022
136fedd
Update README.md
Dec 4, 2022
fe5ac04
Update README.md
melonpii Dec 4, 2022
c751542
More testcases for views added
Dec 4, 2022
796ea1e
Adding autodocs
qureshi-ali Dec 4, 2022
fade41b
Adding config file for workflow
qureshi-ali Dec 4, 2022
2d3033d
Update sphinx_autogenerator.yml
qureshi-ali Dec 4, 2022
0857042
Changing requests module
qureshi-ali Dec 4, 2022
3af5a8d
Merge branch 'adding_docs' of https://github.com/VSangarya/PackTravel…
qureshi-ali Dec 4, 2022
94b6439
Update sphinx_autogenerator.yml
qureshi-ali Dec 4, 2022
3eef490
Update sphinx_autogenerator.yml
qureshi-ali Dec 4, 2022
bbf86fb
Update conf.py
qureshi-ali Dec 4, 2022
8e16434
updating docs
qureshi-ali Dec 4, 2022
efe92b2
Add data for model training
VSangarya Dec 4, 2022
72cae77
Add model create code
VSangarya Dec 4, 2022
4e3e786
Add model predict code
VSangarya Dec 4, 2022
4673252
Update sphinx_autogenerator.yml
melonpii Dec 4, 2022
28df276
Update sphinx_autogenerator.yml
melonpii Dec 4, 2022
e2a225f
Update sphinx_autogenerator.yml
melonpii Dec 4, 2022
5f4cc21
updating docs
qureshi-ali Dec 4, 2022
9c9986e
remove images not in use
Dec 4, 2022
f82cca6
Rename model to cab_model
VSangarya Dec 4, 2022
3c89ef1
Generate and store trained model
VSangarya Dec 4, 2022
1531d4f
Update requirements.txt
VSangarya Dec 4, 2022
8912202
Correct file name
VSangarya Dec 4, 2022
3fb9f4b
Update requirements.txt
VSangarya Dec 4, 2022
f981c20
Update requirements.txt
VSangarya Dec 4, 2022
bdfa345
Merge pull request #22 from VSangarya/adding_docs
VSangarya Dec 4, 2022
aa1a743
Fix codacy issues
VSangarya Dec 4, 2022
fd878e9
Fix codacy issues
VSangarya Dec 4, 2022
ce8b316
Fix codacy issues
VSangarya Dec 4, 2022
1624c67
add tests to build pipeline
Dec 4, 2022
1d94e73
Merge branch 'main' into refactor
Dec 4, 2022
4ab2366
Fixed merge issues
Dec 4, 2022
d591199
Fix issue with mongo transactions
Dec 4, 2022
cf5116e
Update views.py
Dec 4, 2022
357f060
Merge pull request #23 from VSangarya/cab-price-model
shivangichopra10 Dec 4, 2022
d155a40
Merge pull request #21 from VSangarya/refactor
shivangichopra10 Dec 4, 2022
62e17ab
Fixed codacy warnings
Dec 4, 2022
1e64124
Setup auto-deployment on Azure and added docs for debugging
Dec 4, 2022
3baf29a
Update build.yml
Dec 4, 2022
e254f72
Update README.md
melonpii Dec 4, 2022
9ce60f0
Merge pull request #24 from VSangarya/cleanup
shivangichopra10 Dec 5, 2022
4534f1f
Add ride distance
shivangichopra10 Dec 5, 2022
2708bdf
Add ride distance
shivangichopra10 Dec 5, 2022
5427cd7
Add ride distance
shivangichopra10 Dec 5, 2022
585ab67
Add ride distance
shivangichopra10 Dec 5, 2022
c1971b6
Add ride duration
shivangichopra10 Dec 5, 2022
24dab36
Update deploy.yml
melonpii Dec 5, 2022
4e21f40
Modify prediction result format
VSangarya Dec 5, 2022
6258be5
Modify ride details to include cab costs
VSangarya Dec 5, 2022
85fec03
Modify show ride html
VSangarya Dec 5, 2022
7657964
Merge branch 'show_rides_details' of https://github.com/VSangarya/Pac…
VSangarya Dec 5, 2022
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
29 changes: 29 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the problem**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Actual behavior**
A concise description of what happens when you reproduce the behavior.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
OS: e.g. Linux, Windows, macOS

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''

---

**What problem do you want to solve? Please describe.**
A clear and concise description of what the problem is. Ex. I want to see names of unique listening ports across my organization.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
51 changes: 51 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Workflow name
name: Build

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events for the "main" branch
push:
branches: ["main"]
pull_request:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
- name: Install Python Dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run linter on source files
run: |
pylint --verbose --rcfile=pylintrc user/*
pylint --verbose --rcfile=pylintrc publish/*
pylint --verbose --rcfile=pylintrc request/*
pylint --verbose --rcfile=pylintrc search/*

- name: Run django tests
run: |
echo "database:" > config.yml
echo " endpoint: packtravel.cyumok3.mongodb.net/?retryWrites=true&w=majority" >> config.yml
echo " username: ${{secrets.DB_USERNAME}}" >> config.yml
echo " password: ${{secrets.DB_PASSWORD}}" >> config.yml
coverage run --source=user,publish,request,search ./manage.py test
coverage xml --data-file .coverage -o coverage.xml
coverage report --data-file .coverage -m

- name : Send test coverage report
run: |
pip install codacy-coverage
export CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_TOKEN }}
export CODACY_API_TOKEN=${{ secrets.CODACY_API_TOKEN }}
export CODACY_USERNAME=VSangarya
export CODAY_PROJECT_NAME=PackTravel
python-codacy-coverage -r coverage.xml
44 changes: 44 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Workflow name
name: Deploy

# Controls when the workflow will run
on:
# Triggers the workflow on push request events for the "main" branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
AZURE_WEBAPP_NAME: PackTravel # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install Python Dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Building web app
uses: azure/appservice-build@v2

- name: Deploy web app on Azure
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
3 changes: 3 additions & 0 deletions .github/workflows/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PR template
* Give a concise summary and a short description of what changed in files that have beed added/modified.
* Link related issues to PR.
23 changes: 0 additions & 23 deletions .github/workflows/pylint.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/python_style_checker.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/python_syntax_check.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/sphinx_autogenerator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: sphinx-autogenerator

on:
# Triggers the workflow on push or pull request events for the "main" branch
push:
branches: ["adding_docs"]
pull_request:
branches: ["adding_docs"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build documentation and commit
run: |
git pull origin adding_docs
python -m pip install --upgrade pip
pip install -r requirements.txt
sudo apt-get install python3-sphinx
sphinx-apidoc -f -o docs/source PackTravel
sphinx-apidoc -f -o docs/source publish
sphinx-apidoc -f -o docs/source request
sphinx-apidoc -f -o docs/source search
sphinx-apidoc -f -o docs/source user
cd docs/
make html
cd ..
git config --global user.name "qureshi-ali"
git config --global user.email "qureshi.ali@outlook.com"
git add .
git commit -m "updating docs" -a || true
git push -u origin adding_docs
# ===============================
16 changes: 0 additions & 16 deletions .github/workflows/testcases.yml

This file was deleted.

Loading