Contains the Complaint Portal for Internet Related Problems in BPHC.
See CONTRIBUTING.md
.
Complaint Portal for Internet Related Problems in BPHC.
Contains the Complaint Portal for Internet Related Problems in BPHC.
See CONTRIBUTING.md
.
1.4:30-5:30 slot is being sent to backend as 4:30 am to 5:30 am
2.12 to 1:30 slot not being accepted at the backend.
1.The register complaint form is not sending bhavan name to the backend.It just sends the room number.
2.Display Bhavan name to users and staff at all places with the complaints.
3.Don't display urgency and urgency reason to users while showing them their complaints.
Code Quality Issues
time
and date
are not supported in firefox and need to be changed to some other form.login1.html
, login11.html
, previous-request-old.html
etcdjango has been misspelled as dajngo in line 155
Add a cancel button with the previous complaints and requests for the user to cancel their previous, open complaints.
In the html and js files the values for category Wifi should be WF(given in the models) and likewise.
Apply these changes for the unblock request form also
Environment:
Request Method: POST
Request URL: http://localhost:8000/complaints/resolve-tickets/
Django Version: 2.2.4
Python Version: 3.7.2
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.google',
'users',
'complaints',
'pages',
'widget_tweaks']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\handlers\exception.py" in inner
34. response = get_response(request)
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\handlers\base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\handlers\base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
21. return view_func(request, *args, **kwargs)
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
21. return view_func(request, *args, **kwargs)
File "C:\Users\deepak\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
21. return view_func(request, *args, **kwargs)
File "C:\Users\deepak\Downloads\ccit\ccit-portal\complaints\views.py" in handle_complaint
95. form_obj.save()
File "C:\Users\deepak\Downloads\ccit\ccit-portal\complaints\models.py" in save
65. self.avail_start_time.hour + 1,
Exception Type: AttributeError at /complaints/resolve-tickets/
Exception Value: 'NoneType' object has no attribute 'hour'
This feature will send a mail-
1.Make a new tab to display only the urgent complaints .
2.Add Pagination to it.
1.Set proper category names to be displayed to the user and also to be stored in the database.
2.Remove CATEGORY_4
Url validation in UnblockRequest does not take all urls and also requires there to be a protocol. This isn't very user friendly
We need a favicon for the site. Just a shrunk down CCIT logo will work
Create unblock_request form, view and model
The current code deviates from the PEP8 Guidelines in some cases (class names, line length exceeding 88 chars, etc.) Run the project files through black
formatter, and go through PEP8.
Remarks to user
is an editable text fieldmy complaints
My complaints
does not show the url unblock requests
.Use Django templates for sending emails
1.Complaints at odd times eg 2 am to 6 am being accepted.
2.Complaints with Sundays and saturdays as availbility days being accepted.
3.Complaints with avail_time on the same day before filing the complaint being accepted.
1.The pop up hides the validation error messages.
To fix this make it such that the pop up comes up when the user selects the complaint category.
2.There is no validation in the frontend that the room number must be an integer field.
3.For the staff and nucleus members it still displays 'My complaints' in the All complaints Tab
Add specific permissions for management and technical members
The complete box of Google is not a link.
The current Complaint and UnblockRequest Models do not have the correct validations and constraits, resulting in errors on saving.
1.No complaint can be cancelled,resolved etc as there is a bug in validation
2.Improper validation message is shown when user fills up the unblock request form incorrectly.
The fields should show the full word of the category and status to the user. The short forms are just an implementation detail, hidden from the user.
Frontend phone number checker has arbritary limits on phone number length.
They do not allow numbers like +91-9999999999
Using django all-auth library to use Google OAuth Services
After submission, it shows 'UnblockRequest' object has no attribute 'remark'
.
Need to specify the python dependencies for the project so that set up is reproducible. We should use Pipenv.
The Hostel list in Register complaint page should respect arrow keys navigation to select the options.
Adding view for handling complains for staff users
main.js
to validate contact number is different from the one used in backend. Change the one in main.js
to match the PHONE_REGEX
in Complaint
model.://
, don't worry if the protocol is valid or not).('#option').change
. Remove them.1.No message when staff/nucleus performs some action
2.Wrong Sorting of Unblock Requests
3.No proper display of who cancelled the issue to the user
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.