mno-enterprise-core 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/mno_enterprise/app.rb +2 -2
- data/config/locales/templates/components/en.yml +19 -0
- data/config/locales/templates/dashboard/en.yml +6 -0
- data/config/locales/templates/dashboard/marketplace/en.yml +5 -0
- data/config/locales/templates/dashboard/organization/en.yml +2 -0
- data/config/locales/templates/impac/dock/en.yml +3 -1
- data/config/locales/templates/onboarding/en.yml +5 -3
- data/lib/mno_enterprise/version.rb +1 -1
- data/spec/models/mno_enterprise/app_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36015e6f83cd3b2b8568c374127f08851e3fa19
|
4
|
+
data.tar.gz: 3bc67afb284d6876665d4ee2c8fb9e0f71488a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bad44bd8652ccd321ecf95edd1db48d9dc8c465d213a0ab184f866320a0c12ae295aafbcdcc4de982612a13c3702a1f0e411d399faee0e2ba9d586c87f7c0b09
|
7
|
+
data.tar.gz: 317554cdc777ab9f5fac31da149caf1f0d8aea70bf0cabaf197f94e06d07faef1a63e996a1246373304582de44855996aad0496c430463504fe782a53ea74c9a
|
@@ -33,7 +33,7 @@ module MnoEnterprise
|
|
33
33
|
attributes :id, :uid, :nid, :name, :description, :tiny_description, :created_at, :updated_at, :logo, :website, :slug,
|
34
34
|
:categories, :key_benefits, :key_features, :testimonials, :worldwide_usage, :tiny_description,
|
35
35
|
:popup_description, :stack, :terms_url, :pictures, :tags, :api_key, :metadata_url, :metadata, :details, :rank,
|
36
|
-
:multi_instantiable, :subcategories, :reviews, :average_rating, :running_instances_count
|
36
|
+
:multi_instantiable, :subcategories, :reviews, :average_rating, :running_instances_count, :pricing_text
|
37
37
|
|
38
38
|
|
39
39
|
#================================
|
@@ -61,7 +61,7 @@ module MnoEnterprise
|
|
61
61
|
# Sanitize the app description
|
62
62
|
# E.g.: replace any mention of Maestrano by the tenant name
|
63
63
|
def sanitized_description
|
64
|
-
@sanitized_description ||= (self.description || '').gsub(/maestrano/i,MnoEnterprise.app_name)
|
64
|
+
@sanitized_description ||= (self.description || '').gsub(/(?!cdn\.)maestrano(?!\.com)/i,MnoEnterprise.app_name)
|
65
65
|
end
|
66
66
|
|
67
67
|
# Methods for appinfo flags
|
@@ -38,10 +38,14 @@ en:
|
|
38
38
|
create_account_tooltip: "A new tab will open for you to create an account. Afterwards, return here to connect it."
|
39
39
|
connect_app: "Connect an existing account"
|
40
40
|
access_addon: "Access Add-on"
|
41
|
+
access_addon_tooltip: "This application requires you to set-up the connection in a separate screen."
|
41
42
|
insufficient_privilege: "You do not have the sufficient privileges. Contact your administrator."
|
42
43
|
success_notification_title: "{name} has been added to your account"
|
43
44
|
success_launch_notification_body: "To start using {name}, click on the {name} icon then click on \"Launch\"."
|
44
45
|
success_connect_notification_body: "To start using {name}, click on the {name} icon then click on \"Connect\"."
|
46
|
+
app_requires_no_set_up: "No set-up required."
|
47
|
+
app_connects_on_launch: "This app connects when launched."
|
48
|
+
app_connected: "(connected)"
|
45
49
|
|
46
50
|
audit_events_list:
|
47
51
|
loading_events: Loading Events
|
@@ -53,3 +57,18 @@ en:
|
|
53
57
|
|
54
58
|
mno_pagination:
|
55
59
|
items_per_page: "Items per page: "
|
60
|
+
|
61
|
+
mno_password:
|
62
|
+
current_password: 'Current Password'
|
63
|
+
new_password: 'New Password'
|
64
|
+
confirm_password: 'Confirm Password'
|
65
|
+
eight_characters_minimum: 'Eight characters minimum'
|
66
|
+
one_uppercase_character: 'One uppercase character'
|
67
|
+
one_number: 'One number'
|
68
|
+
one_lowercase_character: 'One lowercase character'
|
69
|
+
same_password: 'Same password'
|
70
|
+
save: 'Save'
|
71
|
+
cancel: 'Cancel'
|
72
|
+
|
73
|
+
language_selectbox:
|
74
|
+
language: 'Language'
|
@@ -19,6 +19,7 @@ en:
|
|
19
19
|
start_app: "Start Now!"
|
20
20
|
launch_app: "Launch app"
|
21
21
|
connect_app: "Connect App"
|
22
|
+
price: "Price"
|
22
23
|
tag_responsive: "Responsive"
|
23
24
|
tag_star: "Star!™ Tutorials"
|
24
25
|
tag_connec: "Connec!™ Ready"
|
@@ -40,6 +41,7 @@ en:
|
|
40
41
|
just_now: "Just Now"
|
41
42
|
company_feedback: "Company feedback"
|
42
43
|
review_title: "Review"
|
44
|
+
reviews: "Reviews"
|
43
45
|
no_app_no_review: "You need to have the app running in order to give your feedback."
|
44
46
|
tell_others: "Tell others what you think about this application (optional)"
|
45
47
|
cancel: "Cancel"
|
@@ -47,6 +49,7 @@ en:
|
|
47
49
|
comment_title: "Comment this feedback:"
|
48
50
|
comment_placeholder: "Enter your comment here..."
|
49
51
|
question_title: "Question"
|
52
|
+
questions: "Questions"
|
50
53
|
question_search: "Search..."
|
51
54
|
question_ask: "Ask a question"
|
52
55
|
question_ask_placeholder: "Enter your question here..."
|
@@ -88,6 +91,8 @@ en:
|
|
88
91
|
delete_modal_body: "Do you really want to delete your comment?"
|
89
92
|
delete_modal_cancel: "Cancel"
|
90
93
|
delete_modal_delete: "Delete"
|
94
|
+
hide_comments: "Hide Comments"
|
95
|
+
feedback_list_links: "Comment{COUNT, select, undefined{} other{{COUNT, plural, one{ (#)} other{s (#)}}}}"
|
91
96
|
answer:
|
92
97
|
delete_modal_header: "Delete an answer"
|
93
98
|
delete_modal_body: "Do you really want to delete your answer?"
|
@@ -86,6 +86,8 @@ en:
|
|
86
86
|
invite_modal:
|
87
87
|
title_name: "Edit Member: {name} {surname}"
|
88
88
|
title_email: "Edit Member: {email}"
|
89
|
+
title_enter_emails: "Enter email addresses"
|
90
|
+
title_select_roles: "Select role for each new member"
|
89
91
|
description: Enter the email addresses of the people you want to invite in your company
|
90
92
|
example: "One address per line, e.g.:"
|
91
93
|
disclaimer: Please note that for security reasons unaccepted invites will automatically expire after 3 days.
|
@@ -8,6 +8,8 @@ en:
|
|
8
8
|
settings: Settings
|
9
9
|
add_more_apps: Add more apps
|
10
10
|
cancel: Cancel
|
11
|
+
do_not_have_apps: "It looks like you don't have any apps"
|
12
|
+
click_here: click here to get started
|
11
13
|
settings:
|
12
14
|
settings: Settings
|
13
15
|
status: Status
|
@@ -24,5 +26,5 @@ en:
|
|
24
26
|
developer_details: developer details
|
25
27
|
linked_to: Linked to
|
26
28
|
organization_id: Organization id
|
27
|
-
group_id: Group id (uid)
|
29
|
+
group_id: Group id (uid)
|
28
30
|
|
@@ -6,6 +6,8 @@ en:
|
|
6
6
|
single_billing: "Single billing"
|
7
7
|
data_sharing: "Data-sharing"
|
8
8
|
onboarding:
|
9
|
+
menu:
|
10
|
+
logout: "Log out"
|
9
11
|
breadcrumb:
|
10
12
|
step1: "Welcome"
|
11
13
|
step2: "Select your application(s)"
|
@@ -39,7 +41,7 @@ en:
|
|
39
41
|
free_trial: "{duration} days free trial"
|
40
42
|
connect_apps:
|
41
43
|
connect_applications: "Connect your applications"
|
42
|
-
|
43
|
-
|
44
|
+
apps_to_connect_now: "Connect your application now to start sharing data immediately."
|
45
|
+
apps_to_connect_later: "You can connect at any time from your dashboard."
|
44
46
|
go_to_dashboard: "Go to my dashboard!"
|
45
|
-
skip: "
|
47
|
+
skip: "Go to my account!"
|
@@ -36,6 +36,11 @@ module MnoEnterprise
|
|
36
36
|
it 'replaces any mention of maestrano by the name of the platform' do
|
37
37
|
expect(app.sanitized_description).to eq("Some description by #{MnoEnterprise.app_name}")
|
38
38
|
end
|
39
|
+
|
40
|
+
it 'does not replace the CDN url' do
|
41
|
+
app.description = 'Screenshot: <img src="//cdn.maestrano.com/web/mno/screenshot.png"/>'
|
42
|
+
expect(app.sanitized_description).to eq(app.description)
|
43
|
+
end
|
39
44
|
end
|
40
45
|
|
41
46
|
describe '#regenerate_api_key!' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mno-enterprise-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|