dibs-devs / chatter

A simple Chat App for Django based on channels and websockets
MIT License
85 stars 29 forks source link

v 1.0.0 PR: Tests, context processor, bugfixes #29

Closed ishtiaque06 closed 5 years ago

ishtiaque06 commented 5 years ago

This PR includes numerous changes:

  1. The get_chatroom_list context_processor has been removed. This is a backwards-incompatible change since the settings need to be modified accordingly to fit the new design. This closes #13.
  2. Tests have been added for the views, models as well as the ChatConsumer, and a functional test to be worked on later.
  3. The code index and chatroom views are not class-based to allow cleaner code.
  4. To ease development, the registration/login template has been added back. The wheel and tar packages will not contain the template though.
  5. MTSchemaMiddleware checks more thoroughly whether the schema name is valid before changing connection schema on postgres systems.
  6. Closed #26 by adding code in chat-window.js.