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

Repository cleanup #227

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,12 @@ To run the linter, use the following commands while the docker containers are ru

Or, if you have yarn installed locally, running `yarn fix` *should* work as well.

### Tests
```
cd e2e-tests
python3 -m pytest --lang python --auth --fs
```
## The Team
### Term 3 (F23):
**Project Lead:** Connor Bechthold<br>
**Product Managers:** Zafir Raeid<br>
**Developers:** Aathithan Chandrabalan, Daniel Kim, Kelly Pham, Kevin Pierce, Owen Sellner, Braydon Wang, Carolyn Zhang<br>
**Designers:** TBD<br>
**Designers:** Amanda Yu<br>

### Term 2 (S23):
**Project Lead:** Safwaan Chowdhury<br>
Expand Down
2 changes: 0 additions & 2 deletions backend/app/middlewares/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
import json

from ..resources.create_user_dto import CreateUserDTO
from ..resources.entity_dto import EntityDTO
from ..resources.register_user_dto import RegisterUserDTO
from ..resources.update_user_dto import UpdateUserDTO
from ..resources.update_user_status_dto import UpdateUserStatusDTO
from ..resources.create_invited_user_dto import CreateInvitedUserDTO

dtos = {
"CreateUserDTO": CreateUserDTO,
"EntityDTO": EntityDTO,
"RegisterUserDTO": RegisterUserDTO,
"UpdateUserDTO": UpdateUserDTO,
"UpdateUserStatusDTO": UpdateUserStatusDTO,
Expand Down
1 change: 0 additions & 1 deletion backend/app/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


def init_app(app):
from .entity import Entity
from .user import User
from .sign_in_logs import SignInLogs
from .log_records import LogRecords
Expand Down
47 changes: 0 additions & 47 deletions backend/app/models/entity.py

This file was deleted.

3 changes: 0 additions & 3 deletions backend/app/models/enum.py

This file was deleted.

53 changes: 0 additions & 53 deletions backend/app/resources/entity_dto.py

This file was deleted.

4 changes: 0 additions & 4 deletions backend/app/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ def init_app(app):
from . import (
user_routes,
auth_routes,
entity_routes,
documentation_routes,
sign_in_logs_routes,
log_records_routes,
residents_routes,
Expand All @@ -13,8 +11,6 @@ def init_app(app):

app.register_blueprint(user_routes.blueprint)
app.register_blueprint(auth_routes.blueprint)
app.register_blueprint(entity_routes.blueprint)
app.register_blueprint(documentation_routes.blueprint)
app.register_blueprint(sign_in_logs_routes.blueprint)
app.register_blueprint(log_records_routes.blueprint)
app.register_blueprint(residents_routes.blueprint)
Expand Down
10 changes: 0 additions & 10 deletions backend/app/rest/documentation_routes.py

This file was deleted.

127 changes: 0 additions & 127 deletions backend/app/rest/entity_routes.py

This file was deleted.

1 change: 0 additions & 1 deletion backend/app/rest/user_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from ..services.implementations.auth_service import AuthService
from ..services.implementations.email_service import EmailService
from ..services.implementations.user_service import UserService
from ..utilities.csv_utils import generate_csv_from_list
from ..utilities.exceptions.auth_exceptions import UserNotInvitedException
from ..utilities.exceptions.duplicate_entity_exceptions import DuplicateUserException

Expand Down
Loading
Loading