Giter Site home page Giter Site logo

tylerlight071 / nexus-pet-portal Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 6.0 13.98 MB

An Animal Adoption Management System built in Python that allows a Rescue Centre to manage the animals in their shelter in a variety of ways.

License: MIT License

Python 100.00%
adoption management-system terminal-based animals python python3 animal-care

nexus-pet-portal's Introduction

LinkedIn

๐Ÿ’ป Tech Stack:

HTML5 JavaScript TypeScript GithubPages Vercel TailwindCSS Next JS NodeJS Electron.js Flask VS Code Visual Studio

Flutter Dart

Python C++ C# NumPy Matplotlib Pandas OpenCV MongoDB Firebase

Adobe Illustrator Canva

PowerShell Git

๐Ÿ“Š GitHub Stats:

Github Streak
Github Stats
Top Languages

๐Ÿ“š Random Quote:

Random Quote

๐Ÿคฃ Random Meme:

nexus-pet-portal's People

Contributors

dependabot[bot] avatar tylerlight071 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nexus-pet-portal's Issues

Change View Animal Profile to match Current User

Is your feature request related to a problem? Please describe.
The use of tkinter for the animal profile is jarring as it does not match the rest of the script in its current state and should ideally match the current user output of the Update User Information in the ADMIN Dashboard

Move Sort and Filter into the Search For Animals output

Is your feature request related to a problem? Please describe.
Move Sort and Filter into the Search For Animals, View Animals & Modify Animal Database output rather than in main options as it is pointless to have due to the user not being able to see a table in this view whereas in the search, the possibility to have multiple animals of the same is likely which is the intended use

Connection to MongoDB fails on first time inputting URI before logging in

Describe the bug
When the user first runs the program and enters the URI, it says the connection is successful or not as intended, however when the user attempts to log in without rebooting the app which is expected, it does not connect.

Expected behaviour
User is expected to enter their URI and then proceed to login without any issues

Sudo Login --> No password, no error

Describe the bug
If the user is >= level 2 and does not input a password into the sudo login, no error is shown, the screen is not cleared and the sudo login is looped

Expected behaviour
Error message is displayed, screen cleared and sudo looped

Notifications

This is a temporary thing that will be tested to see its use but could be used in regard to the staff portal to remind the user that they have events coming up but it is likely to be implemented properly in a future release, but for now will remain with the placeholder notifications to see how it may work as a concept idea

Filter Animals does not accept Male, only male, nor Female, only female

Describe the bug
The filter animals does not accept Male or Female as a valid value, only male or female

To Reproduce
Steps to reproduce the behaviour:

  1. Go into view animals
  2. Enter filter
  3. Input Male or Female and the error arises

Expected behaviour
Supposed to display the animals with the labels Male and Female just as using male and female does

Username not found

Move the username not found check to after the user inputs their username to make the process more streamlined

Config.py does not work in exe

Describe the bug
When user inputs new URI the exe does not use that URI but instead the default that is bundled. To fix, changing from a .py to JSON so it can dynamically update and pull information as needed

ADMIN commands looking for users.json

Describe the bug
ADMIN commands:

  • update user information
  • change user password
  • delete user

are all looking to load and update users.json but moved to database so longer needed

clear_screen_and_print_animals( ) was given 1 argument, expecting 0

Describe the bug
As in the title, the function is being given too many arguments and must be trimmed to meet the new style of the application and is as simple as removing the argument 'animals' from the 'handle_x_result functions and the clear_screen_and_print_animlas( ) function in the view_animals.py script

Clear Filters

Is your feature request related to a problem? Please describe.
A way to clear the filters without exiting and re-entering the view animals --> this allows the user to stay on the same page and refresh any previous filters

Describe the solution you'd like
An addition to the filters tab that simply allows the user to clear all the current filters

ADMIN Sudo --> Screen not cleared after verification

Describe the bug
If the user's ADMIN account is verified through the ADMIN Sudo Login, the screen is not cleared, presenting the new output underneath the User Verified... text rather than clearing the screen, then presenting the new text

Upload image error

Describe the bug
Clear error where save_data() is missing the argument filename

To Reproduce
Steps to reproduce the behaviour:

  1. Open the animal's profile
  2. Upload a file
  3. Error occurs

Expected behaviour
Image is shown in the profile after refreshing the screen

Script does not move on when user enters full address into the customer_adoption_form.py

Describe the bug
When the user enters the full address, it does not move onto the rest of the form but instead goes back to the options menu. It does not mark the animal as adopted nor save the client's information in the database.

Expected behaviour
Supposed to require second consent acknowledgement before proceeding to mark the animal as adopted and save the customer information to the database

Attempts remaining does not show

Describe the bug
When the user inputs the incorrect password, it correctly removes an attempt from the user but the screen is cleared too fast to display the message, rendering it unreadable.

User kicked out of Client Database

Describe the bug
If the user enters a "coming soon" section, they are kicked out the database rather than looped back into the options menu

Attempts remaining & No message for username not found --> Sudo User

Describe the bug
If the user enters the the wrong username, or no password, they are told that both the username and password are required rather than the message to say that username was not found if wrong username and both fields are required if the user misses one, or both fields.

Also when the user does this, they are also not shown the attempts remaining text but are however kicked out the application after 2 failed attempts as intended

Animal table is shown when user exits any of the animal database options

Describe the bug
When the user exits the animal database options ie, Search, Sort/Filter etc, the animal table is printed rather than just the options as it should

-> This is due to unfinished modification of the script in regards to UI modifications and will be fixed promptly along with the new tabulate interface

Audit Logs

Is your feature request related to a problem? Please describe.
Implement a way for the user to see their audit logs based on the date, time, user and/or activity in the ADMIN panel

ADMIN User Password reset

Is your feature request related to a problem? Please describe.
ADMIN user has no way to reset their own password should it be compromised and or if they lose or forget the password. A solution is being planned and looked into with the mentality of emails or security questions being present.

  • User can currently delete the config file or delete the users collection in their database and start again

Incorrect password for Sudo User still allows access

Describe the bug
If the user inputs the incorrect password into the Sudo Login section, it tells the user it is incorrect yet still allows them access rather than make the user try again and remove an attempt

Filter Animals does not accept multiple queries

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

To Reproduce
Steps to reproduce the behaviour:

  1. In view animals, go into the filter
  2. Attempt to input two or more queries
  3. Message, no animals found with that criteria is displayed

Expected behaviour
Display all animals that meet the criteria displaying only those with ALL the inputted queries

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.