diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1ffc7ebcb..617233ec2 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,6 +31,6 @@ NOTE: Please check only one box! - [ ] I have read & agree with the [contributing guidelines](https://github.com/paperless-ngx/paperless-ngx/blob/main/CONTRIBUTING.md). - [ ] If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers. - [ ] If applicable, I have checked that all tests pass, see [documentation](https://paperless-ngx.readthedocs.io/en/latest/extending.html#back-end-development). -- [ ] I have run all `pre-commit` hooks, see [documentation](https://paperless-ngx.readthedocs.io/en/latest/contributing.html#pre-commit-hooks). +- [ ] I have run all `pre-commit` hooks, see [documentation](https://paperless-ngx.readthedocs.io/en/latest/extending.html#code-formatting-with-pre-commit-hooks). - [ ] I have made corresponding changes to the documentation as needed. - [ ] I have checked my modifications for any breaking changes. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f0a5a542c..dc07b259b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,10 +10,7 @@ updates: directory: "/src-ui" # Check the npm registry for updates every week schedule: - interval: "weekly" - labels: - - "frontend" - - "dependencies" + interval: "monthly" # Add reviewers reviewers: - "paperless-ngx/frontend" diff --git a/.github/workflows/project-actions.yml b/.github/workflows/project-actions.yml index 2cf98bf4b..adfbc6d40 100644 --- a/.github/workflows/project-actions.yml +++ b/.github/workflows/project-actions.yml @@ -1,15 +1,18 @@ -name: Project automations +name: Project Automations + on: issues: types: - opened - reopened - pull_request: + pull_request_target: #_target allows access to secrets types: - opened - reopened + branches: + - main + - dev -# map fields with customized labels env: todo: Todo done: Done @@ -21,7 +24,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened') steps: - - name: Move issue to ${{ env.todo }} + - name: Set issue status to ${{ env.todo }} uses: leonsteinhaeuser/project-beta-automations@v1.2.1 with: gh_token: ${{ secrets.GH_TOKEN }} @@ -29,12 +32,12 @@ jobs: project_id: 2 resource_node_id: ${{ github.event.issue.node_id }} status_value: ${{ env.todo }} # Target status - pr_opened_or_reopened_or_reviewrequested: - name: pr_opened_or_reopened_or_reviewrequested + pr_opened_or_reopened: + name: pr_opened_or_reopened runs-on: ubuntu-latest - if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'review_requested') + if: github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'reopened') steps: - - name: Move PR to ${{ env.in_progress }} + - name: Set PR status to ${{ env.in_progress }} uses: leonsteinhaeuser/project-beta-automations@v1.2.1 with: gh_token: ${{ secrets.GH_TOKEN }} diff --git a/docs/scanners.rst b/docs/scanners.rst index 11b57da94..51611c9ac 100644 --- a/docs/scanners.rst +++ b/docs/scanners.rst @@ -112,3 +112,23 @@ On Android, you can use these applications in combination with one of the :ref:` .. _hannahswain: https://github.com/hannahswain .. _benjaminfrank: https://github.com/benjaminfrank + +API Scanning Setup +================== + +This sections contains information on how to set up scanners to post directly to :ref:`Paperless API `. + +Doxie Q2 +-------- + +This part assumes your Doxie is connected to WiFi and you know its IP. + +1. Open your Doxie web UI by navigating to its IP address +2. Navigate to Options -> Webhook +3. Set the *URL* to ``https://[your-paperless-ngx-instance]/api/documents/post_document/`` +4. Set the *File Parameter Name* to ``document`` +5. Add the username and password to the respective fields (Consider creating a user just for your Doxie) +6. Click *Submit* at the bottom of the page + +Congrats, you can now scan directly from your Doxie to your Paperless-ngx instance! +