• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip / 7263
3%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2016 02:19AM UTC
Jobs 6
Files 226
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7263

push

travis-ci

timabbott
Add backend support for emoji reactions.

This commit adds the following:

1. A reaction model that consists of a user, a message and an emoji that
are unique together (a user cannot react to a particular message more
than once with the same emoji)
2. A reaction event that looks like:
    {
        'type': 'reaction',
	'op': 'add',
	'message_id': 3,
	'emoji_name': 'doge',
	'user': {
	    'user_id': 1,
            'email': 'hamlet@zulip.com',
            'full_name': 'King Hamlet'
	}
    }
3. A new API endpoint, /reactions, that accepts POST requests to add a
reaction to a message
4. A migration to add the new model to the database
5. Tests that check that
   (a) Invalid requests cannot be made
   (b) The reaction event body contains all the info
   (c) The reaction event is sent to the appropriate users
   (d) Reacting more than once fails

It is still missing important features like removing emoji and
fetching them alongside messages.

23181 of 25810 relevant lines covered (89.81%)

1.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7263.1 (TEST_SUITE=frontend) 27 Nov 2016 02:19AM UTC 0
Travis Job 7263.1
2 7263.2 (TEST_SUITE=frontend) 27 Nov 2016 02:19AM UTC 0
Travis Job 7263.2
3 7263.3 (TEST_SUITE=backend) 27 Nov 2016 02:21AM UTC 0
89.79
Travis Job 7263.3
4 7263.4 (TEST_SUITE=backend) 27 Nov 2016 02:21AM UTC 0
89.8
Travis Job 7263.4
6 7263.6 (TEST_SUITE=production) 27 Nov 2016 02:23AM UTC 0
Travis Job 7263.6
7 7263.7 (TEST_SUITE=production) 27 Nov 2016 02:28AM UTC 0
Travis Job 7263.7
Source Files on build 7263
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7263
  • 001847ac on github
  • Prev Build on master (#7262)
  • Next Build on master (#7264)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc