Vishnu Ks
f0bb11ef40
management: Use self.get_user in convert_bot_to_outgoing_webhook.
2017-08-08 14:13:19 -07:00
Vishnu Ks
d1bece2ec2
management: Use self.get_realm in create_stream.
2017-08-08 14:13:19 -07:00
Vishnu Ks
9fb5381acb
management: Use self.get_realm in set_default_streams.
2017-08-08 14:13:19 -07:00
Vishnu Ks
3bc475d04f
management: Use self.get_realm in rename_stream.
2017-08-08 14:13:19 -07:00
Vishnu Ks
4e7dbff197
management: Use self.get_realm in realm_filters.
2017-08-08 14:13:19 -07:00
Vishnu Ks
7859ec76cf
management: Use self.get_realm in realm_emoji.
2017-08-08 14:13:19 -07:00
Vishnu Ks
af1c1861da
management: Use self.get_realm in realm_domain.
2017-08-08 14:13:19 -07:00
Vishnu Ks
1b0b135bfc
management: Remove unused imports from process_queue.
2017-08-08 14:13:19 -07:00
Vishnu Ks
0532b35c43
management: Remove unused imports from print_email_delivery_backlog.
2017-08-08 14:13:19 -07:00
Vishnu Ks
164badde13
management: Use self.get_realm in merge_streams.
...
The variable encoding is removed becuase it is not used
anywhere.
2017-08-08 14:13:19 -07:00
Vishnu Ks
6b46762384
management: Fix typo in get_realm CommandError message.
2017-08-08 14:13:19 -07:00
Vishnu Ks
27936fcfd4
management: Remove unused imports from makemessages.
2017-08-08 14:13:19 -07:00
Vishnu Ks
cf61349563
management: Use self.get_realm in logout_all_users.
2017-08-08 14:13:19 -07:00
Vishnu Ks
e28a007487
management: Use self.get_user in knight command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
3a2edc66f1
management: Use get_system_bot in initialize_voyager_db.
2017-08-08 14:13:19 -07:00
Vishnu Ks
f45b80aafe
management: Remove unused imports from initialize_voyager.
2017-08-08 14:13:19 -07:00
Vishnu Ks
05af206392
management: Remove unused imports from import command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
f58efdc3cb
management: Remove unused imports from export_usermessage_batch.
2017-08-08 14:13:19 -07:00
Vishnu Ks
28e76c990a
management: Remove unused imports from email_mirror command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
6687b236bf
management: Remove unused imports from deliver_email command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
b8dacf9bf6
management: Remove unused import from checkconfig command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
5ce0d85ccf
management: Remove unused import from check_redis command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
19f8da4995
management: Use self.get_realm in export command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
4e9dff09fd
management: Use self.get_realm in dump_messages.
2017-08-08 14:13:19 -07:00
Vishnu Ks
bc48c68c09
management: Use self.get_realm in reactivate_realm command.
2017-08-08 14:13:19 -07:00
Vishnu Ks
279af33ea2
management: Use self.get_realm in deactivate_realm.
2017-08-08 14:13:19 -07:00
Vishnu Ks
349d604ad5
management: Use self.get_realm in create_user.
2017-08-08 14:13:19 -07:00
Vishnu Ks
679fece79d
management: Add argument for specifying help in add_realm_args.
2017-08-08 14:13:19 -07:00
Steve Howell
9cad3a009f
Add topic server history, but behind a feature flag.
...
You can now see full topic history if you set the flag
`feature_flags.use_server_topic_history` to `true`.
2017-08-08 17:07:09 -04:00
Steve Howell
3b88e592d0
Add topic_data.get_server_history().
...
This isn't connected to anything yet, but you can now get
all the historical topics for a stream by calling
topic_data.get_server_history().
2017-08-08 17:07:09 -04:00
Tim Abbott
9bbcb712ec
travis: Fix content-length test.
2017-08-08 13:22:22 -07:00
Brock Whittaker
7d80e0c78c
portico: Fix #registration padding.
...
This fixes the registration padding to not be really large. It was an
issue of margin + padding instead of using margin for both where the
result would be max(margin1, margin2).
2017-08-08 13:21:48 -07:00
Brock Whittaker
6a406e2b70
portico: Fix tables to be striped again.
...
This fixes tables to be in more of a compartment and striped again
(which they lost due toe the light grey background).
2017-08-08 13:21:48 -07:00
Brock Whittaker
9f2017c1aa
portico: Unify with smaller box shadows.
...
This unifies components with smaller, more consistent box shadows.
2017-08-08 13:21:48 -07:00
Brock Whittaker
3d4198c681
Replace `String.prototype.startsWith` with `indexOf`.
...
This replaces the `startsWith` string prototype method with `indexOf`
because no versions of Internet Explorer support this feature, and
it really is not difficult to just use `indexOf` instead and check
whether the starting index of the full string is 0.
2017-08-08 12:06:32 -07:00
Brock Whittaker
be33266f83
Make 4xx and 5xx pages full screen.
...
This makes the 4xx and 5xx pages full screen by changing the
`.error_page` div to be fixed and full screen height.
2017-08-08 11:58:22 -07:00
neiljp (Neil Pilgrim)
b782db48e1
mypy: Remove superfluous older 'type: ignore' annotations.
2017-08-08 11:27:51 -07:00
neiljp (Neil Pilgrim)
67f1a72aae
mypy: Ensure events test fails only due to settings absence.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
3711da0dc9
mypy: Mark request_data as Optional based on requests API.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
116b8dd9c9
mypy: Set assign_queue() parameter queue_type to not be Optional.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
24cc14c10d
mypy: Refer to default_stream in if statement, allowing type inference.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
982c0481d0
mypy: Mark log_file as Optional[str] in test_server.py.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
60baedcab9
mypy: strict-optional fixes for Trello integration.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
d9e36c8156
mypy: strict-optional fixes in zerver/tornado/socket.py.
2017-08-07 21:27:50 -07:00
neiljp (Neil Pilgrim)
b7103752dc
mypy: Add assertions relating to Popen.stdout with subprocess.PIPE use.
2017-08-07 21:27:50 -07:00
Greg Price
b6d90808a5
prod: Make `cp` copy a directory to its target, not into it.
...
This was causing `language_options.json` and the `django.mo` files
never to get updated by `upgrade-zulip-from-git` after first deploy.
The stale `django.mo` files meant that any message string which wasn't
in the original from-tarball installation of the server would never
get translated.
The same bug exists in several other spots in this file. Some of
our repetitive-yet-subtly-different uses of `cp` should probably
turn into just a list of arguments to one `rsync -R` command.
Also this should probably really use `rsync --delete` -- for example,
in prod on zulipchat.com we still have lying around a `locale/zh_CN`
directory, even though in a freshly-built static tree there's only
`locale/zh_Hans` instead.
2017-08-07 19:23:27 -07:00
Vaida Plankyte
cd560a80f2
settings.py: Add GOOGLE_OAUTH2_CLIENT_ID to DEFAULT_SETTINGS.
...
Allows the command-line help text to appear for Google
authentication, rather than a traceback.
2017-08-07 18:38:06 -07:00
Greg Price
8ccd8a7d27
settings: Wait for i18n setup before rendering settings nav.
...
Much like the parent commit and 038a2c769
, but this time for the
"Settings"/"Organization" nav at the upper-left of the settings overlay.
2017-08-07 18:22:51 -07:00
Greg Price
ee3ead2744
ui: Wait for i18n setup before rendering hotkeys help.
...
Much like 038a2c769
, but for the three tabs at the top of the
`?` help overlay for keyboard shortcuts.
2017-08-07 18:22:51 -07:00
Greg Price
8ab213e3e4
locale: Update Japanese strings.
2017-08-07 16:58:10 -07:00