mirror of https://github.com/zulip/zulip.git
cleanup: Delete trailing newlines.
Delete trailing newlines from all files, except tools/ci/success-http-headers.txt and tools/setup/dev-motd, where they are significant, and static/third, where we want to stay close to upstream. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
becef760bf
commit
0962393933
|
@ -31,4 +31,3 @@ file_filter = locale/<lang>/translations.json
|
||||||
source_file = locale/en/translations.json
|
source_file = locale/en/translations.json
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = KEYVALUEJSON
|
type = KEYVALUEJSON
|
||||||
|
|
||||||
|
|
|
@ -50,4 +50,3 @@ working copies:
|
||||||
- `git push`: This pushes code from your local repo to one of the remotes.
|
- `git push`: This pushes code from your local repo to one of the remotes.
|
||||||
- `git remote`: This helps you configure short names for remotes.
|
- `git remote`: This helps you configure short names for remotes.
|
||||||
- `git pull`: This pulls code, but by default creates a merge commit. **Do not use this, please**!
|
- `git pull`: This pulls code, but by default creates a merge commit. **Do not use this, please**!
|
||||||
|
|
||||||
|
|
|
@ -52,4 +52,3 @@ about that data structure:
|
||||||
desktop or the mobile app, but for a basic client, you will likely
|
desktop or the mobile app, but for a basic client, you will likely
|
||||||
only want to parse the "aggregated" key, which shows the summary
|
only want to parse the "aggregated" key, which shows the summary
|
||||||
answer for "is this user online".
|
answer for "is this user online".
|
||||||
|
|
||||||
|
|
|
@ -45,4 +45,3 @@ if a user sends a message to a user we don't yet know about,
|
||||||
the third party will confirm that the user exists, and we
|
the third party will confirm that the user exists, and we
|
||||||
subsequently create a "mirror dummy" user on-demand for that
|
subsequently create a "mirror dummy" user on-demand for that
|
||||||
account.)
|
account.)
|
||||||
|
|
||||||
|
|
|
@ -414,5 +414,3 @@ If certain widget features are behind feature flags,
|
||||||
this will slightly complicate the typeahead
|
this will slightly complicate the typeahead
|
||||||
implementation. Mostly we just need the server
|
implementation. Mostly we just need the server
|
||||||
to share any relevant settings with the client.
|
to share any relevant settings with the client.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -229,4 +229,3 @@ To use Webstorm to debug a given node test file, do the following:
|
||||||
|
|
||||||
[webstorm-debugging]: https://blog.jetbrains.com/webstorm/2018/01/how-to-debug-with-webstorm/
|
[webstorm-debugging]: https://blog.jetbrains.com/webstorm/2018/01/how-to-debug-with-webstorm/
|
||||||
[vagrant-webstorm]: https://www.jetbrains.com/help/webstorm/vagrant-support.html?section=Windows%20or%20Linux
|
[vagrant-webstorm]: https://www.jetbrains.com/help/webstorm/vagrant-support.html?section=Windows%20or%20Linux
|
||||||
|
|
||||||
|
|
|
@ -100,4 +100,3 @@ significant risk of introducing regressions from typos, refactors that
|
||||||
don't quite work how they were expected to, etc.
|
don't quite work how they were expected to, etc.
|
||||||
|
|
||||||
[typescript-handbook]: https://www.typescriptlang.org/docs/handbook/basic-types.html
|
[typescript-handbook]: https://www.typescriptlang.org/docs/handbook/basic-types.html
|
||||||
|
|
||||||
|
|
|
@ -177,4 +177,3 @@ run_test('close_status_message', () => {
|
||||||
close(event);
|
close(event);
|
||||||
assert(!alert.visible());
|
assert(!alert.visible());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -64,5 +64,3 @@ run_test('getHexColor', () => {
|
||||||
var actual_value = colorspace.getHexColor(rgb_color);
|
var actual_value = colorspace.getHexColor(rgb_color);
|
||||||
assert.equal(actual_value, expected_value);
|
assert.equal(actual_value, expected_value);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,3 @@ run_test('insert_recent_private_message', () => {
|
||||||
|
|
||||||
assert.deepEqual(pmc.recent.get_strings(), ['1', '2']);
|
assert.deepEqual(pmc.recent.get_strings(), ['1', '2']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -240,4 +240,3 @@ run_test('set_info_for_user', () => {
|
||||||
var expected = { status: 'active', mobile: false, last_active: 500 };
|
var expected = { status: 'active', mobile: false, last_active: 500 };
|
||||||
assert.deepEqual(presence.presence_info[alice.user_id], expected);
|
assert.deepEqual(presence.presence_info[alice.user_id], expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -93,4 +93,3 @@ run_test('scroll_element_into_container', () => {
|
||||||
scroll_util.scroll_element_into_container(elem2, container);
|
scroll_util.scroll_element_into_container(elem2, container);
|
||||||
assert.equal(container.scrollTop(), 250 - 100 + 3 + 15);
|
assert.equal(container.scrollTop(), 250 - 100 + 3 + 15);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -175,6 +175,3 @@ run_test('populate_profile_fields', () => {
|
||||||
is_admin: true,
|
is_admin: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -382,4 +382,3 @@ run_test('remove_deactivated_user_from_all_streams', () => {
|
||||||
|
|
||||||
assert(!dev_help.subscribers.has(george.user_id));
|
assert(!dev_help.subscribers.has(george.user_id));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -119,4 +119,3 @@ run_test('timers', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -623,4 +623,3 @@ run_test('errors', () => {
|
||||||
assert.equal(counts.private_message_count, 0);
|
assert.equal(counts.private_message_count, 0);
|
||||||
test_notifiable_count(counts.home_unread_messages, 0);
|
test_notifiable_count(counts.home_unread_messages, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ USER=zulip
|
||||||
|
|
||||||
# Run update analytics tables every 5 minutes past the hour
|
# Run update analytics tables every 5 minutes past the hour
|
||||||
5 * * * * zulip /home/zulip/deployments/current/manage.py update_analytics_counts
|
5 * * * * zulip /home/zulip/deployments/current/manage.py update_analytics_counts
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,3 @@ To connect to an app server, you need to run:
|
||||||
ssh <servername>.zulip.net
|
ssh <servername>.zulip.net
|
||||||
|
|
||||||
Note the [1m.net[0m, not the .com.
|
Note the [1m.net[0m, not the .com.
|
||||||
|
|
||||||
|
|
|
@ -90,4 +90,3 @@ ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
|
||||||
SetHandler cgi-script
|
SetHandler cgi-script
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|
|
@ -1353,4 +1353,3 @@ debug_file=/var/log/nagios3/nagios.debug
|
||||||
max_debug_file_size=1000000
|
max_debug_file_size=1000000
|
||||||
|
|
||||||
allow_empty_hostgroup_assignment=1
|
allow_empty_hostgroup_assignment=1
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,3 @@ This directory contains scripts that:
|
||||||
|
|
||||||
For more details, see
|
For more details, see
|
||||||
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.
|
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,3 @@ In the URL field, enter:
|
||||||
Replace `bot_email` and `bot_api_key` above with the URL-encoded email
|
Replace `bot_email` and `bot_api_key` above with the URL-encoded email
|
||||||
address and API key of the bot. To URL-encode the email address, you
|
address and API key of the bot. To URL-encode the email address, you
|
||||||
just need to replace `@` in the bot's email address with `%40`.
|
just need to replace `@` in the bot's email address with `%40`.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,3 @@ Note that tools that are also useful in production belong in
|
||||||
|
|
||||||
For more details, see
|
For more details, see
|
||||||
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.
|
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,4 +31,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,4 +31,3 @@
|
||||||
"url":"http://app.raygun.io/application-url"
|
"url":"http://app.raygun.io/application-url"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,4 +94,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,4 +94,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue