alchemy_cms 2.5.0.b9 → 2.5.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/alchemy_cms.gemspec +2 -1
  2. data/app/assets/javascripts/alchemy/alchemy.base.js +0 -27
  3. data/app/assets/javascripts/alchemy/alchemy.growler.js +1 -1
  4. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +0 -1
  5. data/app/assets/javascripts/alchemy/alchemy.onload.js.coffee +0 -4
  6. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +0 -1
  7. data/app/assets/stylesheets/alchemy/admin.css.scss +1 -0
  8. data/app/assets/stylesheets/alchemy/archive.scss +8 -6
  9. data/app/assets/stylesheets/alchemy/base.scss +3 -92
  10. data/app/assets/stylesheets/alchemy/elements.scss +2 -2
  11. data/app/assets/stylesheets/alchemy/flash.scss +16 -12
  12. data/app/assets/stylesheets/alchemy/frame.scss +10 -5
  13. data/app/assets/stylesheets/alchemy/icons.scss +2 -2
  14. data/app/assets/stylesheets/alchemy/pagination.scss +5 -5
  15. data/app/assets/stylesheets/alchemy/tables.scss +2 -2
  16. data/app/assets/stylesheets/alchemy/toolbar.scss +79 -0
  17. data/app/controllers/alchemy/admin/base_controller.rb +3 -2
  18. data/app/controllers/alchemy/admin/dashboard_controller.rb +1 -1
  19. data/app/controllers/alchemy/admin/pictures_controller.rb +1 -1
  20. data/app/controllers/alchemy/admin/users_controller.rb +8 -2
  21. data/app/controllers/alchemy/attachments_controller.rb +1 -1
  22. data/app/controllers/alchemy/base_controller.rb +8 -0
  23. data/app/controllers/alchemy/pages_controller.rb +4 -0
  24. data/app/controllers/alchemy/passwords_controller.rb +23 -0
  25. data/app/controllers/alchemy/user_sessions_controller.rb +20 -49
  26. data/app/controllers/alchemy/users_controller.rb +49 -0
  27. data/app/mailers/alchemy/notifications.rb +5 -0
  28. data/app/models/alchemy/content.rb +6 -2
  29. data/app/models/alchemy/element.rb +9 -5
  30. data/app/models/alchemy/essence_richtext.rb +28 -16
  31. data/app/models/alchemy/essence_text.rb +22 -13
  32. data/app/models/alchemy/message.rb +1 -1
  33. data/app/models/alchemy/page.rb +7 -2
  34. data/app/models/alchemy/user.rb +66 -24
  35. data/app/views/alchemy/admin/dashboard/index.html.erb +1 -1
  36. data/app/views/alchemy/admin/essence_files/edit.html.erb +1 -0
  37. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +8 -1
  38. data/app/views/alchemy/admin/partials/_flash.html.erb +1 -1
  39. data/app/views/alchemy/admin/users/_table.html.erb +2 -2
  40. data/app/views/alchemy/admin/users/_user.html.erb +1 -1
  41. data/app/views/alchemy/admin/users/index.html.erb +1 -1
  42. data/app/views/alchemy/notifications/admin_user_created.de.text.erb +11 -0
  43. data/app/views/alchemy/notifications/admin_user_created.en.text.erb +11 -0
  44. data/app/views/alchemy/notifications/registered_user_created.text.erb +2 -1
  45. data/app/views/alchemy/notifications/reset_password_instructions.de.text.erb +8 -0
  46. data/app/views/alchemy/notifications/reset_password_instructions.en.text.erb +8 -0
  47. data/app/views/alchemy/passwords/edit.html.erb +35 -0
  48. data/app/views/alchemy/passwords/new.html.erb +30 -0
  49. data/app/views/alchemy/user_sessions/leave.html.erb +3 -3
  50. data/app/views/alchemy/user_sessions/{login.html.erb → new.html.erb} +5 -2
  51. data/app/views/alchemy/{user_sessions/signup.html.erb → users/new.html.erb} +0 -0
  52. data/config/alchemy/config.yml +12 -0
  53. data/config/initializers/devise.rb +242 -0
  54. data/config/locales/alchemy.de.yml +12 -39
  55. data/config/locales/alchemy.en.yml +4 -31
  56. data/config/locales/devise.de.yml +57 -0
  57. data/config/locales/devise.en.yml +60 -0
  58. data/config/routes.rb +37 -21
  59. data/db/migrate/20130121092645_migrate_to_devise.rb +24 -0
  60. data/lib/alchemy/authentication_helpers.rb +0 -13
  61. data/lib/alchemy/engine.rb +2 -2
  62. data/lib/alchemy/essence.rb +2 -2
  63. data/lib/alchemy/upgrader.rb +33 -0
  64. data/lib/alchemy/version.rb +1 -1
  65. data/lib/alchemy_cms.rb +2 -1
  66. data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +1 -1
  67. data/lib/rails/generators/alchemy/devise/devise_generator.rb +24 -0
  68. data/lib/rails/generators/alchemy/scaffold/files/elements.yml +1 -111
  69. data/lib/rails/generators/alchemy/scaffold/templates/page_layouts.yml.tt +1 -27
  70. data/lib/tasks/ferret.rake +6 -6
  71. data/spec/controllers/admin/clipboard_controller_spec.rb +2 -3
  72. data/spec/controllers/admin/contents_controller_spec.rb +1 -2
  73. data/spec/controllers/admin/elements_controller_spec.rb +1 -2
  74. data/spec/controllers/admin/languages_controller_spec.rb +2 -3
  75. data/spec/controllers/admin/pages_controller_spec.rb +2 -3
  76. data/spec/controllers/admin/trash_controller_spec.rb +1 -2
  77. data/spec/controllers/admin/users_controller_spec.rb +36 -5
  78. data/spec/controllers/attachments_controller_spec.rb +2 -4
  79. data/spec/controllers/base_controller_spec.rb +25 -0
  80. data/spec/controllers/elements_controller_spec.rb +1 -2
  81. data/spec/controllers/passwords_controller_spec.rb +16 -0
  82. data/spec/controllers/pictures_controller_spec.rb +1 -2
  83. data/spec/controllers/user_sessions_controller_spec.rb +21 -0
  84. data/spec/controllers/users_controller_spec.rb +67 -0
  85. data/spec/dummy/db/migrate/20130121092645_migrate_to_devise.rb +24 -0
  86. data/spec/dummy/db/schema.rb +17 -16
  87. data/spec/factories.rb +2 -0
  88. data/spec/integration/pages_controller_spec.rb +9 -1
  89. data/spec/models/content_spec.rb +11 -0
  90. data/spec/models/element_spec.rb +11 -2
  91. data/spec/models/essence_richtext_spec.rb +42 -6
  92. data/spec/models/essence_text_spec.rb +41 -0
  93. data/spec/models/page_spec.rb +39 -0
  94. data/spec/models/user_spec.rb +95 -6
  95. data/spec/spec_helper.rb +2 -3
  96. data/spec/support/alchemy/controller_hacks.rb +1 -1
  97. data/spec/support/alchemy/specs_helpers.rb +4 -4
  98. metadata +47 -10
  99. data/app/models/alchemy/user_session.rb +0 -14
  100. data/app/views/alchemy/notifications/admin_user_created.text.erb +0 -13
  101. data/app/views/alchemy/user_sessions/logout.html.erb +0 -3
@@ -0,0 +1,242 @@
1
+ # Use this hook to configure devise mailer, warden hooks and so forth.
2
+ # Many of these configuration options can be set straight in your model.
3
+ Devise.setup do |config|
4
+ # ==> Mailer Configuration
5
+ # Configure the e-mail address which will be shown in Devise::Mailer,
6
+ # note that it will be overwritten if you use your own mailer class with default "from" parameter.
7
+ config.mailer_sender = Alchemy::Config.get(:mailer)['mail_from']
8
+
9
+ # Configure the class responsible to send e-mails.
10
+ config.mailer = "Alchemy::Notifications"
11
+
12
+ # ==> ORM configuration
13
+ # Load and configure the ORM. Supports :active_record (default) and
14
+ # :mongoid (bson_ext recommended) by default. Other ORMs may be
15
+ # available as additional gems.
16
+ require 'devise/orm/active_record'
17
+
18
+ config.parent_controller = "Alchemy::BaseController"
19
+
20
+ # ==> Configuration for any authentication mechanism
21
+ # Configure which keys are used when authenticating a user. The default is
22
+ # just :email. You can configure it to use [:username, :subdomain], so for
23
+ # authenticating a user, both parameters are required. Remember that those
24
+ # parameters are used only when authenticating and not when retrieving from
25
+ # session. If you need permissions, you should implement that in a before filter.
26
+ # You can also supply a hash where the value is a boolean determining whether
27
+ # or not authentication should be aborted when the value is not present.
28
+ config.authentication_keys = [:login]
29
+
30
+ # Configure parameters from the request object used for authentication. Each entry
31
+ # given should be a request method and it will automatically be passed to the
32
+ # find_for_authentication method and considered in your model lookup. For instance,
33
+ # if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
34
+ # The same considerations mentioned for authentication_keys also apply to request_keys.
35
+ # config.request_keys = []
36
+
37
+ # Configure which authentication keys should be case-insensitive.
38
+ # These keys will be downcased upon creating or modifying a user and when used
39
+ # to authenticate or find a user. Default is :email.
40
+ config.case_insensitive_keys = [:login]
41
+
42
+ # Configure which authentication keys should have whitespace stripped.
43
+ # These keys will have whitespace before and after removed upon creating or
44
+ # modifying a user and when used to authenticate or find a user. Default is :email.
45
+ config.strip_whitespace_keys = [:login]
46
+
47
+ # Tell if authentication through request.params is enabled. True by default.
48
+ # It can be set to an array that will enable params authentication only for the
49
+ # given strategies, for example, `config.params_authenticatable = [:database]` will
50
+ # enable it only for database (email + password) authentication.
51
+ # config.params_authenticatable = true
52
+
53
+ # Tell if authentication through HTTP Basic Auth is enabled. False by default.
54
+ # It can be set to an array that will enable http authentication only for the
55
+ # given strategies, for example, `config.http_authenticatable = [:token]` will
56
+ # enable it only for token authentication.
57
+ # config.http_authenticatable = false
58
+
59
+ # If http headers should be returned for AJAX requests. True by default.
60
+ # config.http_authenticatable_on_xhr = true
61
+
62
+ # The realm used in Http Basic Authentication. "Application" by default.
63
+ # config.http_authentication_realm = "Application"
64
+
65
+ # It will change confirmation, password recovery and other workflows
66
+ # to behave the same regardless if the e-mail provided was right or wrong.
67
+ # Does not affect registerable.
68
+ # config.paranoid = true
69
+
70
+ # By default Devise will store the user in session. You can skip storage for
71
+ # :http_auth and :token_auth by adding those symbols to the array below.
72
+ # Notice that if you are skipping storage for all authentication paths, you
73
+ # may want to disable generating routes to Devise's sessions controller by
74
+ # passing :skip => :sessions to `devise_for` in your config/routes.rb
75
+ config.skip_session_storage = [:http_auth]
76
+
77
+ # ==> Configuration for :database_authenticatable
78
+ # For bcrypt, this is the cost for hashing the password and defaults to 10. If
79
+ # using other encryptors, it sets how many times you want the password re-encrypted.
80
+ #
81
+ # Limiting the stretches to just one in testing will increase the performance of
82
+ # your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
83
+ # a value less than 10 in other environments.
84
+ config.stretches = Rails.env.test? ? 1 : 10
85
+
86
+ # Setup a pepper to generate the encrypted password.
87
+ config.pepper = Rails.configuration.secret_token
88
+
89
+ # ==> Configuration for :confirmable
90
+ # A period that the user is allowed to access the website even without
91
+ # confirming his account. For instance, if set to 2.days, the user will be
92
+ # able to access the website for two days without confirming his account,
93
+ # access will be blocked just in the third day. Default is 0.days, meaning
94
+ # the user cannot access the website without confirming his account.
95
+ # config.allow_unconfirmed_access_for = 2.days
96
+
97
+ # A period that the user is allowed to confirm their account before their
98
+ # token becomes invalid. For example, if set to 3.days, the user can confirm
99
+ # their account within 3 days after the mail was sent, but on the fourth day
100
+ # their account can't be confirmed with the token any more.
101
+ # Default is nil, meaning there is no restriction on how long a user can take
102
+ # before confirming their account.
103
+ # config.confirm_within = 3.days
104
+
105
+ # If true, requires any email changes to be confirmed (exactly the same way as
106
+ # initial account confirmation) to be applied. Requires additional unconfirmed_email
107
+ # db field (see migrations). Until confirmed new email is stored in
108
+ # unconfirmed email column, and copied to email column on successful confirmation.
109
+ # config.reconfirmable = false
110
+
111
+ # Defines which key will be used when confirming an account
112
+ # config.confirmation_keys = [ :email ]
113
+
114
+ # ==> Configuration for :rememberable
115
+ # The time the user will be remembered without asking for credentials again.
116
+ # config.remember_for = 2.weeks
117
+
118
+ # If true, extends the user's remember period when remembered via cookie.
119
+ # config.extend_remember_period = false
120
+
121
+ # Options to be passed to the created cookie. For instance, you can set
122
+ # :secure => true in order to force SSL only cookies.
123
+ # config.rememberable_options = {}
124
+
125
+ # ==> Configuration for :validatable
126
+ # Range for password length. Default is 8..128.
127
+ config.password_length = 6..128
128
+
129
+ # Email regex used to validate email formats. It simply asserts that
130
+ # an one (and only one) @ exists in the given string. This is mainly
131
+ # to give user feedback and not to assert the e-mail validity.
132
+ # config.email_regexp = /\A[^@]+@[^@]+\z/
133
+
134
+ # ==> Configuration for :timeoutable
135
+ # The time you want to timeout the user session without activity. After this
136
+ # time the user will be asked for credentials again. Default is 30 minutes.
137
+ config.timeout_in = Rails.env.development? ? nil : Alchemy::Config.get(:auto_logout_time).minutes
138
+
139
+ # If true, expires auth token on session timeout.
140
+ # config.expire_auth_token_on_timeout = false
141
+
142
+ # ==> Configuration for :lockable
143
+ # Defines which strategy will be used to lock an account.
144
+ # :failed_attempts = Locks an account after a number of failed attempts to sign in.
145
+ # :none = No lock strategy. You should handle locking by yourself.
146
+ # config.lock_strategy = :failed_attempts
147
+
148
+ # Defines which key will be used when locking and unlocking an account
149
+ # config.unlock_keys = [ :email ]
150
+
151
+ # Defines which strategy will be used to unlock an account.
152
+ # :email = Sends an unlock link to the user email
153
+ # :time = Re-enables login after a certain amount of time (see :unlock_in below)
154
+ # :both = Enables both strategies
155
+ # :none = No unlock strategy. You should handle unlocking by yourself.
156
+ # config.unlock_strategy = :both
157
+
158
+ # Number of authentication tries before locking an account if lock_strategy
159
+ # is failed attempts.
160
+ # config.maximum_attempts = 20
161
+
162
+ # Time interval to unlock the account if :time is enabled as unlock_strategy.
163
+ # config.unlock_in = 1.hour
164
+
165
+ # ==> Configuration for :recoverable
166
+ #
167
+ # Defines which key will be used when recovering the password for an account
168
+ # config.reset_password_keys = [ :email ]
169
+
170
+ # Time interval you can reset your password with a reset password key.
171
+ # Don't put a too small interval or your users won't have the time to
172
+ # change their passwords.
173
+ config.reset_password_within = 6.hours
174
+
175
+ # ==> Configuration for :encryptable
176
+ # Allow you to use another encryption algorithm besides bcrypt (default). You can use
177
+ # :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
178
+ # :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
179
+ # and :restful_authentication_sha1 (then you should set stretches to 10, and copy
180
+ # REST_AUTH_SITE_KEY to pepper)
181
+ # config.encryptor = :authlogic_sha512
182
+
183
+ # ==> Configuration for :token_authenticatable
184
+ # Defines name of the authentication token params key
185
+ # config.token_authentication_key = :auth_token
186
+
187
+ # ==> Scopes configuration
188
+ # Turn scoped views on. Before rendering "sessions/new", it will first check for
189
+ # "users/sessions/new". It's turned off by default because it's slower if you
190
+ # are using only default views.
191
+ # config.scoped_views = false
192
+
193
+ # Configure the default scope given to Warden. By default it's the first
194
+ # devise role declared in your routes (usually :user).
195
+ # config.default_scope = :user
196
+
197
+ # Set this configuration to false if you want /users/sign_out to sign out
198
+ # only the current scope. By default, Devise signs out all scopes.
199
+ # config.sign_out_all_scopes = true
200
+
201
+ # ==> Navigation configuration
202
+ # Lists the formats that should be treated as navigational. Formats like
203
+ # :html, should redirect to the sign in page when the user does not have
204
+ # access, but formats like :xml or :json, should return 401.
205
+ #
206
+ # If you have any extra navigational formats, like :iphone or :mobile, you
207
+ # should add them to the navigational formats lists.
208
+ #
209
+ # The "*/*" below is required to match Internet Explorer requests.
210
+ # config.navigational_formats = ["*/*", :html]
211
+
212
+ # The default HTTP method used to sign out a resource. Default is :delete.
213
+ # config.sign_out_via = :delete
214
+
215
+ # ==> OmniAuth
216
+ # Add a new OmniAuth provider. Check the wiki for more information on setting
217
+ # up on your models and hooks.
218
+ # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
219
+
220
+ # ==> Warden configuration
221
+ # If you want to use other strategies, that are not supported by Devise, or
222
+ # change the failure app, you can configure them inside the config.warden block.
223
+ #
224
+ # config.warden do |manager|
225
+ # manager.intercept_401 = false
226
+ # manager.default_strategies(:scope => :user).unshift :some_external_strategy
227
+ # end
228
+
229
+ # ==> Mountable engine configurations
230
+ # When using Devise inside an engine, let's call it `MyEngine`, and this engine
231
+ # is mountable, there are some extra configurations to be taken into account.
232
+ # The following options are available, assuming the engine is mounted as:
233
+ #
234
+ # mount MyEngine, at: "/my_engine"
235
+ #
236
+ # The router that invoked `devise_for`, in the example above, would be:
237
+ # config.router_name = :my_engine
238
+ #
239
+ # When using omniauth, Devise cannot automatically set Omniauth path,
240
+ # so you need to do it manually. For the users scope, it would be:
241
+ # config.omniauth_path_prefix = "/my_engine/users/auth"
242
+ end
@@ -137,8 +137,8 @@ de:
137
137
  subject: 'Ihre Zugangsdaten zu meiner Seite'
138
138
  welcome: 'Willkommen auf meiner Seite'
139
139
  login_url_explanation: 'Zum Anmelden klicken Sie bitte auf folgenden Link'
140
- username: 'Ihr Benutzername'
141
- password: 'Ihr Passwort'
140
+ username: 'Ihr Benutzername lautet:'
141
+ password_notice: "(Aus Sicherheitsgründen stellen wir Ihr Passwort hier nicht da. Wenn Sie Ihr Passwort vergessen haben oder dies Ihr erster Login ist, gehen Sie bitte auf: %{url})"
142
142
  greeting: 'Einen schönen Tag noch'
143
143
 
144
144
  # == Translated language names for translation select
@@ -197,10 +197,13 @@ de:
197
197
  "Add global page": "Neue globale Seite"
198
198
  "Adobe Website": "Adobe Webseite"
199
199
  "Alchemy is open software and itself uses open software and free resources:": "Alchemy ist offene Software und benutzt selbst offene Software und freie Ressourcen:"
200
+ "Change password": "Passwort ändern"
200
201
  "Choose page": "Seite wählen"
201
202
  "Cleared trash": "Der Papierkorb wurde geleert"
202
203
  "Clear selection": "Auswahl aufheben"
204
+ "Forgot your password?": "Passwort vergessen?"
203
205
  "Clipboard": "Zwischenablage"
206
+ "Confirm new password": "Neues Passwort bestätigen"
204
207
  "Copy": "Kopie"
205
208
  "Could not load Adobe Flash® Plugin!": "Adobe Flash® Plugin konnte nicht geladen werden!"
206
209
  "Currently locked pages": "Momentan bearbeitete Seiten"
@@ -224,7 +227,6 @@ de:
224
227
  "Filter by tag": "Nach Tags filtern"
225
228
  "Flush page cache": "Seitencache löschen"
226
229
  "Flush picture cache": "Bildercache löschen"
227
- "Have much fun with Alchemy!": "Viel Spaß mit Alchemy!"
228
230
  "Hide childpages": "Unterseiten ausblenden"
229
231
  "If you have any problems using the Flash uploader you can switch to": "Sollten Sie Probleme mit dem Flash® Uploader haben, wechseln Sie einfach zur %{link}"
230
232
  "Image missing": "Bild fehlt"
@@ -242,6 +244,7 @@ de:
242
244
  "New": "Neu"
243
245
  "New Element": "Element hinzufügen"
244
246
  "New page": "Neue Seite"
247
+ "New password": "Neues Passwort"
245
248
  "New Tag": "Neues Tag"
246
249
  "New Tag Created": "Neues Tag wurde erstellt"
247
250
  "No": "Nein"
@@ -257,6 +260,7 @@ de:
257
260
  "Page cache flushed": "Seitencache wurde geleert"
258
261
  "Pages order saved": "Seitensortierung wurde gespeichert"
259
262
  "Password": "Passwort"
263
+ "Password reset": "Passwort zurücksetzen"
260
264
  "Paste from clipboard": "Aus Zwischenablage"
261
265
  "Picture infos": "Bild Informationen"
262
266
  "Picture uploaded succesfully": "Bild %{name} wurde hochgeladen"
@@ -267,6 +271,8 @@ de:
267
271
  "Picture cache flushed": "Bildercache wurde geleert"
268
272
  "Please Signup": "Um Ihre Homepage bearbeiten zu können, müssen Sie als erstes einen Admin Benutzer einrichten."
269
273
  "Please choose": "Bitte wählen"
274
+ "Please enter a new password": "Bitte geben Sie Ihr neues Passwort ein."
275
+ "Please enter your email address": "Bitte geben Sie Ihre E-Mail-Adresse ein."
270
276
  "Please log in": "Bitte melden Sie sich an."
271
277
  "Please seperate the tags with commata": "* Die Tags bitte mit Kommata getrennt eingeben."
272
278
  use_alternative_uploader_instead: "Benutzen Sie bitte diesen alternativen Uploader."
@@ -281,6 +287,7 @@ de:
281
287
  "Select an content": "Wählen Sie einen Inhalt aus"
282
288
  "Select style": "Stilvorlage"
283
289
  "Send email with credentials": "Sende Benutzerdaten per Email"
290
+ "Send reset instructions": "Anweisungen senden"
284
291
  "Show Elements Window": "Elementeliste anzeigen"
285
292
  "Show Preview Window": "Seitenvorschau anzeigen"
286
293
  "Show childpages": "Unterseiten anzeigen"
@@ -300,12 +307,10 @@ de:
300
307
  "Tags": "Tags"
301
308
  "This page is locked by %{name}": "Diese Seite wird gerade von %{name} blockiert"
302
309
  "Title": "Titel"
303
- "To manage your website open a browser and go to": "Um die Inhalte Ihrer Webseite zu bearbeiten klicken Sie bitte auf folgenden Link"
304
310
  "Trash": "Papierkorb"
305
311
  "User created": "%{name} wurde erstellt"
306
312
  "User deleted": "%{name} wurde gelöscht"
307
313
  "User updated": "%{name} wurde aktualisiert"
308
- "Username": "Benutzername"
309
314
  "Validation failed": "Einige Pflichtfelder wurden nicht richtig ausgefüllt."
310
315
  "Version": "Version"
311
316
  "View File": "Datei anzeigen"
@@ -315,7 +320,7 @@ de:
315
320
  element_description_missing: "Warnung! Für dieses Element konnte die Vorlage nicht gefunden werden. Bitte überprüfen Sie die elements.yml Datei."
316
321
  "Welcome back, %{name}": "Willkommen zurück, %{name}!"
317
322
  "Welcome, %{name}": "Willkommen, %{name}!"
318
- "Welcome to Alchemy": "Willkommen in Alchemy!"
323
+ "Welcome to Alchemy": "Willkommen in Alchemy"
319
324
  "Who else is online": "Wer ist noch online"
320
325
  "Yes": "Ja"
321
326
  "You are not authorized": "Sie sind dazu nicht authorisiert."
@@ -325,7 +330,6 @@ de:
325
330
  "You may upload any file": "Sie können jede Art von Datei hochladen."
326
331
  "Your last login was on %{time}": "Sie waren zuletzt angemeldet am %{time}."
327
332
  "Your Alchemy Login": "Ihre Alchemy Zugangsdaten"
328
- "Your credentials are": "Ihre Zugangsdaten lauten"
329
333
  "Your last updated pages": "Ihre zuletzt bearbeiteten Seiten"
330
334
  "Your trash is empty": "Der Papierkorb ist leer"
331
335
  above: "darüber"
@@ -447,7 +451,6 @@ de:
447
451
  file: "Datei"
448
452
  internal: "Intern"
449
453
  link_title: "Linktitel"
450
- logged_out: "Sie wurden abgemeldet."
451
454
  login: "anmelden"
452
455
  logout: "abmelden"
453
456
  mail_to: "Empfängeradresse"
@@ -841,10 +844,6 @@ de:
841
844
  one: Benutzer
842
845
  other: Benutzer
843
846
 
844
- alchemy/user_session:
845
- one: Anmeldung
846
- other: Anmeldungen
847
-
848
847
  alchemy/site:
849
848
  one: Website
850
849
  other: Websites
@@ -930,7 +929,7 @@ de:
930
929
  gender: "Anrede"
931
930
  language: "Sprache"
932
931
  lastname: "Nachname"
933
- last_login_at: "letzter Login am"
932
+ last_sign_in_at: "letzter Login am"
934
933
  login: "Benutzername"
935
934
  name: "Name"
936
935
  password: "Passwort"
@@ -947,29 +946,3 @@ de:
947
946
 
948
947
  errors:
949
948
  <<: *errors
950
-
951
- # Translations for the authentication system used in alchemy.
952
- authlogic:
953
-
954
- error_messages:
955
- login_blank: "^Es wurde kein Benutzername angeben."
956
- login_not_found: "^Dieser Benutzername existiert nicht."
957
- general_credentials_error: "Die Kombination aus Benutzername und Passwort ist nicht gültig."
958
- consecutive_failed_logins_limit_exceeded: "Zu viele Fehlversuche! Dieser Account ist aus Sicherheitsgründen gesperrt worden. Bitte wenden Sie sich an den Administrator."
959
- password_blank: "^Bitte ein Passwort angegeben."
960
- password_invalid: "^Das Passwort ist nicht richtig."
961
- not_active: "Dieser Account wurde noch nicht aktiviert."
962
- not_confirmed: "Dieser Account wurde noch nicht bestätigt."
963
- not_approved: "Dieser Account wurde noch nicht freigeschaltet."
964
- no_authentication_details: 'Sie haben keinen Benutzernamen und/oder Passwort eingegeben.'
965
-
966
- models:
967
- alchemy/user_session: 'Sitzung'
968
-
969
- attributes:
970
- alchemy/user_session:
971
- login: Benutzername
972
- email: Email
973
- password: Passwort
974
- remember_me: "eingeloggt bleiben"
975
-
@@ -123,8 +123,8 @@ en:
123
123
  subject: 'Your credentials for my site'
124
124
  welcome: 'Welcome to my site'
125
125
  login_url_explanation: 'To login just click this link'
126
- username: 'Your username'
127
- password: 'Your password'
126
+ username: 'Your username is'
127
+ password_notice: "(For security reasons we do not show your password here. If you forgot your password or this is your first login, please goto: %{url})"
128
128
  greeting: 'Have a nice day'
129
129
 
130
130
  # == Translated language names for translation select
@@ -287,7 +287,6 @@ en:
287
287
  file: "File"
288
288
  internal: "Internal"
289
289
  link_title: "Linktitle"
290
- logged_out: "You´re logged out successfully."
291
290
  mail_to: "Recipient"
292
291
  male: "Male"
293
292
  medium_thumbnails: "Medium thumbnails"
@@ -408,6 +407,7 @@ en:
408
407
  username: "Username"
409
408
  want_to_create_new_language: "Do you want to create a new empty language tree?"
410
409
  want_to_make_copy_of_existing_language: "Do you want to copy an existing language tree?"
410
+ "Welcome to Alchemy": "Welcome to Alchemy"
411
411
  welcome_please_identify_notice: "Welcome! Please identify."
412
412
  width: "Width"
413
413
  "You are already logged in": "You are already logged in."
@@ -669,7 +669,7 @@ en:
669
669
  gender: "Gender"
670
670
  language: "Language"
671
671
  lastname: "Lastname"
672
- last_login_at: "Last Login At"
672
+ last_sign_in_at: "Last Login At"
673
673
  login: "Username"
674
674
  name: "Name"
675
675
  password: "Password"
@@ -681,30 +681,3 @@ en:
681
681
 
682
682
  errors:
683
683
  <<: *errors
684
-
685
- # Translations for the authentication system used in alchemy.
686
- authlogic:
687
- error_messages:
688
- login_blank: 'can not be blank'
689
- login_not_found: 'could not be found'
690
- general_credentials_error: "User does not exist or invalid password!"
691
- consecutive_failed_logins_limit_exceeded: 'Consecutive failed logins limit exceeded, account is disabled.'
692
- email_invalid: 'should look like an email address.'
693
- password_blank: 'can not be blank'
694
- password_invalid: 'is not correct'
695
- not_active: 'Your account is not active'
696
- not_confirmed: 'Your account is not confirmed'
697
- not_approved: 'Your account is not approved'
698
- no_authentication_details: 'You did not provide any details for authentication'
699
- login_not_valid: "is invalid. Please use letters, numbers, spaces and .-_@ only"
700
- login_too_short: "is too short. Please use 3 characters ar least"
701
-
702
- models:
703
- alchemy/user_session: 'Session'
704
- attributes:
705
- alchemy/user_session:
706
- login: Username
707
- email: Email
708
- password: Password
709
- remember_me: 'remember me'
710
-