muck-users 3.1.6 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -0
- data/VERSION +1 -1
- data/app/views/access_code_requests/new.html.erb +10 -7
- data/app/views/users/_signup_form.html.erb +1 -1
- data/config/locales/en.yml +11 -10
- data/muck-users.gemspec +5 -5
- data/public/javascripts/muck-users.js +1 -0
- data/public/stylesheets/muck-users.css +8 -0
- metadata +7 -6
data/README.rdoc
CHANGED
@@ -114,6 +114,12 @@ By default when a user logs out they are sent to the login page. You can add a
|
|
114
114
|
|
115
115
|
muck-users sends out emails that need to be able to generate links. Be sure to set a value for MuckEngine.configuration.application_url.
|
116
116
|
|
117
|
+
=== Assets
|
118
|
+
|
119
|
+
Calling rake muck:sync:users will pull in images, javascript and other assets.
|
120
|
+
The javascript is automatically included when needed and does not need to be added to the head of your document.
|
121
|
+
It is recommended that you include muck-users.css or copy it's content's and modify it as needed.
|
122
|
+
|
117
123
|
=== Beta Codes
|
118
124
|
muck-users includes the ability to require a code to sign up. Add a sign up form to collect emails:
|
119
125
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.7
|
@@ -1,7 +1,10 @@
|
|
1
|
-
<
|
2
|
-
|
3
|
-
|
4
|
-
<%=
|
5
|
-
<%=
|
6
|
-
|
7
|
-
|
1
|
+
<div id="access-code-request">
|
2
|
+
<h3><%=translate('muck.users.request_access_code') %></h3>
|
3
|
+
<p><%=translate('muck.users.request_access_code_instruction')%></p>
|
4
|
+
<%= output_errors('Problem adding access code', {:class => 'help-box'}, @access_code_request) %>
|
5
|
+
<%= muck_form_for :access_code_request, :url => access_code_requests_path, :html => { :class => 'ajax beta_code_request_form' } do |f| -%>
|
6
|
+
<%= f.text_field :email, { :label => translate('muck.users.access_request_email') } -%>
|
7
|
+
<%= f.text_field :name, { :label => translate('muck.users.access_request_name') } -%>
|
8
|
+
<%= f.submit translate('muck.users.submit') %>
|
9
|
+
<% end -%>
|
10
|
+
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<% if MuckUsers.configuration.require_access_code -%>
|
6
6
|
<%= f.text_field :access_code_code, { :label => translate('muck.users.access_code'),
|
7
7
|
:extra_html => translate('muck.users.access_code_help',
|
8
|
-
:access_request_anchor => %Q{<a class="fancy-
|
8
|
+
:access_request_anchor => %Q{<a class="fancy-access-request iframe" href="#{new_access_code_request_path}">},
|
9
9
|
:access_request_anchor_end => "</a>").html_safe } -%>
|
10
10
|
<% end -%>
|
11
11
|
|
data/config/locales/en.yml
CHANGED
@@ -8,7 +8,6 @@ en:
|
|
8
8
|
join_application_name: Join and get it done
|
9
9
|
email_help: Please use a valid, current e-mail address. We will never share or spam your e-mail address.
|
10
10
|
logout_required: ""
|
11
|
-
access_code_thank_you: Thank you for your interest. We'll get you a code as soon as possible.
|
12
11
|
access_code_fullfill_invites_limit_tip: Enter a number to limit the number of requests sent out. For example, entering 100 will limit the invites to the most recent 100 requests
|
13
12
|
access_required_warning: Site access is currently restricted. You need a valid access code to sign up.
|
14
13
|
login_out_success: You have been logged out.
|
@@ -26,7 +25,6 @@ en:
|
|
26
25
|
add_user_to_role: Add User to Role
|
27
26
|
add_access_code_title: Add Access Code
|
28
27
|
terms_and_service: By clicking 'Sign-up Now' you agree to comply with the %{tos_link_anchor}Terms and Conditions%{link_end}.
|
29
|
-
terms_and_service_tip: In order to register you must agree to the terms and conditions. You may review these policies before proceeding by clicking on the link.
|
30
28
|
password_reset_link_sent: Instructions to reset your password have been emailed to you. Please check your email.
|
31
29
|
deleting_user: deleting user...
|
32
30
|
forgot_your_username: Forgot your username?
|
@@ -42,19 +40,23 @@ en:
|
|
42
40
|
access_code_delete_error: An error occured while trying to delete the access code
|
43
41
|
access_code_fullfill_invites: Fulfill Invite Requests
|
44
42
|
access_code_unlimited: Unlimited
|
45
|
-
user_update_sucess: User was successfully updated
|
46
43
|
welcome: Welcome
|
47
44
|
bulk_access_codes_created: Bulk access codes created and emailed to %{email_count} emails.
|
48
45
|
users_in_role: "Users in role: %{role}"
|
49
46
|
current_password: Current Password
|
47
|
+
user_update_sucess: User was successfully updated
|
50
48
|
problem_creating_account: "There was a problem creating your account. Please correct the following errors:"
|
49
|
+
terms_of_service_required: You must accept the terms of service.
|
51
50
|
password_confirmation_help: To ensure that your password is correct please enter it again here.
|
52
51
|
edit_access_code_title: Edit Access Code
|
52
|
+
access_request_name: Name
|
53
53
|
thanks_sign_up_login: Thanks for signing up! You may login now
|
54
54
|
already_activated: Your account has already been activated. You can log in below.
|
55
|
+
access_request_email: Email
|
55
56
|
password: Password
|
56
57
|
account_not_activated: Your %{application_name} account has not yet been activated.
|
57
58
|
sorry_invalid_reset_code: We're sorry, but we could not locate your account. If you are having issues try copying and pasting the URL from your email into your browser or restarting the reset password process.
|
59
|
+
update_user_admin: Update User
|
58
60
|
problem_changing_password: There was a problem changing your password. %{errors}
|
59
61
|
access_code_delete_problem: Cannot delete access code it has users associated with it.
|
60
62
|
user_enable_problem: There was a problem enabling this user.
|
@@ -79,7 +81,6 @@ en:
|
|
79
81
|
cannot_deactivate_yourself: You cannot deactivate yourself!
|
80
82
|
bulk_access_codes_description: This will generate a unique, single use access code for each of the emails provided.
|
81
83
|
add: Add
|
82
|
-
terms_of_service_required: You must accept the terms of service.
|
83
84
|
admin:
|
84
85
|
activate_all_inactive_users_confirm: Are you sure you want to activate all inactive users in the system? This cannot be undone!
|
85
86
|
activate_all_inactive_users: Activate All Inactive Users
|
@@ -88,6 +89,7 @@ en:
|
|
88
89
|
unactivated_users: There are %{count} unactivated users
|
89
90
|
request_username: Request Username
|
90
91
|
name: Name
|
92
|
+
terms_and_service_tip: In order to register you must agree to the terms and conditions. You may review these policies before proceeding by clicking on the link.
|
91
93
|
sign_in_now: Sign in now!
|
92
94
|
my_dashboard: My Dashboard
|
93
95
|
confirm_select_new_password: Confirm Password Change
|
@@ -105,6 +107,7 @@ en:
|
|
105
107
|
delete_this_user: Delete this user.
|
106
108
|
username_help: You can use between 6 and 20 characters. If the name you want isn't available try adding numbers or punctuation.
|
107
109
|
edit_role_dialog_title: Edit Role
|
110
|
+
request_access_code_instruction: Please provide the following information and we'll provide you with an access code as soon as possible.
|
108
111
|
username_not_available: Username not available
|
109
112
|
remove_my_account: Remove My Account
|
110
113
|
email_available: Email available
|
@@ -117,12 +120,13 @@ en:
|
|
117
120
|
access_code_added: Access Code was successfully added
|
118
121
|
change_permissions: Change Roles
|
119
122
|
what_is_the_email: What is the email address used to create your account?
|
120
|
-
activation_complete: Activation Complete
|
121
|
-
welcome_message: Welcome to muck. This system provides the basic components to help you build your website.
|
122
|
-
register_account: Register for a %{application_name} account
|
123
123
|
password_reset: Password reset.
|
124
|
+
register_account: Register for a %{application_name} account
|
125
|
+
welcome_message: Welcome to muck. This system provides the basic components to help you build your website.
|
126
|
+
activation_complete: Activation Complete
|
124
127
|
access_code_uses: Uses
|
125
128
|
recover_password_prompt: (If you forgot your password recover it here)
|
129
|
+
access_code_thank_you: Thank you for your interest. We'll get you a code as soon as possible.
|
126
130
|
username: Username
|
127
131
|
user_marked_active: User has been marked as active
|
128
132
|
all_users: All Users
|
@@ -202,7 +206,6 @@ en:
|
|
202
206
|
user_update: Your user information has been updated.
|
203
207
|
update_profile: Update your profile
|
204
208
|
update_user: Update your user information
|
205
|
-
update_user_admin: Update User
|
206
209
|
choose_member_name: Member Name
|
207
210
|
access_denied: You don't have permission to access the requested page.
|
208
211
|
username_available: Username available
|
@@ -212,8 +215,6 @@ en:
|
|
212
215
|
email_recover_prompt: Please provide the email you signed up with to recover your password.
|
213
216
|
thanks_sign_up: Thanks for signing up!
|
214
217
|
reset_password: Reset Your Password
|
215
|
-
access_request_email: Email
|
216
|
-
access_request_name: Name
|
217
218
|
roles:
|
218
219
|
role_created: Role was successfully created.
|
219
220
|
assign_role: Assign Role
|
data/muck-users.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-users}
|
8
|
-
s.version = "3.1.
|
8
|
+
s.version = "3.1.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-22}
|
13
13
|
s.description = %q{Easily add user signup, login and other features to your application}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -471,15 +471,15 @@ Gem::Specification.new do |s|
|
|
471
471
|
"public/images/icon_no.gif",
|
472
472
|
"public/images/icon_success.gif",
|
473
473
|
"public/images/profile_default.jpg",
|
474
|
-
"public/javascripts/muck-users.js"
|
474
|
+
"public/javascripts/muck-users.js",
|
475
|
+
"public/stylesheets/muck-users.css"
|
475
476
|
]
|
476
477
|
s.homepage = %q{http://github.com/jbasdf/muck_users}
|
477
478
|
s.require_paths = ["lib"]
|
478
|
-
s.rubygems_version = %q{1.
|
479
|
+
s.rubygems_version = %q{1.5.2}
|
479
480
|
s.summary = %q{Easy to use user engine for Rails}
|
480
481
|
|
481
482
|
if s.respond_to? :specification_version then
|
482
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
483
483
|
s.specification_version = 3
|
484
484
|
|
485
485
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-users
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 7
|
10
|
+
version: 3.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Ball
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-02-
|
19
|
+
date: 2011-02-22 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -542,6 +542,7 @@ files:
|
|
542
542
|
- public/images/icon_success.gif
|
543
543
|
- public/images/profile_default.jpg
|
544
544
|
- public/javascripts/muck-users.js
|
545
|
+
- public/stylesheets/muck-users.css
|
545
546
|
has_rdoc: true
|
546
547
|
homepage: http://github.com/jbasdf/muck_users
|
547
548
|
licenses: []
|
@@ -572,7 +573,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
572
573
|
requirements: []
|
573
574
|
|
574
575
|
rubyforge_project:
|
575
|
-
rubygems_version: 1.
|
576
|
+
rubygems_version: 1.5.2
|
576
577
|
signing_key:
|
577
578
|
specification_version: 3
|
578
579
|
summary: Easy to use user engine for Rails
|