discourse/script
Selase Krakani 9825bde811
DEV: Generic bulk chat import support (#28697)
* DEV: WIP generic bulk chat import support

This first iteration implements bulk import for:

* direct_messages
* chat_channels
* user_chat_channel_memberships
* chat_threads
* user_chat_thread_memberships
* chat_messages
* chat_reactions
* chat_mentions

* DEV: Refactor raw placeholder interpolation to support chat messages

This change adds support for chat message placeholder interpolation
and switches to using `Chat::Message.cook` for cooking in the interim
instead of hand-cooking chat messages like we currently do for posts

* DEV: Extend upload references import to support chat message uploads

* DEV: Explicity set chat retention

- Set both channel and dm chats to 0
- Add temporary workaround for testing only chat imports

* DEV: Compute channel and thread membership metadata

Compute and set various user channel/thread membership stats and
remove hardcoded test index seed data

* FIX: Fix chat reactions import

Allow multiple reactions on a message by a user
2024-10-08 11:55:30 +00:00
..
benchmarks
bulk_import DEV: Generic bulk chat import support (#28697) 2024-10-08 11:55:30 +00:00
demon_test
import_scripts FIX: Mbox import script tried to modify frozen string (#27768) 2024-07-11 23:22:13 +02:00
.gitignore
alice.txt
analyse_message_bus.rb
analyze_sidekiq_queues.rb
bench.rb DEV: Drop puma from `script/bench.rb`, default to Unicorn (#26898) 2024-05-07 12:27:29 +08:00
biggest_objects.rb
boot_mem.rb
build_jsconfig.rb
cache_critical_dns
check_forking.rb
check_reproducible_assets.rb
copyright-deposit
db_timestamps_mover.rb FIX: db_timestamps_mover errors from discourse-voting plugin (#28123) 2024-07-29 11:20:14 -04:00
diff_heaps.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
discourse DEV: Add force option to discourse remap command (#27770) 2024-07-08 11:01:06 -05:00
docker_test.rb
get_github_workflow_run_job_id.rb
i18n_lint.rb FEATURE: Merge discourse-automation (#26432) 2024-04-03 18:20:43 +03:00
install_minio_binaries.rb Revert "DEV: Skip MinioRunner until min.io renews their cert (#25137)" (#25138) 2024-01-05 14:08:27 +08:00
local_minio_s3.rb
memory-analysis
memstats.rb
micro_bench.rb
mwrap_sidekiq
profile_db_generator.rb
promote_migrations
rails
redis_memory.rb
require_profiler.rb
silence_successful_output
spawn_backup_restore.rb
start_test_db.rb DEV: Set `synchronous_commit` to `off` in `start_test_db` (#25453) 2024-01-29 10:14:32 +08:00
switch_container_ruby
test_email_settings.rb
test_mem.rb
test_memory_leak.rb
test_pretty_text.rb
thread_detective.rb
user_simulator.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00