Steve Howell
b82a802c22
Use modal.open_overlay() in lightbox.js.
2017-05-08 22:04:56 -07:00
Steve Howell
02c743853c
Use modal.open_overlay() in invite.js.
2017-05-08 22:04:56 -07:00
Steve Howell
6d1a6934b8
Use modal.open_overlay() in drafts.js.
2017-05-08 22:04:56 -07:00
Steve Howell
09a37ec179
Add modals.open_overlay().
2017-05-08 22:04:56 -07:00
Steve Howell
2f6edf47bc
Fix code format of modals.js.
...
Our de facto coding standard for JS modules is not indent
within the boilerplate, and we assign functions to `exports`
in single JS statements.
2017-05-08 22:04:56 -07:00
Tim Abbott
9da63bc087
ui: Initialize settings_sections before hashchange.
...
This is important, since settings_sections must be initialized in
order to load the page with a hash in the settings UI.
2017-05-08 22:02:56 -07:00
Mahim Goyal
6464514ca9
Break compose.js and drafts.js dependency.
2017-05-08 14:43:49 -07:00
Steve Howell
b609911656
Remove unused get_user_profile_by_email() imports.
2017-05-08 11:57:38 -07:00
Steve Howell
3b2a3601c1
tests: Add ZulipTestCase.notification_bot().
2017-05-08 11:57:38 -07:00
Steve Howell
3a031f6814
test: Use example_user() in more places.
...
This commit replaces calls to get_user_profile_by_email() with
calls to self.example_user() by introducing a local variable.
2017-05-08 11:57:38 -07:00
Steve Howell
7f9057ba99
tests: Use example_user() in more places.
2017-05-08 11:57:38 -07:00
Steve Howell
6bc8424c71
Use self.example_user() in more places.
...
This fixes most cases where we were assigning a user to
the var email and then calling get_user_profile_by_email with
that var.
(This was fixed mostly with a script.)
2017-05-08 11:57:38 -07:00
Steve Howell
942db9b6c5
tests: Added ZulipTestCase.example_user() function.
...
The example_user() function is specifically designed for
AARON, hamlet, cordelia, and friends, and it allows a concise
way of using their built-in user profiles. Eventually, the
widespread use of example_user() should help us with refactorings
such as moving the tests users out of the "zulip.com" realm
and deprecating get_user_profile_by_email.
2017-05-08 11:57:38 -07:00
Mahim Goyal
a44a291cdf
Don't open compose when clicking links containing search terms.
...
Link that is a search term opens compose box, add this exception to
the is_clickable_message_element.
Fixes : #4651 .
2017-05-08 11:39:00 -07:00
Tim Abbott
abd09cebb2
git tools: Make error messages more clear.
2017-05-08 10:51:59 -07:00
derAnfaenger
d63fdf5bc6
Fix Twitter bot breaking layout with long words/links.
...
Long words and links now get automatically broken down in the
'twitter-tweet' div; prevents a message box overflow.
Fixes #4659 .
2017-05-08 09:56:35 -07:00
Aditya Bansal
3a097a2a6c
pep8: Add compliance with rule E261 to semaphore/view.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
f4a7791d95
pep8: Add compliance with rule E261 to test_template_parser.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
9fb6d976ca
pep8: Add compliance with rule E261 to test_server.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
2820eb5a54
pep8: Add compliance with rule E261 to wsgi.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
462786e8b0
pep8: Add compliance with rule E261 to local_settings.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
bbccd8ab28
pep8: Add compliance with rule E261 to zilencer/models.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
b07273c2d0
pep8: Add compliance with rule E261 to commands/profile_request.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
bf24e0c9db
pep8: Add compliance with rule E261 to stripe/view.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
3791638985
pep8: Add compliance with rule E261 to semaphore/tests.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
21dd1384b4
pep8: Add compliance with rule E261 to pivotal/view.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
43c978e0f4
pep8: Add compliance with rule E261 to pagerduty/view.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
54989605e0
pep8: Add compliance with rule E261 to github/tests.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
f3c1557529
pep8: Add compliance with rule E261 to beanstalk/view.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
27a1b23392
pep8: Add compliance with rule E261 to ioloop_logging.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
5c82319101
pep8: Add compliance with rule E261 to handlers.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
72d5760d7c
pep8: Add compliance with rule E261 to descriptors.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
b48f07ebc0
pep8: Add compliance with rule E261 to test_users.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
feb332920c
pep8: Add compliance with rule E261 to test_typing.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
191fead5a3
pep8: Add compliance with rule E261 to test_type_debug.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
fcb1e4d4f1
pep8: Add compliance with rule E261 to test_report.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
2b1c6f7749
pep8: Add compliance with rule E261 to test_queue_worker.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
fd4ac33073
pep8: Add compliance with rule E261 to test_push_notifications.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
0478a9d7f3
pep8: Add compliance with rule E261 to test_export.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
7f5f4a511a
pep8: Add compliance with rule E261 to test_decorators.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
ce2790aae2
pep8: Add compliance with rule E261 to test_bots.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
689eb537ae
pep8: Add compliance with rule E261 to storage.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
ce4c4f4e0f
pep8: Add compliance with rule E261 to migrations/0001_initial.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
8a6617e304
pep8: Add compliance with rule E261 to set_default_streams.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
7271fc8a7b
pep8: Add compliance with rule E261 to import.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
d8db632d21
pep8: Add compliance with rule E261 to enqueue_file.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
6a53c53588
pep8: Add compliance with rule E261 to email_mirror.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
f1b2f10574
pep8: Add compliance with rule E261 to dump_messages.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
0999a74ef7
pep8: Add compliance with rule E261 to unminify.py.
2017-05-07 23:21:50 -07:00
Aditya Bansal
724c6d384f
pep8: Add compliance with rule E261 to type_debug.py.
2017-05-07 23:21:50 -07:00