Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup/GitHub actions (#7) * Add: ci workflow * Add: docker build & publish workflow * Fix: temporary reduce interroagte threshold * Fix: testing not running * Add regex utils file * Add test for regex.py * Rename tests workflow command * ⬆ Bump ruff from 0.0.289 to 0.0.290 (#8) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.289 to 0.0.290. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](astral-sh/ruff@v0.0.289...v0.0.290) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pyupgrade from 3.10.1 to 3.11.0 & Bandit to Bandit[toml] (#9) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.10.1 to 3.11.0. - [Commits](asottile/pyupgrade@v3.10.1...v3.11.0) Bumps Bandit to Bandit[toml] --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump sqlalchemy from 2.0.20 to 2.0.21 (#10) Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.20 to 2.0.21. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pyupgrade from 3.11.0 to 3.11.1 (#11) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.11.0 to 3.11.1. - [Commits](asottile/pyupgrade@v3.11.0...v3.11.1) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pyupgrade from 3.11.1 to 3.12.0 (#12) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.11.1 to 3.12.0. - [Commits](asottile/pyupgrade@v3.11.1...v3.12.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Upgrade precommit * Setup/db (#13) * Add db env variables to settings * Create db async engine & async session factory * Create sqlalchemy base model & imp methods * Add pydantic base schema * Setup alembic migration * setup initial base repo * Add db counting utilility methods * ⬆ Bump ruff from 0.0.290 to 0.0.291 (#14) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.290 to 0.0.291. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](astral-sh/ruff@v0.0.290...v0.0.291) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pyupgrade from 3.12.0 to 3.13.0 (#15) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.12.0 to 3.13.0. - [Commits](asottile/pyupgrade@v3.12.0...v3.13.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ahmed Ashraf <[email protected]> * Fix: add alembic.ini * Setup/server entrypoint scripts (#17) * Add entrypoint script to establish db connection * Add script reqs & integrate into docker * ⬆ Bump pydantic from 2.3.0 to 2.4.0 (#16) Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pydantic from 2.4.0 to 2.4.1 (#19) Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump redis[hiredis] from 5.0.0 to 5.0.1 (#18) Bumps [redis[hiredis]](https://github.com/redis/redis-py) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](redis/redis-py@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: redis[hiredis] dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Feature/customize migrations (#20) * Add custom revision id generation for alembic * Create script to autogenerate new revision * Feature/create user db model (#21) * Create user sqlalchmey model * Create initial user schemas * Add user alembic revision * Add users skeleton api * Add alembic documentation (#22) * Feature/create device db model (#23) * Create device sqlalchemy model * Create initial device schemas * Add device alembic revision * Add devices skeleton api * Fromat code base * ⬆ Bump fastapi from 0.103.1 to 0.103.2 (#25) Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.103.1 to 0.103.2. - [Release notes](https://github.com/tiangolo/fastapi/releases) - [Commits](fastapi/fastapi@0.103.1...0.103.2) --- updated-dependencies: - dependency-name: fastapi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump pydantic from 2.4.1 to 2.4.2 (#24) Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.4.1 to 2.4.2. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@v2.4.1...v2.4.2) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix missed old pydantic syntax * Update issue templates (#26) * Feature/setup redis client (#27) * Setup custom coders * Create async redis client * Setup api dependencies * Migrate to python3.12 (#31) * ⬆ Bump pyupgrade from 3.13.0 to 3.14.0 (#30) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.13.0 to 3.14.0. - [Commits](asottile/pyupgrade@v3.13.0...v3.14.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump coverage from 7.3.1 to 7.3.2 (#29) Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.1 to 7.3.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@7.3.1...7.3.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump ruff from 0.0.291 to 0.0.292 (#28) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.291 to 0.0.292. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](astral-sh/ruff@v0.0.291...v0.0.292) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore/refactor user & device models (#32) * Create collection model * Add extra columns to user model * Fix device columns nullability * Create cipher enums & migration revision * Update user & device migration revisions * Feature/create collection db model (#33) * Create collection model * Create collection migration revision * Feature/create cipher db model (#34) * Create collection model * Create collection migration revision * Create cipher model & type enum * Create cipher migration revision * Fix/remove unused code * Update/ pre-commit & pyprject python version * Add deleetd _at column (#35) * Refactor/db models (#36) * Nullize cipher collection id & Add more schemas * Remove user.name & Add more schemas * Replace device_* with user_agent * Add collection schemas & Add schemas to __init__ * Disable ruff B024 error * Add barebones models repos * Fix python version in github action workflows * Setup/security (#37) * Add security env variables * Add tokens schemas * Add security hashing/encryption methods * Add token generation methods * Add custom exceptions * Add tests for regex utils * Use argon2id when hasing auto assigned passwords * ⬆ Bump pyupgrade from 3.14.0 to 3.15.0 (#38) Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.14.0 to 3.15.0. - [Commits](asottile/pyupgrade@v3.14.0...v3.15.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump sqlalchemy from 2.0.21 to 2.0.22 (#40) Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.21 to 2.0.22. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump mypy from 1.5.1 to 1.6.0 (#39) Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.6.0. - [Commits](python/mypy@v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix false repo names bug * Update pre commit hooks versions * Feature/setup redis mq (#41) * Add supervisord & settings config * Create mq worker dockerfile * Add a readme to the mq worker * Add initial db seed script to app entrypoint (#42) * Await redis connection on entrypoint script (#43) * ⬆ Bump pre-commit from 3.4.0 to 3.5.0 (#44) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](pre-commit/pre-commit@v3.4.0...v3.5.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Gitignore ,env.dev for .env.example * Create email payloads schemas * Add send email feature * Feature/implement invite & register scheme (#45) * Create invitation table * Add wroker job schemas & queue enum * Minor edits & bug fixes * Add user model & repo methods * Add custom auth exceptions * Create invitation endpoint * Create registeration endpoint * ⬆ Bump ruff from 0.0.292 to 0.1.0 (#46) * ⬆ Bump ruff from 0.0.292 to 0.1.0 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.292 to 0.1.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.0.292...v0.1.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Upgrqade ruff version && add unsafe flag * Add preview && unsafe fixes flags to ruff command * Add more rules into ruff --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ahmed Ashraf <[email protected]> * Add more ruff rules * ⬆ Bump ruff from 0.1.0 to 0.1.1 (#50) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.1.0...v0.1.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump mypy from 1.6.0 to 1.6.1 (#49) Bumps [mypy](https://github.com/python/mypy) from 1.6.0 to 1.6.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.6.0...v1.6.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump black from 23.9.1 to 23.10.0 (#47) Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@23.9.1...23.10.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆ Bump fastapi from 0.103.2 to 0.104.0 (#48) Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.103.2 to 0.104.0. - [Release notes](https://github.com/tiangolo/fastapi/releases) - [Commits](fastapi/fastapi@0.103.2...0.104.0) --- updated-dependencies: - dependency-name: fastapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Yoink local ^_^ (#51) * Add Auth dependency injection utilities * Refactor & upgrade register endpoint * Create oauth2/login endpoint * Create otp login endpoint * Refactor & upgrade the invite endpoint * Create cache repo * Refactor create otp token * Create device db repo * Enhance user db repo * Complete rewrite of db seeding * Enhance device model & schema * Fix invitation model bug * Add helper methods to user model * Add more enums & Refactor enum base * Refactor & Enhance Tokens schemas * Setup otp email flow * Add more custom exceptions --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Husam-Hs1807958 <[email protected]>
- Loading branch information