PilarEase - An Emotional Support Platform for Pilar College students, providing resources and a supportive community to foster emotional well-being.
PilarEase Home |
Login Interface |
Register Interface |
Profile Setting |
Avatar Options |
Password Manager |
Chat Interaction |
Manage Referral |
Profanity Filtering |
PilarEaseDJO is a Django-based emotional support platform designed to help Pilar College students manage their emotional well-being. The platform provides features such as emotion-based status posting, sentiment analysis, chatbot assistance, and administrative tools. PilarEase leverages machine learning to create a supportive and secure environment for students.
To begin, clone the PilarEaseDJO repository:
git clone https://github.com/KCprsnlcc/PilarEaseDJO.git
cd PilarEaseDJO
It’s recommended to use a Python virtual environment to manage dependencies:
python3 -m venv .venv
source .venv/bin/activate
Optionally, set the PowerShell execution policy:
Set-ExecutionPolicy RemoteSigned -Scope Process -Force
Create and activate the virtual environment:
python -m venv .venv
.venv\Scripts\activate
Install the dependencies listed in requirements.txt
:
pip install -r requirements.txt --progress-bar on
Set up the database by applying migrations:
python manage.py migrate
Launch the Django development server:
python manage.py runserver
Open a web browser and navigate to:
http://localhost:8000
When finished, deactivate the virtual environment:
deactivate
- Login/Logout: Secure login with session tracking and logout features, including session end auditing.
- Registration: User registration with masterlist verification, supporting auto-verification, manual approval, or rejection based on the enrollment masterlist.
- Forgot Password: Password reset through email verification and rate-limiting to prevent spam.
- Email Verification: Users can verify email addresses and request email changes, including verification link expiry management.
- Profile Editing: Users can update their profile information, including usernames, contact numbers, and academic year levels.
- Password Management: Provides a secure password update with current password verification.
- Avatar Upload: Supports customizable avatars with file size validation and storage.
- Session Tracking: Tracks user sessions for analytics and session-based actions.
- Home & About Pages: Provides access to main platform features, including testimonials on the About page.
- Contact Us: Users can submit inquiries, which are saved for admin review.
- Dashboard: Displays recent activity, statuses, and analytics.
- Status Posting: Allows users to post statuses, with custom profanity filtering, text sanitization, and emotion analysis.
- Status Moderation: Admins can delete statuses flagged as inappropriate.
- View Statuses by Categories: Filter statuses based on categories like recent, popular, or emotion-based categories.
- Referral Module: Allows users to flag content for counselor review, with referral options for content highlighting.
- Emotion-Based Status Analysis: Each status is analyzed for emotional tone, with a breakdown of emotion scores such as anger, happiness, sadness, etc.
- Chatbot Questionnaire: Users can initiate a guided emotional assessment using a chatbot, with customizable questions, response validation, and counselor referral options.
- Chat History & Analytics: Includes chat history pagination, tracking user progress, and storing bot responses.
- Emotion Model: Integrates a pre-trained transformer model for emotion classification, supporting emotion percentages.
- Profanity Filtering: Uses both built-in and custom profanity lists for content moderation.
- Feedback Analysis: User feedback is analyzed with sentiment scores for auto-approval of positive feedback.
- Notification System: Tracks user interactions, including status updates, replies, and flagged content, providing alerts in real-time.
- Recent Activity Feed: Displays recent replies to user statuses and other interactions.
- Notification Settings: Users can customize notification preferences, and unread notifications are highlighted.
- Admin Authentication: Admin-only login, audit-logging, and session tracking.
- Verification Dashboard: ITRC staff can review and approve user verification requests manually or automatically.
- Bulk Actions: ITRC staff can bulk-verify, activate, deactivate, or delete user accounts as needed.
- Masterlist Uploads: Enables admins to upload, review, and filter enrollment masterlists to manage student accounts.
- Audit Log: Comprehensive logging of admin actions, including user modifications, setting updates, and role assignments.
- Referral Management: Counselors can review and respond to user referrals flagged for support.
- User Chat Review: Counselors have access to user-chatbot interaction history to assess and provide further assistance if needed.
- User Activity Analytics: Tracks logins, daily activity, and session metrics for user engagement insights.
- Emotion Analysis Reports: Graphical emotion distribution breakdowns on statuses and interactions.
- Feedback Analysis: Visualization of feedback sentiment (positive, neutral, negative) for quality assurance.
- System Performance Metrics: API response times, error rates, and system uptime analysis.
- Report Download: PDF download options for offline report viewing of all key analytics.
- Custom Notifications: Admins can broadcast notifications for all users or selected groups.
- Notification History: Maintains a log of all sent notifications for reference and audit.
- Email and SMS Alerts: Sends email and SMS notifications for significant user actions (e.g., password resets, account status changes).
- Role-Based Insights: Distribution of user roles (e.g., ITRC staff, counselor, student) for system demographics.
- Verification Status Overview: Tracks user verification statuses (verified, pending, rejected).
Contributions are welcome! Please refer to the Contribution Guidelines for details.
This project is licensed under the terms outlined in the License.
For inquiries or issues, please contact kcpersonalacc@gmail.com.
Note: PilarEase is under active development, and features may evolve as enhancements and fixes are applied.