Skip to content

Commit 680713c

Browse files
Merge pull request #2444 from StateVoicesNational/stage-main-14.1
#2444 14.1
2 parents adb6064 + 92d3f86 commit 680713c

File tree

94 files changed

+5165
-2518
lines changed

Some content is hidden

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

94 files changed

+5165
-2518
lines changed

.eslintrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"extends": ["airbnb", "prettier"],
33
"parser": "@babel/eslint-parser",
4-
"env": { "jest": true, "node": true, "browser": true, "jasmine": true }
4+
"env": { "jest": true, "node": true, "browser": true, "jasmine": true },
5+
"rules": {
6+
"no-console": [
7+
"warn",
8+
{ "allow": ["warn", "error", "info", "time", "timeEnd"] }
9+
]
10+
}
511
}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If applicable, add screenshots to help explain your problem.
2727
- OS: [e.g. iOS]
2828
- Browser [e.g. chrome, safari]
2929
- Desktop or Mobile?
30-
- Version [e.g. 22]
30+
- Spoke Version: [e.g. 14.0.1]
3131

3232
**Additional context**
3333
Add any other context about the problem here.

.github/workflows/cypress-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
timeout-minutes: 10
8+
timeout-minutes: 15
99
strategy:
1010
matrix:
1111
node-version: [16.x]
@@ -53,13 +53,13 @@ jobs:
5353
build: npm run prod-build
5454
start: npm start
5555
wait-on: 'http://localhost:3001'
56-
- uses: actions/upload-artifact@v2
56+
- uses: actions/upload-artifact@v4
5757
if: failure()
5858
with:
5959
name: cypress-screenshots
6060
path: cypress/screenshots
61-
- uses: actions/upload-artifact@v2
61+
- uses: actions/upload-artifact@v4
6262
if: failure()
6363
with:
6464
name: cypress-videos
65-
path: cypress/videos
65+
path: cypress/videos

.github/workflows/jest-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
timeout-minutes: 10
8+
timeout-minutes: 15
99
strategy:
1010
matrix:
1111
node-version: [14.x, 15.x, 16.x, 18.x, 20.x]
@@ -30,7 +30,7 @@ jobs:
3030
node-version: 20
3131
- name: Get yarn cache directory path
3232
id: yarn-cache-dir-path
33-
run: echo "::set-output name=dir::$(yarn cache dir)"
33+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
3434
- uses: actions/cache@v4
3535
id: yarn-cache
3636
with:
@@ -44,7 +44,7 @@ jobs:
4444
run: yarn test
4545
test-rediscache-contactcache:
4646
runs-on: ubuntu-latest
47-
timeout-minutes: 10
47+
timeout-minutes: 15
4848
services:
4949
redis:
5050
image: redis
@@ -71,7 +71,7 @@ jobs:
7171
node-version: 20
7272
- name: Get yarn cache directory path
7373
id: yarn-cache-dir-path
74-
run: echo "::set-output name=dir::$(yarn cache dir)"
74+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
7575
- uses: actions/cache@v4
7676
id: yarn-cache
7777
with:
@@ -85,7 +85,7 @@ jobs:
8585
run: yarn test-rediscache-contactcache
8686
test-rediscache:
8787
runs-on: ubuntu-latest
88-
timeout-minutes: 10
88+
timeout-minutes: 15
8989
services:
9090
redis:
9191
image: redis
@@ -112,7 +112,7 @@ jobs:
112112
node-version: 20
113113
- name: Get yarn cache directory path
114114
id: yarn-cache-dir-path
115-
run: echo "::set-output name=dir::$(yarn cache dir)"
115+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
116116
- uses: actions/cache@v4
117117
id: yarn-cache
118118
with:
@@ -126,7 +126,7 @@ jobs:
126126
run: yarn test-rediscache
127127
test-sqlite:
128128
runs-on: ubuntu-latest
129-
timeout-minutes: 10
129+
timeout-minutes: 15
130130
services:
131131
redis:
132132
image: redis
@@ -140,7 +140,7 @@ jobs:
140140

141141
- name: Get yarn cache directory path
142142
id: yarn-cache-dir-path
143-
run: echo "::set-output name=dir::$(yarn cache dir)"
143+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
144144
- uses: actions/cache@v4
145145
id: yarn-cache
146146
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ CONFIG_FILE.json
2525
scratch/
2626
cypress/screenshots
2727
cypress/videos
28+
spoke-pm2.config.js

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ Spoke is an open source text-distribution tool for organizations to mobilize sup
66

77
Spoke was created by Saikat Chakrabarti and Sheena Pakanati.
88

9-
On November 19th, 2023, the repo Spoke was transfered from MoveOn to StateVoices.
9+
On November 19th, 2023, the repo Spoke was transferred from MoveOn to State Voices.
1010

11-
The latest version is [14.0.2](https://github.com/StateVoicesNational/Spoke/tree/v14.0.2) (see [release notes](https://github.com/StateVoicesNational/Spoke/blob/main/docs/RELEASE_NOTES.md#v1402))
11+
The latest version can be found here: [Release Notes](https://github.com/StateVoicesNational/Spoke/blob/main/docs/RELEASE_NOTES.md)
1212

1313

1414
## Setting up Spoke
1515

1616

17-
The easiest way to get started is with Heroku. You can also learn about Spoke through the [texter](https://youtu.be/EqE1UDvKGco) and [admin](https://youtu.be/PTMykMX8gII) video demos or in the explanation on [how to decide if Spoke is right for you.](/docs/EXPLANATION_DECIDING_ON_SPOKE.md)
17+
The easiest way to get started is with Heroku. You can also learn about Spoke through the [texter](https://youtu.be/EqE1UDvKGco) and [admin](https://youtu.be/PTMykMX8gII) video demos or in the explanation on [how to decide if Spoke is right for you.](docs/EXPLANATION_DECIDING_ON_SPOKE.md)
1818

19-
For developers, please see our recommendations for [deploying locally for development](/docs/HOWTO_DEVELOPMENT_LOCAL_SETUP.md).
19+
For developers, please see our recommendations for [deploying locally for development](docs/HOWTO_DEVELOPMENT_LOCAL_SETUP.md).
2020

2121
Want to know more?
2222
[Click here to visit the Spoke Documentation microsite!](https://statevoicesnational.github.io/Spoke/)
@@ -25,12 +25,12 @@ Want to know more?
2525
### Quick Start with Heroku
2626
This version of Spoke suitable for testing and, potentially, for small campaigns. This won't cost any money and will not support production(aka large-scale) usage. It's a great way to practice deploying Spoke or see it in action.
2727

28-
<a href="https://heroku.com/deploy?template=https://github.com/StateVoicesNational/Spoke/tree/v14.0.2">
28+
<a href="https://heroku.com/deploy?template=https://github.com/StateVoicesNational/Spoke/tree/v14.1.0">
2929

3030
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy">
3131
</a>
3232

33-
Follow up instructions located [here](/docs/HOWTO_HEROKU_DEPLOY.md).
33+
Follow up instructions located [here](docs/HOWTO_HEROKU_DEPLOY.md).
3434

3535

3636
**NOTE:** You can upgrade this deployment later for use in a production setting, but keep in mind you will need to migrate data from any prior campaigns. Thus it is best to upgrade before you start any live campaigns. This will cost ~$75 ($25 dyno + $50 postgres) a month and should be suitable for production level usage for most organizations. We recommend that if you plan to use Spoke at scale that you use [this link to deploy with a production infrastructure from the start!](https://heroku.com/deploy?template=https://github.com/StateVoicesNational/Spoke/tree/heroku-button-paid)

0 commit comments

Comments
 (0)