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

165 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
83320e227c FIX: return user matching guest_email if exists 2024-08-05 12:18:19 +08:00
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
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
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
merefield
d8d8eeeb19 merge main, bump patch 2023-10-04 17:20:12 +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
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
6aa68ebd5f overcome inheritance that was forcing table look up on tests 2023-09-28 10:07:57 +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
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
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
Angus McLeod
44f078caff Fix failing rspec test 2023-05-04 17:25:10 +02:00
Angus McLeod
3ea19e1086 Add support for server products PR in isolation 2023-05-04 15:49:04 +02:00
Angus McLeod
4c784d98e6 Add not equals support to mapper 2023-05-03 11:01:54 +02:00
merefield
93b574beb7 fix spelling 2023-04-11 10:00:42 +01:00
merefield
f7cdc77a06 fix spelling 2023-04-11 09:59:22 +01:00
merefield
37cef2ccc2 IMPROVE: warn in logs when at least one user in wizard did not exist 2023-04-11 09:54:37 +01:00
merefield
6b2dd5a443 FIX: users not being added to group as part of create action 2023-04-06 17:04:01 +01:00
Angus McLeod
8734cda00b Fix start step when step is added to previously used wizard 2023-03-22 11:20:30 +01:00
Angus McLeod
a146d57f0e Ensure we're not interpolating an object 2023-03-21 17:20:58 +01:00
Angus McLeod
c6dc80f02c FIX: template guest validation not working with validation conditions 2023-03-17 09:05:53 +01:00
Angus McLeod
091362cb00 Remove subscription requirement for field interpolation. 2023-03-14 16:34:58 +01:00
merefield
b73437299c IMPROVE: separate out new tests 2023-03-10 14:42:42 +00:00
merefield
092947f68b FIX: regular users can't access wizard with guest permissions 2023-03-10 12:43:37 +00:00
Angus McLeod
da6e75faca Fix admin index 2023-02-24 14:17:00 +01:00
Angus McLeod
9eb5fc6ff6 Complete updates to handle subscription product slugs 2023-02-23 19:24:11 +01:00
Angus McLeod
e5d6a20532 Fix specs 2023-02-09 14:32:01 +01:00
Angus McLeod
e7ee89048a Guest wizards cannot use composer or upload 2023-02-09 14:18:25 +01:00
Angus McLeod
edc94b6ea7 Restrict guest support to standard and business subscriptions
- Support mapped value subscription restrictions
- Restrict permitted guest value to standard and business
2023-02-08 13:32:24 +01:00
Angus McLeod
1eefd99c6a Minor fixes 2023-02-07 13:17:40 +01:00
Angus McLeod
8f8c6d50c6 move guest toggle to permitted attribute 2023-02-07 12:46:17 +01:00
Angus McLeod
ebdc045236
Merge branch 'main' into add_guest_support 2023-01-26 11:29:09 +01:00
Angus McLeod
7d2e876584 First working version 2023-01-18 19:53:36 +01:00
Angus McLeod
34ff9e4136 Add watch_tags action 2022-12-23 17:28:09 +01:00
Angus McLeod
4fbcc9b849 Update mapper_spec.rb 2022-12-13 15:56:20 +01:00