Steve Howell
af7e39fde2
Remove spurious whitespace in portico.css.
2016-07-31 19:40:21 -07:00
Tim Abbott
2867c019cb
Don't show special empty narrow messages for complex narrows.
...
Previously we showed an empty narrow error message determined entirely
by the first operator, even though there could have been multiple
operators.
2016-07-31 19:38:19 -07:00
Kartik Maji
cea079279e
Improve error message when narrowed to nonexistant or silent users.
...
Fixes #1418 .
2016-07-31 19:38:17 -07:00
Steve Howell
2af176709a
Put each selector on its own line in zulip.css.
2016-07-31 17:46:21 -07:00
Christie Koehler
31efecf03d
Add HelloWorld webhook integration + Walkthough.
...
Improves webhook integration docs and Hello World webhook. Includes
many suggested improvements from @timabbott and @tomaszkolek.
2016-07-29 21:38:40 -07:00
Umair Khan
c1d8ad3d9a
Add GitHub login button to login page.
2016-07-29 12:49:10 -07:00
Umair Khan
4bd0ccb6af
Update zocial.
2016-07-28 15:18:18 -07:00
Tim Abbott
beedfb2939
Revert "[third] Upgrade jquery to version 1.8.3."
...
This reverts commit be93b6ea28
.
Unfortunately, the newer jquery comes with a huge performance
regression affecting the hotkeys code, which has the effect of making
typing super slow.
Fixes : #1449 .
2016-07-28 11:39:06 -07:00
Tim Abbott
375551aaa6
Clean up most hardcoding of mit.edu domain checks.
...
This moves all this code to be gated on a few virtual realm settings.
2016-07-26 20:30:12 -07:00
Tim Abbott
c17676b00c
Cleanup MIT hardcoding for disabling presence.
2016-07-26 20:30:12 -07:00
Eklavya Sharma
5ce80eb4ba
Update types of images accepted as avatars.
...
* Reject SVG in frontend because backend doesn't accept it.
* Add JPEG format in backend tests for avatar upload.
2016-07-26 16:36:47 +05:30
Umair Khan
dce48d58b6
Cache translations.
...
Fixes : #1158
2016-07-21 10:23:31 -07:00
acrefoot
c671ae22d1
Error better when handlebars template is missing ( #1338 )
...
Currently if you try to use a non-existent handlebars
template, you get this error:
Uncaught TypeError: Handlebars.templates[name] is not a function
This change makes it a little more clear what the issue is
and what the fix would be.
2016-07-20 15:56:27 -07:00
Tim Abbott
fb386da552
settings: Extract settings.SAVE_FRONTEND_STACKTRACES.
2016-07-19 15:28:41 -07:00
Tim Abbott
0aaa55fb8f
settings: Extract settings.SHARE_THE_LOVE.
2016-07-19 15:28:41 -07:00
Tim Abbott
6d21a1ec65
Update translations data from Transifex.
2016-07-18 15:02:43 -07:00
Umair Khan
b546391f0b
Move locale to static/locale
2016-07-18 13:59:07 -07:00
Steve Howell
dc0a26deab
Unify styles for settings panel.
2016-07-18 11:11:32 -07:00
Steve Howell
7a66d74f8f
Merge common compose_table styles.
2016-07-18 11:11:32 -07:00
Steve Howell
287752ee5f
Consolidate CSS styles with similar background color.
2016-07-18 11:11:32 -07:00
Steve Howell
51e35cbad4
Remove empty CSS blocks.
2016-07-18 11:11:32 -07:00
Steve Howell
0c96d39f2e
Fix whitespace in CSS.
2016-07-18 11:11:32 -07:00
Rishi Gupta
d529a94e4d
Add realm setting to time-limit editing of message content.
...
This is controlled through the admin tab and a new field in the Realms table.
Notes:
* The admin tab setting takes a value in minutes, whereas the backend stores it
in seconds.
* This setting is unused when allow_message_editing is false.
* There is some generosity in how the limit is enforced. For instance, if the
user sees the hovering edit button, we ensure they have at least 5 seconds to
click it, and if the user gets to the message edit form, we ensure they have
at least 10 seconds to make the edit, by relaxing the limit.
* This commit also includes a countdown timer in the message edit form.
Resolves #903 .
2016-07-15 13:55:49 -07:00
Preston Hansen
87e485c89f
Add error message when user attempts to submit empty alert word.
...
Resolves #1194 .
2016-07-13 21:07:20 -07:00
Tomasz Kolek
f689fbfa4d
Replace old Trello integration with a webhook integration.
...
Fixes : #709 .
[With tweaks on the documentation by tabbott]
2016-07-13 21:00:27 -07:00
Jeff Fowler
6102110a1b
timerender: Include year in message interstitials.
...
For longer running servers, searching the backlog can become ambiguous
since the date stamps that demarcate the messages only include the month
and day. This commit changes the behavior to include the year for
messages which are more than a year old.
2016-07-12 18:26:42 -07:00
Rishi Gupta
235162e000
admin.js: Rename overloaded variable.
...
We were using data for both the request and response data in
$(".administration").on("submit", "form.admin-realm-form".
Left the request data as data to be consistent with the rest of the
file, renamed the response data to response_data.
2016-07-12 17:41:48 -07:00
Tomasz Kolek
d0066c37ff
Add bitbucket2 integration.
...
Bitbucket changed the format of their API. The old format is still
useful for BitBucket enterprise, but for the main cloud verison of
Bitbucket, we need a new BitBucket integration supporting the new API.
2016-07-12 17:34:34 -07:00
Tim Abbott
f513a68ac9
lint-all: Check for missing whitespace before { in CSS.
...
Also fix the existing violations of this rule.
2016-07-10 17:29:36 -07:00
Rishi Gupta
43c2f35776
Add realm setting to disable message editing.
...
This is controlled through the admin tab and a new field in the Realms
table. This mirrors the behavior of the old hardcoded setting
feature_flags.disable_message_editing. Partially resolves #903 .
2016-07-10 11:57:24 -07:00
Steve Howell
494ea4a4f4
Fix end tags in 404/5xx pages.
2016-07-09 17:34:49 -07:00
Tim Abbott
4d28111178
Move alert_words CSS to settings.css.
2016-07-09 08:01:54 -07:00
Tim Abbott
a43021005a
Remove unused notification-docs CSS.
2016-07-09 08:01:19 -07:00
aakash-cr7
63475a55f3
Add bots and avatars css to settings.css.
2016-07-09 08:01:12 -07:00
aakash-cr7
e37e384dd4
Add notification css to settings.css.
2016-07-09 07:53:51 -07:00
Tim Abbott
be93b6ea28
[third] Upgrade jquery to version 1.8.3.
...
Also use the modern NPM name of 'jquery' (all lower case), which is
required as part of this migration.
Fixes #1141 .
2016-07-08 11:09:54 -07:00
Tim Abbott
cb18ef07a7
Rename hashchange.zulip event to avoid jquery 1.8 interaction.
2016-07-08 11:09:09 -07:00
Umair Khan
53662ccd11
Cache email address hint content.
...
This substantially improves the performance of loading the
/#subscriptions page with 1000+ streams in the realm.
2016-07-07 11:39:52 -07:00
Kartik Maji
e5a3339725
Add search box for filtering users to add when creating new streams.
...
Fixes : #779 .
2016-07-06 16:01:33 -07:00
Tim Abbott
8fb4e161dd
Disable browser autocomplete adding stream members.
...
We have our own autocomplete, and the two forms of autocomplete
conflict with each other awkwardly.
2016-07-06 16:01:16 -07:00
Umair Khan
4c178bc00f
Improve the alert messages for display settings.
2016-07-04 11:56:02 -07:00
Umair Khan
035fceb814
Add dynamically loaded language dropdown.
2016-07-04 11:56:02 -07:00
Kartik Maji
f8bb7503e6
Add ability to pin streams to top of the streams sidebar list.
...
Based on work by Lauren Long, with some tweaks by tabbott.
2016-06-30 22:26:09 -07:00
Alex Wilson
2f47945981
Separate unicode emojis from named emojis.
2016-06-30 15:48:02 -07:00
Alex Wilson
b040839c76
Add unicode emoji to frontend markdown parser.
...
Fixes 2nd half of #1011 .
2016-06-30 15:48:02 -07:00
Alex Wilson
434c8d4b08
Add codepointat.js, a polyfill for String.prototype.codePointAt().
2016-06-30 15:48:02 -07:00
Rishi Gupta
17b6d136d5
Add Semaphore webhook integration.
2016-06-29 16:36:19 -07:00
Vishnu Ks
e4b72c3a65
Move respond_to_message to compose.js.
2016-06-29 13:04:02 -07:00
Umair Khan
3115e13caf
Remove extra call to i18n.t.
2016-06-27 14:17:47 -07:00
Tim Abbott
199e2df1e3
Split styles/settings.css out of zulip.css.
2016-06-26 08:21:39 -07:00