Arpith Siromoney
4491ea8d6b
reactions: Add support for removing emoji reactions.
...
This commit adds support for removing reactions via DELETE requests to
the /reactions endpoint with parameters emoji_name and message_id.
The reaction is deleted from the database and a reaction event is sent
out with 'op' set to 'remove'.
Tests are added to check:
1. Removing a reaction that does not exist fails
2. When removing a reaction, the event payload and users are correct
2016-12-02 16:39:53 -08:00
Sidhant Bhavnani
8c0c12c1d9
pep8: Fix E303 violations.
2016-12-02 15:34:11 -08:00
Brock Whittaker
9f0383520c
settings: Fix Zulip Labs Spacing Issue.
...
This fixes the spacing issue with Zulip Labs not having a space between
the icon.
2016-12-02 14:49:05 -08:00
AZtheAsian
9c0ebc7359
eslint: change no-else-return to error and fix violations
2016-12-02 14:43:09 -08:00
Brock Whittaker
d8636980ae
settings: Convert bot and alert word settings to use new buttons.
2016-12-02 13:03:43 -08:00
Tim Abbott
d184288e00
css: Add box-shadow and bg-white components.
2016-12-02 13:03:43 -08:00
Tim Abbott
6e86515b15
css: Move display-none and inline-block to components.css.
2016-12-02 13:03:43 -08:00
Tim Abbott
a7681c3c2f
css: Move .light to components.css.
2016-12-02 13:03:43 -08:00
Tim Abbott
b61d6bc251
settings: Use new checkboxes and buttons in display settings.
2016-12-02 13:03:40 -08:00
Tim Abbott
e13a892479
settings: Remove unnecessary outer div from display settings.
2016-12-02 13:03:35 -08:00
Tim Abbott
85d6fdda4d
settings: Use new checkboxes and buttons in UI settings.
2016-12-02 13:03:32 -08:00
Brock Whittaker
51fbe4395d
settings: Use new checkboxes and buttons in notification settings.
2016-12-02 13:03:23 -08:00
Brock Whittaker
7fd15984fc
components: Add a new settings page checkbox.
...
This allows us to style checkboxes to be transparent boxes with green
borders.
2016-12-02 12:06:49 -08:00
Brock Whittaker
0e3332d86e
[Bootstrap]: Fix Null Case Issue.
...
This fixes the case in which `this` evaluates as null and throws an
error in TravisCI.
2016-12-02 11:58:53 -08:00
Brock Whittaker
2aa9512506
Add data-name to realm filter settings section.
...
This new settings section, was added into master but doesn't have the
correct data-name attribute to be called by the new modal.
2016-12-02 11:56:24 -08:00
AZtheAsian
ed0bc831be
eslint: change one-var from warning to error and fix violations
2016-12-02 11:25:16 -07:00
Tommy Ip
b3f4feb996
eslint: change max-len from warning to error and fix violations.
2016-12-02 14:16:33 +00:00
Alex Huang
007b693cc7
pep8: Fix E131.
2016-12-01 23:16:47 -08:00
Alex Huang
c8ddea16c3
pep8: Fix E122.
2016-12-01 23:16:35 -08:00
AZtheAsian
62494eeb97
pep8: fix E201 violations
2016-12-01 23:06:02 -08:00
AZtheAsian
7e14fe65ab
pep8: fix E202 violations
2016-12-01 23:06:02 -08:00
Michael Nguyen
991c84fa1e
dev-setup-non-vagrant.md: Add missing install step.
2016-12-01 23:05:18 -08:00
AZtheAsian
1ba150fa85
pep8: Fix E203 violations
2016-12-01 20:37:57 -08:00
kevv87
e6369fc29b
eslint: change no-plusplus from warning to 2 and fix violations.
2016-12-01 14:27:17 -08:00
Tommy Ip
c90da24541
eslint: change keyword-spacing from warning to error and fix violations.
2016-12-01 14:22:15 -08:00
Tim Abbott
aab5ca620e
tests: Improve some close paren formatting.
2016-12-01 14:18:11 -08:00
AZtheAsian
c23f9e0df7
pep8: Fix E111 violations
2016-12-01 14:18:11 -08:00
AZtheAsian
f7582f0050
pep8: Fix E124 violations
2016-12-01 14:18:11 -08:00
Tim Abbott
1a8a329b44
production-helper: Expand the apt-mark hold list.
2016-12-01 12:29:31 -08:00
Tim Abbott
87879c3916
travis: Workaround broken Travis CI java configuration.
...
Travis CI seems to have broken /usr/bin/java in a recent
infrastructure change.
2016-12-01 11:46:21 -08:00
Tim Abbott
0ac78ca454
setup-production: Fix path to update-prod-static.log.
...
This regressed in 55f2c49bbf
.
2016-12-01 11:15:20 -08:00
aakash-cr7
d99b17070e
edit: Fix traceback when saving edits to unsent messages.
...
7b0c6459b4
accidentally failed to update
one of the calleers of update_private_messages, resulting in this code
path failing consistently.
Fixes #2416 .
2016-12-01 10:39:43 -08:00
Rafid Aslam
c5316b4002
lint: Fix E127 pep8 violations.
...
Fix pep8: E127 continuation line over-indented for visual indent
style issue.
2016-12-01 10:23:55 -08:00
Tommy Ip
7b2c313f37
eslint: change brace-style from warning to error and fix violations.
2016-12-01 10:20:22 -08:00
Tim Abbott
fd81cc1d93
test-backend: Clarify missing template tests error message.
2016-12-01 10:12:38 -08:00
Tim Abbott
f8f017c221
test_runner: Fix template rendering test.
...
The previous logic would allow the same template to be added to both
the shallow_tested list and the normal list.
2016-12-01 10:12:38 -08:00
Tim Abbott
5e0d2c4e1b
tests: Exclude markdown files from shallow template testing.
...
The markdown files under templates/zerver/help/ are technically not
templates in the standard sense, and thus should not be being
checked with this code path.
(We probably do want to add a test to make sure they all render fine,
but that can be its own project.)
2016-12-01 10:12:38 -08:00
Joy Chen
2784a3e27f
docs: Add user guide for Uploading and Sharing Files.
2016-11-30 22:30:56 -08:00
Vamshi Balanaga
5f60258a85
pep8: Fix E211 violations.
2016-11-30 20:13:10 -08:00
Bickio
6b0df43463
pep8: Fix E125.
2016-11-30 20:03:29 -08:00
Bickio
e009383460
pep8: Fix E231.
2016-11-30 19:59:25 -08:00
AZtheAsian
3c0ea4da6f
docs: Add user guide for *mention a team member*.
2016-11-30 19:41:49 -08:00
Tim Abbott
995a692f7f
provision: Check whether the system has at least 2GB of RAM.
...
Fixes #2336 .
2016-11-30 16:07:57 -08:00
Tim Abbott
fd7cb10964
install: Check whether the system has at least 2GB RAM.
...
This should eliminate a common class of user error installing Zulip.
Fixes #2290 , fixes #2320 .
2016-11-30 16:07:57 -08:00
Tim Abbott
e73ee5a4c4
test-backend: Fix count for templates without tests.
2016-11-30 15:38:19 -08:00
Tommy Ip
e4091c6413
pep8: Fix E222 violations.
2016-11-30 21:49:02 +00:00
Tommy Ip
46b7d54b3e
pep8: Fix E701 violations.
2016-11-30 20:45:09 +00:00
Heidi Dong
ba7d4e7452
mypy: Annotate bots/gcal-bot.
2016-11-29 20:49:11 -08:00
trueskawka
558d359909
translation: Create Polish translation style guide.
...
Add general notes on Polish translation.
Translate special terms used in Zulip.
2016-11-29 19:36:57 -08:00
Tim Abbott
ce2cc6d869
docs: Link Spanish style guide from translating page.
2016-11-29 19:35:23 -08:00