Tim Abbott
d420aa72b8
actions: Fix default domain for realm creation.
...
The old domain was actually an email, not a domain, and hardcoded
acme.com :(.
2017-03-08 16:52:37 -08:00
Rishi Gupta
5cfd1e1266
bot settings: Change placeholder from bot_user_name to cookie.
2017-03-08 16:26:13 -08:00
Rishi Gupta
3797fa657e
Change bot domains to string_id.EXTERNAL_HOST.
...
Change applies to both subdomains and non-subdomains case, though we use
just the EXTERNAL_HOST in the non-subdomains case if there is only 1 realm.
Fixes #3903 .
2017-03-08 16:26:13 -08:00
Tim Abbott
4a1f1db9ee
users: Avoid inserting into the DOM in a loop.
...
This fixes a major performance issue loading the administration page
in large organizations.
2017-03-08 16:21:25 -08:00
Tim Abbott
a8d8855624
attachment: Avoid inserting into the DOM in a loop.
...
This has a huge impact on the performance of loading the settings page
if you have a decent number of past uploaded files.
2017-03-08 16:20:50 -08:00
Tim Abbott
9c02e59b66
hotkey: Fix K/J being treated as hotkeys in compose.
2017-03-08 16:02:33 -08:00
Tim Abbott
e61b54b74a
Fix spacebar being broken in the compose box.
...
This fixes a regression introduced in
8801158dfd
.
Apparently the `page_up`/`page_down` hotkey definitions somewhat
confusingly called `spacebar` `page_down`, etc. Probably worth doing
further cleanup on this.
2017-03-08 15:57:56 -08:00
derAnfaenger
0047dbaa24
Replace native datetimes in the Codebase integration.
...
Update all utcnow() and now() calls, as well as other native dates to
specify the UTC timezone.
Fixes #3809 .
2017-03-08 15:32:06 -08:00
Tim Abbott
fc3927a124
subs: Improve meta.stream_created targeting.
...
This fixes a potential race where you get subscribed to a stream
around the same time that you create a stream.
2017-03-08 14:47:49 -08:00
Brock Whittaker
022aeca085
subs: Prepend new streams to top of stream list.
...
This prepends new streams that are created to the top of the list so
that they are more visible when being created.
2017-03-08 14:47:00 -08:00
Brock Whittaker
8801158dfd
Add hotkey actions for page up/down in compose box.
...
The hotkey actions make the caret position go to the top of the compose
box or bottom respectively, while the compose box is open.
Fixes #1910 .
2017-03-08 14:13:05 -08:00
Tim Abbott
13e82f1a16
casper: Fix test failure due to recent capitalization change.
2017-03-08 14:10:51 -08:00
Tim Abbott
149ca79a2b
node: Fix test failure due to recent capitalization change.
2017-03-08 12:41:21 -08:00
Tim Abbott
ee231c0223
login: Improve development server login copy.
2017-03-08 12:36:04 -08:00
Tim Abbott
b126d64ead
api: Fix API Keys capitalization.
2017-03-08 12:33:37 -08:00
Umair Khan
f5a1b5d88f
capitalization: Fix Zulip Features.
2017-03-08 12:33:37 -08:00
Umair Khan
4ab06a8645
capitalization: Fix Short Name.
2017-03-08 12:33:37 -08:00
Umair Khan
a7ac0c69ac
capitalization: Fix Organization Type.
2017-03-08 12:33:37 -08:00
Umair Khan
194ac99315
capitalization: Fix Log In.
2017-03-08 12:33:37 -08:00
Umair Khan
7f129397a6
capitalization: Fix Bot Email.
2017-03-08 12:33:37 -08:00
Umair Khan
d4228e8151
capitalization: Fix waiting period threshold changed.
2017-03-08 12:33:37 -08:00
Umair Khan
22c1c13f38
capitalization: Fix View Source / Edit Topic.
2017-03-08 12:33:37 -08:00
Umair Khan
935cacfc86
capitalization: Fix View Source.
2017-03-08 12:33:37 -08:00
Umair Khan
523f8ecd79
capitalization: Fix Upload New Avatar.
2017-03-08 12:33:37 -08:00
Umair Khan
3dd823b0af
capitalization: Fix Stream Name.
2017-03-08 12:33:36 -08:00
Umair Khan
fdb709d0b7
capitalization: Fix No Drafts.
2017-03-08 12:29:07 -08:00
Umair Khan
9faf73eaa9
capitalization: Fix Generate new API Key.
2017-03-08 12:29:07 -08:00
Umair Khan
569418f0b4
capitalization: Fix Full Bot Name.
2017-03-08 12:29:07 -08:00
Umair Khan
7d398f4ce3
capitalization: Fix Exit Tutorial.
2017-03-08 12:29:07 -08:00
Umair Khan
7420d77cc3
capitalization: Fix Edit User.
2017-03-08 12:29:07 -08:00
Umair Khan
1863ce41f1
capitalization: Fix Delete Avatar.
2017-03-08 12:29:07 -08:00
Umair Khan
a67b405f3b
capitalization: Fix Delete Alert Word.
2017-03-08 12:29:07 -08:00
Umair Khan
780e3d8d12
capitalization: Fix Deactivate Account.
2017-03-08 12:29:07 -08:00
Umair Khan
6728d212a6
capitalization: Fix Copy from Stream.
2017-03-08 12:29:07 -08:00
Umair Khan
33325d94ab
capitalization: Fix Change Password.
2017-03-08 12:29:07 -08:00
Umair Khan
7973b7ffd2
capitalization: Fix Allow Subdomains.
2017-03-08 12:29:07 -08:00
Umair Khan
0a41c12a07
capitalization: Fix Alert Word.
2017-03-08 12:29:06 -08:00
Umair Khan
0d31bcc2f7
capitalization: Fix API Key.
2017-03-08 12:29:06 -08:00
Tim Abbott
5cc900eca6
README: Rename peer review -> code review.
2017-03-08 11:44:33 -08:00
Elliott Jin
8d936601d3
test-backend: Raise zerver/views/test_upload.py test coverage to 100%.
2017-03-08 11:42:25 -08:00
Tim Abbott
841e81d21e
tests: Fix six.moves range import placement.
2017-03-08 11:36:04 -08:00
Steve Howell
a61f468348
Simplify buddy list status level sorting.
...
Introducing the level function makes it a bit more clear that active
users get sorted to the top.
It also shaves a couple milliseconds for large buddy lists, although
that is mostly negligible compared to name sorting and rendering.
2017-03-08 11:32:23 -08:00
Steve Howell
bdd8964ca9
Simplify and speed up buddy list name sorting.
...
We remove duplicate calls to people.get_person_from_user_id here.
With 2000 users, this makes the sort about 10ms faster.
2017-03-08 11:32:23 -08:00
Steve Howell
a246d2dcb3
refactor: Eliminate presence_info params.
...
It's easier to reason about the activity.js code if we just
make it clear that presence_info is a global singleton. Going
forward, functions that use that data will explicitly refer to
exports.presence_info.
This change makes some tests slightly more awkward to set up, but
with the actual code you now don't have to question whether there
are multiple copies of presence_info to maintain.
The diff for compare_function is a bit confusing to read, but it's
basically just de-dented since we don't need to parameterize the
compare function any more.
2017-03-08 11:32:23 -08:00
Steve Howell
89d362656a
Simplify focus_lost() function (and add comments).
...
The function focus_lost() was setting has_focus to false
in all cases; now it does it more clearly. I also added a
comment explaining why we don't ping on losing focus.
2017-03-08 11:32:22 -08:00
Steve Howell
7cec88c748
performance: Avoid unnecessary buddy list redraws.
...
We no longer build the buddy list twice during page load; we
build it just once from page_params information. (We also send
the initial ping and schedule subsequent pings slightly later in
the process.)
We also don't do redraws upon regaining focus, since we don't
show ourselves in the buddy list, and even if we did, we wouldn't
need a full server update.
To have this flexibility, we introduce the want_redraw flag to
focus_ping.
2017-03-08 11:09:13 -08:00
Tim Abbott
cb14b4405c
tests: Rename zerver/tests/tests.py to test_users.py.
2017-03-08 03:57:37 -08:00
Tim Abbott
8675be2daf
tests: Move ModelTest to test_presence.py.
2017-03-08 03:57:37 -08:00
Tim Abbott
ff7e3a2125
tests: Move ExtractedRecipientsTest test to test_messages.py.
2017-03-08 03:57:37 -08:00
Tim Abbott
ff598a091c
tests: Extract zerver/tests/test_muting.py.
2017-03-08 03:57:37 -08:00