├── MANIFEST.in ├── src ├── __init__.py └── masonite_modules │ ├── stubs │ ├── __init__.py │ ├── route.skeleton │ ├── index.skeleton │ ├── model.skeleton │ ├── controller.skeleton │ └── layout.skeleton │ ├── templates │ └── index.html │ ├── __init__.py │ ├── providers │ ├── __init__.py │ └── module_provider.py │ ├── commands │ ├── __init__.py │ ├── module_install.py │ └── module_create.py │ ├── routes │ └── route.py │ ├── config │ └── modules.py │ └── masonite_module.py ├── tests ├── __init__.py ├── unit │ ├── __init__.py │ └── test_package.py └── integrations │ ├── app │ ├── __init__.py │ ├── controllers │ │ ├── __init__.py │ │ └── WelcomeController.py │ ├── middlewares │ │ ├── __init__.py │ │ ├── VerifyCsrfToken.py │ │ └── AuthenticationMiddleware.py │ └── models │ │ └── User.py │ ├── config │ ├── __init__.py │ ├── exceptions.py │ ├── session.py │ ├── auth.py │ ├── modules.py │ ├── application.py │ ├── broadcast.py │ ├── notification.py │ ├── cache.py │ ├── mail.py │ ├── filesystem.py │ ├── queue.py │ ├── providers.py │ └── database.py │ ├── storage │ ├── .gitignore │ └── public │ │ ├── robots.txt │ │ ├── logo.png │ │ └── favicon.ico │ ├── templates │ ├── __init__.py │ ├── errors │ │ ├── 500.html │ │ ├── 404.html │ │ └── 403.html │ ├── maintenance.html │ ├── base.html │ └── welcome.html │ ├── databases │ ├── seeds │ │ ├── __init__.py │ │ ├── database_seeder.py │ │ └── user_table_seeder.py │ └── migrations │ │ ├── 2021_01_09_033202_create_password_reset_table.py │ │ └── 2021_01_09_043202_create_users_table.py │ ├── resources │ ├── css │ │ └── app.css │ └── js │ │ ├── app.js │ │ └── bootstrap.js │ ├── routes │ └── web.py │ └── Kernel.py ├── requirements.txt ├── pytest.ini ├── modules └── blogs │ ├── routes │ ├── __pycache__ │ │ └── route.cpython-39.pyc │ └── route.py │ ├── models │ └── Blog.py │ ├── controllers │ ├── __pycache__ │ │ └── BlogController.cpython-39.pyc │ └── BlogController.py │ └── templates │ ├── index.html │ └── layout.html ├── .env-example ├── .gitignore ├── setup.cfg ├── pyproject.toml ├── craft ├── codecov.yml ├── .github ├── dependabot.yml ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md └── workflows │ ├── pythonpublish.yml │ └── pythonapp.yml ├── wsgi.py ├── makefile ├── LICENSE ├── setup.py ├── README.md └── CONTRIBUTING.md /MANIFEST.in: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/masonite_modules/stubs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/storage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/app/controllers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integrations/databases/seeds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/masonite_modules/templates/index.html: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | masonite>=4,<5 2 | masonite-orm>=2,<3 3 | -------------------------------------------------------------------------------- /tests/integrations/resources/css/app.css: -------------------------------------------------------------------------------- 1 | /* Put your CSS here */ 2 | -------------------------------------------------------------------------------- /tests/integrations/resources/js/app.js: -------------------------------------------------------------------------------- 1 | 2 | require("./bootstrap.js") 3 | -------------------------------------------------------------------------------- /tests/integrations/storage/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | filterwarnings = 3 | ignore::DeprecationWarning 4 | -------------------------------------------------------------------------------- /tests/integrations/config/exceptions.py: -------------------------------------------------------------------------------- 1 | HANDLERS = {"stack_overflow": True, "solutions": True} 2 | -------------------------------------------------------------------------------- /src/masonite_modules/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa F401 2 | from .providers.module_provider import ModuleProvider 3 | -------------------------------------------------------------------------------- /src/masonite_modules/providers/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa: E501 2 | from .module_provider import ModuleProvider 3 | -------------------------------------------------------------------------------- /tests/integrations/routes/web.py: -------------------------------------------------------------------------------- 1 | from masonite.routes import Route 2 | 3 | ROUTES = [Route.get("/", "WelcomeController@show")] 4 | -------------------------------------------------------------------------------- /tests/integrations/storage/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/py-package/masonite-modules/HEAD/tests/integrations/storage/public/logo.png -------------------------------------------------------------------------------- /tests/integrations/storage/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/py-package/masonite-modules/HEAD/tests/integrations/storage/public/favicon.ico -------------------------------------------------------------------------------- /tests/integrations/config/session.py: -------------------------------------------------------------------------------- 1 | # from masonite.environment import env 2 | 3 | 4 | DRIVERS = { 5 | "default": "cookie", 6 | "cookie": {}, 7 | } 8 | -------------------------------------------------------------------------------- /modules/blogs/routes/__pycache__/route.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/py-package/masonite-modules/HEAD/modules/blogs/routes/__pycache__/route.cpython-39.pyc -------------------------------------------------------------------------------- /src/masonite_modules/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa F401 2 | 3 | from .module_install import ModuleInstallCommand 4 | from .module_create import ModuleCreateCommand 5 | -------------------------------------------------------------------------------- /modules/blogs/models/Blog.py: -------------------------------------------------------------------------------- 1 | """Blog Model.""" 2 | from masoniteorm.models import Model 3 | 4 | 5 | class Blog(Model): 6 | """Blog Model.""" 7 | 8 | __fillable__ = [] 9 | -------------------------------------------------------------------------------- /tests/integrations/app/middlewares/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa: F401 2 | from .VerifyCsrfToken import VerifyCsrfToken 3 | from .AuthenticationMiddleware import AuthenticationMiddleware 4 | -------------------------------------------------------------------------------- /.env-example: -------------------------------------------------------------------------------- 1 | APP_DEBUG=True 2 | APP_ENV=development 3 | APP_KEY=plyUWY8iZnEH9_8WrVjl-LS3B8aRtHK9UAB35fGAq0M= 4 | DB_CONFIG_PATH=tests/integrations/config/database 5 | DB_CONNECTION=sqlite 6 | -------------------------------------------------------------------------------- /tests/integrations/app/middlewares/VerifyCsrfToken.py: -------------------------------------------------------------------------------- 1 | from masonite.middleware import VerifyCsrfToken as Middleware 2 | 3 | 4 | class VerifyCsrfToken(Middleware): 5 | 6 | exempt = [] 7 | -------------------------------------------------------------------------------- /modules/blogs/controllers/__pycache__/BlogController.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/py-package/masonite-modules/HEAD/modules/blogs/controllers/__pycache__/BlogController.cpython-39.pyc -------------------------------------------------------------------------------- /modules/blogs/templates/index.html: -------------------------------------------------------------------------------- 1 | {% extends "layout.html" %} 2 | 3 | {% block content %} 4 |
Oops an error happened !
16 |Oops this page does not exist !
16 |Sorry, this site is currently down for maintenance.
16 |Oops looks like you don't have access to this page !
16 |
7 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |