0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
Commit-Graph

258 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
cff8f9f427 Add poster and guest_email to topic and message creation && allow guests to create_topic 2024-07-09 11:23:57 +02:00
Angus McLeod
441ad49bf6 Add email address support to send_message recipients
See further https://coop.pavilion.tech/t/custom-wizard-pm-access-and-send-copy-of-submission-for-guest-users/3600
2024-07-08 11:58:24 +02:00
Angus McLeod
247a3d551c DEV: use of as_json without only no longer allowed
See https://meta.discourse.org/t/preventing-accidental-serialization-of-activerecord-models/314495
2024-07-02 11:59:11 +02:00
Angus McLeod
be0af6f919 Tests and linting 2024-06-20 13:06:02 +02:00
Marcos
080096cfa5 improve file names 2024-03-07 16:17:21 -04:00
Marcos
ab74d5e987 Fix broken test 2024-03-07 15:31:52 -04:00
Angus McLeod
140f11ecc6 Ensure route_to action works if code is blank string 2024-03-05 10:47:59 +01:00
Angus McLeod
389d02068c Fix deprecations and broken tests 2024-01-26 16:18:11 +01:00
Angus McLeod
41e240df09 FIX: Specs involving topic CRUD require users with auto_groups
1f72152e47
2023-12-20 14:05:28 +01:00
Robert
36d348699d
Merge branch 'main' into improve_subscription_classes_rspec_handling 2023-12-07 15:02:14 +00:00
Angus McLeod
bda35c4a32 DEV: improve send message spec
Check that only one notification is being sent
2023-12-04 15:42:16 +01:00
Angus McLeod
35021eb176 DEV: Integrate subscription gem classes in rspec suite
I've tweaked the subscription client gem so we can just use the gem's models and tables in this plugin's rspec, which makes duplicating and stubbing them unnecessary.

See further https://github.com/paviliondev/discourse_subscription_client
2023-11-25 13:16:55 +01:00
Angus McLeod
635700a51e DEV: custom fields concern has be refactored
6aa69bdaea
2023-11-25 11:35:21 +01:00
merefield
2617a6214b merge in main 2023-11-15 10:30:09 +00:00
Angus McLeod
a848a4612e
Merge branch 'main' into add_discourse_plugin_statistics 2023-10-16 10:25:44 +08:00
merefield
d8d8eeeb19 merge main, bump patch 2023-10-04 17:20:12 +01:00
Robert
c0c8b16130
Merge branch 'main' into fix_submission_list_order_in_specs 2023-10-04 16:52:51 +01:00
Angus McLeod
21d0357ffd Add discourse_plugin_statistics plugin definition 2023-10-04 13:09:52 +08:00
jumagura
7171e04e3e DEV: Add test of creating post when there are multiple actions 2023-10-03 13:56:45 -04:00
jumagura
6294f6f9c0 DEV: Add correct parameters for testing 2023-10-02 22:44:54 -04:00
jumagura
98391b565e DEV: Modify test for errors 2023-10-02 22:26:00 -04:00
Angus McLeod
d5aa616ff8 DEV: Add explicit ordering to more specs 2023-09-30 09:46:25 +08:00
Angus McLeod
e02f78569a FIX: explicitly order submission list for specs 2023-09-29 08:33:39 +08:00
merefield
c8263ed6aa change name of subscription stubbing method to add clarity of intent 2023-09-28 14:27:24 +01:00
merefield
da2a56adc6 specs: ensure sub client code is mocked out 2023-09-28 13:47:22 +01:00
merefield
c0082b82b9 instantiate mocked up interface for more tests 2023-09-28 12:13:45 +01:00
merefield
6aa68ebd5f overcome inheritance that was forcing table look up on tests 2023-09-28 10:07:57 +01:00
merefield
8407227f53 update back-end tests 2023-09-24 17:18:40 +01:00
merefield
15f596e8ec merge in main 2023-09-24 12:12:23 +01:00
merefield
2f206f60c7 remove redundant client installed check code 2023-09-22 17:08:03 +01:00
jumagura
bb81c5700a DEV: Use Discourse Events instead of topic model 2023-09-19 13:57:11 -04:00
jumagura
29d7818a4a DEV: Add spec for validation 2023-09-18 17:36:21 -04:00
merefield
72b1a2aca5 merge in main 2023-07-27 09:52:19 +01:00
merefield
a342626267 stick to one method for text conversion 2023-07-19 11:14:08 +01:00
merefield
3fe1a7c7e8 remove redundant downcasing 2023-07-19 09:23:48 +01:00
merefield
609df33680 downcase name for category cstm setting 2023-07-18 14:29:39 +01:00
merefield
c26a89a78a fix test 2023-07-18 14:05:09 +01:00
merefield
b71f627d73 improve test explanation 2023-07-15 10:00:54 +01:00
merefield
4449ab7aff Add corresponding code to help pass test 2023-07-15 09:56:32 +01:00
merefield
1662ff166d Add failing test 2023-07-15 09:38:46 +01:00
merefield
c85be78af5 merge in latest main 2023-07-05 19:59:11 +01:00
Angus McLeod
af39c567ea Add product slug env variable 2023-06-29 10:26:39 +02:00
merefield
712c15e845 FIX: upon revisit, start at step 1 if reset on revisit is set 2023-06-21 09:53:42 +01:00
Angus McLeod
61bf199934 Update class in tests 2023-06-13 20:02:20 +02:00
Angus McLeod
42d6e094a2 Fix failing spec
See further 6cf863080a
2023-06-06 09:15:16 +02:00
Angus McLeod
2fe8501c65 Fix failing specs 2023-06-02 12:51:28 +02:00
Angus McLeod
c256a41668 Also ensure subscription client definition is in the right state 2023-05-31 14:27:00 +02:00
Angus McLeod
99e747a331 Ensure subscriptions are not stubbed if testing for no subscription 2023-05-31 12:09:00 +02:00
Angus McLeod
00ba8425e3 Fix multiple subscriptions sort 2023-05-19 10:29:54 +02:00
Angus McLeod
6be5511d18
Merge branch 'main' into subscription_client_update 2023-05-04 17:27:07 +02:00