Update all links to thelounge repository

This commit is contained in:
Pavel Djundik 2018-02-21 19:48:22 +02:00 committed by Jérémie Astori
parent e957a52e43
commit 59ec07be87
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8
20 changed files with 1001 additions and 1001 deletions

View file

@ -49,7 +49,7 @@ deploy:
node: 8 node: 8
condition: "$BUILD_ENV = production" condition: "$BUILD_ENV = production"
tags: true tags: true
repo: thelounge/lounge repo: thelounge/thelounge
# If the current release is a stable release, remove potential pre-release tag # If the current release is a stable release, remove potential pre-release tag
after_deploy: | after_deploy: |

File diff suppressed because it is too large Load diff

View file

@ -6,17 +6,17 @@ your contributions.
### I want to report a bug ### I want to report a bug
- Look at the [open and closed - Look at the [open and closed
issues](https://github.com/thelounge/lounge/issues?q=is%3Aissue) to see if issues](https://github.com/thelounge/thelounge/issues?q=is%3Aissue) to see if
this was not already discussed before. If you can't see any, feel free to this was not already discussed before. If you can't see any, feel free to
[open a new issue](https://github.com/thelounge/lounge/issues/new). [open a new issue](https://github.com/thelounge/thelounge/issues/new).
- If you think you discovered a security vulnerability, **do not open a public - If you think you discovered a security vulnerability, **do not open a public
issue on GitHub.** Refer to our [security guidelines](SECURITY.md) instead. issue on GitHub.** Refer to our [security guidelines](SECURITY.md) instead.
### I want to contribute to the code ### I want to contribute to the code
- Make sure to discuss your ideas with the community in an - Make sure to discuss your ideas with the community in an
[issue](https://github.com/thelounge/lounge/issues) or on the IRC channel. [issue](https://github.com/thelounge/thelounge/issues) or on the IRC channel.
- Take a look at the open issues labeled as [`up for grabs`](https://github.com/thelounge/lounge/issues?q=is%3Aopen%20is%3Aissue%20label%3A%22up%20for%20grabs%22) - Take a look at the open issues labeled as [`up for grabs`](https://github.com/thelounge/thelounge/issues?q=is%3Aopen%20is%3Aissue%20label%3A%22up%20for%20grabs%22)
if you want to help without having a specific idea in mind. if you want to help without having a specific idea in mind.
- Make sure that your PRs do not contain unnecessary commits or merge commits. - Make sure that your PRs do not contain unnecessary commits or merge commits.
[Squash commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History) [Squash commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History)
@ -28,6 +28,6 @@ your contributions.
Pope's guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). Pope's guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- Each PR will be reviewed by at least two different project maintainers. You - Each PR will be reviewed by at least two different project maintainers. You
can read more about this in the [maintainers' can read more about this in the [maintainers'
corner](https://github.com/thelounge/lounge/wiki/Maintainers'-corner). corner](https://github.com/thelounge/thelounge/wiki/Maintainers'-corner).
- Please document any relevant changes in the documentation that can be found - Please document any relevant changes in the documentation that can be found
[in its own repository](https://github.com/thelounge/thelounge.chat). [in its own repository](https://github.com/thelounge/thelounge.chat).

View file

@ -26,15 +26,15 @@
<a href="https://yarn.pm/thelounge"><img <a href="https://yarn.pm/thelounge"><img
alt="npm version" alt="npm version"
src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square"></a> src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square"></a>
<a href="https://travis-ci.org/thelounge/lounge"><img <a href="https://travis-ci.org/thelounge/thelounge"><img
alt="Travis CI Build Status" alt="Travis CI Build Status"
src="https://img.shields.io/travis/thelounge/lounge/master.svg?label=linux&style=flat-square"></a> src="https://img.shields.io/travis/thelounge/thelounge/master.svg?label=linux&style=flat-square"></a>
<a href="https://ci.appveyor.com/project/astorije/lounge/branch/master"><img <a href="https://ci.appveyor.com/project/astorije/lounge/branch/master"><img
alt="AppVeyor Build Status" alt="AppVeyor Build Status"
src="https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows&style=flat-square"></a> src="https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows&style=flat-square"></a>
<a href="https://david-dm.org/thelounge/lounge"><img <a href="https://david-dm.org/thelounge/thelounge"><img
alt="Dependencies Status" alt="Dependencies Status"
src="https://img.shields.io/david/thelounge/lounge.svg?style=flat-square"></a> src="https://img.shields.io/david/thelounge/thelounge.svg?style=flat-square"></a>
<a href="https://www.npmjs.org/package/thelounge"><img <a href="https://www.npmjs.org/package/thelounge"><img
alt="Total downloads on npm" alt="Total downloads on npm"
src="https://img.shields.io/npm/dt/thelounge.svg?colorB=007dc7&style=flat-square"></a> src="https://img.shields.io/npm/dt/thelounge.svg?colorB=007dc7&style=flat-square"></a>
@ -82,7 +82,7 @@ When installation is complete, run:
thelounge start thelounge start
``` ```
For more information, read the [documentation](https://thelounge.chat/docs/), [wiki](https://github.com/thelounge/lounge/wiki), or run: For more information, read the [documentation](https://thelounge.chat/docs/), [wiki](https://github.com/thelounge/thelounge/wiki), or run:
```sh ```sh
thelounge --help thelounge --help
@ -93,8 +93,8 @@ thelounge --help
The following commands install and run the development version of The Lounge: The following commands install and run the development version of The Lounge:
```sh ```sh
git clone https://github.com/thelounge/lounge.git git clone https://github.com/thelounge/thelounge.git
cd lounge cd thelounge
yarn install yarn install
NODE_ENV=production yarn build NODE_ENV=production yarn build
yarn start yarn start
@ -112,6 +112,6 @@ fork.
Before submitting any change, make sure to: Before submitting any change, make sure to:
- Read the [Contributing instructions](https://github.com/thelounge/lounge/blob/master/CONTRIBUTING.md#contributing) - Read the [Contributing instructions](https://github.com/thelounge/thelounge/blob/master/CONTRIBUTING.md#contributing)
- Run `npm test` to execute linters and test suite - Run `npm test` to execute linters and test suite
- Run `npm run build` if you change or add anything in `client/js` or `client/views` - Run `npm run build` if you change or add anything in `client/js` or `client/views`

View file

@ -47,7 +47,7 @@ a:hover {
} }
/** /**
* From Normalize. See https://github.com/thelounge/lounge/pull/1217 * From Normalize. See https://github.com/thelounge/thelounge/pull/1217
* 1. Remove the bottom border in Chrome 57- and Firefox 39-. * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/ */

View file

@ -82,7 +82,7 @@ $("#chat").on("click", ".text .toggle-button", function() {
// Tell the server we're toggling so it remembers at page reload // Tell the server we're toggling so it remembers at page reload
// TODO Avoid sending many single events when using `/collapse` or `/expand` // TODO Avoid sending many single events when using `/collapse` or `/expand`
// See https://github.com/thelounge/lounge/issues/1377 // See https://github.com/thelounge/thelounge/issues/1377
socket.emit("msg:preview:toggle", { socket.emit("msg:preview:toggle", {
target: parseInt(self.closest(".chan").data("id"), 10), target: parseInt(self.closest(".chan").data("id"), 10),
msgId: parseInt(self.closest(".msg").prop("id").replace("msg-", ""), 10), msgId: parseInt(self.closest(".msg").prop("id").replace("msg-", ""), 10),

View file

@ -1,4 +1,4 @@
// The Lounge - https://github.com/thelounge/lounge // The Lounge - https://github.com/thelounge/thelounge
/* global clients */ /* global clients */
"use strict"; "use strict";

View file

@ -12,7 +12,7 @@
<div class="changelog-text">{{{changelog}}}</div> <div class="changelog-text">{{{changelog}}}</div>
{{else}} {{else}}
<p>Unable to retrieve releases from GitHub.</p> <p>Unable to retrieve releases from GitHub.</p>
<p><a href="https://github.com/thelounge/lounge/releases/tag/v{{version}}" target="_blank" rel="noopener">View release notes for this version on GitHub</a></p> <p><a href="https://github.com/thelounge/thelounge/releases/tag/v{{version}}" target="_blank" rel="noopener">View release notes for this version on GitHub</a></p>
{{/if}} {{/if}}
{{else}} {{else}}
<p>Loading changelog…</p> <p>Loading changelog…</p>

View file

@ -18,18 +18,18 @@
{{#if gitCommit}} {{#if gitCommit}}
<p> <p>
The Lounge is running from source The Lounge is running from source
(<a href="https://github.com/thelounge/lounge/tree/{{gitCommit}}" target="_blank" rel="noopener">commit <code>{{gitCommit}}</code></a>). (<a href="https://github.com/thelounge/thelounge/tree/{{gitCommit}}" target="_blank" rel="noopener">commit <code>{{gitCommit}}</code></a>).
</p> </p>
<ul> <ul>
<li> <li>
Compare Compare
<a href="https://github.com/thelounge/lounge/compare/{{gitCommit}}...master" target="_blank" rel="noopener">between <code>{{gitCommit}}</code> and <code>master</code></a> <a href="https://github.com/thelounge/thelounge/compare/{{gitCommit}}...master" target="_blank" rel="noopener">between <code>{{gitCommit}}</code> and <code>master</code></a>
to see what you are missing to see what you are missing
</li> </li>
<li> <li>
Compare Compare
<a href="https://github.com/thelounge/lounge/compare/{{version}}...{{gitCommit}}" target="_blank" rel="noopener">between <code>{{version}}</code> and <code>{{gitCommit}}</code></a> <a href="https://github.com/thelounge/thelounge/compare/{{version}}...{{gitCommit}}" target="_blank" rel="noopener">between <code>{{version}}</code> and <code>{{gitCommit}}</code></a>
to see your local changes</li> to see your local changes</li>
</ul> </ul>
{{/if}} {{/if}}
@ -41,7 +41,7 @@
<a href="https://thelounge.chat/docs/" target="_blank" rel="noopener" class="documentation-link">Documentation</a> <a href="https://thelounge.chat/docs/" target="_blank" rel="noopener" class="documentation-link">Documentation</a>
</p> </p>
<p> <p>
<a href="https://github.com/thelounge/lounge/issues/new" target="_blank" rel="noopener" class="report-issue-link">Report an issue…</a> <a href="https://github.com/thelounge/thelounge/issues/new" target="_blank" rel="noopener" class="report-issue-link">Report an issue…</a>
</p> </p>
</div> </div>

View file

@ -8,7 +8,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/thelounge/lounge.git" "url": "https://github.com/thelounge/thelounge.git"
}, },
"homepage": "https://thelounge.chat/", "homepage": "https://thelounge.chat/",
"scripts": { "scripts": {

View file

@ -188,7 +188,7 @@ function stableVersion(prereleaseVersion) {
// Generates a compare-view URL between 2 versions of The Lounge // Generates a compare-view URL between 2 versions of The Lounge
function fullChangelogUrl(v1, v2) { function fullChangelogUrl(v1, v2) {
return `https://github.com/thelounge/lounge/compare/v${v1}...v${v2}`; return `https://github.com/thelounge/thelounge/compare/v${v1}...v${v2}`;
} }
// This class is a facade to fetching details about commits / PRs / tags / etc. // This class is a facade to fetching details about commits / PRs / tags / etc.
@ -642,7 +642,7 @@ async function generateChangelogEntry(targetVersion) {
let template; let template;
let contributors = []; let contributors = [];
const codeRepo = new RepositoryFetcher(client, "lounge"); const codeRepo = new RepositoryFetcher(client, "thelounge");
const previousVersion = await codeRepo.fetchPreviousVersion(targetVersion); const previousVersion = await codeRepo.fetchPreviousVersion(targetVersion);
if (isPrerelease(targetVersion)) { if (isPrerelease(targetVersion)) {

View file

@ -7,7 +7,7 @@ if [ -z "$1" ]; then
exit 1 exit 1
fi fi
git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head git fetch https://github.com/thelounge/thelounge.git refs/pull/${1}/head
git checkout FETCH_HEAD git checkout FETCH_HEAD
git rebase master git rebase master
npm install npm install

View file

@ -78,7 +78,7 @@ ClientManager.prototype.loadUser = function(name) {
* have their latest password. We're not replacing the entire config * have their latest password. We're not replacing the entire config
* object, because that could have undesired consequences. * object, because that could have undesired consequences.
* *
* @see https://github.com/thelounge/lounge/issues/598 * @see https://github.com/thelounge/thelounge/issues/598
*/ */
client.config.password = userConfig.password; client.config.password = userConfig.password;
log.info(`Password for user ${colors.bold(name)} was reset.`); log.info(`Password for user ${colors.bold(name)} was reset.`);

View file

@ -164,7 +164,7 @@ Chan.prototype.getFilteredClone = function(lastActiveChannel, lastMessage) {
// If client is reconnecting, only send new messages that client has not seen yet // If client is reconnecting, only send new messages that client has not seen yet
if (lastMessage > -1) { if (lastMessage > -1) {
// When reconnecting, always send up to 100 messages to prevent message gaps on the client // When reconnecting, always send up to 100 messages to prevent message gaps on the client
// See https://github.com/thelounge/lounge/issues/1883 // See https://github.com/thelounge/thelounge/issues/1883
newChannel[prop] = this[prop] newChannel[prop] = this[prop]
.filter((m) => m.id > lastMessage) .filter((m) => m.id > lastMessage)
.slice(-100); .slice(-100);

View file

@ -17,7 +17,7 @@ function User(attr, prefixLookup) {
} }
User.prototype.setModes = function(modes, prefixLookup) { User.prototype.setModes = function(modes, prefixLookup) {
// irc-framework sets character mode, but lounge works with symbols // irc-framework sets character mode, but The Lounge works with symbols
this.modes = modes.map((mode) => prefixLookup[mode]); this.modes = modes.map((mode) => prefixLookup[mode]);
this.mode = this.modes[0] || ""; this.mode = this.modes[0] || "";

View file

@ -23,7 +23,7 @@ function fetch(callback) {
} }
request.get({ request.get({
uri: "https://api.github.com/repos/thelounge/lounge/releases", uri: "https://api.github.com/repos/thelounge/thelounge/releases",
headers: { headers: {
Accept: "application/vnd.github.v3.html", // Request rendered markdown Accept: "application/vnd.github.v3.html", // Request rendered markdown
"User-Agent": pkg.name + "; +" + pkg.repository.git, // Identify the client "User-Agent": pkg.name + "; +" + pkg.repository.git, // Identify the client

View file

@ -200,7 +200,7 @@ function emitPreview(client, msg, preview) {
function getRequestHeaders(language) { function getRequestHeaders(language) {
const headers = { const headers = {
"User-Agent": "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/lounge)", "User-Agent": "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge)",
}; };
if (language !== null) { if (language !== null) {

View file

@ -31,7 +31,7 @@ class WebPush {
} }
WebPushAPI.setVapidDetails( WebPushAPI.setVapidDetails(
"https://github.com/thelounge/lounge", "https://github.com/thelounge/thelounge",
this.vapidKeys.publicKey, this.vapidKeys.publicKey,
this.vapidKeys.privateKey this.vapidKeys.privateKey
); );

View file

@ -364,19 +364,19 @@ describe("parse Handlebars helper", () => {
input: "🤷‍♀️", input: "🤷‍♀️",
expected: '<span class="emoji">🤷‍♀️</span>', expected: '<span class="emoji">🤷‍♀️</span>',
}, { }, {
// FIXME: These multiple `span`s should be optimized into a single one. See https://github.com/thelounge/lounge/issues/1783 // FIXME: These multiple `span`s should be optimized into a single one. See https://github.com/thelounge/thelounge/issues/1783
name: "wrapped in style", name: "wrapped in style",
input: "Super \x034💚 green!", input: "Super \x034💚 green!",
expected: 'Super <span class="emoji"><span class="irc-fg4">💚</span></span><span class="irc-fg4"> green!</span>', expected: 'Super <span class="emoji"><span class="irc-fg4">💚</span></span><span class="irc-fg4"> green!</span>',
}, { }, {
name: "wrapped in URLs", name: "wrapped in URLs",
input: "https://i.❤️.thelounge.chat", input: "https://i.❤️.thelounge.chat",
// FIXME: Emoji in text should be `<span class="emoji">❤️</span>`. See https://github.com/thelounge/lounge/issues/1784 // FIXME: Emoji in text should be `<span class="emoji">❤️</span>`. See https://github.com/thelounge/thelounge/issues/1784
expected: '<a href="https://i.❤️.thelounge.chat" target="_blank" rel="noopener">https://i.❤️.thelounge.chat</a>', expected: '<a href="https://i.❤️.thelounge.chat" target="_blank" rel="noopener">https://i.❤️.thelounge.chat</a>',
}, { }, {
name: "wrapped in channels", name: "wrapped in channels",
input: "#i❤thelounge", input: "#i❤thelounge",
// FIXME: Emoji in text should be `<span class="emoji">❤️</span>`. See https://github.com/thelounge/lounge/issues/1784 // FIXME: Emoji in text should be `<span class="emoji">❤️</span>`. See https://github.com/thelounge/thelounge/issues/1784
expected: '<span class="inline-channel" role="button" tabindex="0" data-chan="#i❤thelounge">#i❤thelounge</span>', expected: '<span class="inline-channel" role="button" tabindex="0" data-chan="#i❤thelounge">#i❤thelounge</span>',
}].forEach((item) => { // TODO: In Node v6+, use `{name, input, expected}` }].forEach((item) => { // TODO: In Node v6+, use `{name, input, expected}`
it(`should find emoji: ${item.name}`, function() { it(`should find emoji: ${item.name}`, function() {

View file

@ -49,7 +49,7 @@ describe("Msg", function() {
}); });
it("should not find a preview that does not exist", function() { it("should not find a preview that does not exist", function() {
expect(msg.findPreview("https://github.com/thelounge/lounge")) expect(msg.findPreview("https://github.com/thelounge/thelounge"))
.to.be.undefined; .to.be.undefined;
}); });
}); });