0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/automation/test/javascripts/integration/components
Régis Hanol a94a001c64
DEV: Remove defunct "Encrypts PM if available" option from automation (#36973)
The "Encrypts PM if available" checkbox in automation script options was
a leftover from the discourse-encrypt plugin, which was archived almost
a year ago. Since `EncryptedPostCreator` no longer exists, the option
had no effect - the code always fell back to using the regular
`PostCreator`.

This removes all traces of the `prefers_encrypt` feature:
- The checkbox UI in the PM field component
- The `prefers_encrypt` parameter from `Utils.send_pm`
- References in send_pms and gift_exchange scripts
- The column from the pending_pms table (via post-deploy migration)
- Associated translations and tests

The column removal follows the standard two-phase approach: first
declaring `ignored_columns` in the model, then dropping the column in a
post-deploy migration.

Ref - https://meta.discourse.org/t/-/392664
2026-01-08 11:01:49 +01:00
..
da-boolean-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-categories-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-category-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-category-notification-level-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-choices-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-custom-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-date-time-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-email-group-user-field-test.gjs DEV: [gjs-codemod] Convert automation/styleguide/other to gjs 2025-04-14 15:36:16 +01:00
da-group-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-groups-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-message-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-pms-field-test.gjs DEV: Remove defunct "Encrypts PM if available" option from automation (#36973) 2026-01-08 11:01:49 +01:00
da-post-field-test.gjs DEV: Restore qunit testing for plugins with only gjs files (#36046) 2025-11-14 17:20:59 +00:00
da-relative-time-field-test.gjs FEATURE: Introduce set_topic_timer automation script (#36660) 2025-12-23 09:46:52 +00:00
da-tags-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-text-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-text-list-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-trust-levels-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-user-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
da-users-field-test.gjs DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00