discourse/plugins/automation/spec
Joffrey JAFFEUX 4f2a8d39da
FIX: correctly refreshes associated fields after update (#33246)
The `on_update` callback of triggers is called with previous fields and
new fields, values. However since a recent change:
https://github.com/discourse/discourse/pull/32810 this relationship is
cached and would cause previous fields to equal new fields. This commit
ensures we are refreshing the relationship before calling the
`on_update` callback.
2025-06-18 14:01:09 +02:00
..
fabricators FIX: ensures global notices are destroyed on post created (#28684) 2024-09-02 21:17:10 +02:00
integration DEV: Change hide_email_address_taken default to true (#30293) 2024-12-17 10:46:04 +08:00
jobs DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00
lib FIX: adds post_quote as placeholder (#29083) 2024-10-08 21:55:11 +09:00
models FIX: attempts to fix flaky in stat spec (#32784) 2025-05-18 21:55:46 +02:00
requests FIX: correctly refreshes associated fields after update (#33246) 2025-06-18 14:01:09 +02:00
scripts FIX: relax automation restrictions (#32238) 2025-04-11 07:27:43 +08:00
serializers DEV: Clean up state to prevent flaky tests (#27397) 2024-06-10 08:41:03 +08:00
services DEV: Update rubocop-discourse (#30552) 2025-01-04 13:48:21 +01:00
system FIX: destroy automation not working (#31945) 2025-03-21 15:22:33 +11:00
triggers FIX: Make post created/edited automation trigger regexes more specific (#32944) 2025-05-27 15:40:00 -05:00
plugin_helper.rb DEV: Convert some files to autoloading and various improvements (#26860) 2024-05-06 23:12:55 +03:00