diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 61a483bd..d4c6ad9c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,5 @@ + + # What kind of change does this PR introduce? eg: Bug fix, feature, docs update, ... @@ -16,5 +18,5 @@ Put a "X" in the boxes below to indicate you have followed the checklist; - [ ] I have read the [CONTRIBUTING](https://github.com/gitroomhq/postiz-app/blob/main/CONTRIBUTING.md) guide. - [ ] I confirm I have not used AI to submit this PR or generate code for it. -- [ ] I checked that there were not similar issues or PRs already open for this. -- [ ] This PR fixes just ONE issue (do not include multiple issues or types of change in the same PR) For example, don't try and fix a UI issue and include new dependencies in the same PR. +- [ ] I checked that there were no similar issues or PRs already open for this. +- [ ] This PR fixes just ONE issue diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee5c0f84..242c7c88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,8 @@ name: Build on: push: + merge_group: + pull_request: jobs: build: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 79d64857..0974256d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,5 +1,5 @@ --- -name: "Code Quality Analysis" +name: "Code Quality Analysis" on: push: @@ -9,6 +9,8 @@ on: - apps/** - '!apps/docs/**' - libraries/** + merge_group: + jobs: analyze: diff --git a/.github/workflows/pr-quality.yml b/.github/workflows/pr-quality.yml deleted file mode 100644 index 3fdc958b..00000000 --- a/.github/workflows/pr-quality.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: PR Quality - -permissions: - contents: read - issues: read - pull-requests: write - -on: - pull_request_target: - types: [opened, reopened] - -jobs: - anti-slop: - runs-on: ubuntu-latest - steps: - - uses: peakoss/anti-slop@v0 - with: - # Overall - max-failures: 3 - - # Other - require-maintainer-can-modify: true - max-negative-reactions: 3 - require-conventional-title: true - - # Description - max-emoji-count: 2 - max-code-references: 3 - blocked-terms: "Generated with Claude Code,Generated with Codex" - - # PR Template - require-pr-template: true - strict-pr-template-sections: "What kind of change does this PR introduce?,Why was this change needed?,Checklist:" - optional-pr-template-sections: "Other information:" - max-additional-pr-template-sections: 2 - - # User - detect-spam-usernames: true - min-account-age: 30 - max-daily-forks: 5 - min-profile-completeness: 4 - - # Exemptions - exempt-author-association: "OWNER,MEMBER,COLLABORATOR" - exempt-users: "nevo-david,egelhaus" - exempt-bots: "postiz-agent[bot]" - - # Actions - exempt-label: "exempt" - close-pr: true - failure-add-pr-labels: "spam" - failure-pr-message: "This PR has been marked as Spam, please re-open if this is a mistake." diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 960e6f34..071994c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,6 +6,10 @@ Contributions are welcome - code, docs, whatever it might be! If this is your fi The main documentation site has a [developer guide](https://docs.postiz.com/developer-guide) . That guide provides you a good understanding of the project structure, and how to setup your development environment. Read this document after you have read that guide. This document is intended to provide you a good understanding of how to submit your first contribution. +## Apply via the contribution form + +To submit your contribution, please fill out the [contribution form](https://contribute.postiz.com/p/postiz). This helps us evaluate whether your contribution is a good fit for the project. We will review your submission and get back to you as soon as possible. + ## Write code with others This is an open source project, with an open and welcoming community that is always keen to welcome new contributors. We recommend the two best ways to interact with the community are: diff --git a/apps/backend/src/services/auth/auth.service.ts b/apps/backend/src/services/auth/auth.service.ts index 32b43f3b..187c08ed 100644 --- a/apps/backend/src/services/auth/auth.service.ts +++ b/apps/backend/src/services/auth/auth.service.ts @@ -43,6 +43,9 @@ export class AuthService { if (process.env.DISALLOW_PLUS && body.email.includes('+')) { throw new Error('Email with plus sign is not allowed'); } + if (body instanceof CreateOrgUserDto) { + body.email = body.email.toLowerCase(); + } const user = await this._userService.getUserByEmail(body.email); if (body instanceof CreateOrgUserDto) { if (user) { diff --git a/apps/frontend/src/components/launches/import-debug-post.modal.tsx b/apps/frontend/src/components/launches/import-debug-post.modal.tsx index 65c28593..14fed8dd 100644 --- a/apps/frontend/src/components/launches/import-debug-post.modal.tsx +++ b/apps/frontend/src/components/launches/import-debug-post.modal.tsx @@ -147,7 +147,7 @@ export const ImportDebugPostModal: FC<{ close: () => void }> = ({ close }) => {