This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/assets/javascripts/discourse
Roman Rizzi d07b472b79
DEV: /channel -> /c chat route rename (#19782)
* DEV: Rnemae channel path to just c

Also swap the channel id and channel slug params to be consistent with core.

* linting

* channel_path

* params in wrong order

* Drop slugify helper and channel route without slug

* Request slug and route models through the channel model if possible

* Add client side redirection for backwards-compatibility

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2023-01-27 09:58:12 -03:00
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
connectors DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
controllers DEV: Change slugs/generate endpoint from GET to POST (#19984) 2023-01-27 10:58:33 +10:00
helpers DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
initializers DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
lib DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
models DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
modifiers/chat DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
pre-initializers DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
routes DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
services DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
templates DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
widgets DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
admin-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-route-map.js DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
preferences-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00