discourse/plugins/discourse-narrative-bot
Alan Guo Xiang Tan 3491642f98
DEV: Make `discourse_narrative_bot` use Rails autoload (#26044)
Why this change?

Instead of manually loading files, we should just structure the plugin
so that it relies on Rails autoload strategy and avoid all the manual
`require_relative`s.

What does this change do?

1. Structure the plugin to use Rails autoloading convention
2. Remove onceff jobs that were added 5-6 years ago. There is no need to
   carry these jobs anymore after such a long time.
3. Move setting of `SiteSetting.discourse_narrative_bot_enabled` to
   `false` in the test environment from core into the plugin.
2024-03-06 11:14:53 +08:00
..
app DEV: Make `discourse_narrative_bot` use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
assets PERF: Move user-tips and narrative to per-user messagebus channels (#19773) 2023-01-30 11:48:09 +00:00
config DEV: Make `discourse_narrative_bot` use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
db UX: Update badge icons (#20462) 2023-02-28 10:42:05 +08:00
lib/discourse_narrative_bot DEV: Make `discourse_narrative_bot` use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
public/images remove unnecessary symlink 2019-11-29 22:23:43 +01:00
spec DEV: Make `discourse_narrative_bot` use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
plugin.rb DEV: Make `discourse_narrative_bot` use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00