discourse_subscription_client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e9c613aa210fef7c5beacc341e3f704e131d67c5b79af85857458b0386c14a1
|
4
|
+
data.tar.gz: 99cd4b1e1f61ad63f1f8d96ecf81091442cea1e4141c9b41a0c3f02da3018418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2b1d5314c41feaeda861642cd459466861945a9596990353db26c5124ea7f758215bf1b2f9d6beee810ca0400f9fadb3b4da3b8bfe6ec3b609093090bb5339
|
7
|
+
data.tar.gz: 8c412d3337fe1c7f6790ada74217bd678d50ab411a20bb908ac829c39ad086d9776880bfc921ecfdd3f250d0511a59c9dbdf96814dff767370a3f6f0dd58c804
|
@@ -70,23 +70,6 @@ module DiscourseSubscriptionClient
|
|
70
70
|
SiteSerializer.prepend DiscourseSubscriptionClient::SiteSerializerExtension
|
71
71
|
|
72
72
|
User.has_many(:subscription_client_suppliers)
|
73
|
-
|
74
|
-
AdminDashboardData.add_scheduled_problem_check(:subscription_client) do
|
75
|
-
return unless SiteSetting.subscription_client_warning_notices_on_dashboard
|
76
|
-
|
77
|
-
notices = SubscriptionClientNotice.list(
|
78
|
-
notice_type: SubscriptionClientNotice.error_types,
|
79
|
-
visible: true
|
80
|
-
)
|
81
|
-
notices.map do |notice|
|
82
|
-
AdminDashboardData::Problem.new(
|
83
|
-
"#{notice.title}: #{notice.message}",
|
84
|
-
priority: "high",
|
85
|
-
identifier: "subscription_client_notice_#{notice.id}"
|
86
|
-
)
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
73
|
DiscourseEvent.trigger(:subscription_client_ready)
|
91
74
|
end
|
92
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_subscription_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|