This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2882 from withspectrum/2.2.6
2.2.6
- Loading branch information
Showing
207 changed files
with
4,947 additions
and
2,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,9 +40,9 @@ Spectrum has been under full-time development since March, 2017. See [the roadma | |
- [Running the app locally](#running-the-app-locally) | ||
- [Roadmap](https://github.com/withspectrum/spectrum/projects/19) | ||
- [Technical](docs/) | ||
- [Testing](docs/testing.md) | ||
- [Testing](docs/testing/intro.md) | ||
- [Background Jobs](docs/backend/background-jobs.md) | ||
- [Deployment](docs/backend/deployment.md) | ||
- [Deployment](docs/deployments.md) | ||
- [API](docs/backend/api/) | ||
- [Fragments](docs/backend/api/fragments.md) | ||
- [Pagination](docs/backend/api/pagination.md) | ||
|
@@ -151,6 +151,11 @@ The first step to running Spectrum locally is downloading the code by cloning th | |
|
||
```sh | ||
git clone [email protected]:withspectrum/spectrum.git | ||
``` | ||
If you get `Permission denied` error using `ssh` refer [here](https://help.github.com/articles/error-permission-denied-publickey/) | ||
or use `https` link as a fallback. | ||
```sh | ||
git clone https://github.com/withspectrum/spectrum.git | ||
``` | ||
|
||
#### Installation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
exports.up = async (r, conn) => { | ||
return Promise.all([ | ||
r | ||
.table('users') | ||
.update({ | ||
username: r.row('username').downcase(), | ||
email: r.row('email').downcase(), | ||
}) | ||
.run(conn), | ||
r | ||
.table('communities') | ||
.update({ | ||
slug: r.row('slug').downcase(), | ||
}) | ||
.run(conn), | ||
r | ||
.table('channels') | ||
.update({ | ||
slug: r.row('slug').downcase(), | ||
}) | ||
.run(conn), | ||
]); | ||
}; | ||
|
||
exports.down = function(r, conn) { | ||
return Promise.resolve(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// @flow | ||
|
||
module.exports = () => { | ||
let settings = []; | ||
for (let step = 0; step < 10; step++) { | ||
settings.push({ | ||
userId: step.toString(), | ||
notifications: { | ||
types: { | ||
newMessageInThreads: { | ||
email: true, | ||
}, | ||
newMention: { | ||
email: true, | ||
}, | ||
newDirectMessage: { | ||
email: true, | ||
}, | ||
newThreadCreated: { | ||
email: true, | ||
}, | ||
dailyDigest: { | ||
email: true, | ||
}, | ||
weeklyDigest: { | ||
email: true, | ||
}, | ||
}, | ||
}, | ||
}); | ||
} | ||
return settings; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.