From 9f7e57ef3b3092d30235aa09d2af29640cd24015 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Tue, 1 Nov 2022 12:32:21 -0700 Subject: [PATCH 01/15] Create cla.txt --- cla.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 cla.txt diff --git a/cla.txt b/cla.txt new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/cla.txt @@ -0,0 +1 @@ + From 93f66cbc0da02d62cb304f7e23f0a74fa79d0b2a Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Mon, 2 Jan 2023 12:57:34 -0800 Subject: [PATCH 02/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94e541b5f2e..b987c0517bb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To learn more, please visit the project site at http://rapidpro.github.io/rapidp The set of versions that make up the latest stable release are: * [RapidPro v7.4.2](https://github.com/rapidpro/rapidpro/releases/tag/v7.4.2) - * [Mailroom v7.4.1](https://github.com/nyaruka/mailroom/releases/tag/v7.4.1) + * [Mailroom v7.4.1](https://github.com/rapidpro/mailroom/releases/tag/v7.4.1) * [Courier v7.4.0](https://github.com/nyaruka/courier/releases/tag/v7.4.0) * [Archiver v7.4.0](https://github.com/nyaruka/rp-archiver/releases/tag/v7.4.0) * [Indexer v7.4.0](https://github.com/nyaruka/rp-indexer/releases/tag/v7.4.0) From 5ee4a0fc295a775bf7d00d27b63e2fe5694f942c Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Mon, 2 Jan 2023 13:16:54 -0800 Subject: [PATCH 03/15] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5c84dc4241..9e00dc088b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,7 @@ jobs: wget https://github.com/nyaruka/rp-indexer/releases/download/v${{ env.rpindexer-version }}/rp-indexer_${{ env.rpindexer-version }}_linux_amd64.tar.gz tar -xvf rp-indexer_${{ env.rpindexer-version }}_linux_amd64.tar.gz rp-indexer # fetch, extract and start mailroom - wget https://github.com/nyaruka/mailroom/releases/download/v${{ env.mailroom-version }}/mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz + wget https://github.com/${{ github.repository_owner }}/mailroom/releases/download/v${{ env.mailroom-version }}/mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz tar -xvf mailroom_${{ env.mailroom-version }}_linux_amd64.tar.gz mailroom ./mailroom -db=postgres://temba:temba@localhost:5432/temba?sslmode=disable -redis=redis://localhost:6379/10 -log-level=info > mailroom.log & From 94881d455fd14948863ca7a50ea75e060441a783 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Mon, 2 Jan 2023 14:33:19 -0800 Subject: [PATCH 04/15] Update README.md --- README.md | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/README.md b/README.md index b987c0517bb..bbe88328f9c 100644 --- a/README.md +++ b/README.md @@ -36,32 +36,3 @@ first install `v6.0.14` before trying to install the next stable release `v6.2.5 Generally we only do bug fixes (patch releases) on stable releases for the first two weeks after we put out that release. After that you either have to wait for the next stable release or take your chances with an unstable release. - -### Versioning of other Components - -RapidPro depends on other components such as Mailroom and Courier. These are versioned to follow the minor releases of -RapidPro but may have patch releases made independently of patches to RapidPro. Other optional components such as the -Android applications have their own versioning and release schedules. Each stable release of RapidPro details which -version of these dependencies you need to run with it. - -## Updating FlowEditor version - -``` -% npm install @nyaruka/flow-editor@whatever-version --save -``` - -### Get Involved - -To run RapidPro for development, follow the Quick Start guide at http://rapidpro.github.io/rapidpro/docs/development. - -### License - -In late 2014, Nyaruka partnered with UNICEF to expand on the capabilities of TextIt and release the source code as -RapidPro under the Affero GPL (AGPL) license. - -In brief, the Affero license states you can use the RapidPro source for any project free of charge, but that any changes -you make to the source code must be available to others. Note that unlike the GPL, the AGPL requires these changes to be -made public even if you do not redistribute them. If you host a version of RapidPro, you must make the same source you -are hosting available for others. - -The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license. From 2ad966b176f56880110045a5e37b519c1c18735b Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 16:05:20 -0800 Subject: [PATCH 05/15] Create config.yml --- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..629032475ac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Getting Help + url: https://groups.google.com/g/rapidpro-dev + about: If you have a question about your own installation, ask a question on the dev list. + - name: Bugs and feature requests + url: https://github.com/nyaruka/rapidpro/issues + about: Open an issue with the maintainers to file a bug you found or to collaborate on new features. From 1fe2351a275c763e349c1d33f34e61fa599eb7f0 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 16:46:23 -0800 Subject: [PATCH 06/15] Create stale.yml --- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000000..3ef030bb7e2 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: Close inactive issues +on: + schedule: + - cron: "0 1 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v6 + with: + days-before-issue-stale: 30 + days-before-issue-close: 14 + stale-issue-label: "inactive" + stale-issue-message: "This issue will be closed in 14 days if it remains inactive." + close-issue-message: "This issue was closed for inactivity. Open a new issue referencing it to continue the discussion." + days-before-pr-stale: 30 + days-before-pr-close: 10 + repo-token: ${{ secrets.GITHUB_TOKEN }} From 40a8f5687886fb7c712865f898fc4fcc738fdea2 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 16:52:57 -0800 Subject: [PATCH 07/15] Update stale.yml --- .github/workflows/stale.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 3ef030bb7e2..d9e9fabb74f 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,4 +1,4 @@ -name: Close inactive issues +name: Close inactive issues and PRs on: schedule: - cron: "0 1 * * *" @@ -15,8 +15,10 @@ jobs: days-before-issue-stale: 30 days-before-issue-close: 14 stale-issue-label: "inactive" - stale-issue-message: "This issue will be closed in 14 days if it remains inactive." - close-issue-message: "This issue was closed for inactivity. Open a new issue referencing it to continue the discussion." + stale-issue-message: "Without activity, this issue will be closed in 14 days." + close-issue-message: "This issue was closed for inactivity." + stale-pr-message: 'Without activity, this PR will be closed in 14 days.' + close-pr-message: 'This PR was closed for inactivity.' days-before-pr-stale: 30 - days-before-pr-close: 10 + days-before-pr-close: 14 repo-token: ${{ secrets.GITHUB_TOKEN }} From 7fbb03a4c97d774ea78bf6cb10dc3561aa7f74e0 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 17:19:52 -0800 Subject: [PATCH 08/15] Delete stale.yml --- .github/workflows/stale.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index d9e9fabb74f..00000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Close inactive issues and PRs -on: - schedule: - - cron: "0 1 * * *" - -jobs: - close-issues: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v6 - with: - days-before-issue-stale: 30 - days-before-issue-close: 14 - stale-issue-label: "inactive" - stale-issue-message: "Without activity, this issue will be closed in 14 days." - close-issue-message: "This issue was closed for inactivity." - stale-pr-message: 'Without activity, this PR will be closed in 14 days.' - close-pr-message: 'This PR was closed for inactivity.' - days-before-pr-stale: 30 - days-before-pr-close: 14 - repo-token: ${{ secrets.GITHUB_TOKEN }} From 4c2d28d295e999417c306032138ac45f3b2d51d0 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 17:20:20 -0800 Subject: [PATCH 09/15] Create stale.yml --- .github/workflows/stale.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000000..49b0017d13d --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,33 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Close inactive issues and PRs + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-label: 'inactive' + stale-issue-message: 'Without activity, this issue will be closed in 14 days.' + close-issue-message: 'This issue was closed for inactivity.' + stale-pr-message: 'Without activity, this PR will be closed in 14 days.' + close-pr-message: 'This PR was closed for inactivity.' + stale-pr-label: 'inactive' + days-before-pr-stale: 30 + days-before-pr-close: 14 + days-before-issue-stale: 30 + days-before-issue-close: 14 From abeee14ca0bbfaafcff57fc907e2649d3a6401a0 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 17:22:30 -0800 Subject: [PATCH 10/15] Create manual.yml --- .github/workflows/manual.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 00000000000..3b9ac0ba5a1 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,39 @@ +# This is a basic workflow that is manually triggered +name: Stale Test + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: false + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-label: 'inactive' + stale-issue-message: 'Without activity, this issue will be closed in 14 days.' + close-issue-message: 'This issue was closed for inactivity.' + stale-pr-message: 'Without activity, this PR will be closed in 14 days.' + close-pr-message: 'This PR was closed for inactivity.' + stale-pr-label: 'inactive' + days-before-pr-stale: 30 + days-before-pr-close: 14 + days-before-issue-stale: 30 + days-before-issue-close: 14 From dabf7b17237208afa48f91047ec662a242e4f664 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Mon, 2 Jan 2023 17:33:45 -0800 Subject: [PATCH 11/15] Update manual.yml --- .github/workflows/manual.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 3b9ac0ba5a1..213c9c10783 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + operations-per-run: 300 stale-issue-label: 'inactive' stale-issue-message: 'Without activity, this issue will be closed in 14 days.' close-issue-message: 'This issue was closed for inactivity.' From 809356ee6648be57781dd194fb9e72c656792042 Mon Sep 17 00:00:00 2001 From: Eric Newcomer Date: Tue, 3 Jan 2023 10:30:07 -0800 Subject: [PATCH 12/15] Update manual.yml --- .github/workflows/manual.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 213c9c10783..10bf4ab3975 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,19 +1,12 @@ -# This is a basic workflow that is manually triggered -name: Stale Test +name: Stale Manual -# Controls when the action will run. Workflow runs when manually triggered using the UI -# or API. on: workflow_dispatch: - # Inputs the workflow accepts. inputs: - name: - # Friendly description to be shown in the UI instead of 'name' - description: 'Person to greet' - # Default value if no value is explicitly provided - default: 'World' - # Input has to be provided for the workflow to run - required: false + operations: + description: 'Number of operations' + default: "300" + required: true jobs: stale: @@ -27,7 +20,7 @@ jobs: - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - operations-per-run: 300 + operations-per-run: ${{ github.event.inputs.operations }} stale-issue-label: 'inactive' stale-issue-message: 'Without activity, this issue will be closed in 14 days.' close-issue-message: 'This issue was closed for inactivity.' From 3c75cc66b5f0c06b8f721684d3952a1d6ce0950d Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 4 Jan 2023 07:19:11 -0800 Subject: [PATCH 13/15] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bbe88328f9c..249b826cb32 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build Status](https://github.com/rapidpro/rapidpro/workflows/CI/badge.svg)](https://github.com/rapidpro/rapidpro/actions?query=workflow%3ACI) [![codecov](https://codecov.io/gh/rapidpro/rapidpro/branch/main/graph/badge.svg)](https://codecov.io/gh/rapidpro/rapidpro) -RapidPro is a hosted service for visually building interactive messaging applications. +RapidPro is a platform for visually building interactive messaging applications. To learn more, please visit the project site at http://rapidpro.github.io/rapidpro. ### Stable Versions @@ -18,15 +18,14 @@ The set of versions that make up the latest stable release are: * [Android Channel v2.0.0](https://github.com/rapidpro/android-channel/releases/tag/v2.0.0) * [Android Surveyor v13.9.0](https://github.com/rapidpro/surveyor/releases/tag/v13.9.0) -### Versioning in RapidPro +### Versioning -Major releases of RapidPro are made every four months on a set schedule. We target November 1st +Major releases are made every four months on a set schedule. We target November 1st as a major release (`v7.0.0`), then March 1st as the first stable dot release (`v7.2.0`) and July 1st as the second stable dot release (`v7.4.0`). The next November would start the next major release `v8.0.0`. Unstable releases have odd minor versions, that is versions `v7.1.*` would indicate an unstable or *development* -version of RapidPro. Generally we recommend staying on stable releases unless you -have experience developing against RapidPro. +version. Generally we recommend staying on stable releases. To upgrade from one stable release to the next, you should first install and run the migrations for the latest stable release you are on, then every stable release afterwards. If you are From 38f5ba79e46a7eea91dddacddb20e0fc3a6ff53f Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 4 Jan 2023 09:59:25 -0800 Subject: [PATCH 14/15] Update LICENSE --- LICENSE | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 091b4cd5c8e..acb5989e7c8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,6 @@ -RapidPro - Platform to visually build interactive messaging systems -anywhere in the world. +RapidPro - platform to visually build interactive messaging systems. -Copyright (C) 2012-2022 TextIt, UNICEF, and individual contributors. +Copyright (C) 2012-2023 Nyaruka, Inc., UNICEF. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as From ae77283c0fbaf39c6bcfabf56a0e0b148df679ad Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Fri, 26 Apr 2024 16:28:36 -0500 Subject: [PATCH 15/15] Delete cla.txt --- cla.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 cla.txt diff --git a/cla.txt b/cla.txt deleted file mode 100644 index 8b137891791..00000000000 --- a/cla.txt +++ /dev/null @@ -1 +0,0 @@ -