zulip/zerver
Armaan Ahluwalia 54d3d8e8b3 webpack: Transition app.js to be compiled by webpack.
This commit moves all files previously under the 'app' bundle in
the Django pipeline to being compiled by webpack under the 'app'
entry point. In the process, it moves assets under the app entry
to a file called app.js that consumes all relevant css and js files.

This commit also edits the webpack config to be able to expose certain
variables for third party libraries that are currently required by
some modules. This is bad coding form and should be refactored to
requiring whatever dependencies a module may have; we're just
deferring that to the future to simplify the series of transitions we
need to do here. The variable exposure is done using expose-loader in
webpack.

The app/index.html template is edited to override the newly introduced
'commonjs' block in the base template. This is done as a temporary
measure so as not to disrupt other pages on the app during the transition.

It also fixes the value of the 'this' context that was being inferred
as window by third party libraries. This is done using imports-loader
in the webpack config.  This is also messy and probably isn't how we
want things to work long term.
2018-07-05 11:03:08 +02:00
..
lib api docs: Migrate POST /users/me/subscriptions to OpenAPI. 2018-07-03 20:15:34 +02:00
management Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
migrations migrations: Remove dependence on PRIVATE_STREAM_HISTORY_FOR_SUBSCRIBERS. 2018-05-29 07:36:53 -07:00
openapi api docs: Migrate POST /users/me/subscriptions to OpenAPI. 2018-07-03 20:15:34 +02:00
templatetags minified_js: Clean up unused imports. 2018-07-04 17:38:55 +02:00
tests webpack: Transition app.js to be compiled by webpack. 2018-07-05 11:03:08 +02:00
tornado requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
views Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
webhooks Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
worker registration: Use tokenized noreply address in user invite. 2018-06-23 12:03:30 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py custom profile fields: Extract a separate various for whether enabled. 2018-06-07 11:35:04 -07:00
decorator.py 2FA: Add zulip_otp_required decorator. 2018-05-23 15:46:57 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py signup: Prevent users from signing up with email containing +. 2018-06-23 12:03:30 -07:00
logging_handlers.py test_logging_handlers: Mock out `git describe` because can be slow. 2018-03-23 18:24:51 -07:00
middleware.py zerver: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
models.py Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
signals.py auth: Added time conversion in new login emails. 2018-06-07 08:40:22 -07:00
static_header.txt