discourse-chat-integration/config/locales
Gabriel Grubba 3f8b67d1c1
Feature: add chat integration reference post (#216)
* FEATURE: Add chat integration reference post

This class works similar to a post but it is not a post.

* DEV: change how `excerpt` method works

* feature: Add `send_chat_integration_message` scriptable

add `send_chat_integration_message` scriptable that uses the rules to send a message to the chat provider
add locale strings for the new scriptable
update `ChatIntegrationReferencePost` `excerpt` method
add tests for `ChatIntegrationReferencePost`

* DEV: Add `get_channel_by_name` to every provider

This makes using `trigger_notification` easier with every provider as well.

* DEV: Add `get_channel_name` to all providers

This method gets the name of the channel based on how the provider identifies it.
Updates channel_name in locales yaml
Adds migrate_tag_added_filter_to_all_providers.rb to move all existing rules to use Automation

* DEV: Add removal of old migration data

Update small action locales with strings from core

* DEV: solve review comments

* DEV: update test locale strings

* DEV: remove empty line to trigger lint

* DEV: lint applied

* DEV: Add tests for automation integration

* DEV: add rails logger for when automatio error occurs

* DEV: move migration to be SQL only

Update provider helper to use hashes instead of dot notation

* DEV: update migration with correct table names

* DEV: Update migrate_tag_added_filter_to_all_providers to use smaller SQL queries

Commented out migrate_tag_added_from_filter_to_automation.rb

* DEV: update comments in migration file

* DEV: update indentation in client.en.yml

* DEV: update with review comments

* Update spec/lib/discourse_chat_integration/chat_integration_reference_post_spec.rb

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

* Update spec/lib/discourse_chat_integration/chat_integration_reference_post_spec.rb

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

* Update spec/lib/discourse_chat_integration/chat_integration_reference_post_spec.rb

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

* Update spec/integration/automation_spec.rb

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

* Update lib/discourse_chat_integration/chat_integration_reference_post.rb

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

* DEV: update specs with review comments

* DEV: update typos in tests

* DEV: inlined functions for getting channel name for provider in migration

---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-09-11 10:42:52 -03:00
..
client.ar.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.be.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.bg.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.bs_BA.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.ca.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.cs.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.da.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.de.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.el.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.en.yml Feature: add chat integration reference post (#216) 2024-09-11 10:42:52 -03:00
client.en_GB.yml Update translations (#60) 2021-02-09 14:50:01 +01:00
client.es.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.et.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.fa_IR.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.fi.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.fr.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.gl.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.he.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.hr.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.hu.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.hy.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.id.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.it.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.ja.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.ko.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.lt.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.lv.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.nb_NO.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.nl.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.pl_PL.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.pt.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.pt_BR.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.ro.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.ru.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.sk.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.sl.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.sq.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.sr.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.sv.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.sw.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.te.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.th.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.tr_TR.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.ug.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.uk.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.ur.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.vi.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
client.zh_CN.yml Update translations (#215) 2024-09-02 18:00:35 +02:00
client.zh_TW.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
server.ar.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.be.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.bg.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.bs_BA.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.ca.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.cs.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.da.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.de.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.el.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.en.yml Feature: add chat integration reference post (#216) 2024-09-11 10:42:52 -03:00
server.en_GB.yml Update translations (#60) 2021-02-09 14:50:01 +01:00
server.es.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.et.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.fa_IR.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.fi.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.fr.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.gl.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.he.yml Update translations (#212) 2024-08-20 17:59:48 +02:00
server.hr.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.hu.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.hy.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.id.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.it.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ja.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ko.yml Update translations (#90) 2021-10-05 15:59:18 +02:00
server.lt.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.lv.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.nb_NO.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.nl.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.pl_PL.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.pt.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.pt_BR.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ro.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ru.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.sk.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.sl.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.sq.yml Update translations (#161) 2023-02-21 17:11:53 +01:00
server.sr.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.sv.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.sw.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.te.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.th.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.tr_TR.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ug.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.uk.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.ur.yml Update translations (#156) 2023-01-10 20:54:26 +01:00
server.vi.yml Update translations (#199) 2024-05-31 12:27:13 +02:00
server.zh_CN.yml Update translations (#211) 2024-08-14 08:10:15 +02:00
server.zh_TW.yml Update translations (#211) 2024-08-14 08:10:15 +02:00