roda-project 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/roda/project/bin/generators/routes/inertia_path.rb +45 -0
- data/lib/roda/project/bin/generators/routes/inertia_view_builder.rb +53 -0
- data/lib/roda/project/bin/generators/routes/namespace.rb +23 -0
- data/lib/roda/project/bin/generators/routes/nested_branch_file_builder.rb +38 -0
- data/lib/roda/project/bin/generators/routes/route.rb +38 -0
- data/lib/roda/project/bin/generators/routes/route_spec_builder.rb +50 -0
- data/lib/roda/project/bin/generators/routes/routes_file_builder.rb +64 -0
- data/lib/roda/project/bin/generators/routes.rb +73 -121
- data/lib/roda/project/bin/generators.rb +1 -0
- data/lib/roda/project/cli.rb +25 -12
- data/lib/roda/project/helpers/ids.rb +9 -0
- data/lib/roda/project/helpers/inflections.rb +2 -2
- data/lib/roda/project/main_context.rb +27 -5
- data/lib/roda/project/templates/base/app/app.rb.erb +11 -2
- data/lib/roda/project/templates/{base/scaffold → base-scaffold}/AGENTS.md.erb +14 -7
- data/lib/roda/project/templates/{base/scaffold → base-scaffold}/Gemfile.erb +3 -2
- data/lib/roda/project/templates/front-end-inertia/app/assets/css/app.css +20 -0
- data/lib/roda/project/templates/front-end-inertia/app/assets/js/app.js +11 -0
- data/lib/roda/project/templates/front-end-inertia/app/assets/js/inertia/components/Layout.jsx +11 -0
- data/lib/roda/project/templates/front-end-inertia/app/assets/js/inertia/views/Index.jsx +13 -0
- data/lib/roda/project/templates/front-end-inertia/app/config/locales/en.yml +273 -0
- data/lib/roda/project/templates/front-end-inertia/app/config/locales/foo/en.yml +2 -0
- data/lib/roda/project/templates/front-end-inertia/app/config/locales/foo/pt-br.yml +2 -0
- data/lib/roda/project/templates/front-end-inertia/app/config/locales/pt-br.yml +244 -0
- data/lib/roda/project/templates/front-end-inertia/app/views/foo/bar.erb +1 -0
- data/lib/roda/project/templates/front-end-inertia/app/views/index.erb +1 -0
- data/lib/roda/project/templates/front-end-inertia/app/views/layout.erb +23 -0
- data/lib/roda/project/templates/front-end-inertia/babel.config.js +6 -0
- data/lib/roda/project/templates/front-end-inertia/esbuild.js +53 -0
- data/lib/roda/project/templates/front-end-inertia/jest.config.js +10 -0
- data/lib/roda/project/templates/front-end-inertia/jest.inertia-mock.js +11 -0
- data/lib/roda/project/templates/front-end-inertia/jest.setup.js +1 -0
- data/lib/roda/project/templates/front-end-inertia/package.json +32 -0
- data/lib/roda/project/templates/front-end-inertia/public/assets/app.css +1 -0
- data/lib/roda/project/templates/front-end-inertia/public/images/roda-project.png +0 -0
- data/lib/roda/project/templates/{tests/rspec → tests-rspec}/spec/app/app_spec.rb.erb +1 -1
- data/lib/roda/project/templates/tests-rspec/spec/app/views/html_spec.rb +0 -0
- data/lib/roda/project/version.rb +1 -1
- data/lib/roda/project.rb +10 -0
- metadata +64 -38
- data/lib/roda/project/templates/front-end/app/assets/js/some/foo.js +0 -5
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/AGENTS.md +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/Gemfile.erb +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/Gemfile.lock +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/Guardfile +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/README.md +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/app.rb +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/bin/roda.erb +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/boot.rb +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/config.ru +0 -0
- /data/lib/roda/project/templates/{base/minimal → base-minimal}/public/exception_page.css +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/Guardfile +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/README.md +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/app/config/config.rb.erb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/app/config/providers/logger.rb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/app/config/providers/mailer.rb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/app/routes/foo.rb.erb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/bin/roda.erb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/boot.rb.erb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/config.ru.erb +0 -0
- /data/lib/roda/project/templates/{base/scaffold → base-scaffold}/public/exception_page.css +0 -0
- /data/lib/roda/project/templates/{tests/minitest/spec/app/views/html_spec.rb → front-end-inertia/public/assets/app.js} +0 -0
- /data/lib/roda/project/templates/{tests/minimal/minitest → tests-minimal-minitest}/spec/app_spec.rb +0 -0
- /data/lib/roda/project/templates/{tests/minimal/minitest → tests-minimal-minitest}/spec/spec_helper.rb.erb +0 -0
- /data/lib/roda/project/templates/{tests/minimal/rspec → tests-minimal-rspec}/spec/app_spec.rb +0 -0
- /data/lib/roda/project/templates/{tests/minimal/rspec → tests-minimal-rspec}/spec/spec_helper.rb +0 -0
- /data/lib/roda/project/templates/{tests/minitest → tests-minitest}/spec/app/app_spec.rb.erb +0 -0
- /data/lib/roda/project/templates/{tests/minitest → tests-minitest}/spec/app/routes/foo_spec.rb.erb +0 -0
- /data/lib/roda/project/templates/{tests/minitest → tests-minitest}/spec/app/routes/test_branch_spec.rb +0 -0
- /data/lib/roda/project/templates/{tests/rspec → tests-minitest}/spec/app/views/html_spec.rb +0 -0
- /data/lib/roda/project/templates/{tests/minitest → tests-minitest}/spec/spec_helper.rb.erb +0 -0
- /data/lib/roda/project/templates/{tests/rspec → tests-rspec}/spec/app/routes/foo_spec.rb.erb +0 -0
- /data/lib/roda/project/templates/{tests/rspec → tests-rspec}/spec/app/routes/test_branch_spec.rb +0 -0
- /data/lib/roda/project/templates/{tests/rspec → tests-rspec}/spec/spec_helper.rb.erb +0 -0
|
@@ -3,6 +3,8 @@ class Roda
|
|
|
3
3
|
module Helpers
|
|
4
4
|
module Ids
|
|
5
5
|
def fullstack_id = Roda::Project::FULLSTACK
|
|
6
|
+
def erb_id = Roda::Project::ERB
|
|
7
|
+
def inertia_id = Roda::Project::INERTIA
|
|
6
8
|
def api_id = Roda::Project::API
|
|
7
9
|
def minimal_id = Roda::Project::MINIMAL
|
|
8
10
|
def mysql_id = Roda::Project::MYSQL
|
|
@@ -23,6 +25,13 @@ class Roda
|
|
|
23
25
|
when minimal_id
|
|
24
26
|
"MINIMAL"
|
|
25
27
|
end
|
|
28
|
+
when :frontend
|
|
29
|
+
case id
|
|
30
|
+
when erb_id
|
|
31
|
+
"ERB"
|
|
32
|
+
when inertia_id
|
|
33
|
+
"INERTIA"
|
|
34
|
+
end
|
|
26
35
|
when :database
|
|
27
36
|
case id
|
|
28
37
|
when mysql_id
|
|
@@ -7,9 +7,9 @@ class Roda
|
|
|
7
7
|
module_function
|
|
8
8
|
|
|
9
9
|
def camelize(str)
|
|
10
|
-
return str if
|
|
10
|
+
return str if /\A[A-Z][a-zA-Z0-9]*\z/.match?(str)
|
|
11
11
|
|
|
12
|
-
str.split("_").map(&:capitalize).join
|
|
12
|
+
underscore(str).split("_").reject(&:empty?).map(&:capitalize).join
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def underscore(str)
|
|
@@ -5,7 +5,7 @@ class Roda
|
|
|
5
5
|
include Helpers::Ids
|
|
6
6
|
|
|
7
7
|
class InvalidValue < Roda::Project::Error; end
|
|
8
|
-
VALID_PROJECT_NAME_REGEX =
|
|
8
|
+
VALID_PROJECT_NAME_REGEX = /\A[a-zA-Z][a-zA-Z0-9_]*\z/
|
|
9
9
|
|
|
10
10
|
attr_reader(
|
|
11
11
|
:tests,
|
|
@@ -15,7 +15,8 @@ class Roda
|
|
|
15
15
|
:default_db_url,
|
|
16
16
|
:db_gem,
|
|
17
17
|
:project_name,
|
|
18
|
-
:base
|
|
18
|
+
:base,
|
|
19
|
+
:frontend
|
|
19
20
|
)
|
|
20
21
|
|
|
21
22
|
def to_thor_option
|
|
@@ -30,6 +31,9 @@ class Roda
|
|
|
30
31
|
if database?
|
|
31
32
|
option << " database_type: #{id_to_string(database_type, :database)},"
|
|
32
33
|
end
|
|
34
|
+
if fullstack?
|
|
35
|
+
option << "\n frontend: #{id_to_string(frontend, :frontend)},"
|
|
36
|
+
end
|
|
33
37
|
option << "\n }"
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -49,6 +53,14 @@ class Roda
|
|
|
49
53
|
@base = val
|
|
50
54
|
end
|
|
51
55
|
|
|
56
|
+
def frontend=(val)
|
|
57
|
+
if ![erb_id, inertia_id].include?(val)
|
|
58
|
+
raise InvalidValue, "Invalid frontend option: #{val}"
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
@frontend = val
|
|
62
|
+
end
|
|
63
|
+
|
|
52
64
|
def rodauth=(val)
|
|
53
65
|
val = false if ![true, false].include?(val)
|
|
54
66
|
|
|
@@ -83,11 +95,12 @@ class Roda
|
|
|
83
95
|
# rubocop:enable Lint/InterpolationCheck
|
|
84
96
|
|
|
85
97
|
def project_name=(val)
|
|
86
|
-
|
|
98
|
+
unless VALID_PROJECT_NAME_REGEX.match?(val.to_s)
|
|
87
99
|
raise InvalidValue, "Project name must start with a letter and contains only letters, numbers and _"
|
|
88
100
|
end
|
|
89
101
|
|
|
90
|
-
@project_name = val
|
|
102
|
+
@project_name = Helpers::Inflections.underscore(val.to_s).squeeze("_").sub(/_+\z/, "")
|
|
103
|
+
@const_project_name = nil
|
|
91
104
|
end
|
|
92
105
|
|
|
93
106
|
def rspec?
|
|
@@ -106,6 +119,7 @@ class Roda
|
|
|
106
119
|
end
|
|
107
120
|
|
|
108
121
|
def root_example
|
|
122
|
+
return 'inertia("Index")' if inertia?
|
|
109
123
|
return 'view("index")' if fullstack?
|
|
110
124
|
|
|
111
125
|
'{ message: "hello world" }'
|
|
@@ -124,6 +138,14 @@ class Roda
|
|
|
124
138
|
base == minimal_id
|
|
125
139
|
end
|
|
126
140
|
|
|
141
|
+
def inertia?
|
|
142
|
+
frontend == inertia_id
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def erb?
|
|
146
|
+
frontend == erb_id
|
|
147
|
+
end
|
|
148
|
+
|
|
127
149
|
def rodauth?
|
|
128
150
|
rodauth == true
|
|
129
151
|
end
|
|
@@ -151,7 +173,7 @@ class Roda
|
|
|
151
173
|
end
|
|
152
174
|
|
|
153
175
|
def const_project_name
|
|
154
|
-
@const_project_name ||=
|
|
176
|
+
@const_project_name ||= Helpers::Inflections.camelize(project_name)
|
|
155
177
|
end
|
|
156
178
|
end
|
|
157
179
|
end
|
|
@@ -12,8 +12,17 @@ class <%= context.const_project_name %> < Roda
|
|
|
12
12
|
plugin :render, **Config.get[:render]
|
|
13
13
|
plugin :content_for, append: false
|
|
14
14
|
plugin :flash
|
|
15
|
-
plugin :assets_manifest
|
|
16
|
-
|
|
15
|
+
plugin :assets_manifest<% if context.inertia? %>
|
|
16
|
+
plugin :inertia,
|
|
17
|
+
version: assets_version,
|
|
18
|
+
layout: {
|
|
19
|
+
head: [
|
|
20
|
+
'<meta http-equiv="x-ua-compatible" content="ie=edge">',
|
|
21
|
+
css_entrypoint_tag(:app)
|
|
22
|
+
].join,
|
|
23
|
+
body: js_entrypoint_tag(:app)
|
|
24
|
+
}
|
|
25
|
+
<% end %><% end %>
|
|
17
26
|
# Request / Response
|
|
18
27
|
plugin :halt
|
|
19
28
|
plugin :json
|
|
@@ -5,23 +5,30 @@
|
|
|
5
5
|
- **Web Framework**: Roda (STRICT: Do NOT use Rails, ActionController, or Sinatra conventions).
|
|
6
6
|
- **No Rails Magic:** Do not use `ActiveSupport` methods (like `.present?` or `.blank?`) unless the gem is explicitly in the Gemfile.<% if context.database %>
|
|
7
7
|
- **ORM**: Sequel (STRICT: Do NOT use ActiveRecord. Use Sequel Models, Datasets, and Migrations).<% end %>
|
|
8
|
-
- **Autoloader**: Zeitwerk (Do NOT manually `require` files located in the `app/` directory. Only require standard libraries or gems).<% if context.fullstack? %>
|
|
9
|
-
- **Frontend**: esbuild + ERB (Fullstack mode).<%
|
|
8
|
+
- **Autoloader**: Zeitwerk (Do NOT manually `require` files located in the `app/` directory. Only require standard libraries or gems).<% if context.fullstack? && context.erb? %>
|
|
9
|
+
- **Frontend**: esbuild + ERB (Fullstack mode).<% else %>
|
|
10
|
+
- **Frontend**: esbuild + Inertia.js + React.js (Fullstack mode).<% end %>
|
|
10
11
|
|
|
11
|
-
## Code Style & Conventions
|
|
12
|
+
## Code Style & Conventions<% i = 0 %>
|
|
12
13
|
|
|
13
14
|
### <%= i=i+1 %>. Types
|
|
14
15
|
|
|
15
16
|
- Rely on standard Ruby 3.x patterns. Use explicit YARD docs for method signatures.
|
|
16
17
|
|
|
17
18
|
<% if context.fullstack? %>### <%= i=i+1 %>. Views & Presentation
|
|
18
|
-
|
|
19
|
+
<% if context.erb? %>
|
|
19
20
|
- ERB templates go in `app/views/`.
|
|
20
21
|
- The `view` method inside a route block will match the hash branch to find the view path location:
|
|
21
22
|
- For `hash_branch "foo/bar", "zas" do |r|`, calling `view('something')` will search an erb file in "views/foo/bar/zas/something.erb".
|
|
22
|
-
- For `hash_branch "zas" do |r|`, calling `view('something')` will search an erb file in "views/zas/something.erb"
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
- For `hash_branch "zas" do |r|`, calling `view('something')` will search an erb file in "views/zas/something.erb".<% else %>
|
|
24
|
+
- Inertia.js views go in `app/assets/js/inertia/views/`.
|
|
25
|
+
- The `inertia` method inside a route block will find the inertia view location and pass the props to the component:
|
|
26
|
+
- Calling `inertia('Something')` will search an inertia view file in "app/assets/js/inertia/views/Something.jsx".
|
|
27
|
+
- Calling `inertia('Zoo', { name: "foo", age: 3 })` will search an inertia view file in "app/assets/js/inertia/views/Zoo.jsx" and set the props data in the React function component.
|
|
28
|
+
- Calling `inertia('Foo/Bar')` will search an inertia view file in "app/assets/js/inertia/views/Foo/Bar.jsx".<% end %>
|
|
29
|
+
- **STRICT:** When creating routes with `bin/roda g routes` always use the generated views files (when necessary) instead of creating new ones
|
|
30
|
+
<% end %>
|
|
31
|
+
### <%= i=i+1 %>. Routing
|
|
25
32
|
|
|
26
33
|
- The main app resides in `app/[project_name].rb`.
|
|
27
34
|
- Sub-routes MUST be implemented using Roda **Hash Branches** (`hash_branches` plugin) and placed in `app/routes/`.
|
|
@@ -22,8 +22,9 @@ gem "puma"
|
|
|
22
22
|
# gem 'thin'<% if context.fullstack? %>
|
|
23
23
|
|
|
24
24
|
# Views
|
|
25
|
-
gem 'roda-assets_manifest'
|
|
26
|
-
|
|
25
|
+
gem 'roda-assets_manifest'<% if context.inertia? %>
|
|
26
|
+
gem 'roda-inertia-lite'
|
|
27
|
+
<% end %><% end %>
|
|
27
28
|
# Performance
|
|
28
29
|
gem "oj"
|
|
29
30
|
# gem 'async'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
body {
|
|
2
|
+
background: black;
|
|
3
|
+
color: white;
|
|
4
|
+
margin: 1em 2em;
|
|
5
|
+
font-family: monospace;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
a {
|
|
9
|
+
color: #ef4348;
|
|
10
|
+
margin-right: 1em;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
img {
|
|
14
|
+
width: 25%;
|
|
15
|
+
margin-bottom: 1em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.navbar {
|
|
19
|
+
margin-bottom: 1em;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { createInertiaApp } from '@inertiajs/react'
|
|
3
|
+
import { createRoot } from 'react-dom/client'
|
|
4
|
+
|
|
5
|
+
createInertiaApp({
|
|
6
|
+
resolve: name => import(`./inertia/views/${name}.jsx`),
|
|
7
|
+
page: JSON.parse(document.getElementById('app').dataset.page),
|
|
8
|
+
setup({ el, App, props }) {
|
|
9
|
+
createRoot(el).render(<App {...props} />)
|
|
10
|
+
},
|
|
11
|
+
})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Layout from '../components/Layout'
|
|
3
|
+
//import { Link } from '@inertiajs/react'
|
|
4
|
+
|
|
5
|
+
const Index = props => {
|
|
6
|
+
return (<Layout>
|
|
7
|
+
<div>
|
|
8
|
+
Hello from Roda + Inertia.js!
|
|
9
|
+
</div>
|
|
10
|
+
</Layout>)
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default Index
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
hello:
|
|
2
|
+
message: Hello world
|
|
3
|
+
rodauth:
|
|
4
|
+
#account_expiration_error_flash: You cannot log into this account as it has expired
|
|
5
|
+
#active_sessions_error_flash: This session has been logged out
|
|
6
|
+
#add_recovery_codes_button: Add Authentication Recovery Codes
|
|
7
|
+
#add_recovery_codes_error_flash: Unable to add recovery codes
|
|
8
|
+
#add_recovery_codes_heading: "<h2>Add Additional Recovery Codes</h2>"
|
|
9
|
+
#add_recovery_codes_page_title: Authentication Recovery Codes
|
|
10
|
+
#already_an_account_with_this_login_message: already an account with this login
|
|
11
|
+
#attempt_to_create_unverified_account_error_flash: The account you tried to create is currently awaiting verification
|
|
12
|
+
#attempt_to_login_to_unverified_account_error_flash: The account you tried to login with is currently awaiting verification
|
|
13
|
+
#change_login_button: Change Login
|
|
14
|
+
#change_login_error_flash: There was an error changing your login
|
|
15
|
+
#change_login_needs_verification_notice_flash: An email has been sent to you with a link to verify your login change
|
|
16
|
+
#change_login_notice_flash: Your login has been changed
|
|
17
|
+
#change_login_page_title: Change Login
|
|
18
|
+
#change_password_button: Change Password
|
|
19
|
+
#change_password_error_flash: There was an error changing your password
|
|
20
|
+
#change_password_notice_flash: Your password has been changed
|
|
21
|
+
#change_password_page_title: Change Password
|
|
22
|
+
#close_account_button: Close Account
|
|
23
|
+
#close_account_error_flash: There was an error closing your account
|
|
24
|
+
#close_account_notice_flash: Your account has been closed
|
|
25
|
+
#close_account_page_title: Close Account
|
|
26
|
+
#confirm_password_button: Confirm Password
|
|
27
|
+
#confirm_password_error_flash: There was an error confirming your password
|
|
28
|
+
#confirm_password_link_text: Enter Password
|
|
29
|
+
#confirm_password_notice_flash: Your password has been confirmed
|
|
30
|
+
#confirm_password_page_title: Confirm Password
|
|
31
|
+
#contains_null_byte_message: contains null byte
|
|
32
|
+
create_account_button: Create Account
|
|
33
|
+
#create_account_error_flash: There was an error creating your account
|
|
34
|
+
#create_account_link_text: Create a New Account
|
|
35
|
+
#create_account_notice_flash: Your account has been created
|
|
36
|
+
#create_account_page_title: Create Account
|
|
37
|
+
#email_auth_email_recently_sent_error_flash: An email has recently been sent to you with a link to login
|
|
38
|
+
#email_auth_email_sent_notice_flash: An email has been sent to you with a link to login to your account
|
|
39
|
+
#email_auth_email_subject: Login Link
|
|
40
|
+
#email_auth_error_flash: There was an error logging you in
|
|
41
|
+
#email_auth_page_title: Login
|
|
42
|
+
#email_auth_request_button: Send Login Link Via Email
|
|
43
|
+
#email_auth_request_error_flash: There was an error requesting an email link to authenticate
|
|
44
|
+
#email_subject_prefix: ''
|
|
45
|
+
#expired_jwt_access_token_message: expired JWT access token
|
|
46
|
+
#global_logout_label: Logout all Logged In Sessions?
|
|
47
|
+
#input_field_label_suffix: ''
|
|
48
|
+
#invalid_jwt_format_error_message: invalid JWT format or claim in Authorization header
|
|
49
|
+
#invalid_password_message: invalid password
|
|
50
|
+
#invalid_recovery_code_error_flash: Error authenticating via recovery code
|
|
51
|
+
#invalid_recovery_code_message: Invalid recovery code
|
|
52
|
+
#json_non_post_error_message: non-POST method used in JSON API
|
|
53
|
+
#json_not_accepted_error_message: Unsupported Accept header. Must accept "application/json" or compatible content type
|
|
54
|
+
#jwt_refresh_invalid_token_message: invalid JWT refresh token
|
|
55
|
+
#jwt_refresh_without_access_token_message: no JWT access token provided during refresh
|
|
56
|
+
#login_button: Login
|
|
57
|
+
#login_confirm_label: Confirm %{login_label}
|
|
58
|
+
#login_does_not_meet_requirements_message: invalid login, does not meet requirements
|
|
59
|
+
#login_error_flash: There was an error logging in
|
|
60
|
+
#login_form_footer_links_heading: <h2 class="rodauth-login-form-footer-links-heading">Other Options</h2>
|
|
61
|
+
#login_label: Login
|
|
62
|
+
#login_lockout_error_flash: This account is currently locked out and cannot be logged in to
|
|
63
|
+
#login_not_valid_email_message: not a valid email address
|
|
64
|
+
#login_notice_flash: You have been logged in
|
|
65
|
+
#login_page_title: Login
|
|
66
|
+
#login_too_long_message: maximum %{login_maximum_length} characters
|
|
67
|
+
#login_too_many_bytes_message: maximum %{login_maximum_bytes} bytes
|
|
68
|
+
#login_too_short_message: minimum %{login_minimum_length} characters
|
|
69
|
+
#logins_do_not_match_message: logins do not match
|
|
70
|
+
#logout_button: Logout
|
|
71
|
+
#logout_notice_flash: You have been logged out
|
|
72
|
+
#logout_page_title: Logout
|
|
73
|
+
#multi_phase_login_page_title: Login
|
|
74
|
+
#need_password_notice_flash: Login recognized, please enter your password
|
|
75
|
+
#new_password_label: New Password
|
|
76
|
+
#no_current_sms_code_error_flash: No current SMS code for this account
|
|
77
|
+
#no_matching_email_auth_key_error_flash: 'There was an error logging you in: invalid email authentication key'
|
|
78
|
+
#no_matching_login_message: no matching login
|
|
79
|
+
#no_matching_reset_password_key_error_flash: 'There was an error resetting your password: invalid or expired password reset key'
|
|
80
|
+
#no_matching_unlock_account_key_error_flash: 'There was an error unlocking your account: invalid or expired unlock account key'
|
|
81
|
+
#no_matching_verify_account_key_error_flash: 'There was an error verifying your account: invalid verify account key'
|
|
82
|
+
#no_matching_verify_login_change_key_error_flash: 'There was an error verifying your login change: invalid verify login change key'
|
|
83
|
+
#non_json_request_error_message: Only JSON format requests are allowed
|
|
84
|
+
#otp_already_setup_error_flash: You have already setup TOTP authentication
|
|
85
|
+
#otp_auth_button: Authenticate Using TOTP
|
|
86
|
+
#otp_auth_error_flash: Error logging in via TOTP authentication
|
|
87
|
+
#otp_auth_form_footer: ''
|
|
88
|
+
#otp_auth_label: Authentication Code
|
|
89
|
+
#otp_auth_link_text: Authenticate Using TOTP
|
|
90
|
+
#otp_auth_page_title: Enter Authentication Code
|
|
91
|
+
#otp_disable_button: Disable TOTP Authentication
|
|
92
|
+
#otp_disable_error_flash: Error disabling TOTP authentication
|
|
93
|
+
#otp_disable_link_text: Disable TOTP Authentication
|
|
94
|
+
#otp_disable_notice_flash: TOTP authentication has been disabled
|
|
95
|
+
#otp_disable_page_title: Disable TOTP Authentication
|
|
96
|
+
#otp_disabled_email_subject: TOTP Authentication Disabled
|
|
97
|
+
#otp_invalid_auth_code_message: Invalid authentication code
|
|
98
|
+
#otp_invalid_secret_message: invalid secret
|
|
99
|
+
#otp_locked_out_email_subject: TOTP Authentication Locked Out
|
|
100
|
+
#otp_lockout_error_flash: TOTP authentication code use locked out due to numerous failures
|
|
101
|
+
#otp_provisioning_uri_label: Provisioning URL
|
|
102
|
+
#otp_secret_label: Secret
|
|
103
|
+
#otp_setup_button: Setup TOTP Authentication
|
|
104
|
+
#otp_setup_email_subject: TOTP Authentication Setup
|
|
105
|
+
#otp_setup_error_flash: Error setting up TOTP authentication
|
|
106
|
+
#otp_setup_link_text: Setup TOTP Authentication
|
|
107
|
+
#otp_setup_notice_flash: TOTP authentication is now setup
|
|
108
|
+
#otp_setup_page_title: Setup TOTP Authentication
|
|
109
|
+
#otp_unlock_auth_deadline_passed_error_flash: Deadline past for unlocking TOTP authentication
|
|
110
|
+
#otp_unlock_auth_failure_error_flash: TOTP invalid authentication
|
|
111
|
+
#otp_unlock_auth_not_yet_available_error_flash: TOTP unlock attempt not yet available
|
|
112
|
+
#otp_unlock_auth_success_notice_flash: TOTP successful authentication, more successful authentication needed to unlock
|
|
113
|
+
#otp_unlock_button: Authenticate Using TOTP to Unlock
|
|
114
|
+
#otp_unlock_consecutive_successes_label: Consecutive successful authentications
|
|
115
|
+
#otp_unlock_failed_email_subject: TOTP Authentication Unlocking Failed
|
|
116
|
+
#otp_unlock_form_footer: ''
|
|
117
|
+
#otp_unlock_next_auth_attempt_label: Can attempt next authentication after
|
|
118
|
+
#otp_unlock_next_auth_attempt_refresh_label: Page will automatically refresh when authentication is possible.
|
|
119
|
+
#otp_unlock_next_auth_deadline_label: Deadline for next authentication
|
|
120
|
+
#otp_unlock_not_available_page_title: Must Wait to Unlock TOTP Authentication
|
|
121
|
+
#otp_unlock_not_locked_out_error_flash: TOTP authentication is not currently locked out
|
|
122
|
+
#otp_unlock_page_title: Unlock TOTP Authentication
|
|
123
|
+
#otp_unlock_required_consecutive_successes_label: Required consecutive successful authentications to unlock
|
|
124
|
+
#otp_unlocked_email_subject: TOTP Authentication Unlocked
|
|
125
|
+
#otp_unlocked_notice_flash: TOTP authentication unlocked
|
|
126
|
+
#password_authentication_required_error_flash: You need to confirm your password before continuing
|
|
127
|
+
#password_changed_email_subject: Password Changed
|
|
128
|
+
#password_confirm_label: Confirm %{password_label}
|
|
129
|
+
#password_does_not_meet_requirements_message: invalid password, does not meet requirements
|
|
130
|
+
#password_expiration_error_flash: Your password has expired and needs to be changed
|
|
131
|
+
#password_in_dictionary_message: is a word in a dictionary
|
|
132
|
+
#password_invalid_pattern_message: includes common character sequence
|
|
133
|
+
#password_is_one_of_the_most_common_message: is one of the most common passwords
|
|
134
|
+
#password_label: Password
|
|
135
|
+
#password_not_changeable_yet_error_flash: Your password cannot be changed yet
|
|
136
|
+
#password_not_enough_character_groups_message: does not include uppercase letters, lowercase letters, and numbers
|
|
137
|
+
#password_same_as_previous_password_message: same as previous password
|
|
138
|
+
#password_too_many_repeating_characters_message: contains too many of the same character in a row
|
|
139
|
+
#password_too_long_message: maximum %{password_maximum_length} characters
|
|
140
|
+
#password_too_many_bytes_message: maximum %{password_maximum_bytes} bytes
|
|
141
|
+
#password_too_short_message: minimum %{password_minimum_length} characters
|
|
142
|
+
#passwords_do_not_match_message: passwords do not match
|
|
143
|
+
#recovery_auth_button: Authenticate via Recovery Code
|
|
144
|
+
#recovery_auth_link_text: Authenticate Using Recovery Code
|
|
145
|
+
#recovery_auth_page_title: Enter Authentication Recovery Code
|
|
146
|
+
#recovery_codes_added_notice_flash: Additional authentication recovery codes have been added
|
|
147
|
+
#recovery_codes_label: Recovery Code
|
|
148
|
+
#recovery_codes_link_text: View Authentication Recovery Codes
|
|
149
|
+
#recovery_codes_page_title: View Authentication Recovery Codes
|
|
150
|
+
#remember_button: Change Remember Setting
|
|
151
|
+
#remember_disable_label: Disable Remember Me
|
|
152
|
+
#remember_error_flash: There was an error updating your remember setting
|
|
153
|
+
#remember_forget_label: Forget Me
|
|
154
|
+
#remember_notice_flash: Your remember setting has been updated
|
|
155
|
+
#remember_page_title: Change Remember Setting
|
|
156
|
+
#remember_remember_label: Remember Me
|
|
157
|
+
#require_login_error_flash: Please login to continue
|
|
158
|
+
#resend_verify_account_page_title: Resend Verification Email
|
|
159
|
+
#reset_password_button: Reset Password
|
|
160
|
+
#reset_password_email_recently_sent_error_flash: An email has recently been sent to you with a link to reset your password
|
|
161
|
+
#reset_password_email_sent_notice_flash: An email has been sent to you with a link to reset the password for your account
|
|
162
|
+
#reset_password_email_subject: Reset Password
|
|
163
|
+
#reset_password_error_flash: There was an error resetting your password
|
|
164
|
+
#reset_password_explanatory_text: "<p>If you have forgotten your password, you can request a password reset:</p>"
|
|
165
|
+
#reset_password_notice_flash: Your password has been reset
|
|
166
|
+
#reset_password_notify_email_subject: Password Reset Completed
|
|
167
|
+
#reset_password_page_title: Reset Password
|
|
168
|
+
#reset_password_request_button: Request Password Reset
|
|
169
|
+
#reset_password_request_error_flash: There was an error requesting a password reset
|
|
170
|
+
#reset_password_request_link_text: Forgot Password?
|
|
171
|
+
#reset_password_request_page_title: Request Password Reset
|
|
172
|
+
#same_as_current_login_message: same as current login
|
|
173
|
+
#same_as_existing_password_message: invalid password, same as current password
|
|
174
|
+
#session_expiration_error_flash: This session has expired, please login again
|
|
175
|
+
#single_session_error_flash: This session has been logged out as another session has become active
|
|
176
|
+
#sms_already_setup_error_flash: SMS authentication has already been setup
|
|
177
|
+
#sms_auth_button: Authenticate via SMS Code
|
|
178
|
+
#sms_auth_link_text: Authenticate Using SMS Code
|
|
179
|
+
#sms_auth_page_title: Authenticate via SMS Code
|
|
180
|
+
#sms_code_label: SMS Code
|
|
181
|
+
#sms_confirm_button: Confirm SMS Backup Number
|
|
182
|
+
#sms_confirm_notice_flash: SMS authentication has been setup
|
|
183
|
+
#sms_confirm_page_title: Confirm SMS Backup Number
|
|
184
|
+
#sms_disable_button: Disable Backup SMS Authentication
|
|
185
|
+
#sms_disable_error_flash: Error disabling SMS authentication
|
|
186
|
+
#sms_disable_link_text: Disable SMS Authentication
|
|
187
|
+
#sms_disable_notice_flash: SMS authentication has been disabled
|
|
188
|
+
#sms_disable_page_title: Disable Backup SMS Authentication
|
|
189
|
+
#sms_invalid_code_error_flash: Error authenticating via SMS code
|
|
190
|
+
#sms_invalid_code_message: invalid SMS code
|
|
191
|
+
#sms_invalid_confirmation_code_error_flash: Invalid or out of date SMS confirmation code used, must setup SMS authentication again
|
|
192
|
+
#sms_invalid_phone_message: invalid SMS phone number
|
|
193
|
+
#sms_lockout_error_flash: SMS authentication has been locked out
|
|
194
|
+
#sms_needs_confirmation_error_flash: SMS authentication needs confirmation
|
|
195
|
+
#sms_not_setup_error_flash: SMS authentication has not been setup yet
|
|
196
|
+
#sms_phone_label: Phone Number
|
|
197
|
+
#sms_request_button: Send SMS Code
|
|
198
|
+
#sms_request_notice_flash: SMS authentication code has been sent
|
|
199
|
+
#sms_request_page_title: Send SMS Code
|
|
200
|
+
#sms_setup_button: Setup SMS Backup Number
|
|
201
|
+
#sms_setup_error_flash: Error setting up SMS authentication
|
|
202
|
+
#sms_setup_link_text: Setup Backup SMS Authentication
|
|
203
|
+
#sms_setup_page_title: Setup SMS Backup Number
|
|
204
|
+
#strftime_format: "%F %T"
|
|
205
|
+
#two_factor_already_authenticated_error_flash: You have already been multifactor authenticated
|
|
206
|
+
#two_factor_auth_notice_flash: You have been multifactor authenticated
|
|
207
|
+
#two_factor_auth_page_title: Authenticate Using Additional Factor
|
|
208
|
+
#two_factor_disable_button: Remove All Multifactor Authentication Methods
|
|
209
|
+
#two_factor_disable_error_flash: Unable to remove all multifactor authentication methods
|
|
210
|
+
#two_factor_disable_link_text: Remove All Multifactor Authentication Methods
|
|
211
|
+
#two_factor_disable_notice_flash: All multifactor authentication methods have been disabled
|
|
212
|
+
#two_factor_disable_page_title: Remove All Multifactor Authentication Methods
|
|
213
|
+
#two_factor_manage_page_title: Manage Multifactor Authentication
|
|
214
|
+
#two_factor_need_authentication_error_flash: You need to authenticate via an additional factor before continuing
|
|
215
|
+
#two_factor_not_setup_error_flash: This account has not been setup for multifactor authentication
|
|
216
|
+
#two_factor_remove_heading: "<h2>Remove Multifactor Authentication</h2>"
|
|
217
|
+
#two_factor_setup_heading: "<h2>Setup Multifactor Authentication</h2>"
|
|
218
|
+
#unlock_account_button: Unlock Account
|
|
219
|
+
#unlock_account_email_recently_sent_error_flash: An email has recently been sent to you with a link to unlock the account
|
|
220
|
+
#unlock_account_email_subject: Unlock Account
|
|
221
|
+
#unlock_account_error_flash: There was an error unlocking your account
|
|
222
|
+
#unlock_account_explanatory_text: "<p>This account is currently locked out. You can unlock the account:</p>"
|
|
223
|
+
#unlock_account_notice_flash: Your account has been unlocked
|
|
224
|
+
#unlock_account_page_title: Unlock Account
|
|
225
|
+
#unlock_account_request_button: Request Account Unlock
|
|
226
|
+
#unlock_account_request_explanatory_text: "<p>This account is currently locked out. You can request that the account be unlocked:</p>"
|
|
227
|
+
#unlock_account_request_notice_flash: An email has been sent to you with a link to unlock your account
|
|
228
|
+
#unlock_account_request_page_title: Request Account Unlock
|
|
229
|
+
#unverified_account_message: unverified account, please verify account before logging in
|
|
230
|
+
#unverified_change_login_error_flash: Please verify this account before changing the login
|
|
231
|
+
#verify_account_button: Verify Account
|
|
232
|
+
#verify_account_email_recently_sent_error_flash: An email has recently been sent to you with a link to verify your account
|
|
233
|
+
#verify_account_email_sent_notice_flash: An email has been sent to you with a link to verify your account
|
|
234
|
+
#verify_account_email_subject: Verify Account
|
|
235
|
+
#verify_account_error_flash: Unable to verify account
|
|
236
|
+
#verify_account_notice_flash: Your account has been verified
|
|
237
|
+
#verify_account_page_title: Verify Account
|
|
238
|
+
#verify_account_resend_button: Send Verification Email Again
|
|
239
|
+
#verify_account_resend_error_flash: Unable to resend verify account email
|
|
240
|
+
#verify_account_resend_explanatory_text: "<p>If you no longer have the email to verify the account, you can request that it be resent to you:</p>"
|
|
241
|
+
#verify_account_resend_link_text: Resend Verify Account Information
|
|
242
|
+
#verify_login_change_button: Verify Login Change
|
|
243
|
+
#verify_login_change_duplicate_account_error_flash: Unable to change login as there is already an account with the new login
|
|
244
|
+
#verify_login_change_email_subject: Verify Login Change
|
|
245
|
+
#verify_login_change_error_flash: Unable to verify login change
|
|
246
|
+
#verify_login_change_notice_flash: Your login change has been verified
|
|
247
|
+
#verify_login_change_page_title: Verify Login Change
|
|
248
|
+
#view_recovery_codes_button: View Authentication Recovery Codes
|
|
249
|
+
#view_recovery_codes_error_flash: Unable to view recovery codes
|
|
250
|
+
#webauthn_auth_button: Authenticate Using WebAuthn
|
|
251
|
+
#webauthn_auth_error_flash: Error authenticating using WebAuthn
|
|
252
|
+
#webauthn_auth_link_text: Authenticate Using WebAuthn
|
|
253
|
+
#webauthn_auth_page_title: Authenticate Using WebAuthn
|
|
254
|
+
#webauthn_authenticator_added_email_subject: WebAuthn Authenticator Added
|
|
255
|
+
#webauthn_authenticator_removed_email_subject: WebAuthn Authenticator Removed
|
|
256
|
+
#webauthn_duplicate_webauthn_id_message: attempt to insert duplicate webauthn id
|
|
257
|
+
#webauthn_invalid_auth_param_message: invalid webauthn authentication param
|
|
258
|
+
#webauthn_invalid_remove_param_message: must select valid webauthn authenticator to remove
|
|
259
|
+
#webauthn_invalid_setup_param_message: invalid webauthn setup param
|
|
260
|
+
#webauthn_invalid_sign_count_message: webauthn credential has invalid sign count
|
|
261
|
+
#webauthn_invalid_webauthn_id_message: no webauthn key with given id found
|
|
262
|
+
#webauthn_login_error_flash: There was an error authenticating via WebAuthn
|
|
263
|
+
#webauthn_not_setup_error_flash: This account has not been setup for WebAuthn authentication
|
|
264
|
+
#webauthn_remove_button: Remove WebAuthn Authenticator
|
|
265
|
+
#webauthn_remove_error_flash: Error removing WebAuthn authenticator
|
|
266
|
+
#webauthn_remove_link_text: Remove WebAuthn Authenticator
|
|
267
|
+
#webauthn_remove_notice_flash: WebAuthn authenticator has been removed
|
|
268
|
+
#webauthn_remove_page_title: Remove WebAuthn Authenticator
|
|
269
|
+
#webauthn_setup_button: Setup WebAuthn Authentication
|
|
270
|
+
#webauthn_setup_error_flash: Error setting up WebAuthn authentication
|
|
271
|
+
#webauthn_setup_link_text: Setup WebAuthn Authentication
|
|
272
|
+
#webauthn_setup_notice_flash: WebAuthn authentication is now setup
|
|
273
|
+
#webauthn_setup_page_title: Setup WebAuthn Authentication
|