Skip to content

Commit be600c4

Browse files
authored
Merge pull request #358 from rapidpro/main
Update from base repo
2 parents dff0dd6 + 38f5ba7 commit be600c4

File tree

400 files changed

+8001
-8065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+8001
-8065
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ exclude_lines =
2222
omit =
2323
*/gen/*
2424
*/tests*
25-
*__init__*
2625
*settings*
2726
temba/*/management/commands/*
2827

.coveragerc_todo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ exclude_lines =
2121
omit =
2222
*/gen/*
2323
*/tests*
24-
*__init__*
2524
*settings*
2625
temba/*/management/commands/*
2726

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Getting Help
4+
url: https://groups.google.com/g/rapidpro-dev
5+
about: If you have a question about your own installation, ask a question on the dev list.
6+
- name: Bugs and feature requests
7+
url: https://github.com/nyaruka/rapidpro/issues
8+
about: Open an issue with the maintainers to file a bug you found or to collaborate on new features.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
postgis-version: "3.1"
99
redis-version: "5.0.6"
1010
node-version: "10"
11-
elastic-version: "7.17.2"
12-
rpindexer-version: "7.3.7"
13-
mailroom-version: "7.3.18"
11+
elastic-version: "7.17.6"
12+
rpindexer-version: "7.5.0"
13+
mailroom-version: "7.5.27"
1414
DJANGO_SETTINGS_MODULE: temba.settings_ci
1515
strategy:
1616
matrix:
@@ -71,7 +71,7 @@ jobs:
7171
wget https://github.com/nyaruka/rp-indexer/releases/download/v${{ env.rpindexer-version }}/rp-indexer_${{ env.rpindexer-version }}_linux_amd64.tar.gz
7272
tar -xvf rp-indexer_${{ env.rpindexer-version }}_linux_amd64.tar.gz rp-indexer
7373
# fetch, extract and start mailroom
74-
wget https://github.com/nyaruka/mailroom/releases/download/v${{ env.mailroom-version }}/mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz
74+
wget https://github.com/${{ github.repository_owner }}/mailroom/releases/download/v${{ env.mailroom-version }}/mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz
7575
tar -xvf mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz mailroom
7676
./mailroom -db=postgres://temba:temba@localhost:5432/temba?sslmode=disable -redis=redis://localhost:6379/10 -log-level=info > mailroom.log &
7777

.github/workflows/cla.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
14+
# Beta Release
15+
uses: contributor-assistant/[email protected]
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_TOKEN }}
19+
with:
20+
path-to-signatures: 'signatures/version1/cla.json'
21+
path-to-document: 'https://github.com/nyaruka/license/blob/main/TextIt_CLA.md'
22+
branch: 'main'
23+
allowlist: bot*
24+
remote-organization-name: 'nyaruka'
25+
remote-repository-name: 'legal'

.github/workflows/manual.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Stale Manual
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
operations:
7+
description: 'Number of operations'
8+
default: "300"
9+
required: true
10+
11+
jobs:
12+
stale:
13+
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
19+
steps:
20+
- uses: actions/stale@v5
21+
with:
22+
repo-token: ${{ secrets.GITHUB_TOKEN }}
23+
operations-per-run: ${{ github.event.inputs.operations }}
24+
stale-issue-label: 'inactive'
25+
stale-issue-message: 'Without activity, this issue will be closed in 14 days.'
26+
close-issue-message: 'This issue was closed for inactivity.'
27+
stale-pr-message: 'Without activity, this PR will be closed in 14 days.'
28+
close-pr-message: 'This PR was closed for inactivity.'
29+
stale-pr-label: 'inactive'
30+
days-before-pr-stale: 30
31+
days-before-pr-close: 14
32+
days-before-issue-stale: 30
33+
days-before-issue-close: 14

.github/workflows/stale.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Close inactive issues and PRs
7+
8+
on:
9+
schedule:
10+
- cron: '30 1 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
steps:
21+
- uses: actions/stale@v5
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
stale-issue-label: 'inactive'
25+
stale-issue-message: 'Without activity, this issue will be closed in 14 days.'
26+
close-issue-message: 'This issue was closed for inactivity.'
27+
stale-pr-message: 'Without activity, this PR will be closed in 14 days.'
28+
close-pr-message: 'This PR was closed for inactivity.'
29+
stale-pr-label: 'inactive'
30+
days-before-pr-stale: 30
31+
days-before-pr-close: 14
32+
days-before-issue-stale: 30
33+
days-before-issue-close: 14

0 commit comments

Comments
 (0)