@@ -1,617 +1,617 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | require 'uri' |
|
19 | 19 | require 'cgi' |
|
20 | 20 | |
|
21 | 21 | class Unauthorized < Exception; end |
|
22 | 22 | |
|
23 | 23 | class ApplicationController < ActionController::Base |
|
24 | 24 | include Redmine::I18n |
|
25 | 25 | include Redmine::Pagination |
|
26 | 26 | include RoutesHelper |
|
27 | 27 | helper :routes |
|
28 | 28 | |
|
29 | 29 | class_attribute :accept_api_auth_actions |
|
30 | 30 | class_attribute :accept_rss_auth_actions |
|
31 | 31 | class_attribute :model_object |
|
32 | 32 | |
|
33 | 33 | layout 'base' |
|
34 | 34 | |
|
35 | 35 | protect_from_forgery |
|
36 | 36 | |
|
37 | 37 | def verify_authenticity_token |
|
38 | 38 | unless api_request? |
|
39 | 39 | super |
|
40 | 40 | end |
|
41 | 41 | end |
|
42 | 42 | |
|
43 | 43 | def handle_unverified_request |
|
44 | 44 | unless api_request? |
|
45 | 45 | super |
|
46 | 46 | cookies.delete(autologin_cookie_name) |
|
47 | 47 | render_error :status => 422, :message => "Invalid form authenticity token." |
|
48 | 48 | end |
|
49 | 49 | end |
|
50 | 50 | |
|
51 | 51 | before_filter :session_expiration, :user_setup, :check_if_login_required, :check_password_change, :set_localization |
|
52 | 52 | |
|
53 | 53 | rescue_from ::Unauthorized, :with => :deny_access |
|
54 | 54 | rescue_from ::ActionView::MissingTemplate, :with => :missing_template |
|
55 | 55 | |
|
56 | 56 | include Redmine::Search::Controller |
|
57 | 57 | include Redmine::MenuManager::MenuController |
|
58 | 58 | helper Redmine::MenuManager::MenuHelper |
|
59 | 59 | |
|
60 | 60 | def session_expiration |
|
61 | 61 | if session[:user_id] |
|
62 | 62 | if session_expired? && !try_to_autologin |
|
63 | 63 | reset_session |
|
64 | 64 | flash[:error] = l(:error_session_expired) |
|
65 | 65 | redirect_to signin_url |
|
66 | 66 | else |
|
67 | 67 | session[:atime] = Time.now.utc.to_i |
|
68 | 68 | end |
|
69 | 69 | end |
|
70 | 70 | end |
|
71 | 71 | |
|
72 | 72 | def session_expired? |
|
73 | 73 | if Setting.session_lifetime? |
|
74 | 74 | unless session[:ctime] && (Time.now.utc.to_i - session[:ctime].to_i <= Setting.session_lifetime.to_i * 60) |
|
75 | 75 | return true |
|
76 | 76 | end |
|
77 | 77 | end |
|
78 | 78 | if Setting.session_timeout? |
|
79 | 79 | unless session[:atime] && (Time.now.utc.to_i - session[:atime].to_i <= Setting.session_timeout.to_i * 60) |
|
80 | 80 | return true |
|
81 | 81 | end |
|
82 | 82 | end |
|
83 | 83 | false |
|
84 | 84 | end |
|
85 | 85 | |
|
86 | 86 | def start_user_session(user) |
|
87 | 87 | session[:user_id] = user.id |
|
88 | 88 | session[:ctime] = Time.now.utc.to_i |
|
89 | 89 | session[:atime] = Time.now.utc.to_i |
|
90 | 90 | if user.must_change_password? |
|
91 | 91 | session[:pwd] = '1' |
|
92 | 92 | end |
|
93 | 93 | end |
|
94 | 94 | |
|
95 | 95 | def user_setup |
|
96 | 96 | # Check the settings cache for each request |
|
97 | 97 | Setting.check_cache |
|
98 | 98 | # Find the current user |
|
99 | 99 | User.current = find_current_user |
|
100 | 100 | logger.info(" Current user: " + (User.current.logged? ? "#{User.current.login} (id=#{User.current.id})" : "anonymous")) if logger |
|
101 | 101 | end |
|
102 | 102 | |
|
103 | 103 | # Returns the current user or nil if no user is logged in |
|
104 | 104 | # and starts a session if needed |
|
105 | 105 | def find_current_user |
|
106 | 106 | user = nil |
|
107 | 107 | unless api_request? |
|
108 | 108 | if session[:user_id] |
|
109 | 109 | # existing session |
|
110 | 110 | user = (User.active.find(session[:user_id]) rescue nil) |
|
111 | 111 | elsif autologin_user = try_to_autologin |
|
112 | 112 | user = autologin_user |
|
113 | 113 | elsif params[:format] == 'atom' && params[:key] && request.get? && accept_rss_auth? |
|
114 | 114 | # RSS key authentication does not start a session |
|
115 | 115 | user = User.find_by_rss_key(params[:key]) |
|
116 | 116 | end |
|
117 | 117 | end |
|
118 | 118 | if user.nil? && Setting.rest_api_enabled? && accept_api_auth? |
|
119 | 119 | if (key = api_key_from_request) |
|
120 | 120 | # Use API key |
|
121 | 121 | user = User.find_by_api_key(key) |
|
122 | 122 | else |
|
123 | 123 | # HTTP Basic, either username/password or API key/random |
|
124 | 124 | authenticate_with_http_basic do |username, password| |
|
125 | 125 | user = User.try_to_login(username, password) || User.find_by_api_key(username) |
|
126 | 126 | end |
|
127 | 127 | if user && user.must_change_password? |
|
128 | 128 | render_error :message => 'You must change your password', :status => 403 |
|
129 | 129 | return |
|
130 | 130 | end |
|
131 | 131 | end |
|
132 | 132 | # Switch user if requested by an admin user |
|
133 | 133 | if user && user.admin? && (username = api_switch_user_from_request) |
|
134 | 134 | su = User.find_by_login(username) |
|
135 | 135 | if su && su.active? |
|
136 | 136 | logger.info(" User switched by: #{user.login} (id=#{user.id})") if logger |
|
137 | 137 | user = su |
|
138 | 138 | else |
|
139 | 139 | render_error :message => 'Invalid X-Redmine-Switch-User header', :status => 412 |
|
140 | 140 | end |
|
141 | 141 | end |
|
142 | 142 | end |
|
143 | 143 | user |
|
144 | 144 | end |
|
145 | 145 | |
|
146 | 146 | def autologin_cookie_name |
|
147 | 147 | Redmine::Configuration['autologin_cookie_name'].presence || 'autologin' |
|
148 | 148 | end |
|
149 | 149 | |
|
150 | 150 | def try_to_autologin |
|
151 | 151 | if cookies[autologin_cookie_name] && Setting.autologin? |
|
152 | 152 | # auto-login feature starts a new session |
|
153 | 153 | user = User.try_to_autologin(cookies[autologin_cookie_name]) |
|
154 | 154 | if user |
|
155 | 155 | reset_session |
|
156 | 156 | start_user_session(user) |
|
157 | 157 | end |
|
158 | 158 | user |
|
159 | 159 | end |
|
160 | 160 | end |
|
161 | 161 | |
|
162 | 162 | # Sets the logged in user |
|
163 | 163 | def logged_user=(user) |
|
164 | 164 | reset_session |
|
165 | 165 | if user && user.is_a?(User) |
|
166 | 166 | User.current = user |
|
167 | 167 | start_user_session(user) |
|
168 | 168 | else |
|
169 | 169 | User.current = User.anonymous |
|
170 | 170 | end |
|
171 | 171 | end |
|
172 | 172 | |
|
173 | 173 | # Logs out current user |
|
174 | 174 | def logout_user |
|
175 | 175 | if User.current.logged? |
|
176 | 176 | cookies.delete(autologin_cookie_name) |
|
177 | 177 | Token.delete_all(["user_id = ? AND action = ?", User.current.id, 'autologin']) |
|
178 | 178 | self.logged_user = nil |
|
179 | 179 | end |
|
180 | 180 | end |
|
181 | 181 | |
|
182 | 182 | # check if login is globally required to access the application |
|
183 | 183 | def check_if_login_required |
|
184 | 184 | # no check needed if user is already logged in |
|
185 | 185 | return true if User.current.logged? |
|
186 | 186 | require_login if Setting.login_required? |
|
187 | 187 | end |
|
188 | 188 | |
|
189 | 189 | def check_password_change |
|
190 | 190 | if session[:pwd] |
|
191 | 191 | if User.current.must_change_password? |
|
192 | 192 | redirect_to my_password_path |
|
193 | 193 | else |
|
194 | 194 | session.delete(:pwd) |
|
195 | 195 | end |
|
196 | 196 | end |
|
197 | 197 | end |
|
198 | 198 | |
|
199 | 199 | def set_localization |
|
200 | 200 | lang = nil |
|
201 | 201 | if User.current.logged? |
|
202 | 202 | lang = find_language(User.current.language) |
|
203 | 203 | end |
|
204 | if lang.nil? && request.env['HTTP_ACCEPT_LANGUAGE'] | |
|
204 | if lang.nil? && !Setting.force_default_language_for_anonymous? && request.env['HTTP_ACCEPT_LANGUAGE'] | |
|
205 | 205 | accept_lang = parse_qvalues(request.env['HTTP_ACCEPT_LANGUAGE']).first |
|
206 | 206 | if !accept_lang.blank? |
|
207 | 207 | accept_lang = accept_lang.downcase |
|
208 | 208 | lang = find_language(accept_lang) || find_language(accept_lang.split('-').first) |
|
209 | 209 | end |
|
210 | 210 | end |
|
211 | 211 | lang ||= Setting.default_language |
|
212 | 212 | set_language_if_valid(lang) |
|
213 | 213 | end |
|
214 | 214 | |
|
215 | 215 | def require_login |
|
216 | 216 | if !User.current.logged? |
|
217 | 217 | # Extract only the basic url parameters on non-GET requests |
|
218 | 218 | if request.get? |
|
219 | 219 | url = url_for(params) |
|
220 | 220 | else |
|
221 | 221 | url = url_for(:controller => params[:controller], :action => params[:action], :id => params[:id], :project_id => params[:project_id]) |
|
222 | 222 | end |
|
223 | 223 | respond_to do |format| |
|
224 | 224 | format.html { |
|
225 | 225 | if request.xhr? |
|
226 | 226 | head :unauthorized |
|
227 | 227 | else |
|
228 | 228 | redirect_to :controller => "account", :action => "login", :back_url => url |
|
229 | 229 | end |
|
230 | 230 | } |
|
231 | 231 | format.atom { redirect_to :controller => "account", :action => "login", :back_url => url } |
|
232 | 232 | format.xml { head :unauthorized, 'WWW-Authenticate' => 'Basic realm="Redmine API"' } |
|
233 | 233 | format.js { head :unauthorized, 'WWW-Authenticate' => 'Basic realm="Redmine API"' } |
|
234 | 234 | format.json { head :unauthorized, 'WWW-Authenticate' => 'Basic realm="Redmine API"' } |
|
235 | 235 | end |
|
236 | 236 | return false |
|
237 | 237 | end |
|
238 | 238 | true |
|
239 | 239 | end |
|
240 | 240 | |
|
241 | 241 | def require_admin |
|
242 | 242 | return unless require_login |
|
243 | 243 | if !User.current.admin? |
|
244 | 244 | render_403 |
|
245 | 245 | return false |
|
246 | 246 | end |
|
247 | 247 | true |
|
248 | 248 | end |
|
249 | 249 | |
|
250 | 250 | def deny_access |
|
251 | 251 | User.current.logged? ? render_403 : require_login |
|
252 | 252 | end |
|
253 | 253 | |
|
254 | 254 | # Authorize the user for the requested action |
|
255 | 255 | def authorize(ctrl = params[:controller], action = params[:action], global = false) |
|
256 | 256 | allowed = User.current.allowed_to?({:controller => ctrl, :action => action}, @project || @projects, :global => global) |
|
257 | 257 | if allowed |
|
258 | 258 | true |
|
259 | 259 | else |
|
260 | 260 | if @project && @project.archived? |
|
261 | 261 | render_403 :message => :notice_not_authorized_archived_project |
|
262 | 262 | else |
|
263 | 263 | deny_access |
|
264 | 264 | end |
|
265 | 265 | end |
|
266 | 266 | end |
|
267 | 267 | |
|
268 | 268 | # Authorize the user for the requested action outside a project |
|
269 | 269 | def authorize_global(ctrl = params[:controller], action = params[:action], global = true) |
|
270 | 270 | authorize(ctrl, action, global) |
|
271 | 271 | end |
|
272 | 272 | |
|
273 | 273 | # Find project of id params[:id] |
|
274 | 274 | def find_project |
|
275 | 275 | @project = Project.find(params[:id]) |
|
276 | 276 | rescue ActiveRecord::RecordNotFound |
|
277 | 277 | render_404 |
|
278 | 278 | end |
|
279 | 279 | |
|
280 | 280 | # Find project of id params[:project_id] |
|
281 | 281 | def find_project_by_project_id |
|
282 | 282 | @project = Project.find(params[:project_id]) |
|
283 | 283 | rescue ActiveRecord::RecordNotFound |
|
284 | 284 | render_404 |
|
285 | 285 | end |
|
286 | 286 | |
|
287 | 287 | # Find a project based on params[:project_id] |
|
288 | 288 | # TODO: some subclasses override this, see about merging their logic |
|
289 | 289 | def find_optional_project |
|
290 | 290 | @project = Project.find(params[:project_id]) unless params[:project_id].blank? |
|
291 | 291 | allowed = User.current.allowed_to?({:controller => params[:controller], :action => params[:action]}, @project, :global => true) |
|
292 | 292 | allowed ? true : deny_access |
|
293 | 293 | rescue ActiveRecord::RecordNotFound |
|
294 | 294 | render_404 |
|
295 | 295 | end |
|
296 | 296 | |
|
297 | 297 | # Finds and sets @project based on @object.project |
|
298 | 298 | def find_project_from_association |
|
299 | 299 | render_404 unless @object.present? |
|
300 | 300 | |
|
301 | 301 | @project = @object.project |
|
302 | 302 | end |
|
303 | 303 | |
|
304 | 304 | def find_model_object |
|
305 | 305 | model = self.class.model_object |
|
306 | 306 | if model |
|
307 | 307 | @object = model.find(params[:id]) |
|
308 | 308 | self.instance_variable_set('@' + controller_name.singularize, @object) if @object |
|
309 | 309 | end |
|
310 | 310 | rescue ActiveRecord::RecordNotFound |
|
311 | 311 | render_404 |
|
312 | 312 | end |
|
313 | 313 | |
|
314 | 314 | def self.model_object(model) |
|
315 | 315 | self.model_object = model |
|
316 | 316 | end |
|
317 | 317 | |
|
318 | 318 | # Find the issue whose id is the :id parameter |
|
319 | 319 | # Raises a Unauthorized exception if the issue is not visible |
|
320 | 320 | def find_issue |
|
321 | 321 | # Issue.visible.find(...) can not be used to redirect user to the login form |
|
322 | 322 | # if the issue actually exists but requires authentication |
|
323 | 323 | @issue = Issue.find(params[:id]) |
|
324 | 324 | raise Unauthorized unless @issue.visible? |
|
325 | 325 | @project = @issue.project |
|
326 | 326 | rescue ActiveRecord::RecordNotFound |
|
327 | 327 | render_404 |
|
328 | 328 | end |
|
329 | 329 | |
|
330 | 330 | # Find issues with a single :id param or :ids array param |
|
331 | 331 | # Raises a Unauthorized exception if one of the issues is not visible |
|
332 | 332 | def find_issues |
|
333 | 333 | @issues = Issue.where(:id => (params[:id] || params[:ids])).preload(:project, :status, :tracker, :priority, :author, :assigned_to, :relations_to).to_a |
|
334 | 334 | raise ActiveRecord::RecordNotFound if @issues.empty? |
|
335 | 335 | raise Unauthorized unless @issues.all?(&:visible?) |
|
336 | 336 | @projects = @issues.collect(&:project).compact.uniq |
|
337 | 337 | @project = @projects.first if @projects.size == 1 |
|
338 | 338 | rescue ActiveRecord::RecordNotFound |
|
339 | 339 | render_404 |
|
340 | 340 | end |
|
341 | 341 | |
|
342 | 342 | def find_attachments |
|
343 | 343 | if (attachments = params[:attachments]).present? |
|
344 | 344 | att = attachments.values.collect do |attachment| |
|
345 | 345 | Attachment.find_by_token( attachment[:token] ) if attachment[:token].present? |
|
346 | 346 | end |
|
347 | 347 | att.compact! |
|
348 | 348 | end |
|
349 | 349 | @attachments = att || [] |
|
350 | 350 | end |
|
351 | 351 | |
|
352 | 352 | # make sure that the user is a member of the project (or admin) if project is private |
|
353 | 353 | # used as a before_filter for actions that do not require any particular permission on the project |
|
354 | 354 | def check_project_privacy |
|
355 | 355 | if @project && !@project.archived? |
|
356 | 356 | if @project.visible? |
|
357 | 357 | true |
|
358 | 358 | else |
|
359 | 359 | deny_access |
|
360 | 360 | end |
|
361 | 361 | else |
|
362 | 362 | @project = nil |
|
363 | 363 | render_404 |
|
364 | 364 | false |
|
365 | 365 | end |
|
366 | 366 | end |
|
367 | 367 | |
|
368 | 368 | def back_url |
|
369 | 369 | url = params[:back_url] |
|
370 | 370 | if url.nil? && referer = request.env['HTTP_REFERER'] |
|
371 | 371 | url = CGI.unescape(referer.to_s) |
|
372 | 372 | end |
|
373 | 373 | url |
|
374 | 374 | end |
|
375 | 375 | |
|
376 | 376 | def redirect_back_or_default(default) |
|
377 | 377 | back_url = params[:back_url].to_s |
|
378 | 378 | if back_url.present? |
|
379 | 379 | begin |
|
380 | 380 | uri = URI.parse(back_url) |
|
381 | 381 | # do not redirect user to another host or to the login or register page |
|
382 | 382 | if (uri.relative? || (uri.host == request.host)) && !uri.path.match(%r{/(login|account/register)}) |
|
383 | 383 | redirect_to(back_url) |
|
384 | 384 | return |
|
385 | 385 | end |
|
386 | 386 | rescue URI::InvalidURIError |
|
387 | 387 | logger.warn("Could not redirect to invalid URL #{back_url}") |
|
388 | 388 | # redirect to default |
|
389 | 389 | end |
|
390 | 390 | end |
|
391 | 391 | redirect_to default |
|
392 | 392 | false |
|
393 | 393 | end |
|
394 | 394 | |
|
395 | 395 | # Redirects to the request referer if present, redirects to args or call block otherwise. |
|
396 | 396 | def redirect_to_referer_or(*args, &block) |
|
397 | 397 | redirect_to :back |
|
398 | 398 | rescue ::ActionController::RedirectBackError |
|
399 | 399 | if args.any? |
|
400 | 400 | redirect_to *args |
|
401 | 401 | elsif block_given? |
|
402 | 402 | block.call |
|
403 | 403 | else |
|
404 | 404 | raise "#redirect_to_referer_or takes arguments or a block" |
|
405 | 405 | end |
|
406 | 406 | end |
|
407 | 407 | |
|
408 | 408 | def render_403(options={}) |
|
409 | 409 | @project = nil |
|
410 | 410 | render_error({:message => :notice_not_authorized, :status => 403}.merge(options)) |
|
411 | 411 | return false |
|
412 | 412 | end |
|
413 | 413 | |
|
414 | 414 | def render_404(options={}) |
|
415 | 415 | render_error({:message => :notice_file_not_found, :status => 404}.merge(options)) |
|
416 | 416 | return false |
|
417 | 417 | end |
|
418 | 418 | |
|
419 | 419 | # Renders an error response |
|
420 | 420 | def render_error(arg) |
|
421 | 421 | arg = {:message => arg} unless arg.is_a?(Hash) |
|
422 | 422 | |
|
423 | 423 | @message = arg[:message] |
|
424 | 424 | @message = l(@message) if @message.is_a?(Symbol) |
|
425 | 425 | @status = arg[:status] || 500 |
|
426 | 426 | |
|
427 | 427 | respond_to do |format| |
|
428 | 428 | format.html { |
|
429 | 429 | render :template => 'common/error', :layout => use_layout, :status => @status |
|
430 | 430 | } |
|
431 | 431 | format.any { head @status } |
|
432 | 432 | end |
|
433 | 433 | end |
|
434 | 434 | |
|
435 | 435 | # Handler for ActionView::MissingTemplate exception |
|
436 | 436 | def missing_template |
|
437 | 437 | logger.warn "Missing template, responding with 404" |
|
438 | 438 | @project = nil |
|
439 | 439 | render_404 |
|
440 | 440 | end |
|
441 | 441 | |
|
442 | 442 | # Filter for actions that provide an API response |
|
443 | 443 | # but have no HTML representation for non admin users |
|
444 | 444 | def require_admin_or_api_request |
|
445 | 445 | return true if api_request? |
|
446 | 446 | if User.current.admin? |
|
447 | 447 | true |
|
448 | 448 | elsif User.current.logged? |
|
449 | 449 | render_error(:status => 406) |
|
450 | 450 | else |
|
451 | 451 | deny_access |
|
452 | 452 | end |
|
453 | 453 | end |
|
454 | 454 | |
|
455 | 455 | # Picks which layout to use based on the request |
|
456 | 456 | # |
|
457 | 457 | # @return [boolean, string] name of the layout to use or false for no layout |
|
458 | 458 | def use_layout |
|
459 | 459 | request.xhr? ? false : 'base' |
|
460 | 460 | end |
|
461 | 461 | |
|
462 | 462 | def render_feed(items, options={}) |
|
463 | 463 | @items = items || [] |
|
464 | 464 | @items.sort! {|x,y| y.event_datetime <=> x.event_datetime } |
|
465 | 465 | @items = @items.slice(0, Setting.feeds_limit.to_i) |
|
466 | 466 | @title = options[:title] || Setting.app_title |
|
467 | 467 | render :template => "common/feed", :formats => [:atom], :layout => false, |
|
468 | 468 | :content_type => 'application/atom+xml' |
|
469 | 469 | end |
|
470 | 470 | |
|
471 | 471 | def self.accept_rss_auth(*actions) |
|
472 | 472 | if actions.any? |
|
473 | 473 | self.accept_rss_auth_actions = actions |
|
474 | 474 | else |
|
475 | 475 | self.accept_rss_auth_actions || [] |
|
476 | 476 | end |
|
477 | 477 | end |
|
478 | 478 | |
|
479 | 479 | def accept_rss_auth?(action=action_name) |
|
480 | 480 | self.class.accept_rss_auth.include?(action.to_sym) |
|
481 | 481 | end |
|
482 | 482 | |
|
483 | 483 | def self.accept_api_auth(*actions) |
|
484 | 484 | if actions.any? |
|
485 | 485 | self.accept_api_auth_actions = actions |
|
486 | 486 | else |
|
487 | 487 | self.accept_api_auth_actions || [] |
|
488 | 488 | end |
|
489 | 489 | end |
|
490 | 490 | |
|
491 | 491 | def accept_api_auth?(action=action_name) |
|
492 | 492 | self.class.accept_api_auth.include?(action.to_sym) |
|
493 | 493 | end |
|
494 | 494 | |
|
495 | 495 | # Returns the number of objects that should be displayed |
|
496 | 496 | # on the paginated list |
|
497 | 497 | def per_page_option |
|
498 | 498 | per_page = nil |
|
499 | 499 | if params[:per_page] && Setting.per_page_options_array.include?(params[:per_page].to_s.to_i) |
|
500 | 500 | per_page = params[:per_page].to_s.to_i |
|
501 | 501 | session[:per_page] = per_page |
|
502 | 502 | elsif session[:per_page] |
|
503 | 503 | per_page = session[:per_page] |
|
504 | 504 | else |
|
505 | 505 | per_page = Setting.per_page_options_array.first || 25 |
|
506 | 506 | end |
|
507 | 507 | per_page |
|
508 | 508 | end |
|
509 | 509 | |
|
510 | 510 | # Returns offset and limit used to retrieve objects |
|
511 | 511 | # for an API response based on offset, limit and page parameters |
|
512 | 512 | def api_offset_and_limit(options=params) |
|
513 | 513 | if options[:offset].present? |
|
514 | 514 | offset = options[:offset].to_i |
|
515 | 515 | if offset < 0 |
|
516 | 516 | offset = 0 |
|
517 | 517 | end |
|
518 | 518 | end |
|
519 | 519 | limit = options[:limit].to_i |
|
520 | 520 | if limit < 1 |
|
521 | 521 | limit = 25 |
|
522 | 522 | elsif limit > 100 |
|
523 | 523 | limit = 100 |
|
524 | 524 | end |
|
525 | 525 | if offset.nil? && options[:page].present? |
|
526 | 526 | offset = (options[:page].to_i - 1) * limit |
|
527 | 527 | offset = 0 if offset < 0 |
|
528 | 528 | end |
|
529 | 529 | offset ||= 0 |
|
530 | 530 | |
|
531 | 531 | [offset, limit] |
|
532 | 532 | end |
|
533 | 533 | |
|
534 | 534 | # qvalues http header parser |
|
535 | 535 | # code taken from webrick |
|
536 | 536 | def parse_qvalues(value) |
|
537 | 537 | tmp = [] |
|
538 | 538 | if value |
|
539 | 539 | parts = value.split(/,\s*/) |
|
540 | 540 | parts.each {|part| |
|
541 | 541 | if m = %r{^([^\s,]+?)(?:;\s*q=(\d+(?:\.\d+)?))?$}.match(part) |
|
542 | 542 | val = m[1] |
|
543 | 543 | q = (m[2] or 1).to_f |
|
544 | 544 | tmp.push([val, q]) |
|
545 | 545 | end |
|
546 | 546 | } |
|
547 | 547 | tmp = tmp.sort_by{|val, q| -q} |
|
548 | 548 | tmp.collect!{|val, q| val} |
|
549 | 549 | end |
|
550 | 550 | return tmp |
|
551 | 551 | rescue |
|
552 | 552 | nil |
|
553 | 553 | end |
|
554 | 554 | |
|
555 | 555 | # Returns a string that can be used as filename value in Content-Disposition header |
|
556 | 556 | def filename_for_content_disposition(name) |
|
557 | 557 | request.env['HTTP_USER_AGENT'] =~ %r{MSIE} ? ERB::Util.url_encode(name) : name |
|
558 | 558 | end |
|
559 | 559 | |
|
560 | 560 | def api_request? |
|
561 | 561 | %w(xml json).include? params[:format] |
|
562 | 562 | end |
|
563 | 563 | |
|
564 | 564 | # Returns the API key present in the request |
|
565 | 565 | def api_key_from_request |
|
566 | 566 | if params[:key].present? |
|
567 | 567 | params[:key].to_s |
|
568 | 568 | elsif request.headers["X-Redmine-API-Key"].present? |
|
569 | 569 | request.headers["X-Redmine-API-Key"].to_s |
|
570 | 570 | end |
|
571 | 571 | end |
|
572 | 572 | |
|
573 | 573 | # Returns the API 'switch user' value if present |
|
574 | 574 | def api_switch_user_from_request |
|
575 | 575 | request.headers["X-Redmine-Switch-User"].to_s.presence |
|
576 | 576 | end |
|
577 | 577 | |
|
578 | 578 | # Renders a warning flash if obj has unsaved attachments |
|
579 | 579 | def render_attachment_warning_if_needed(obj) |
|
580 | 580 | flash[:warning] = l(:warning_attachments_not_saved, obj.unsaved_attachments.size) if obj.unsaved_attachments.present? |
|
581 | 581 | end |
|
582 | 582 | |
|
583 | 583 | # Rescues an invalid query statement. Just in case... |
|
584 | 584 | def query_statement_invalid(exception) |
|
585 | 585 | logger.error "Query::StatementInvalid: #{exception.message}" if logger |
|
586 | 586 | session.delete(:query) |
|
587 | 587 | sort_clear if respond_to?(:sort_clear) |
|
588 | 588 | render_error "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator." |
|
589 | 589 | end |
|
590 | 590 | |
|
591 | 591 | # Renders a 200 response for successfull updates or deletions via the API |
|
592 | 592 | def render_api_ok |
|
593 | 593 | render_api_head :ok |
|
594 | 594 | end |
|
595 | 595 | |
|
596 | 596 | # Renders a head API response |
|
597 | 597 | def render_api_head(status) |
|
598 | 598 | # #head would return a response body with one space |
|
599 | 599 | render :text => '', :status => status, :layout => nil |
|
600 | 600 | end |
|
601 | 601 | |
|
602 | 602 | # Renders API response on validation failure |
|
603 | 603 | def render_validation_errors(objects) |
|
604 | 604 | if objects.is_a?(Array) |
|
605 | 605 | @error_messages = objects.map {|object| object.errors.full_messages}.flatten |
|
606 | 606 | else |
|
607 | 607 | @error_messages = objects.errors.full_messages |
|
608 | 608 | end |
|
609 | 609 | render :template => 'common/error_messages.api', :status => :unprocessable_entity, :layout => nil |
|
610 | 610 | end |
|
611 | 611 | |
|
612 | 612 | # Overrides #_include_layout? so that #render with no arguments |
|
613 | 613 | # doesn't use the layout for api requests |
|
614 | 614 | def _include_layout?(*args) |
|
615 | 615 | api_request? ? false : super |
|
616 | 616 | end |
|
617 | 617 | end |
@@ -1,106 +1,106 | |||
|
1 | 1 | # encoding: utf-8 |
|
2 | 2 | # |
|
3 | 3 | # Redmine - project management software |
|
4 | 4 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
5 | 5 | # |
|
6 | 6 | # This program is free software; you can redistribute it and/or |
|
7 | 7 | # modify it under the terms of the GNU General Public License |
|
8 | 8 | # as published by the Free Software Foundation; either version 2 |
|
9 | 9 | # of the License, or (at your option) any later version. |
|
10 | 10 | # |
|
11 | 11 | # This program is distributed in the hope that it will be useful, |
|
12 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 | 14 | # GNU General Public License for more details. |
|
15 | 15 | # |
|
16 | 16 | # You should have received a copy of the GNU General Public License |
|
17 | 17 | # along with this program; if not, write to the Free Software |
|
18 | 18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
19 | 19 | |
|
20 | 20 | module SettingsHelper |
|
21 | 21 | def administration_settings_tabs |
|
22 | 22 | tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general}, |
|
23 | 23 | {:name => 'display', :partial => 'settings/display', :label => :label_display}, |
|
24 | 24 | {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication}, |
|
25 | 25 | {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural}, |
|
26 | 26 | {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking}, |
|
27 | 27 | {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification}, |
|
28 | 28 | {:name => 'mail_handler', :partial => 'settings/mail_handler', :label => :label_incoming_emails}, |
|
29 | 29 | {:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural} |
|
30 | 30 | ] |
|
31 | 31 | end |
|
32 | 32 | |
|
33 | 33 | def setting_select(setting, choices, options={}) |
|
34 | 34 | if blank_text = options.delete(:blank) |
|
35 | 35 | choices = [[blank_text.is_a?(Symbol) ? l(blank_text) : blank_text, '']] + choices |
|
36 | 36 | end |
|
37 | 37 | setting_label(setting, options).html_safe + |
|
38 | 38 | select_tag("settings[#{setting}]", |
|
39 | 39 | options_for_select(choices, Setting.send(setting).to_s), |
|
40 | 40 | options).html_safe |
|
41 | 41 | end |
|
42 | 42 | |
|
43 | 43 | def setting_multiselect(setting, choices, options={}) |
|
44 | 44 | setting_values = Setting.send(setting) |
|
45 | 45 | setting_values = [] unless setting_values.is_a?(Array) |
|
46 | 46 | |
|
47 | 47 | content_tag("label", l(options[:label] || "setting_#{setting}")) + |
|
48 | 48 | hidden_field_tag("settings[#{setting}][]", '').html_safe + |
|
49 | 49 | choices.collect do |choice| |
|
50 | 50 | text, value = (choice.is_a?(Array) ? choice : [choice, choice]) |
|
51 | 51 | content_tag( |
|
52 | 52 | 'label', |
|
53 | 53 | check_box_tag( |
|
54 | 54 | "settings[#{setting}][]", |
|
55 | 55 | value, |
|
56 | 56 | setting_values.include?(value), |
|
57 | 57 | :id => nil |
|
58 | 58 | ) + text.to_s, |
|
59 | 59 | :class => (options[:inline] ? 'inline' : 'block') |
|
60 | 60 | ) |
|
61 | 61 | end.join.html_safe |
|
62 | 62 | end |
|
63 | 63 | |
|
64 | 64 | def setting_text_field(setting, options={}) |
|
65 | 65 | setting_label(setting, options).html_safe + |
|
66 | 66 | text_field_tag("settings[#{setting}]", Setting.send(setting), options).html_safe |
|
67 | 67 | end |
|
68 | 68 | |
|
69 | 69 | def setting_text_area(setting, options={}) |
|
70 | 70 | setting_label(setting, options).html_safe + |
|
71 | 71 | text_area_tag("settings[#{setting}]", Setting.send(setting), options).html_safe |
|
72 | 72 | end |
|
73 | 73 | |
|
74 | 74 | def setting_check_box(setting, options={}) |
|
75 | 75 | setting_label(setting, options).html_safe + |
|
76 | 76 | hidden_field_tag("settings[#{setting}]", 0, :id => nil).html_safe + |
|
77 | 77 | check_box_tag("settings[#{setting}]", 1, Setting.send("#{setting}?"), options).html_safe |
|
78 | 78 | end |
|
79 | 79 | |
|
80 | 80 | def setting_label(setting, options={}) |
|
81 | 81 | label = options.delete(:label) |
|
82 | label != false ? label_tag("settings_#{setting}", l(label || "setting_#{setting}")).html_safe : '' | |
|
82 | label != false ? label_tag("settings_#{setting}", l(label || "setting_#{setting}"), options[:label_options]).html_safe : '' | |
|
83 | 83 | end |
|
84 | 84 | |
|
85 | 85 | # Renders a notification field for a Redmine::Notifiable option |
|
86 | 86 | def notification_field(notifiable) |
|
87 | 87 | return content_tag(:label, |
|
88 | 88 | check_box_tag('settings[notified_events][]', |
|
89 | 89 | notifiable.name, |
|
90 | 90 | Setting.notified_events.include?(notifiable.name), :id => nil).html_safe + |
|
91 | 91 | l_or_humanize(notifiable.name, :prefix => 'label_').html_safe, |
|
92 | 92 | :class => notifiable.parent.present? ? "parent" : '').html_safe |
|
93 | 93 | end |
|
94 | 94 | |
|
95 | 95 | def cross_project_subtasks_options |
|
96 | 96 | options = [ |
|
97 | 97 | [:label_disabled, ''], |
|
98 | 98 | [:label_cross_project_system, 'system'], |
|
99 | 99 | [:label_cross_project_tree, 'tree'], |
|
100 | 100 | [:label_cross_project_hierarchy, 'hierarchy'], |
|
101 | 101 | [:label_cross_project_descendants, 'descendants'] |
|
102 | 102 | ] |
|
103 | 103 | |
|
104 | 104 | options.map {|label, value| [l(label), value.to_s]} |
|
105 | 105 | end |
|
106 | 106 | end |
@@ -1,750 +1,762 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | require "digest/sha1" |
|
19 | 19 | |
|
20 | 20 | class User < Principal |
|
21 | 21 | include Redmine::SafeAttributes |
|
22 | 22 | |
|
23 | 23 | # Different ways of displaying/sorting users |
|
24 | 24 | USER_FORMATS = { |
|
25 | 25 | :firstname_lastname => { |
|
26 | 26 | :string => '#{firstname} #{lastname}', |
|
27 | 27 | :order => %w(firstname lastname id), |
|
28 | 28 | :setting_order => 1 |
|
29 | 29 | }, |
|
30 | 30 | :firstname_lastinitial => { |
|
31 | 31 | :string => '#{firstname} #{lastname.to_s.chars.first}.', |
|
32 | 32 | :order => %w(firstname lastname id), |
|
33 | 33 | :setting_order => 2 |
|
34 | 34 | }, |
|
35 | 35 | :firstinitial_lastname => { |
|
36 | 36 | :string => '#{firstname.to_s.gsub(/(([[:alpha:]])[[:alpha:]]*\.?)/, \'\2.\')} #{lastname}', |
|
37 | 37 | :order => %w(firstname lastname id), |
|
38 | 38 | :setting_order => 2 |
|
39 | 39 | }, |
|
40 | 40 | :firstname => { |
|
41 | 41 | :string => '#{firstname}', |
|
42 | 42 | :order => %w(firstname id), |
|
43 | 43 | :setting_order => 3 |
|
44 | 44 | }, |
|
45 | 45 | :lastname_firstname => { |
|
46 | 46 | :string => '#{lastname} #{firstname}', |
|
47 | 47 | :order => %w(lastname firstname id), |
|
48 | 48 | :setting_order => 4 |
|
49 | 49 | }, |
|
50 | 50 | :lastname_coma_firstname => { |
|
51 | 51 | :string => '#{lastname}, #{firstname}', |
|
52 | 52 | :order => %w(lastname firstname id), |
|
53 | 53 | :setting_order => 5 |
|
54 | 54 | }, |
|
55 | 55 | :lastname => { |
|
56 | 56 | :string => '#{lastname}', |
|
57 | 57 | :order => %w(lastname id), |
|
58 | 58 | :setting_order => 6 |
|
59 | 59 | }, |
|
60 | 60 | :username => { |
|
61 | 61 | :string => '#{login}', |
|
62 | 62 | :order => %w(login id), |
|
63 | 63 | :setting_order => 7 |
|
64 | 64 | }, |
|
65 | 65 | } |
|
66 | 66 | |
|
67 | 67 | MAIL_NOTIFICATION_OPTIONS = [ |
|
68 | 68 | ['all', :label_user_mail_option_all], |
|
69 | 69 | ['selected', :label_user_mail_option_selected], |
|
70 | 70 | ['only_my_events', :label_user_mail_option_only_my_events], |
|
71 | 71 | ['only_assigned', :label_user_mail_option_only_assigned], |
|
72 | 72 | ['only_owner', :label_user_mail_option_only_owner], |
|
73 | 73 | ['none', :label_user_mail_option_none] |
|
74 | 74 | ] |
|
75 | 75 | |
|
76 | 76 | has_and_belongs_to_many :groups, |
|
77 | 77 | :join_table => "#{table_name_prefix}groups_users#{table_name_suffix}", |
|
78 | 78 | :after_add => Proc.new {|user, group| group.user_added(user)}, |
|
79 | 79 | :after_remove => Proc.new {|user, group| group.user_removed(user)} |
|
80 | 80 | has_many :changesets, :dependent => :nullify |
|
81 | 81 | has_one :preference, :dependent => :destroy, :class_name => 'UserPreference' |
|
82 | 82 | has_one :rss_token, :class_name => 'Token', :conditions => "action='feeds'" |
|
83 | 83 | has_one :api_token, :class_name => 'Token', :conditions => "action='api'" |
|
84 | 84 | belongs_to :auth_source |
|
85 | 85 | |
|
86 | 86 | scope :logged, lambda { where("#{User.table_name}.status <> #{STATUS_ANONYMOUS}") } |
|
87 | 87 | scope :status, lambda {|arg| where(arg.blank? ? nil : {:status => arg.to_i}) } |
|
88 | 88 | |
|
89 | 89 | acts_as_customizable |
|
90 | 90 | |
|
91 | 91 | attr_accessor :password, :password_confirmation, :generate_password |
|
92 | 92 | attr_accessor :last_before_login_on |
|
93 | 93 | # Prevents unauthorized assignments |
|
94 | 94 | attr_protected :login, :admin, :password, :password_confirmation, :hashed_password |
|
95 | 95 | |
|
96 | 96 | LOGIN_LENGTH_LIMIT = 60 |
|
97 | 97 | MAIL_LENGTH_LIMIT = 60 |
|
98 | 98 | |
|
99 | 99 | validates_presence_of :login, :firstname, :lastname, :mail, :if => Proc.new { |user| !user.is_a?(AnonymousUser) } |
|
100 | 100 | validates_uniqueness_of :login, :if => Proc.new { |user| user.login_changed? && user.login.present? }, :case_sensitive => false |
|
101 | 101 | validates_uniqueness_of :mail, :if => Proc.new { |user| user.mail_changed? && user.mail.present? }, :case_sensitive => false |
|
102 | 102 | # Login must contain letters, numbers, underscores only |
|
103 | 103 | validates_format_of :login, :with => /\A[a-z0-9_\-@\.]*\z/i |
|
104 | 104 | validates_length_of :login, :maximum => LOGIN_LENGTH_LIMIT |
|
105 | 105 | validates_length_of :firstname, :lastname, :maximum => 30 |
|
106 | 106 | validates_format_of :mail, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i, :allow_blank => true |
|
107 | 107 | validates_length_of :mail, :maximum => MAIL_LENGTH_LIMIT, :allow_nil => true |
|
108 | 108 | validates_confirmation_of :password, :allow_nil => true |
|
109 | 109 | validates_inclusion_of :mail_notification, :in => MAIL_NOTIFICATION_OPTIONS.collect(&:first), :allow_blank => true |
|
110 | 110 | validate :validate_password_length |
|
111 | 111 | |
|
112 | 112 | before_create :set_mail_notification |
|
113 | 113 | before_save :generate_password_if_needed, :update_hashed_password |
|
114 | 114 | before_destroy :remove_references_before_destroy |
|
115 | 115 | after_save :update_notified_project_ids |
|
116 | 116 | |
|
117 | 117 | scope :in_group, lambda {|group| |
|
118 | 118 | group_id = group.is_a?(Group) ? group.id : group.to_i |
|
119 | 119 | where("#{User.table_name}.id IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) |
|
120 | 120 | } |
|
121 | 121 | scope :not_in_group, lambda {|group| |
|
122 | 122 | group_id = group.is_a?(Group) ? group.id : group.to_i |
|
123 | 123 | where("#{User.table_name}.id NOT IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) |
|
124 | 124 | } |
|
125 | 125 | scope :sorted, lambda { order(*User.fields_for_order_statement)} |
|
126 | 126 | |
|
127 | 127 | def set_mail_notification |
|
128 | 128 | self.mail_notification = Setting.default_notification_option if self.mail_notification.blank? |
|
129 | 129 | true |
|
130 | 130 | end |
|
131 | 131 | |
|
132 | 132 | def update_hashed_password |
|
133 | 133 | # update hashed_password if password was set |
|
134 | 134 | if self.password && self.auth_source_id.blank? |
|
135 | 135 | salt_password(password) |
|
136 | 136 | end |
|
137 | 137 | end |
|
138 | 138 | |
|
139 | 139 | alias :base_reload :reload |
|
140 | 140 | def reload(*args) |
|
141 | 141 | @name = nil |
|
142 | 142 | @projects_by_role = nil |
|
143 | 143 | @membership_by_project_id = nil |
|
144 | 144 | @notified_projects_ids = nil |
|
145 | 145 | @notified_projects_ids_changed = false |
|
146 | 146 | @builtin_role = nil |
|
147 | 147 | base_reload(*args) |
|
148 | 148 | end |
|
149 | 149 | |
|
150 | 150 | def mail=(arg) |
|
151 | 151 | write_attribute(:mail, arg.to_s.strip) |
|
152 | 152 | end |
|
153 | 153 | |
|
154 | 154 | def identity_url=(url) |
|
155 | 155 | if url.blank? |
|
156 | 156 | write_attribute(:identity_url, '') |
|
157 | 157 | else |
|
158 | 158 | begin |
|
159 | 159 | write_attribute(:identity_url, OpenIdAuthentication.normalize_identifier(url)) |
|
160 | 160 | rescue OpenIdAuthentication::InvalidOpenId |
|
161 | 161 | # Invalid url, don't save |
|
162 | 162 | end |
|
163 | 163 | end |
|
164 | 164 | self.read_attribute(:identity_url) |
|
165 | 165 | end |
|
166 | 166 | |
|
167 | 167 | # Returns the user that matches provided login and password, or nil |
|
168 | 168 | def self.try_to_login(login, password, active_only=true) |
|
169 | 169 | login = login.to_s |
|
170 | 170 | password = password.to_s |
|
171 | 171 | |
|
172 | 172 | # Make sure no one can sign in with an empty login or password |
|
173 | 173 | return nil if login.empty? || password.empty? |
|
174 | 174 | user = find_by_login(login) |
|
175 | 175 | if user |
|
176 | 176 | # user is already in local database |
|
177 | 177 | return nil unless user.check_password?(password) |
|
178 | 178 | return nil if !user.active? && active_only |
|
179 | 179 | else |
|
180 | 180 | # user is not yet registered, try to authenticate with available sources |
|
181 | 181 | attrs = AuthSource.authenticate(login, password) |
|
182 | 182 | if attrs |
|
183 | 183 | user = new(attrs) |
|
184 | 184 | user.login = login |
|
185 | 185 | user.language = Setting.default_language |
|
186 | 186 | if user.save |
|
187 | 187 | user.reload |
|
188 | 188 | logger.info("User '#{user.login}' created from external auth source: #{user.auth_source.type} - #{user.auth_source.name}") if logger && user.auth_source |
|
189 | 189 | end |
|
190 | 190 | end |
|
191 | 191 | end |
|
192 | 192 | user.update_column(:last_login_on, Time.now) if user && !user.new_record? && user.active? |
|
193 | 193 | user |
|
194 | 194 | rescue => text |
|
195 | 195 | raise text |
|
196 | 196 | end |
|
197 | 197 | |
|
198 | 198 | # Returns the user who matches the given autologin +key+ or nil |
|
199 | 199 | def self.try_to_autologin(key) |
|
200 | 200 | user = Token.find_active_user('autologin', key, Setting.autologin.to_i) |
|
201 | 201 | if user |
|
202 | 202 | user.update_column(:last_login_on, Time.now) |
|
203 | 203 | user |
|
204 | 204 | end |
|
205 | 205 | end |
|
206 | 206 | |
|
207 | 207 | def self.name_formatter(formatter = nil) |
|
208 | 208 | USER_FORMATS[formatter || Setting.user_format] || USER_FORMATS[:firstname_lastname] |
|
209 | 209 | end |
|
210 | 210 | |
|
211 | 211 | # Returns an array of fields names than can be used to make an order statement for users |
|
212 | 212 | # according to how user names are displayed |
|
213 | 213 | # Examples: |
|
214 | 214 | # |
|
215 | 215 | # User.fields_for_order_statement => ['users.login', 'users.id'] |
|
216 | 216 | # User.fields_for_order_statement('authors') => ['authors.login', 'authors.id'] |
|
217 | 217 | def self.fields_for_order_statement(table=nil) |
|
218 | 218 | table ||= table_name |
|
219 | 219 | name_formatter[:order].map {|field| "#{table}.#{field}"} |
|
220 | 220 | end |
|
221 | 221 | |
|
222 | 222 | # Return user's full name for display |
|
223 | 223 | def name(formatter = nil) |
|
224 | 224 | f = self.class.name_formatter(formatter) |
|
225 | 225 | if formatter |
|
226 | 226 | eval('"' + f[:string] + '"') |
|
227 | 227 | else |
|
228 | 228 | @name ||= eval('"' + f[:string] + '"') |
|
229 | 229 | end |
|
230 | 230 | end |
|
231 | 231 | |
|
232 | 232 | def active? |
|
233 | 233 | self.status == STATUS_ACTIVE |
|
234 | 234 | end |
|
235 | 235 | |
|
236 | 236 | def registered? |
|
237 | 237 | self.status == STATUS_REGISTERED |
|
238 | 238 | end |
|
239 | 239 | |
|
240 | 240 | def locked? |
|
241 | 241 | self.status == STATUS_LOCKED |
|
242 | 242 | end |
|
243 | 243 | |
|
244 | 244 | def activate |
|
245 | 245 | self.status = STATUS_ACTIVE |
|
246 | 246 | end |
|
247 | 247 | |
|
248 | 248 | def register |
|
249 | 249 | self.status = STATUS_REGISTERED |
|
250 | 250 | end |
|
251 | 251 | |
|
252 | 252 | def lock |
|
253 | 253 | self.status = STATUS_LOCKED |
|
254 | 254 | end |
|
255 | 255 | |
|
256 | 256 | def activate! |
|
257 | 257 | update_attribute(:status, STATUS_ACTIVE) |
|
258 | 258 | end |
|
259 | 259 | |
|
260 | 260 | def register! |
|
261 | 261 | update_attribute(:status, STATUS_REGISTERED) |
|
262 | 262 | end |
|
263 | 263 | |
|
264 | 264 | def lock! |
|
265 | 265 | update_attribute(:status, STATUS_LOCKED) |
|
266 | 266 | end |
|
267 | 267 | |
|
268 | 268 | # Returns true if +clear_password+ is the correct user's password, otherwise false |
|
269 | 269 | def check_password?(clear_password) |
|
270 | 270 | if auth_source_id.present? |
|
271 | 271 | auth_source.authenticate(self.login, clear_password) |
|
272 | 272 | else |
|
273 | 273 | User.hash_password("#{salt}#{User.hash_password clear_password}") == hashed_password |
|
274 | 274 | end |
|
275 | 275 | end |
|
276 | 276 | |
|
277 | 277 | # Generates a random salt and computes hashed_password for +clear_password+ |
|
278 | 278 | # The hashed password is stored in the following form: SHA1(salt + SHA1(password)) |
|
279 | 279 | def salt_password(clear_password) |
|
280 | 280 | self.salt = User.generate_salt |
|
281 | 281 | self.hashed_password = User.hash_password("#{salt}#{User.hash_password clear_password}") |
|
282 | 282 | end |
|
283 | 283 | |
|
284 | 284 | # Does the backend storage allow this user to change their password? |
|
285 | 285 | def change_password_allowed? |
|
286 | 286 | return true if auth_source.nil? |
|
287 | 287 | return auth_source.allow_password_changes? |
|
288 | 288 | end |
|
289 | 289 | |
|
290 | 290 | def must_change_password? |
|
291 | 291 | must_change_passwd? && change_password_allowed? |
|
292 | 292 | end |
|
293 | 293 | |
|
294 | 294 | def generate_password? |
|
295 | 295 | generate_password == '1' || generate_password == true |
|
296 | 296 | end |
|
297 | 297 | |
|
298 | 298 | # Generate and set a random password on given length |
|
299 | 299 | def random_password(length=40) |
|
300 | 300 | chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a |
|
301 | 301 | chars -= %w(0 O 1 l) |
|
302 | 302 | password = '' |
|
303 | 303 | length.times {|i| password << chars[SecureRandom.random_number(chars.size)] } |
|
304 | 304 | self.password = password |
|
305 | 305 | self.password_confirmation = password |
|
306 | 306 | self |
|
307 | 307 | end |
|
308 | 308 | |
|
309 | 309 | def pref |
|
310 | 310 | self.preference ||= UserPreference.new(:user => self) |
|
311 | 311 | end |
|
312 | 312 | |
|
313 | 313 | def time_zone |
|
314 | 314 | @time_zone ||= (self.pref.time_zone.blank? ? nil : ActiveSupport::TimeZone[self.pref.time_zone]) |
|
315 | 315 | end |
|
316 | 316 | |
|
317 | def force_default_language? | |
|
318 | Setting.force_default_language_for_loggedin? | |
|
319 | end | |
|
320 | ||
|
321 | def language | |
|
322 | if force_default_language? | |
|
323 | Setting.default_language | |
|
324 | else | |
|
325 | super | |
|
326 | end | |
|
327 | end | |
|
328 | ||
|
317 | 329 | def wants_comments_in_reverse_order? |
|
318 | 330 | self.pref[:comments_sorting] == 'desc' |
|
319 | 331 | end |
|
320 | 332 | |
|
321 | 333 | # Return user's RSS key (a 40 chars long string), used to access feeds |
|
322 | 334 | def rss_key |
|
323 | 335 | if rss_token.nil? |
|
324 | 336 | create_rss_token(:action => 'feeds') |
|
325 | 337 | end |
|
326 | 338 | rss_token.value |
|
327 | 339 | end |
|
328 | 340 | |
|
329 | 341 | # Return user's API key (a 40 chars long string), used to access the API |
|
330 | 342 | def api_key |
|
331 | 343 | if api_token.nil? |
|
332 | 344 | create_api_token(:action => 'api') |
|
333 | 345 | end |
|
334 | 346 | api_token.value |
|
335 | 347 | end |
|
336 | 348 | |
|
337 | 349 | # Return an array of project ids for which the user has explicitly turned mail notifications on |
|
338 | 350 | def notified_projects_ids |
|
339 | 351 | @notified_projects_ids ||= memberships.select {|m| m.mail_notification?}.collect(&:project_id) |
|
340 | 352 | end |
|
341 | 353 | |
|
342 | 354 | def notified_project_ids=(ids) |
|
343 | 355 | @notified_projects_ids_changed = true |
|
344 | 356 | @notified_projects_ids = ids |
|
345 | 357 | end |
|
346 | 358 | |
|
347 | 359 | # Updates per project notifications (after_save callback) |
|
348 | 360 | def update_notified_project_ids |
|
349 | 361 | if @notified_projects_ids_changed |
|
350 | 362 | ids = (mail_notification == 'selected' ? Array.wrap(notified_projects_ids).reject(&:blank?) : []) |
|
351 | 363 | members.update_all(:mail_notification => false) |
|
352 | 364 | members.where(:project_id => ids).update_all(:mail_notification => true) if ids.any? |
|
353 | 365 | end |
|
354 | 366 | end |
|
355 | 367 | private :update_notified_project_ids |
|
356 | 368 | |
|
357 | 369 | def valid_notification_options |
|
358 | 370 | self.class.valid_notification_options(self) |
|
359 | 371 | end |
|
360 | 372 | |
|
361 | 373 | # Only users that belong to more than 1 project can select projects for which they are notified |
|
362 | 374 | def self.valid_notification_options(user=nil) |
|
363 | 375 | # Note that @user.membership.size would fail since AR ignores |
|
364 | 376 | # :include association option when doing a count |
|
365 | 377 | if user.nil? || user.memberships.length < 1 |
|
366 | 378 | MAIL_NOTIFICATION_OPTIONS.reject {|option| option.first == 'selected'} |
|
367 | 379 | else |
|
368 | 380 | MAIL_NOTIFICATION_OPTIONS |
|
369 | 381 | end |
|
370 | 382 | end |
|
371 | 383 | |
|
372 | 384 | # Find a user account by matching the exact login and then a case-insensitive |
|
373 | 385 | # version. Exact matches will be given priority. |
|
374 | 386 | def self.find_by_login(login) |
|
375 | 387 | if login.present? |
|
376 | 388 | login = login.to_s |
|
377 | 389 | # First look for an exact match |
|
378 | 390 | user = where(:login => login).all.detect {|u| u.login == login} |
|
379 | 391 | unless user |
|
380 | 392 | # Fail over to case-insensitive if none was found |
|
381 | 393 | user = where("LOWER(login) = ?", login.downcase).first |
|
382 | 394 | end |
|
383 | 395 | user |
|
384 | 396 | end |
|
385 | 397 | end |
|
386 | 398 | |
|
387 | 399 | def self.find_by_rss_key(key) |
|
388 | 400 | Token.find_active_user('feeds', key) |
|
389 | 401 | end |
|
390 | 402 | |
|
391 | 403 | def self.find_by_api_key(key) |
|
392 | 404 | Token.find_active_user('api', key) |
|
393 | 405 | end |
|
394 | 406 | |
|
395 | 407 | # Makes find_by_mail case-insensitive |
|
396 | 408 | def self.find_by_mail(mail) |
|
397 | 409 | where("LOWER(mail) = ?", mail.to_s.downcase).first |
|
398 | 410 | end |
|
399 | 411 | |
|
400 | 412 | # Returns true if the default admin account can no longer be used |
|
401 | 413 | def self.default_admin_account_changed? |
|
402 | 414 | !User.active.find_by_login("admin").try(:check_password?, "admin") |
|
403 | 415 | end |
|
404 | 416 | |
|
405 | 417 | def to_s |
|
406 | 418 | name |
|
407 | 419 | end |
|
408 | 420 | |
|
409 | 421 | CSS_CLASS_BY_STATUS = { |
|
410 | 422 | STATUS_ANONYMOUS => 'anon', |
|
411 | 423 | STATUS_ACTIVE => 'active', |
|
412 | 424 | STATUS_REGISTERED => 'registered', |
|
413 | 425 | STATUS_LOCKED => 'locked' |
|
414 | 426 | } |
|
415 | 427 | |
|
416 | 428 | def css_classes |
|
417 | 429 | "user #{CSS_CLASS_BY_STATUS[status]}" |
|
418 | 430 | end |
|
419 | 431 | |
|
420 | 432 | # Returns the current day according to user's time zone |
|
421 | 433 | def today |
|
422 | 434 | if time_zone.nil? |
|
423 | 435 | Date.today |
|
424 | 436 | else |
|
425 | 437 | Time.now.in_time_zone(time_zone).to_date |
|
426 | 438 | end |
|
427 | 439 | end |
|
428 | 440 | |
|
429 | 441 | # Returns the day of +time+ according to user's time zone |
|
430 | 442 | def time_to_date(time) |
|
431 | 443 | if time_zone.nil? |
|
432 | 444 | time.to_date |
|
433 | 445 | else |
|
434 | 446 | time.in_time_zone(time_zone).to_date |
|
435 | 447 | end |
|
436 | 448 | end |
|
437 | 449 | |
|
438 | 450 | def logged? |
|
439 | 451 | true |
|
440 | 452 | end |
|
441 | 453 | |
|
442 | 454 | def anonymous? |
|
443 | 455 | !logged? |
|
444 | 456 | end |
|
445 | 457 | |
|
446 | 458 | # Returns user's membership for the given project |
|
447 | 459 | # or nil if the user is not a member of project |
|
448 | 460 | def membership(project) |
|
449 | 461 | project_id = project.is_a?(Project) ? project.id : project |
|
450 | 462 | |
|
451 | 463 | @membership_by_project_id ||= Hash.new {|h, project_id| |
|
452 | 464 | h[project_id] = memberships.where(:project_id => project_id).first |
|
453 | 465 | } |
|
454 | 466 | @membership_by_project_id[project_id] |
|
455 | 467 | end |
|
456 | 468 | |
|
457 | 469 | # Returns the user's bult-in role |
|
458 | 470 | def builtin_role |
|
459 | 471 | @builtin_role ||= Role.non_member |
|
460 | 472 | end |
|
461 | 473 | |
|
462 | 474 | # Return user's roles for project |
|
463 | 475 | def roles_for_project(project) |
|
464 | 476 | roles = [] |
|
465 | 477 | # No role on archived projects |
|
466 | 478 | return roles if project.nil? || project.archived? |
|
467 | 479 | if membership = membership(project) |
|
468 | 480 | roles = membership.roles |
|
469 | 481 | else |
|
470 | 482 | roles << builtin_role |
|
471 | 483 | end |
|
472 | 484 | roles |
|
473 | 485 | end |
|
474 | 486 | |
|
475 | 487 | # Return true if the user is a member of project |
|
476 | 488 | def member_of?(project) |
|
477 | 489 | projects.to_a.include?(project) |
|
478 | 490 | end |
|
479 | 491 | |
|
480 | 492 | # Returns a hash of user's projects grouped by roles |
|
481 | 493 | def projects_by_role |
|
482 | 494 | return @projects_by_role if @projects_by_role |
|
483 | 495 | |
|
484 | 496 | @projects_by_role = Hash.new([]) |
|
485 | 497 | memberships.each do |membership| |
|
486 | 498 | if membership.project |
|
487 | 499 | membership.roles.each do |role| |
|
488 | 500 | @projects_by_role[role] = [] unless @projects_by_role.key?(role) |
|
489 | 501 | @projects_by_role[role] << membership.project |
|
490 | 502 | end |
|
491 | 503 | end |
|
492 | 504 | end |
|
493 | 505 | @projects_by_role.each do |role, projects| |
|
494 | 506 | projects.uniq! |
|
495 | 507 | end |
|
496 | 508 | |
|
497 | 509 | @projects_by_role |
|
498 | 510 | end |
|
499 | 511 | |
|
500 | 512 | # Returns true if user is arg or belongs to arg |
|
501 | 513 | def is_or_belongs_to?(arg) |
|
502 | 514 | if arg.is_a?(User) |
|
503 | 515 | self == arg |
|
504 | 516 | elsif arg.is_a?(Group) |
|
505 | 517 | arg.users.include?(self) |
|
506 | 518 | else |
|
507 | 519 | false |
|
508 | 520 | end |
|
509 | 521 | end |
|
510 | 522 | |
|
511 | 523 | # Return true if the user is allowed to do the specified action on a specific context |
|
512 | 524 | # Action can be: |
|
513 | 525 | # * a parameter-like Hash (eg. :controller => 'projects', :action => 'edit') |
|
514 | 526 | # * a permission Symbol (eg. :edit_project) |
|
515 | 527 | # Context can be: |
|
516 | 528 | # * a project : returns true if user is allowed to do the specified action on this project |
|
517 | 529 | # * an array of projects : returns true if user is allowed on every project |
|
518 | 530 | # * nil with options[:global] set : check if user has at least one role allowed for this action, |
|
519 | 531 | # or falls back to Non Member / Anonymous permissions depending if the user is logged |
|
520 | 532 | def allowed_to?(action, context, options={}, &block) |
|
521 | 533 | if context && context.is_a?(Project) |
|
522 | 534 | return false unless context.allows_to?(action) |
|
523 | 535 | # Admin users are authorized for anything else |
|
524 | 536 | return true if admin? |
|
525 | 537 | |
|
526 | 538 | roles = roles_for_project(context) |
|
527 | 539 | return false unless roles |
|
528 | 540 | roles.any? {|role| |
|
529 | 541 | (context.is_public? || role.member?) && |
|
530 | 542 | role.allowed_to?(action) && |
|
531 | 543 | (block_given? ? yield(role, self) : true) |
|
532 | 544 | } |
|
533 | 545 | elsif context && context.is_a?(Array) |
|
534 | 546 | if context.empty? |
|
535 | 547 | false |
|
536 | 548 | else |
|
537 | 549 | # Authorize if user is authorized on every element of the array |
|
538 | 550 | context.map {|project| allowed_to?(action, project, options, &block)}.reduce(:&) |
|
539 | 551 | end |
|
540 | 552 | elsif options[:global] |
|
541 | 553 | # Admin users are always authorized |
|
542 | 554 | return true if admin? |
|
543 | 555 | |
|
544 | 556 | # authorize if user has at least one role that has this permission |
|
545 | 557 | roles = memberships.collect {|m| m.roles}.flatten.uniq |
|
546 | 558 | roles << (self.logged? ? Role.non_member : Role.anonymous) |
|
547 | 559 | roles.any? {|role| |
|
548 | 560 | role.allowed_to?(action) && |
|
549 | 561 | (block_given? ? yield(role, self) : true) |
|
550 | 562 | } |
|
551 | 563 | else |
|
552 | 564 | false |
|
553 | 565 | end |
|
554 | 566 | end |
|
555 | 567 | |
|
556 | 568 | # Is the user allowed to do the specified action on any project? |
|
557 | 569 | # See allowed_to? for the actions and valid options. |
|
558 | 570 | def allowed_to_globally?(action, options, &block) |
|
559 | 571 | allowed_to?(action, nil, options.reverse_merge(:global => true), &block) |
|
560 | 572 | end |
|
561 | 573 | |
|
562 | 574 | # Returns true if the user is allowed to delete the user's own account |
|
563 | 575 | def own_account_deletable? |
|
564 | 576 | Setting.unsubscribe? && |
|
565 | 577 | (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?) |
|
566 | 578 | end |
|
567 | 579 | |
|
568 | 580 | safe_attributes 'login', |
|
569 | 581 | 'firstname', |
|
570 | 582 | 'lastname', |
|
571 | 583 | 'mail', |
|
572 | 584 | 'mail_notification', |
|
573 | 585 | 'notified_project_ids', |
|
574 | 586 | 'language', |
|
575 | 587 | 'custom_field_values', |
|
576 | 588 | 'custom_fields', |
|
577 | 589 | 'identity_url' |
|
578 | 590 | |
|
579 | 591 | safe_attributes 'status', |
|
580 | 592 | 'auth_source_id', |
|
581 | 593 | 'generate_password', |
|
582 | 594 | 'must_change_passwd', |
|
583 | 595 | :if => lambda {|user, current_user| current_user.admin?} |
|
584 | 596 | |
|
585 | 597 | safe_attributes 'group_ids', |
|
586 | 598 | :if => lambda {|user, current_user| current_user.admin? && !user.new_record?} |
|
587 | 599 | |
|
588 | 600 | # Utility method to help check if a user should be notified about an |
|
589 | 601 | # event. |
|
590 | 602 | # |
|
591 | 603 | # TODO: only supports Issue events currently |
|
592 | 604 | def notify_about?(object) |
|
593 | 605 | if mail_notification == 'all' |
|
594 | 606 | true |
|
595 | 607 | elsif mail_notification.blank? || mail_notification == 'none' |
|
596 | 608 | false |
|
597 | 609 | else |
|
598 | 610 | case object |
|
599 | 611 | when Issue |
|
600 | 612 | case mail_notification |
|
601 | 613 | when 'selected', 'only_my_events' |
|
602 | 614 | # user receives notifications for created/assigned issues on unselected projects |
|
603 | 615 | object.author == self || is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) |
|
604 | 616 | when 'only_assigned' |
|
605 | 617 | is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) |
|
606 | 618 | when 'only_owner' |
|
607 | 619 | object.author == self |
|
608 | 620 | end |
|
609 | 621 | when News |
|
610 | 622 | # always send to project members except when mail_notification is set to 'none' |
|
611 | 623 | true |
|
612 | 624 | end |
|
613 | 625 | end |
|
614 | 626 | end |
|
615 | 627 | |
|
616 | 628 | def self.current=(user) |
|
617 | 629 | Thread.current[:current_user] = user |
|
618 | 630 | end |
|
619 | 631 | |
|
620 | 632 | def self.current |
|
621 | 633 | Thread.current[:current_user] ||= User.anonymous |
|
622 | 634 | end |
|
623 | 635 | |
|
624 | 636 | # Returns the anonymous user. If the anonymous user does not exist, it is created. There can be only |
|
625 | 637 | # one anonymous user per database. |
|
626 | 638 | def self.anonymous |
|
627 | 639 | anonymous_user = AnonymousUser.first |
|
628 | 640 | if anonymous_user.nil? |
|
629 | 641 | anonymous_user = AnonymousUser.create(:lastname => 'Anonymous', :firstname => '', :mail => '', :login => '', :status => 0) |
|
630 | 642 | raise 'Unable to create the anonymous user.' if anonymous_user.new_record? |
|
631 | 643 | end |
|
632 | 644 | anonymous_user |
|
633 | 645 | end |
|
634 | 646 | |
|
635 | 647 | # Salts all existing unsalted passwords |
|
636 | 648 | # It changes password storage scheme from SHA1(password) to SHA1(salt + SHA1(password)) |
|
637 | 649 | # This method is used in the SaltPasswords migration and is to be kept as is |
|
638 | 650 | def self.salt_unsalted_passwords! |
|
639 | 651 | transaction do |
|
640 | 652 | User.where("salt IS NULL OR salt = ''").find_each do |user| |
|
641 | 653 | next if user.hashed_password.blank? |
|
642 | 654 | salt = User.generate_salt |
|
643 | 655 | hashed_password = User.hash_password("#{salt}#{user.hashed_password}") |
|
644 | 656 | User.where(:id => user.id).update_all(:salt => salt, :hashed_password => hashed_password) |
|
645 | 657 | end |
|
646 | 658 | end |
|
647 | 659 | end |
|
648 | 660 | |
|
649 | 661 | protected |
|
650 | 662 | |
|
651 | 663 | def validate_password_length |
|
652 | 664 | return if password.blank? && generate_password? |
|
653 | 665 | # Password length validation based on setting |
|
654 | 666 | if !password.nil? && password.size < Setting.password_min_length.to_i |
|
655 | 667 | errors.add(:password, :too_short, :count => Setting.password_min_length.to_i) |
|
656 | 668 | end |
|
657 | 669 | end |
|
658 | 670 | |
|
659 | 671 | private |
|
660 | 672 | |
|
661 | 673 | def generate_password_if_needed |
|
662 | 674 | if generate_password? && auth_source.nil? |
|
663 | 675 | length = [Setting.password_min_length.to_i + 2, 10].max |
|
664 | 676 | random_password(length) |
|
665 | 677 | end |
|
666 | 678 | end |
|
667 | 679 | |
|
668 | 680 | # Removes references that are not handled by associations |
|
669 | 681 | # Things that are not deleted are reassociated with the anonymous user |
|
670 | 682 | def remove_references_before_destroy |
|
671 | 683 | return if self.id.nil? |
|
672 | 684 | |
|
673 | 685 | substitute = User.anonymous |
|
674 | 686 | Attachment.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
675 | 687 | Comment.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
676 | 688 | Issue.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
677 | 689 | Issue.where(['assigned_to_id = ?', id]).update_all('assigned_to_id = NULL') |
|
678 | 690 | Journal.where(['user_id = ?', id]).update_all(['user_id = ?', substitute.id]) |
|
679 | 691 | JournalDetail. |
|
680 | 692 | where(["property = 'attr' AND prop_key = 'assigned_to_id' AND old_value = ?", id.to_s]). |
|
681 | 693 | update_all(['old_value = ?', substitute.id.to_s]) |
|
682 | 694 | JournalDetail. |
|
683 | 695 | where(["property = 'attr' AND prop_key = 'assigned_to_id' AND value = ?", id.to_s]). |
|
684 | 696 | update_all(['value = ?', substitute.id.to_s]) |
|
685 | 697 | Message.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
686 | 698 | News.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
687 | 699 | # Remove private queries and keep public ones |
|
688 | 700 | ::Query.delete_all ['user_id = ? AND visibility = ?', id, ::Query::VISIBILITY_PRIVATE] |
|
689 | 701 | ::Query.where(['user_id = ?', id]).update_all(['user_id = ?', substitute.id]) |
|
690 | 702 | TimeEntry.where(['user_id = ?', id]).update_all(['user_id = ?', substitute.id]) |
|
691 | 703 | Token.delete_all ['user_id = ?', id] |
|
692 | 704 | Watcher.delete_all ['user_id = ?', id] |
|
693 | 705 | WikiContent.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
694 | 706 | WikiContent::Version.where(['author_id = ?', id]).update_all(['author_id = ?', substitute.id]) |
|
695 | 707 | end |
|
696 | 708 | |
|
697 | 709 | # Return password digest |
|
698 | 710 | def self.hash_password(clear_password) |
|
699 | 711 | Digest::SHA1.hexdigest(clear_password || "") |
|
700 | 712 | end |
|
701 | 713 | |
|
702 | 714 | # Returns a 128bits random salt as a hex string (32 chars long) |
|
703 | 715 | def self.generate_salt |
|
704 | 716 | Redmine::Utils.random_hex(16) |
|
705 | 717 | end |
|
706 | 718 | |
|
707 | 719 | end |
|
708 | 720 | |
|
709 | 721 | class AnonymousUser < User |
|
710 | 722 | validate :validate_anonymous_uniqueness, :on => :create |
|
711 | 723 | |
|
712 | 724 | def validate_anonymous_uniqueness |
|
713 | 725 | # There should be only one AnonymousUser in the database |
|
714 | 726 | errors.add :base, 'An anonymous user already exists.' if AnonymousUser.exists? |
|
715 | 727 | end |
|
716 | 728 | |
|
717 | 729 | def available_custom_fields |
|
718 | 730 | [] |
|
719 | 731 | end |
|
720 | 732 | |
|
721 | 733 | # Overrides a few properties |
|
722 | 734 | def logged?; false end |
|
723 | 735 | def admin; false end |
|
724 | 736 | def name(*args); I18n.t(:label_user_anonymous) end |
|
725 | 737 | def mail; nil end |
|
726 | 738 | def time_zone; nil end |
|
727 | 739 | def rss_key; nil end |
|
728 | 740 | |
|
729 | 741 | def pref |
|
730 | 742 | UserPreference.new(:user => self) |
|
731 | 743 | end |
|
732 | 744 | |
|
733 | 745 | # Returns the user's bult-in role |
|
734 | 746 | def builtin_role |
|
735 | 747 | @builtin_role ||= Role.anonymous |
|
736 | 748 | end |
|
737 | 749 | |
|
738 | 750 | def membership(*args) |
|
739 | 751 | nil |
|
740 | 752 | end |
|
741 | 753 | |
|
742 | 754 | def member_of?(*args) |
|
743 | 755 | false |
|
744 | 756 | end |
|
745 | 757 | |
|
746 | 758 | # Anonymous user can not be destroyed |
|
747 | 759 | def destroy |
|
748 | 760 | false |
|
749 | 761 | end |
|
750 | 762 | end |
@@ -1,31 +1,34 | |||
|
1 | 1 | <h2><%=l(:label_register)%> <%=link_to l(:label_login_with_open_id_option), signin_url if Setting.openid? %></h2> |
|
2 | 2 | |
|
3 | 3 | <%= labelled_form_for @user, :url => register_path do |f| %> |
|
4 | 4 | <%= error_messages_for 'user' %> |
|
5 | 5 | |
|
6 | 6 | <div class="box tabular"> |
|
7 | 7 | <% if @user.auth_source_id.nil? %> |
|
8 | 8 | <p><%= f.text_field :login, :size => 25, :required => true %></p> |
|
9 | 9 | |
|
10 | 10 | <p><%= f.password_field :password, :size => 25, :required => true %> |
|
11 | 11 | <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> |
|
12 | 12 | |
|
13 | 13 | <p><%= f.password_field :password_confirmation, :size => 25, :required => true %></p> |
|
14 | 14 | <% end %> |
|
15 | 15 | |
|
16 | 16 | <p><%= f.text_field :firstname, :required => true %></p> |
|
17 | 17 | <p><%= f.text_field :lastname, :required => true %></p> |
|
18 | 18 | <p><%= f.text_field :mail, :required => true %></p> |
|
19 | ||
|
20 | <% unless @user.force_default_language? %> | |
|
19 | 21 | <p><%= f.select :language, lang_options_for_select %></p> |
|
22 | <% end %> | |
|
20 | 23 | |
|
21 | 24 | <% if Setting.openid? %> |
|
22 | 25 | <p><%= f.text_field :identity_url %></p> |
|
23 | 26 | <% end %> |
|
24 | 27 | |
|
25 | 28 | <% @user.custom_field_values.select {|v| v.editable? || v.required?}.each do |value| %> |
|
26 | 29 | <p><%= custom_field_tag_with_label :user, value %></p> |
|
27 | 30 | <% end %> |
|
28 | 31 | </div> |
|
29 | 32 | |
|
30 | 33 | <%= submit_tag l(:button_submit) %> |
|
31 | 34 | <% end %> |
@@ -1,52 +1,54 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %> |
|
3 | 3 | <%= call_hook(:view_my_account_contextual, :user => @user)%> |
|
4 | 4 | </div> |
|
5 | 5 | |
|
6 | 6 | <h2><%=l(:label_my_account)%></h2> |
|
7 | 7 | <%= error_messages_for 'user' %> |
|
8 | 8 | |
|
9 | 9 | <%= labelled_form_for :user, @user, |
|
10 | 10 | :url => { :action => "account" }, |
|
11 | 11 | :html => { :id => 'my_account_form', |
|
12 | 12 | :method => :post } do |f| %> |
|
13 | 13 | <div class="splitcontentleft"> |
|
14 | 14 | <fieldset class="box tabular"> |
|
15 | 15 | <legend><%=l(:label_information_plural)%></legend> |
|
16 | 16 | <p><%= f.text_field :firstname, :required => true %></p> |
|
17 | 17 | <p><%= f.text_field :lastname, :required => true %></p> |
|
18 | 18 | <p><%= f.text_field :mail, :required => true %></p> |
|
19 | <% unless @user.force_default_language? %> | |
|
19 | 20 | <p><%= f.select :language, lang_options_for_select %></p> |
|
21 | <% end %> | |
|
20 | 22 | <% if Setting.openid? %> |
|
21 | 23 | <p><%= f.text_field :identity_url %></p> |
|
22 | 24 | <% end %> |
|
23 | 25 | |
|
24 | 26 | <% @user.custom_field_values.select(&:editable?).each do |value| %> |
|
25 | 27 | <p><%= custom_field_tag_with_label :user, value %></p> |
|
26 | 28 | <% end %> |
|
27 | 29 | <%= call_hook(:view_my_account, :user => @user, :form => f) %> |
|
28 | 30 | </fieldset> |
|
29 | 31 | |
|
30 | 32 | <%= submit_tag l(:button_save) %> |
|
31 | 33 | </div> |
|
32 | 34 | |
|
33 | 35 | <div class="splitcontentright"> |
|
34 | 36 | <fieldset class="box"> |
|
35 | 37 | <legend><%=l(:field_mail_notification)%></legend> |
|
36 | 38 | <%= render :partial => 'users/mail_notifications' %> |
|
37 | 39 | </fieldset> |
|
38 | 40 | |
|
39 | 41 | <fieldset class="box tabular"> |
|
40 | 42 | <legend><%=l(:label_preferences)%></legend> |
|
41 | 43 | <%= render :partial => 'users/preferences' %> |
|
42 | 44 | <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %> |
|
43 | 45 | </fieldset> |
|
44 | 46 | |
|
45 | 47 | </div> |
|
46 | 48 | <% end %> |
|
47 | 49 | |
|
48 | 50 | <% content_for :sidebar do %> |
|
49 | 51 | <%= render :partial => 'sidebar' %> |
|
50 | 52 | <% end %> |
|
51 | 53 | |
|
52 | 54 | <% html_title(l(:label_my_account)) -%> |
@@ -1,26 +1,30 | |||
|
1 | 1 | <%= form_tag({:action => 'edit', :tab => 'display'}) do %> |
|
2 | 2 | |
|
3 | 3 | <div class="box tabular settings"> |
|
4 | 4 | <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme %></p> |
|
5 | 5 | |
|
6 | 6 | <p><%= setting_select :default_language, lang_options_for_select(false) %></p> |
|
7 | 7 | |
|
8 | <p><%= setting_check_box :force_default_language_for_anonymous %></p> | |
|
9 | ||
|
10 | <p><%= setting_check_box :force_default_language_for_loggedin %></p> | |
|
11 | ||
|
8 | 12 | <p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(6),'6'], [day_name(7),'7']], :blank => :label_language_based %></p> |
|
9 | 13 | <% locale = User.current.language.blank? ? ::I18n.locale : User.current.language %> |
|
10 | 14 | <p><%= setting_select :date_format, Setting::DATE_FORMATS.collect {|f| [::I18n.l(Date.today, :locale => locale, :format => f), f]}, :blank => :label_language_based %></p> |
|
11 | 15 | |
|
12 | 16 | <p><%= setting_select :time_format, Setting::TIME_FORMATS.collect {|f| [::I18n.l(Time.now, :locale => locale, :format => f), f]}, :blank => :label_language_based %></p> |
|
13 | 17 | |
|
14 | 18 | <p><%= setting_select :user_format, @options[:user_format] %></p> |
|
15 | 19 | |
|
16 | 20 | <p><%= setting_check_box :gravatar_enabled %></p> |
|
17 | 21 | |
|
18 | 22 | <p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", 'retro'], ["Mystery man", 'mm']], :blank => :label_none %></p> |
|
19 | 23 | |
|
20 | 24 | <p><%= setting_check_box :thumbnails_enabled %></p> |
|
21 | 25 | |
|
22 | 26 | <p><%= setting_text_field :thumbnails_size, :size => 6 %></p> |
|
23 | 27 | </div> |
|
24 | 28 | |
|
25 | 29 | <%= submit_tag l(:button_save) %> |
|
26 | 30 | <% end %> |
@@ -1,67 +1,69 | |||
|
1 | 1 | <%= error_messages_for 'user' %> |
|
2 | 2 | |
|
3 | 3 | <div id="user_form"> |
|
4 | 4 | <!--[form:user]--> |
|
5 | 5 | <div class="splitcontentleft"> |
|
6 | 6 | <fieldset class="box tabular"> |
|
7 | 7 | <legend><%=l(:label_information_plural)%></legend> |
|
8 | 8 | <p><%= f.text_field :login, :required => true, :size => 25 %></p> |
|
9 | 9 | <p><%= f.text_field :firstname, :required => true %></p> |
|
10 | 10 | <p><%= f.text_field :lastname, :required => true %></p> |
|
11 | 11 | <p><%= f.text_field :mail, :required => true %></p> |
|
12 | <% unless @user.force_default_language? %> | |
|
12 | 13 | <p><%= f.select :language, lang_options_for_select %></p> |
|
14 | <% end %> | |
|
13 | 15 | <% if Setting.openid? %> |
|
14 | 16 | <p><%= f.text_field :identity_url %></p> |
|
15 | 17 | <% end %> |
|
16 | 18 | |
|
17 | 19 | <% @user.custom_field_values.each do |value| %> |
|
18 | 20 | <p><%= custom_field_tag_with_label :user, value %></p> |
|
19 | 21 | <% end %> |
|
20 | 22 | |
|
21 | 23 | <p><%= f.check_box :admin, :disabled => (@user == User.current) %></p> |
|
22 | 24 | <%= call_hook(:view_users_form, :user => @user, :form => f) %> |
|
23 | 25 | </fieldset> |
|
24 | 26 | |
|
25 | 27 | <fieldset class="box tabular"> |
|
26 | 28 | <legend><%=l(:label_authentication)%></legend> |
|
27 | 29 | <% unless @auth_sources.empty? %> |
|
28 | 30 | <p><%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {$('#password_fields').show();} else {$('#password_fields').hide();}" %></p> |
|
29 | 31 | <% end %> |
|
30 | 32 | <div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>"> |
|
31 | 33 | <p><%= f.password_field :password, :required => true, :size => 25 %> |
|
32 | 34 | <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> |
|
33 | 35 | <p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p> |
|
34 | 36 | <p><%= f.check_box :generate_password %></p> |
|
35 | 37 | <p><%= f.check_box :must_change_passwd %></p> |
|
36 | 38 | </div> |
|
37 | 39 | </fieldset> |
|
38 | 40 | </div> |
|
39 | 41 | |
|
40 | 42 | <div class="splitcontentright"> |
|
41 | 43 | <fieldset class="box"> |
|
42 | 44 | <legend><%=l(:field_mail_notification)%></legend> |
|
43 | 45 | <%= render :partial => 'users/mail_notifications' %> |
|
44 | 46 | </fieldset> |
|
45 | 47 | |
|
46 | 48 | <fieldset class="box tabular"> |
|
47 | 49 | <legend><%=l(:label_preferences)%></legend> |
|
48 | 50 | <%= render :partial => 'users/preferences' %> |
|
49 | 51 | <%= call_hook(:view_users_form_preferences, :user => @user, :form => f) %> |
|
50 | 52 | </fieldset> |
|
51 | 53 | </div> |
|
52 | 54 | </div> |
|
53 | 55 | <div style="clear:left;"></div> |
|
54 | 56 | <!--[eoform:user]--> |
|
55 | 57 | |
|
56 | 58 | <%= javascript_tag do %> |
|
57 | 59 | $(document).ready(function(){ |
|
58 | 60 | $('#user_generate_password').change(function(){ |
|
59 | 61 | var passwd = $('#user_password, #user_password_confirmation'); |
|
60 | 62 | if ($(this).is(':checked')){ |
|
61 | 63 | passwd.val('').attr('disabled', true); |
|
62 | 64 | }else{ |
|
63 | 65 | passwd.removeAttr('disabled'); |
|
64 | 66 | } |
|
65 | 67 | }).trigger('change'); |
|
66 | 68 | }); |
|
67 | 69 | <% end %> |
@@ -1,1101 +1,1103 | |||
|
1 | 1 | en: |
|
2 | 2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) |
|
3 | 3 | direction: ltr |
|
4 | 4 | date: |
|
5 | 5 | formats: |
|
6 | 6 | # Use the strftime parameters for formats. |
|
7 | 7 | # When no format has been given, it uses default. |
|
8 | 8 | # You can provide other formats here if you like! |
|
9 | 9 | default: "%m/%d/%Y" |
|
10 | 10 | short: "%b %d" |
|
11 | 11 | long: "%B %d, %Y" |
|
12 | 12 | |
|
13 | 13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
14 | 14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
15 | 15 | |
|
16 | 16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
17 | 17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
18 | 18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
19 | 19 | # Used in date_select and datime_select. |
|
20 | 20 | order: |
|
21 | 21 | - :year |
|
22 | 22 | - :month |
|
23 | 23 | - :day |
|
24 | 24 | |
|
25 | 25 | time: |
|
26 | 26 | formats: |
|
27 | 27 | default: "%m/%d/%Y %I:%M %p" |
|
28 | 28 | time: "%I:%M %p" |
|
29 | 29 | short: "%d %b %H:%M" |
|
30 | 30 | long: "%B %d, %Y %H:%M" |
|
31 | 31 | am: "am" |
|
32 | 32 | pm: "pm" |
|
33 | 33 | |
|
34 | 34 | datetime: |
|
35 | 35 | distance_in_words: |
|
36 | 36 | half_a_minute: "half a minute" |
|
37 | 37 | less_than_x_seconds: |
|
38 | 38 | one: "less than 1 second" |
|
39 | 39 | other: "less than %{count} seconds" |
|
40 | 40 | x_seconds: |
|
41 | 41 | one: "1 second" |
|
42 | 42 | other: "%{count} seconds" |
|
43 | 43 | less_than_x_minutes: |
|
44 | 44 | one: "less than a minute" |
|
45 | 45 | other: "less than %{count} minutes" |
|
46 | 46 | x_minutes: |
|
47 | 47 | one: "1 minute" |
|
48 | 48 | other: "%{count} minutes" |
|
49 | 49 | about_x_hours: |
|
50 | 50 | one: "about 1 hour" |
|
51 | 51 | other: "about %{count} hours" |
|
52 | 52 | x_hours: |
|
53 | 53 | one: "1 hour" |
|
54 | 54 | other: "%{count} hours" |
|
55 | 55 | x_days: |
|
56 | 56 | one: "1 day" |
|
57 | 57 | other: "%{count} days" |
|
58 | 58 | about_x_months: |
|
59 | 59 | one: "about 1 month" |
|
60 | 60 | other: "about %{count} months" |
|
61 | 61 | x_months: |
|
62 | 62 | one: "1 month" |
|
63 | 63 | other: "%{count} months" |
|
64 | 64 | about_x_years: |
|
65 | 65 | one: "about 1 year" |
|
66 | 66 | other: "about %{count} years" |
|
67 | 67 | over_x_years: |
|
68 | 68 | one: "over 1 year" |
|
69 | 69 | other: "over %{count} years" |
|
70 | 70 | almost_x_years: |
|
71 | 71 | one: "almost 1 year" |
|
72 | 72 | other: "almost %{count} years" |
|
73 | 73 | |
|
74 | 74 | number: |
|
75 | 75 | format: |
|
76 | 76 | separator: "." |
|
77 | 77 | delimiter: "" |
|
78 | 78 | precision: 3 |
|
79 | 79 | |
|
80 | 80 | human: |
|
81 | 81 | format: |
|
82 | 82 | delimiter: "" |
|
83 | 83 | precision: 3 |
|
84 | 84 | storage_units: |
|
85 | 85 | format: "%n %u" |
|
86 | 86 | units: |
|
87 | 87 | byte: |
|
88 | 88 | one: "Byte" |
|
89 | 89 | other: "Bytes" |
|
90 | 90 | kb: "KB" |
|
91 | 91 | mb: "MB" |
|
92 | 92 | gb: "GB" |
|
93 | 93 | tb: "TB" |
|
94 | 94 | |
|
95 | 95 | # Used in array.to_sentence. |
|
96 | 96 | support: |
|
97 | 97 | array: |
|
98 | 98 | sentence_connector: "and" |
|
99 | 99 | skip_last_comma: false |
|
100 | 100 | |
|
101 | 101 | activerecord: |
|
102 | 102 | errors: |
|
103 | 103 | template: |
|
104 | 104 | header: |
|
105 | 105 | one: "1 error prohibited this %{model} from being saved" |
|
106 | 106 | other: "%{count} errors prohibited this %{model} from being saved" |
|
107 | 107 | messages: |
|
108 | 108 | inclusion: "is not included in the list" |
|
109 | 109 | exclusion: "is reserved" |
|
110 | 110 | invalid: "is invalid" |
|
111 | 111 | confirmation: "doesn't match confirmation" |
|
112 | 112 | accepted: "must be accepted" |
|
113 | 113 | empty: "can't be empty" |
|
114 | 114 | blank: "can't be blank" |
|
115 | 115 | too_long: "is too long (maximum is %{count} characters)" |
|
116 | 116 | too_short: "is too short (minimum is %{count} characters)" |
|
117 | 117 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
118 | 118 | taken: "has already been taken" |
|
119 | 119 | not_a_number: "is not a number" |
|
120 | 120 | not_a_date: "is not a valid date" |
|
121 | 121 | greater_than: "must be greater than %{count}" |
|
122 | 122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
123 | 123 | equal_to: "must be equal to %{count}" |
|
124 | 124 | less_than: "must be less than %{count}" |
|
125 | 125 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
126 | 126 | odd: "must be odd" |
|
127 | 127 | even: "must be even" |
|
128 | 128 | greater_than_start_date: "must be greater than start date" |
|
129 | 129 | not_same_project: "doesn't belong to the same project" |
|
130 | 130 | circular_dependency: "This relation would create a circular dependency" |
|
131 | 131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
132 | 132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" |
|
133 | 133 | |
|
134 | 134 | actionview_instancetag_blank_option: Please select |
|
135 | 135 | |
|
136 | 136 | general_text_No: 'No' |
|
137 | 137 | general_text_Yes: 'Yes' |
|
138 | 138 | general_text_no: 'no' |
|
139 | 139 | general_text_yes: 'yes' |
|
140 | 140 | general_lang_name: 'English' |
|
141 | 141 | general_csv_separator: ',' |
|
142 | 142 | general_csv_decimal_separator: '.' |
|
143 | 143 | general_csv_encoding: ISO-8859-1 |
|
144 | 144 | general_pdf_encoding: UTF-8 |
|
145 | 145 | general_first_day_of_week: '7' |
|
146 | 146 | |
|
147 | 147 | notice_account_updated: Account was successfully updated. |
|
148 | 148 | notice_account_invalid_creditentials: Invalid user or password |
|
149 | 149 | notice_account_password_updated: Password was successfully updated. |
|
150 | 150 | notice_account_wrong_password: Wrong password |
|
151 | 151 | notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}. |
|
152 | 152 | notice_account_unknown_email: Unknown user. |
|
153 | 153 | notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>. |
|
154 | 154 | notice_account_locked: Your account is locked. |
|
155 | 155 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
156 | 156 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
157 | 157 | notice_account_activated: Your account has been activated. You can now log in. |
|
158 | 158 | notice_successful_create: Successful creation. |
|
159 | 159 | notice_successful_update: Successful update. |
|
160 | 160 | notice_successful_delete: Successful deletion. |
|
161 | 161 | notice_successful_connection: Successful connection. |
|
162 | 162 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
163 | 163 | notice_locking_conflict: Data has been updated by another user. |
|
164 | 164 | notice_not_authorized: You are not authorized to access this page. |
|
165 | 165 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
166 | 166 | notice_email_sent: "An email was sent to %{value}" |
|
167 | 167 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
168 | 168 | notice_feeds_access_key_reseted: Your Atom access key was reset. |
|
169 | 169 | notice_api_access_key_reseted: Your API access key was reset. |
|
170 | 170 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
171 | 171 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
172 | 172 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
173 | 173 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
174 | 174 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
175 | 175 | notice_default_data_loaded: Default configuration successfully loaded. |
|
176 | 176 | notice_unable_delete_version: Unable to delete version. |
|
177 | 177 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
178 | 178 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
179 | 179 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
180 | 180 | notice_issue_successful_create: "Issue %{id} created." |
|
181 | 181 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." |
|
182 | 182 | notice_account_deleted: "Your account has been permanently deleted." |
|
183 | 183 | notice_user_successful_create: "User %{id} created." |
|
184 | 184 | notice_new_password_must_be_different: The new password must be different from the current password |
|
185 | 185 | |
|
186 | 186 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
187 | 187 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
188 | 188 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
189 | 189 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
190 | 190 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
191 | 191 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
192 | 192 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
193 | 193 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
194 | 194 | error_can_not_delete_custom_field: Unable to delete custom field |
|
195 | 195 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
196 | 196 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
197 | 197 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
198 | 198 | error_can_not_archive_project: This project cannot be archived |
|
199 | 199 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
200 | 200 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
201 | 201 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
202 | 202 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
203 | 203 | error_unable_to_connect: "Unable to connect (%{value})" |
|
204 | 204 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" |
|
205 | 205 | error_session_expired: "Your session has expired. Please login again." |
|
206 | 206 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
207 | 207 | |
|
208 | 208 | mail_subject_lost_password: "Your %{value} password" |
|
209 | 209 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
210 | 210 | mail_subject_register: "Your %{value} account activation" |
|
211 | 211 | mail_body_register: 'To activate your account, click on the following link:' |
|
212 | 212 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
213 | 213 | mail_body_account_information: Your account information |
|
214 | 214 | mail_subject_account_activation_request: "%{value} account activation request" |
|
215 | 215 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
216 | 216 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
217 | 217 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
218 | 218 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
219 | 219 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
220 | 220 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
221 | 221 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
222 | 222 | |
|
223 | 223 | field_name: Name |
|
224 | 224 | field_description: Description |
|
225 | 225 | field_summary: Summary |
|
226 | 226 | field_is_required: Required |
|
227 | 227 | field_firstname: First name |
|
228 | 228 | field_lastname: Last name |
|
229 | 229 | field_mail: Email |
|
230 | 230 | field_filename: File |
|
231 | 231 | field_filesize: Size |
|
232 | 232 | field_downloads: Downloads |
|
233 | 233 | field_author: Author |
|
234 | 234 | field_created_on: Created |
|
235 | 235 | field_updated_on: Updated |
|
236 | 236 | field_closed_on: Closed |
|
237 | 237 | field_field_format: Format |
|
238 | 238 | field_is_for_all: For all projects |
|
239 | 239 | field_possible_values: Possible values |
|
240 | 240 | field_regexp: Regular expression |
|
241 | 241 | field_min_length: Minimum length |
|
242 | 242 | field_max_length: Maximum length |
|
243 | 243 | field_value: Value |
|
244 | 244 | field_category: Category |
|
245 | 245 | field_title: Title |
|
246 | 246 | field_project: Project |
|
247 | 247 | field_issue: Issue |
|
248 | 248 | field_status: Status |
|
249 | 249 | field_notes: Notes |
|
250 | 250 | field_is_closed: Issue closed |
|
251 | 251 | field_is_default: Default value |
|
252 | 252 | field_tracker: Tracker |
|
253 | 253 | field_subject: Subject |
|
254 | 254 | field_due_date: Due date |
|
255 | 255 | field_assigned_to: Assignee |
|
256 | 256 | field_priority: Priority |
|
257 | 257 | field_fixed_version: Target version |
|
258 | 258 | field_user: User |
|
259 | 259 | field_principal: Principal |
|
260 | 260 | field_role: Role |
|
261 | 261 | field_homepage: Homepage |
|
262 | 262 | field_is_public: Public |
|
263 | 263 | field_parent: Subproject of |
|
264 | 264 | field_is_in_roadmap: Issues displayed in roadmap |
|
265 | 265 | field_login: Login |
|
266 | 266 | field_mail_notification: Email notifications |
|
267 | 267 | field_admin: Administrator |
|
268 | 268 | field_last_login_on: Last connection |
|
269 | 269 | field_language: Language |
|
270 | 270 | field_effective_date: Date |
|
271 | 271 | field_password: Password |
|
272 | 272 | field_new_password: New password |
|
273 | 273 | field_password_confirmation: Confirmation |
|
274 | 274 | field_version: Version |
|
275 | 275 | field_type: Type |
|
276 | 276 | field_host: Host |
|
277 | 277 | field_port: Port |
|
278 | 278 | field_account: Account |
|
279 | 279 | field_base_dn: Base DN |
|
280 | 280 | field_attr_login: Login attribute |
|
281 | 281 | field_attr_firstname: Firstname attribute |
|
282 | 282 | field_attr_lastname: Lastname attribute |
|
283 | 283 | field_attr_mail: Email attribute |
|
284 | 284 | field_onthefly: On-the-fly user creation |
|
285 | 285 | field_start_date: Start date |
|
286 | 286 | field_done_ratio: "% Done" |
|
287 | 287 | field_auth_source: Authentication mode |
|
288 | 288 | field_hide_mail: Hide my email address |
|
289 | 289 | field_comments: Comment |
|
290 | 290 | field_url: URL |
|
291 | 291 | field_start_page: Start page |
|
292 | 292 | field_subproject: Subproject |
|
293 | 293 | field_hours: Hours |
|
294 | 294 | field_activity: Activity |
|
295 | 295 | field_spent_on: Date |
|
296 | 296 | field_identifier: Identifier |
|
297 | 297 | field_is_filter: Used as a filter |
|
298 | 298 | field_issue_to: Related issue |
|
299 | 299 | field_delay: Delay |
|
300 | 300 | field_assignable: Issues can be assigned to this role |
|
301 | 301 | field_redirect_existing_links: Redirect existing links |
|
302 | 302 | field_estimated_hours: Estimated time |
|
303 | 303 | field_column_names: Columns |
|
304 | 304 | field_time_entries: Log time |
|
305 | 305 | field_time_zone: Time zone |
|
306 | 306 | field_searchable: Searchable |
|
307 | 307 | field_default_value: Default value |
|
308 | 308 | field_comments_sorting: Display comments |
|
309 | 309 | field_parent_title: Parent page |
|
310 | 310 | field_editable: Editable |
|
311 | 311 | field_watcher: Watcher |
|
312 | 312 | field_identity_url: OpenID URL |
|
313 | 313 | field_content: Content |
|
314 | 314 | field_group_by: Group results by |
|
315 | 315 | field_sharing: Sharing |
|
316 | 316 | field_parent_issue: Parent task |
|
317 | 317 | field_member_of_group: "Assignee's group" |
|
318 | 318 | field_assigned_to_role: "Assignee's role" |
|
319 | 319 | field_text: Text field |
|
320 | 320 | field_visible: Visible |
|
321 | 321 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
322 | 322 | field_issues_visibility: Issues visibility |
|
323 | 323 | field_is_private: Private |
|
324 | 324 | field_commit_logs_encoding: Commit messages encoding |
|
325 | 325 | field_scm_path_encoding: Path encoding |
|
326 | 326 | field_path_to_repository: Path to repository |
|
327 | 327 | field_root_directory: Root directory |
|
328 | 328 | field_cvsroot: CVSROOT |
|
329 | 329 | field_cvs_module: Module |
|
330 | 330 | field_repository_is_default: Main repository |
|
331 | 331 | field_multiple: Multiple values |
|
332 | 332 | field_auth_source_ldap_filter: LDAP filter |
|
333 | 333 | field_core_fields: Standard fields |
|
334 | 334 | field_timeout: "Timeout (in seconds)" |
|
335 | 335 | field_board_parent: Parent forum |
|
336 | 336 | field_private_notes: Private notes |
|
337 | 337 | field_inherit_members: Inherit members |
|
338 | 338 | field_generate_password: Generate password |
|
339 | 339 | field_must_change_passwd: Must change password at next logon |
|
340 | 340 | |
|
341 | 341 | setting_app_title: Application title |
|
342 | 342 | setting_app_subtitle: Application subtitle |
|
343 | 343 | setting_welcome_text: Welcome text |
|
344 | 344 | setting_default_language: Default language |
|
345 | 345 | setting_login_required: Authentication required |
|
346 | 346 | setting_self_registration: Self-registration |
|
347 | 347 | setting_attachment_max_size: Maximum attachment size |
|
348 | 348 | setting_issues_export_limit: Issues export limit |
|
349 | 349 | setting_mail_from: Emission email address |
|
350 | 350 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
351 | 351 | setting_plain_text_mail: Plain text mail (no HTML) |
|
352 | 352 | setting_host_name: Host name and path |
|
353 | 353 | setting_text_formatting: Text formatting |
|
354 | 354 | setting_wiki_compression: Wiki history compression |
|
355 | 355 | setting_feeds_limit: Maximum number of items in Atom feeds |
|
356 | 356 | setting_default_projects_public: New projects are public by default |
|
357 | 357 | setting_autofetch_changesets: Fetch commits automatically |
|
358 | 358 | setting_sys_api_enabled: Enable WS for repository management |
|
359 | 359 | setting_commit_ref_keywords: Referencing keywords |
|
360 | 360 | setting_commit_fix_keywords: Fixing keywords |
|
361 | 361 | setting_autologin: Autologin |
|
362 | 362 | setting_date_format: Date format |
|
363 | 363 | setting_time_format: Time format |
|
364 | 364 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
365 | 365 | setting_cross_project_subtasks: Allow cross-project subtasks |
|
366 | 366 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
367 | 367 | setting_repositories_encodings: Attachments and repositories encodings |
|
368 | 368 | setting_emails_header: Email header |
|
369 | 369 | setting_emails_footer: Email footer |
|
370 | 370 | setting_protocol: Protocol |
|
371 | 371 | setting_per_page_options: Objects per page options |
|
372 | 372 | setting_user_format: Users display format |
|
373 | 373 | setting_activity_days_default: Days displayed on project activity |
|
374 | 374 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
375 | 375 | setting_enabled_scm: Enabled SCM |
|
376 | 376 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
377 | 377 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
378 | 378 | setting_mail_handler_api_key: API key |
|
379 | 379 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
380 | 380 | setting_gravatar_enabled: Use Gravatar user icons |
|
381 | 381 | setting_gravatar_default: Default Gravatar image |
|
382 | 382 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed |
|
383 | 383 | setting_file_max_size_displayed: Maximum size of text files displayed inline |
|
384 | 384 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
385 | 385 | setting_openid: Allow OpenID login and registration |
|
386 | 386 | setting_password_min_length: Minimum password length |
|
387 | 387 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
388 | 388 | setting_default_projects_modules: Default enabled modules for new projects |
|
389 | 389 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
390 | 390 | setting_issue_done_ratio_issue_field: Use the issue field |
|
391 | 391 | setting_issue_done_ratio_issue_status: Use the issue status |
|
392 | 392 | setting_start_of_week: Start calendars on |
|
393 | 393 | setting_rest_api_enabled: Enable REST web service |
|
394 | 394 | setting_cache_formatted_text: Cache formatted text |
|
395 | 395 | setting_default_notification_option: Default notification option |
|
396 | 396 | setting_commit_logtime_enabled: Enable time logging |
|
397 | 397 | setting_commit_logtime_activity_id: Activity for logged time |
|
398 | 398 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
399 | 399 | setting_issue_group_assignment: Allow issue assignment to groups |
|
400 | 400 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
401 | 401 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed |
|
402 | 402 | setting_unsubscribe: Allow users to delete their own account |
|
403 | 403 | setting_session_lifetime: Session maximum lifetime |
|
404 | 404 | setting_session_timeout: Session inactivity timeout |
|
405 | 405 | setting_thumbnails_enabled: Display attachment thumbnails |
|
406 | 406 | setting_thumbnails_size: Thumbnails size (in pixels) |
|
407 | 407 | setting_non_working_week_days: Non-working days |
|
408 | 408 | setting_jsonp_enabled: Enable JSONP support |
|
409 | 409 | setting_default_projects_tracker_ids: Default trackers for new projects |
|
410 | 410 | setting_mail_handler_excluded_filenames: Exclude attachments by name |
|
411 | setting_force_default_language_for_anonymous: Force default language for anonymous users | |
|
412 | setting_force_default_language_for_loggedin: Force default language for logged-in users | |
|
411 | 413 | |
|
412 | 414 | permission_add_project: Create project |
|
413 | 415 | permission_add_subprojects: Create subprojects |
|
414 | 416 | permission_edit_project: Edit project |
|
415 | 417 | permission_close_project: Close / reopen the project |
|
416 | 418 | permission_select_project_modules: Select project modules |
|
417 | 419 | permission_manage_members: Manage members |
|
418 | 420 | permission_manage_project_activities: Manage project activities |
|
419 | 421 | permission_manage_versions: Manage versions |
|
420 | 422 | permission_manage_categories: Manage issue categories |
|
421 | 423 | permission_view_issues: View Issues |
|
422 | 424 | permission_add_issues: Add issues |
|
423 | 425 | permission_edit_issues: Edit issues |
|
424 | 426 | permission_manage_issue_relations: Manage issue relations |
|
425 | 427 | permission_set_issues_private: Set issues public or private |
|
426 | 428 | permission_set_own_issues_private: Set own issues public or private |
|
427 | 429 | permission_add_issue_notes: Add notes |
|
428 | 430 | permission_edit_issue_notes: Edit notes |
|
429 | 431 | permission_edit_own_issue_notes: Edit own notes |
|
430 | 432 | permission_view_private_notes: View private notes |
|
431 | 433 | permission_set_notes_private: Set notes as private |
|
432 | 434 | permission_move_issues: Move issues |
|
433 | 435 | permission_delete_issues: Delete issues |
|
434 | 436 | permission_manage_public_queries: Manage public queries |
|
435 | 437 | permission_save_queries: Save queries |
|
436 | 438 | permission_view_gantt: View gantt chart |
|
437 | 439 | permission_view_calendar: View calendar |
|
438 | 440 | permission_view_issue_watchers: View watchers list |
|
439 | 441 | permission_add_issue_watchers: Add watchers |
|
440 | 442 | permission_delete_issue_watchers: Delete watchers |
|
441 | 443 | permission_log_time: Log spent time |
|
442 | 444 | permission_view_time_entries: View spent time |
|
443 | 445 | permission_edit_time_entries: Edit time logs |
|
444 | 446 | permission_edit_own_time_entries: Edit own time logs |
|
445 | 447 | permission_manage_news: Manage news |
|
446 | 448 | permission_comment_news: Comment news |
|
447 | 449 | permission_view_documents: View documents |
|
448 | 450 | permission_add_documents: Add documents |
|
449 | 451 | permission_edit_documents: Edit documents |
|
450 | 452 | permission_delete_documents: Delete documents |
|
451 | 453 | permission_manage_files: Manage files |
|
452 | 454 | permission_view_files: View files |
|
453 | 455 | permission_manage_wiki: Manage wiki |
|
454 | 456 | permission_rename_wiki_pages: Rename wiki pages |
|
455 | 457 | permission_delete_wiki_pages: Delete wiki pages |
|
456 | 458 | permission_view_wiki_pages: View wiki |
|
457 | 459 | permission_view_wiki_edits: View wiki history |
|
458 | 460 | permission_edit_wiki_pages: Edit wiki pages |
|
459 | 461 | permission_delete_wiki_pages_attachments: Delete attachments |
|
460 | 462 | permission_protect_wiki_pages: Protect wiki pages |
|
461 | 463 | permission_manage_repository: Manage repository |
|
462 | 464 | permission_browse_repository: Browse repository |
|
463 | 465 | permission_view_changesets: View changesets |
|
464 | 466 | permission_commit_access: Commit access |
|
465 | 467 | permission_manage_boards: Manage forums |
|
466 | 468 | permission_view_messages: View messages |
|
467 | 469 | permission_add_messages: Post messages |
|
468 | 470 | permission_edit_messages: Edit messages |
|
469 | 471 | permission_edit_own_messages: Edit own messages |
|
470 | 472 | permission_delete_messages: Delete messages |
|
471 | 473 | permission_delete_own_messages: Delete own messages |
|
472 | 474 | permission_export_wiki_pages: Export wiki pages |
|
473 | 475 | permission_manage_subtasks: Manage subtasks |
|
474 | 476 | permission_manage_related_issues: Manage related issues |
|
475 | 477 | |
|
476 | 478 | project_module_issue_tracking: Issue tracking |
|
477 | 479 | project_module_time_tracking: Time tracking |
|
478 | 480 | project_module_news: News |
|
479 | 481 | project_module_documents: Documents |
|
480 | 482 | project_module_files: Files |
|
481 | 483 | project_module_wiki: Wiki |
|
482 | 484 | project_module_repository: Repository |
|
483 | 485 | project_module_boards: Forums |
|
484 | 486 | project_module_calendar: Calendar |
|
485 | 487 | project_module_gantt: Gantt |
|
486 | 488 | |
|
487 | 489 | label_user: User |
|
488 | 490 | label_user_plural: Users |
|
489 | 491 | label_user_new: New user |
|
490 | 492 | label_user_anonymous: Anonymous |
|
491 | 493 | label_project: Project |
|
492 | 494 | label_project_new: New project |
|
493 | 495 | label_project_plural: Projects |
|
494 | 496 | label_x_projects: |
|
495 | 497 | zero: no projects |
|
496 | 498 | one: 1 project |
|
497 | 499 | other: "%{count} projects" |
|
498 | 500 | label_project_all: All Projects |
|
499 | 501 | label_project_latest: Latest projects |
|
500 | 502 | label_issue: Issue |
|
501 | 503 | label_issue_new: New issue |
|
502 | 504 | label_issue_plural: Issues |
|
503 | 505 | label_issue_view_all: View all issues |
|
504 | 506 | label_issues_by: "Issues by %{value}" |
|
505 | 507 | label_issue_added: Issue added |
|
506 | 508 | label_issue_updated: Issue updated |
|
507 | 509 | label_issue_note_added: Note added |
|
508 | 510 | label_issue_status_updated: Status updated |
|
509 | 511 | label_issue_priority_updated: Priority updated |
|
510 | 512 | label_document: Document |
|
511 | 513 | label_document_new: New document |
|
512 | 514 | label_document_plural: Documents |
|
513 | 515 | label_document_added: Document added |
|
514 | 516 | label_role: Role |
|
515 | 517 | label_role_plural: Roles |
|
516 | 518 | label_role_new: New role |
|
517 | 519 | label_role_and_permissions: Roles and permissions |
|
518 | 520 | label_role_anonymous: Anonymous |
|
519 | 521 | label_role_non_member: Non member |
|
520 | 522 | label_member: Member |
|
521 | 523 | label_member_new: New member |
|
522 | 524 | label_member_plural: Members |
|
523 | 525 | label_tracker: Tracker |
|
524 | 526 | label_tracker_plural: Trackers |
|
525 | 527 | label_tracker_new: New tracker |
|
526 | 528 | label_workflow: Workflow |
|
527 | 529 | label_issue_status: Issue status |
|
528 | 530 | label_issue_status_plural: Issue statuses |
|
529 | 531 | label_issue_status_new: New status |
|
530 | 532 | label_issue_category: Issue category |
|
531 | 533 | label_issue_category_plural: Issue categories |
|
532 | 534 | label_issue_category_new: New category |
|
533 | 535 | label_custom_field: Custom field |
|
534 | 536 | label_custom_field_plural: Custom fields |
|
535 | 537 | label_custom_field_new: New custom field |
|
536 | 538 | label_enumerations: Enumerations |
|
537 | 539 | label_enumeration_new: New value |
|
538 | 540 | label_information: Information |
|
539 | 541 | label_information_plural: Information |
|
540 | 542 | label_please_login: Please log in |
|
541 | 543 | label_register: Register |
|
542 | 544 | label_login_with_open_id_option: or login with OpenID |
|
543 | 545 | label_password_lost: Lost password |
|
544 | 546 | label_home: Home |
|
545 | 547 | label_my_page: My page |
|
546 | 548 | label_my_account: My account |
|
547 | 549 | label_my_projects: My projects |
|
548 | 550 | label_my_page_block: My page block |
|
549 | 551 | label_administration: Administration |
|
550 | 552 | label_login: Sign in |
|
551 | 553 | label_logout: Sign out |
|
552 | 554 | label_help: Help |
|
553 | 555 | label_reported_issues: Reported issues |
|
554 | 556 | label_assigned_to_me_issues: Issues assigned to me |
|
555 | 557 | label_last_login: Last connection |
|
556 | 558 | label_registered_on: Registered on |
|
557 | 559 | label_activity: Activity |
|
558 | 560 | label_overall_activity: Overall activity |
|
559 | 561 | label_user_activity: "%{value}'s activity" |
|
560 | 562 | label_new: New |
|
561 | 563 | label_logged_as: Logged in as |
|
562 | 564 | label_environment: Environment |
|
563 | 565 | label_authentication: Authentication |
|
564 | 566 | label_auth_source: Authentication mode |
|
565 | 567 | label_auth_source_new: New authentication mode |
|
566 | 568 | label_auth_source_plural: Authentication modes |
|
567 | 569 | label_subproject_plural: Subprojects |
|
568 | 570 | label_subproject_new: New subproject |
|
569 | 571 | label_and_its_subprojects: "%{value} and its subprojects" |
|
570 | 572 | label_min_max_length: Min - Max length |
|
571 | 573 | label_list: List |
|
572 | 574 | label_date: Date |
|
573 | 575 | label_integer: Integer |
|
574 | 576 | label_float: Float |
|
575 | 577 | label_boolean: Boolean |
|
576 | 578 | label_string: Text |
|
577 | 579 | label_text: Long text |
|
578 | 580 | label_attribute: Attribute |
|
579 | 581 | label_attribute_plural: Attributes |
|
580 | 582 | label_no_data: No data to display |
|
581 | 583 | label_change_status: Change status |
|
582 | 584 | label_history: History |
|
583 | 585 | label_attachment: File |
|
584 | 586 | label_attachment_new: New file |
|
585 | 587 | label_attachment_delete: Delete file |
|
586 | 588 | label_attachment_plural: Files |
|
587 | 589 | label_file_added: File added |
|
588 | 590 | label_report: Report |
|
589 | 591 | label_report_plural: Reports |
|
590 | 592 | label_news: News |
|
591 | 593 | label_news_new: Add news |
|
592 | 594 | label_news_plural: News |
|
593 | 595 | label_news_latest: Latest news |
|
594 | 596 | label_news_view_all: View all news |
|
595 | 597 | label_news_added: News added |
|
596 | 598 | label_news_comment_added: Comment added to a news |
|
597 | 599 | label_settings: Settings |
|
598 | 600 | label_overview: Overview |
|
599 | 601 | label_version: Version |
|
600 | 602 | label_version_new: New version |
|
601 | 603 | label_version_plural: Versions |
|
602 | 604 | label_close_versions: Close completed versions |
|
603 | 605 | label_confirmation: Confirmation |
|
604 | 606 | label_export_to: 'Also available in:' |
|
605 | 607 | label_read: Read... |
|
606 | 608 | label_public_projects: Public projects |
|
607 | 609 | label_open_issues: open |
|
608 | 610 | label_open_issues_plural: open |
|
609 | 611 | label_closed_issues: closed |
|
610 | 612 | label_closed_issues_plural: closed |
|
611 | 613 | label_x_open_issues_abbr_on_total: |
|
612 | 614 | zero: 0 open / %{total} |
|
613 | 615 | one: 1 open / %{total} |
|
614 | 616 | other: "%{count} open / %{total}" |
|
615 | 617 | label_x_open_issues_abbr: |
|
616 | 618 | zero: 0 open |
|
617 | 619 | one: 1 open |
|
618 | 620 | other: "%{count} open" |
|
619 | 621 | label_x_closed_issues_abbr: |
|
620 | 622 | zero: 0 closed |
|
621 | 623 | one: 1 closed |
|
622 | 624 | other: "%{count} closed" |
|
623 | 625 | label_x_issues: |
|
624 | 626 | zero: 0 issues |
|
625 | 627 | one: 1 issue |
|
626 | 628 | other: "%{count} issues" |
|
627 | 629 | label_total: Total |
|
628 | 630 | label_total_time: Total time |
|
629 | 631 | label_permissions: Permissions |
|
630 | 632 | label_current_status: Current status |
|
631 | 633 | label_new_statuses_allowed: New statuses allowed |
|
632 | 634 | label_all: all |
|
633 | 635 | label_any: any |
|
634 | 636 | label_none: none |
|
635 | 637 | label_nobody: nobody |
|
636 | 638 | label_next: Next |
|
637 | 639 | label_previous: Previous |
|
638 | 640 | label_used_by: Used by |
|
639 | 641 | label_details: Details |
|
640 | 642 | label_add_note: Add a note |
|
641 | 643 | label_per_page: Per page |
|
642 | 644 | label_calendar: Calendar |
|
643 | 645 | label_months_from: months from |
|
644 | 646 | label_gantt: Gantt |
|
645 | 647 | label_internal: Internal |
|
646 | 648 | label_last_changes: "last %{count} changes" |
|
647 | 649 | label_change_view_all: View all changes |
|
648 | 650 | label_personalize_page: Personalize this page |
|
649 | 651 | label_comment: Comment |
|
650 | 652 | label_comment_plural: Comments |
|
651 | 653 | label_x_comments: |
|
652 | 654 | zero: no comments |
|
653 | 655 | one: 1 comment |
|
654 | 656 | other: "%{count} comments" |
|
655 | 657 | label_comment_add: Add a comment |
|
656 | 658 | label_comment_added: Comment added |
|
657 | 659 | label_comment_delete: Delete comments |
|
658 | 660 | label_query: Custom query |
|
659 | 661 | label_query_plural: Custom queries |
|
660 | 662 | label_query_new: New query |
|
661 | 663 | label_my_queries: My custom queries |
|
662 | 664 | label_filter_add: Add filter |
|
663 | 665 | label_filter_plural: Filters |
|
664 | 666 | label_equals: is |
|
665 | 667 | label_not_equals: is not |
|
666 | 668 | label_in_less_than: in less than |
|
667 | 669 | label_in_more_than: in more than |
|
668 | 670 | label_in_the_next_days: in the next |
|
669 | 671 | label_in_the_past_days: in the past |
|
670 | 672 | label_greater_or_equal: '>=' |
|
671 | 673 | label_less_or_equal: '<=' |
|
672 | 674 | label_between: between |
|
673 | 675 | label_in: in |
|
674 | 676 | label_today: today |
|
675 | 677 | label_all_time: all time |
|
676 | 678 | label_yesterday: yesterday |
|
677 | 679 | label_this_week: this week |
|
678 | 680 | label_last_week: last week |
|
679 | 681 | label_last_n_weeks: "last %{count} weeks" |
|
680 | 682 | label_last_n_days: "last %{count} days" |
|
681 | 683 | label_this_month: this month |
|
682 | 684 | label_last_month: last month |
|
683 | 685 | label_this_year: this year |
|
684 | 686 | label_date_range: Date range |
|
685 | 687 | label_less_than_ago: less than days ago |
|
686 | 688 | label_more_than_ago: more than days ago |
|
687 | 689 | label_ago: days ago |
|
688 | 690 | label_contains: contains |
|
689 | 691 | label_not_contains: doesn't contain |
|
690 | 692 | label_any_issues_in_project: any issues in project |
|
691 | 693 | label_any_issues_not_in_project: any issues not in project |
|
692 | 694 | label_no_issues_in_project: no issues in project |
|
693 | 695 | label_day_plural: days |
|
694 | 696 | label_repository: Repository |
|
695 | 697 | label_repository_new: New repository |
|
696 | 698 | label_repository_plural: Repositories |
|
697 | 699 | label_browse: Browse |
|
698 | 700 | label_branch: Branch |
|
699 | 701 | label_tag: Tag |
|
700 | 702 | label_revision: Revision |
|
701 | 703 | label_revision_plural: Revisions |
|
702 | 704 | label_revision_id: "Revision %{value}" |
|
703 | 705 | label_associated_revisions: Associated revisions |
|
704 | 706 | label_added: added |
|
705 | 707 | label_modified: modified |
|
706 | 708 | label_copied: copied |
|
707 | 709 | label_renamed: renamed |
|
708 | 710 | label_deleted: deleted |
|
709 | 711 | label_latest_revision: Latest revision |
|
710 | 712 | label_latest_revision_plural: Latest revisions |
|
711 | 713 | label_view_revisions: View revisions |
|
712 | 714 | label_view_all_revisions: View all revisions |
|
713 | 715 | label_max_size: Maximum size |
|
714 | 716 | label_sort_highest: Move to top |
|
715 | 717 | label_sort_higher: Move up |
|
716 | 718 | label_sort_lower: Move down |
|
717 | 719 | label_sort_lowest: Move to bottom |
|
718 | 720 | label_roadmap: Roadmap |
|
719 | 721 | label_roadmap_due_in: "Due in %{value}" |
|
720 | 722 | label_roadmap_overdue: "%{value} late" |
|
721 | 723 | label_roadmap_no_issues: No issues for this version |
|
722 | 724 | label_search: Search |
|
723 | 725 | label_result_plural: Results |
|
724 | 726 | label_all_words: All words |
|
725 | 727 | label_wiki: Wiki |
|
726 | 728 | label_wiki_edit: Wiki edit |
|
727 | 729 | label_wiki_edit_plural: Wiki edits |
|
728 | 730 | label_wiki_page: Wiki page |
|
729 | 731 | label_wiki_page_plural: Wiki pages |
|
730 | 732 | label_index_by_title: Index by title |
|
731 | 733 | label_index_by_date: Index by date |
|
732 | 734 | label_current_version: Current version |
|
733 | 735 | label_preview: Preview |
|
734 | 736 | label_feed_plural: Feeds |
|
735 | 737 | label_changes_details: Details of all changes |
|
736 | 738 | label_issue_tracking: Issue tracking |
|
737 | 739 | label_spent_time: Spent time |
|
738 | 740 | label_overall_spent_time: Overall spent time |
|
739 | 741 | label_f_hour: "%{value} hour" |
|
740 | 742 | label_f_hour_plural: "%{value} hours" |
|
741 | 743 | label_time_tracking: Time tracking |
|
742 | 744 | label_change_plural: Changes |
|
743 | 745 | label_statistics: Statistics |
|
744 | 746 | label_commits_per_month: Commits per month |
|
745 | 747 | label_commits_per_author: Commits per author |
|
746 | 748 | label_diff: diff |
|
747 | 749 | label_view_diff: View differences |
|
748 | 750 | label_diff_inline: inline |
|
749 | 751 | label_diff_side_by_side: side by side |
|
750 | 752 | label_options: Options |
|
751 | 753 | label_copy_workflow_from: Copy workflow from |
|
752 | 754 | label_permissions_report: Permissions report |
|
753 | 755 | label_watched_issues: Watched issues |
|
754 | 756 | label_related_issues: Related issues |
|
755 | 757 | label_applied_status: Applied status |
|
756 | 758 | label_loading: Loading... |
|
757 | 759 | label_relation_new: New relation |
|
758 | 760 | label_relation_delete: Delete relation |
|
759 | 761 | label_relates_to: Related to |
|
760 | 762 | label_duplicates: Duplicates |
|
761 | 763 | label_duplicated_by: Duplicated by |
|
762 | 764 | label_blocks: Blocks |
|
763 | 765 | label_blocked_by: Blocked by |
|
764 | 766 | label_precedes: Precedes |
|
765 | 767 | label_follows: Follows |
|
766 | 768 | label_copied_to: Copied to |
|
767 | 769 | label_copied_from: Copied from |
|
768 | 770 | label_end_to_start: end to start |
|
769 | 771 | label_end_to_end: end to end |
|
770 | 772 | label_start_to_start: start to start |
|
771 | 773 | label_start_to_end: start to end |
|
772 | 774 | label_stay_logged_in: Stay logged in |
|
773 | 775 | label_disabled: disabled |
|
774 | 776 | label_show_completed_versions: Show completed versions |
|
775 | 777 | label_me: me |
|
776 | 778 | label_board: Forum |
|
777 | 779 | label_board_new: New forum |
|
778 | 780 | label_board_plural: Forums |
|
779 | 781 | label_board_locked: Locked |
|
780 | 782 | label_board_sticky: Sticky |
|
781 | 783 | label_topic_plural: Topics |
|
782 | 784 | label_message_plural: Messages |
|
783 | 785 | label_message_last: Last message |
|
784 | 786 | label_message_new: New message |
|
785 | 787 | label_message_posted: Message added |
|
786 | 788 | label_reply_plural: Replies |
|
787 | 789 | label_send_information: Send account information to the user |
|
788 | 790 | label_year: Year |
|
789 | 791 | label_month: Month |
|
790 | 792 | label_week: Week |
|
791 | 793 | label_date_from: From |
|
792 | 794 | label_date_to: To |
|
793 | 795 | label_language_based: Based on user's language |
|
794 | 796 | label_sort_by: "Sort by %{value}" |
|
795 | 797 | label_send_test_email: Send a test email |
|
796 | 798 | label_feeds_access_key: Atom access key |
|
797 | 799 | label_missing_feeds_access_key: Missing a Atom access key |
|
798 | 800 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" |
|
799 | 801 | label_module_plural: Modules |
|
800 | 802 | label_added_time_by: "Added by %{author} %{age} ago" |
|
801 | 803 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
802 | 804 | label_updated_time: "Updated %{value} ago" |
|
803 | 805 | label_jump_to_a_project: Jump to a project... |
|
804 | 806 | label_file_plural: Files |
|
805 | 807 | label_changeset_plural: Changesets |
|
806 | 808 | label_default_columns: Default columns |
|
807 | 809 | label_no_change_option: (No change) |
|
808 | 810 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
809 | 811 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
810 | 812 | label_theme: Theme |
|
811 | 813 | label_default: Default |
|
812 | 814 | label_search_titles_only: Search titles only |
|
813 | 815 | label_user_mail_option_all: "For any event on all my projects" |
|
814 | 816 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
815 | 817 | label_user_mail_option_none: "No events" |
|
816 | 818 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
817 | 819 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
818 | 820 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
819 | 821 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
820 | 822 | label_registration_activation_by_email: account activation by email |
|
821 | 823 | label_registration_manual_activation: manual account activation |
|
822 | 824 | label_registration_automatic_activation: automatic account activation |
|
823 | 825 | label_display_per_page: "Per page: %{value}" |
|
824 | 826 | label_age: Age |
|
825 | 827 | label_change_properties: Change properties |
|
826 | 828 | label_general: General |
|
827 | 829 | label_more: More |
|
828 | 830 | label_scm: SCM |
|
829 | 831 | label_plugins: Plugins |
|
830 | 832 | label_ldap_authentication: LDAP authentication |
|
831 | 833 | label_downloads_abbr: D/L |
|
832 | 834 | label_optional_description: Optional description |
|
833 | 835 | label_add_another_file: Add another file |
|
834 | 836 | label_preferences: Preferences |
|
835 | 837 | label_chronological_order: In chronological order |
|
836 | 838 | label_reverse_chronological_order: In reverse chronological order |
|
837 | 839 | label_planning: Planning |
|
838 | 840 | label_incoming_emails: Incoming emails |
|
839 | 841 | label_generate_key: Generate a key |
|
840 | 842 | label_issue_watchers: Watchers |
|
841 | 843 | label_example: Example |
|
842 | 844 | label_display: Display |
|
843 | 845 | label_sort: Sort |
|
844 | 846 | label_ascending: Ascending |
|
845 | 847 | label_descending: Descending |
|
846 | 848 | label_date_from_to: From %{start} to %{end} |
|
847 | 849 | label_wiki_content_added: Wiki page added |
|
848 | 850 | label_wiki_content_updated: Wiki page updated |
|
849 | 851 | label_group: Group |
|
850 | 852 | label_group_plural: Groups |
|
851 | 853 | label_group_new: New group |
|
852 | 854 | label_time_entry_plural: Spent time |
|
853 | 855 | label_version_sharing_none: Not shared |
|
854 | 856 | label_version_sharing_descendants: With subprojects |
|
855 | 857 | label_version_sharing_hierarchy: With project hierarchy |
|
856 | 858 | label_version_sharing_tree: With project tree |
|
857 | 859 | label_version_sharing_system: With all projects |
|
858 | 860 | label_update_issue_done_ratios: Update issue done ratios |
|
859 | 861 | label_copy_source: Source |
|
860 | 862 | label_copy_target: Target |
|
861 | 863 | label_copy_same_as_target: Same as target |
|
862 | 864 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
863 | 865 | label_api_access_key: API access key |
|
864 | 866 | label_missing_api_access_key: Missing an API access key |
|
865 | 867 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
866 | 868 | label_profile: Profile |
|
867 | 869 | label_subtask_plural: Subtasks |
|
868 | 870 | label_project_copy_notifications: Send email notifications during the project copy |
|
869 | 871 | label_principal_search: "Search for user or group:" |
|
870 | 872 | label_user_search: "Search for user:" |
|
871 | 873 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
872 | 874 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
873 | 875 | label_issues_visibility_all: All issues |
|
874 | 876 | label_issues_visibility_public: All non private issues |
|
875 | 877 | label_issues_visibility_own: Issues created by or assigned to the user |
|
876 | 878 | label_git_report_last_commit: Report last commit for files and directories |
|
877 | 879 | label_parent_revision: Parent |
|
878 | 880 | label_child_revision: Child |
|
879 | 881 | label_export_options: "%{export_format} export options" |
|
880 | 882 | label_copy_attachments: Copy attachments |
|
881 | 883 | label_copy_subtasks: Copy subtasks |
|
882 | 884 | label_item_position: "%{position} of %{count}" |
|
883 | 885 | label_completed_versions: Completed versions |
|
884 | 886 | label_search_for_watchers: Search for watchers to add |
|
885 | 887 | label_session_expiration: Session expiration |
|
886 | 888 | label_show_closed_projects: View closed projects |
|
887 | 889 | label_status_transitions: Status transitions |
|
888 | 890 | label_fields_permissions: Fields permissions |
|
889 | 891 | label_readonly: Read-only |
|
890 | 892 | label_required: Required |
|
891 | 893 | label_hidden: Hidden |
|
892 | 894 | label_attribute_of_project: "Project's %{name}" |
|
893 | 895 | label_attribute_of_issue: "Issue's %{name}" |
|
894 | 896 | label_attribute_of_author: "Author's %{name}" |
|
895 | 897 | label_attribute_of_assigned_to: "Assignee's %{name}" |
|
896 | 898 | label_attribute_of_user: "User's %{name}" |
|
897 | 899 | label_attribute_of_fixed_version: "Target version's %{name}" |
|
898 | 900 | label_cross_project_descendants: With subprojects |
|
899 | 901 | label_cross_project_tree: With project tree |
|
900 | 902 | label_cross_project_hierarchy: With project hierarchy |
|
901 | 903 | label_cross_project_system: With all projects |
|
902 | 904 | label_gantt_progress_line: Progress line |
|
903 | 905 | label_visibility_private: to me only |
|
904 | 906 | label_visibility_roles: to these roles only |
|
905 | 907 | label_visibility_public: to any users |
|
906 | 908 | label_link: Link |
|
907 | 909 | label_only: only |
|
908 | 910 | label_drop_down_list: drop-down list |
|
909 | 911 | label_checkboxes: checkboxes |
|
910 | 912 | label_link_values_to: Link values to URL |
|
911 | 913 | |
|
912 | 914 | button_login: Login |
|
913 | 915 | button_submit: Submit |
|
914 | 916 | button_save: Save |
|
915 | 917 | button_check_all: Check all |
|
916 | 918 | button_uncheck_all: Uncheck all |
|
917 | 919 | button_collapse_all: Collapse all |
|
918 | 920 | button_expand_all: Expand all |
|
919 | 921 | button_delete: Delete |
|
920 | 922 | button_create: Create |
|
921 | 923 | button_create_and_continue: Create and continue |
|
922 | 924 | button_test: Test |
|
923 | 925 | button_edit: Edit |
|
924 | 926 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
925 | 927 | button_add: Add |
|
926 | 928 | button_change: Change |
|
927 | 929 | button_apply: Apply |
|
928 | 930 | button_clear: Clear |
|
929 | 931 | button_lock: Lock |
|
930 | 932 | button_unlock: Unlock |
|
931 | 933 | button_download: Download |
|
932 | 934 | button_list: List |
|
933 | 935 | button_view: View |
|
934 | 936 | button_move: Move |
|
935 | 937 | button_move_and_follow: Move and follow |
|
936 | 938 | button_back: Back |
|
937 | 939 | button_cancel: Cancel |
|
938 | 940 | button_activate: Activate |
|
939 | 941 | button_sort: Sort |
|
940 | 942 | button_log_time: Log time |
|
941 | 943 | button_rollback: Rollback to this version |
|
942 | 944 | button_watch: Watch |
|
943 | 945 | button_unwatch: Unwatch |
|
944 | 946 | button_reply: Reply |
|
945 | 947 | button_archive: Archive |
|
946 | 948 | button_unarchive: Unarchive |
|
947 | 949 | button_reset: Reset |
|
948 | 950 | button_rename: Rename |
|
949 | 951 | button_change_password: Change password |
|
950 | 952 | button_copy: Copy |
|
951 | 953 | button_copy_and_follow: Copy and follow |
|
952 | 954 | button_annotate: Annotate |
|
953 | 955 | button_update: Update |
|
954 | 956 | button_configure: Configure |
|
955 | 957 | button_quote: Quote |
|
956 | 958 | button_duplicate: Duplicate |
|
957 | 959 | button_show: Show |
|
958 | 960 | button_hide: Hide |
|
959 | 961 | button_edit_section: Edit this section |
|
960 | 962 | button_export: Export |
|
961 | 963 | button_delete_my_account: Delete my account |
|
962 | 964 | button_close: Close |
|
963 | 965 | button_reopen: Reopen |
|
964 | 966 | |
|
965 | 967 | status_active: active |
|
966 | 968 | status_registered: registered |
|
967 | 969 | status_locked: locked |
|
968 | 970 | |
|
969 | 971 | project_status_active: active |
|
970 | 972 | project_status_closed: closed |
|
971 | 973 | project_status_archived: archived |
|
972 | 974 | |
|
973 | 975 | version_status_open: open |
|
974 | 976 | version_status_locked: locked |
|
975 | 977 | version_status_closed: closed |
|
976 | 978 | |
|
977 | 979 | field_active: Active |
|
978 | 980 | |
|
979 | 981 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
980 | 982 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
981 | 983 | text_min_max_length_info: 0 means no restriction |
|
982 | 984 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
983 | 985 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
984 | 986 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
985 | 987 | text_are_you_sure: Are you sure? |
|
986 | 988 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
987 | 989 | text_journal_changed_no_detail: "%{label} updated" |
|
988 | 990 | text_journal_set_to: "%{label} set to %{value}" |
|
989 | 991 | text_journal_deleted: "%{label} deleted (%{old})" |
|
990 | 992 | text_journal_added: "%{label} %{value} added" |
|
991 | 993 | text_tip_issue_begin_day: issue beginning this day |
|
992 | 994 | text_tip_issue_end_day: issue ending this day |
|
993 | 995 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
994 | 996 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.' |
|
995 | 997 | text_caracters_maximum: "%{count} characters maximum." |
|
996 | 998 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
997 | 999 | text_length_between: "Length between %{min} and %{max} characters." |
|
998 | 1000 | text_tracker_no_workflow: No workflow defined for this tracker |
|
999 | 1001 | text_unallowed_characters: Unallowed characters |
|
1000 | 1002 | text_comma_separated: Multiple values allowed (comma separated). |
|
1001 | 1003 | text_line_separated: Multiple values allowed (one line for each value). |
|
1002 | 1004 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
1003 | 1005 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
1004 | 1006 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
1005 | 1007 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
1006 | 1008 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
1007 | 1009 | text_issue_category_destroy_assignments: Remove category assignments |
|
1008 | 1010 | text_issue_category_reassign_to: Reassign issues to this category |
|
1009 | 1011 | text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)." |
|
1010 | 1012 | text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded." |
|
1011 | 1013 | text_load_default_configuration: Load the default configuration |
|
1012 | 1014 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
1013 | 1015 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
1014 | 1016 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
1015 | 1017 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." |
|
1016 | 1018 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' |
|
1017 | 1019 | text_select_project_modules: 'Select modules to enable for this project:' |
|
1018 | 1020 | text_default_administrator_account_changed: Default administrator account changed |
|
1019 | 1021 | text_file_repository_writable: Attachments directory writable |
|
1020 | 1022 | text_plugin_assets_writable: Plugin assets directory writable |
|
1021 | 1023 | text_rmagick_available: RMagick available (optional) |
|
1022 | 1024 | text_convert_available: ImageMagick convert available (optional) |
|
1023 | 1025 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
1024 | 1026 | text_destroy_time_entries: Delete reported hours |
|
1025 | 1027 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
1026 | 1028 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
1027 | 1029 | text_user_wrote: "%{value} wrote:" |
|
1028 | 1030 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." |
|
1029 | 1031 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
1030 | 1032 | text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them." |
|
1031 | 1033 | text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped." |
|
1032 | 1034 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
1033 | 1035 | text_custom_field_possible_values_info: 'One line for each value' |
|
1034 | 1036 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
1035 | 1037 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
1036 | 1038 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
1037 | 1039 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
1038 | 1040 | text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?" |
|
1039 | 1041 | text_zoom_in: Zoom in |
|
1040 | 1042 | text_zoom_out: Zoom out |
|
1041 | 1043 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
1042 | 1044 | text_scm_path_encoding_note: "Default: UTF-8" |
|
1043 | 1045 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1044 | 1046 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
1045 | 1047 | text_scm_command: Command |
|
1046 | 1048 | text_scm_command_version: Version |
|
1047 | 1049 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. |
|
1048 | 1050 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. |
|
1049 | 1051 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" |
|
1050 | 1052 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" |
|
1051 | 1053 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" |
|
1052 | 1054 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." |
|
1053 | 1055 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." |
|
1054 | 1056 | text_project_closed: This project is closed and read-only. |
|
1055 | 1057 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." |
|
1056 | 1058 | |
|
1057 | 1059 | default_role_manager: Manager |
|
1058 | 1060 | default_role_developer: Developer |
|
1059 | 1061 | default_role_reporter: Reporter |
|
1060 | 1062 | default_tracker_bug: Bug |
|
1061 | 1063 | default_tracker_feature: Feature |
|
1062 | 1064 | default_tracker_support: Support |
|
1063 | 1065 | default_issue_status_new: New |
|
1064 | 1066 | default_issue_status_in_progress: In Progress |
|
1065 | 1067 | default_issue_status_resolved: Resolved |
|
1066 | 1068 | default_issue_status_feedback: Feedback |
|
1067 | 1069 | default_issue_status_closed: Closed |
|
1068 | 1070 | default_issue_status_rejected: Rejected |
|
1069 | 1071 | default_doc_category_user: User documentation |
|
1070 | 1072 | default_doc_category_tech: Technical documentation |
|
1071 | 1073 | default_priority_low: Low |
|
1072 | 1074 | default_priority_normal: Normal |
|
1073 | 1075 | default_priority_high: High |
|
1074 | 1076 | default_priority_urgent: Urgent |
|
1075 | 1077 | default_priority_immediate: Immediate |
|
1076 | 1078 | default_activity_design: Design |
|
1077 | 1079 | default_activity_development: Development |
|
1078 | 1080 | |
|
1079 | 1081 | enumeration_issue_priorities: Issue priorities |
|
1080 | 1082 | enumeration_doc_categories: Document categories |
|
1081 | 1083 | enumeration_activities: Activities (time tracking) |
|
1082 | 1084 | enumeration_system_activity: System Activity |
|
1083 | 1085 | description_filter: Filter |
|
1084 | 1086 | description_search: Searchfield |
|
1085 | 1087 | description_choose_project: Projects |
|
1086 | 1088 | description_project_scope: Search scope |
|
1087 | 1089 | description_notes: Notes |
|
1088 | 1090 | description_message_content: Message content |
|
1089 | 1091 | description_query_sort_criteria_attribute: Sort attribute |
|
1090 | 1092 | description_query_sort_criteria_direction: Sort direction |
|
1091 | 1093 | description_user_mail_notification: Mail notification settings |
|
1092 | 1094 | description_available_columns: Available Columns |
|
1093 | 1095 | description_selected_columns: Selected Columns |
|
1094 | 1096 | description_all_columns: All Columns |
|
1095 | 1097 | description_issue_category_reassign: Choose issue category |
|
1096 | 1098 | description_wiki_subpages_reassign: Choose new parent page |
|
1097 | 1099 | description_date_range_list: Choose range from list |
|
1098 | 1100 | description_date_range_interval: Choose range by selecting start and end date |
|
1099 | 1101 | description_date_from: Enter start date |
|
1100 | 1102 | description_date_to: Enter end date |
|
1101 | 1103 | text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' |
@@ -1,1119 +1,1121 | |||
|
1 | 1 | # French translations for Ruby on Rails |
|
2 | 2 | # by Christian Lescuyer (christian@flyingcoders.com) |
|
3 | 3 | # contributor: Sebastien Grosjean - ZenCocoon.com |
|
4 | 4 | # contributor: Thibaut Cuvelier - Developpez.com |
|
5 | 5 | |
|
6 | 6 | fr: |
|
7 | 7 | direction: ltr |
|
8 | 8 | date: |
|
9 | 9 | formats: |
|
10 | 10 | default: "%d/%m/%Y" |
|
11 | 11 | short: "%e %b" |
|
12 | 12 | long: "%e %B %Y" |
|
13 | 13 | long_ordinal: "%e %B %Y" |
|
14 | 14 | only_day: "%e" |
|
15 | 15 | |
|
16 | 16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] |
|
17 | 17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] |
|
18 | 18 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] |
|
19 | 19 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] |
|
20 | 20 | order: |
|
21 | 21 | - :day |
|
22 | 22 | - :month |
|
23 | 23 | - :year |
|
24 | 24 | |
|
25 | 25 | time: |
|
26 | 26 | formats: |
|
27 | 27 | default: "%d/%m/%Y %H:%M" |
|
28 | 28 | time: "%H:%M" |
|
29 | 29 | short: "%d %b %H:%M" |
|
30 | 30 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
31 | 31 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
32 | 32 | only_second: "%S" |
|
33 | 33 | am: 'am' |
|
34 | 34 | pm: 'pm' |
|
35 | 35 | |
|
36 | 36 | datetime: |
|
37 | 37 | distance_in_words: |
|
38 | 38 | half_a_minute: "30 secondes" |
|
39 | 39 | less_than_x_seconds: |
|
40 | 40 | zero: "moins d'une seconde" |
|
41 | 41 | one: "moins d'uneΒ seconde" |
|
42 | 42 | other: "moins de %{count}Β secondes" |
|
43 | 43 | x_seconds: |
|
44 | 44 | one: "1Β seconde" |
|
45 | 45 | other: "%{count}Β secondes" |
|
46 | 46 | less_than_x_minutes: |
|
47 | 47 | zero: "moins d'une minute" |
|
48 | 48 | one: "moins d'uneΒ minute" |
|
49 | 49 | other: "moins de %{count}Β minutes" |
|
50 | 50 | x_minutes: |
|
51 | 51 | one: "1Β minute" |
|
52 | 52 | other: "%{count}Β minutes" |
|
53 | 53 | about_x_hours: |
|
54 | 54 | one: "environ une heure" |
|
55 | 55 | other: "environ %{count}Β heures" |
|
56 | 56 | x_hours: |
|
57 | 57 | one: "une heure" |
|
58 | 58 | other: "%{count}Β heures" |
|
59 | 59 | x_days: |
|
60 | 60 | one: "unΒ jour" |
|
61 | 61 | other: "%{count}Β jours" |
|
62 | 62 | about_x_months: |
|
63 | 63 | one: "environ un mois" |
|
64 | 64 | other: "environ %{count}Β mois" |
|
65 | 65 | x_months: |
|
66 | 66 | one: "unΒ mois" |
|
67 | 67 | other: "%{count}Β mois" |
|
68 | 68 | about_x_years: |
|
69 | 69 | one: "environ un an" |
|
70 | 70 | other: "environ %{count}Β ans" |
|
71 | 71 | over_x_years: |
|
72 | 72 | one: "plus d'un an" |
|
73 | 73 | other: "plus de %{count}Β ans" |
|
74 | 74 | almost_x_years: |
|
75 | 75 | one: "presqu'un an" |
|
76 | 76 | other: "presque %{count} ans" |
|
77 | 77 | prompts: |
|
78 | 78 | year: "AnnΓ©e" |
|
79 | 79 | month: "Mois" |
|
80 | 80 | day: "Jour" |
|
81 | 81 | hour: "Heure" |
|
82 | 82 | minute: "Minute" |
|
83 | 83 | second: "Seconde" |
|
84 | 84 | |
|
85 | 85 | number: |
|
86 | 86 | format: |
|
87 | 87 | precision: 3 |
|
88 | 88 | separator: ',' |
|
89 | 89 | delimiter: 'Β ' |
|
90 | 90 | currency: |
|
91 | 91 | format: |
|
92 | 92 | unit: 'β¬' |
|
93 | 93 | precision: 2 |
|
94 | 94 | format: '%nΒ %u' |
|
95 | 95 | human: |
|
96 | 96 | format: |
|
97 | 97 | precision: 3 |
|
98 | 98 | storage_units: |
|
99 | 99 | format: "%n %u" |
|
100 | 100 | units: |
|
101 | 101 | byte: |
|
102 | 102 | one: "octet" |
|
103 | 103 | other: "octet" |
|
104 | 104 | kb: "ko" |
|
105 | 105 | mb: "Mo" |
|
106 | 106 | gb: "Go" |
|
107 | 107 | tb: "To" |
|
108 | 108 | |
|
109 | 109 | support: |
|
110 | 110 | array: |
|
111 | 111 | sentence_connector: 'et' |
|
112 | 112 | skip_last_comma: true |
|
113 | 113 | word_connector: ", " |
|
114 | 114 | two_words_connector: " et " |
|
115 | 115 | last_word_connector: " et " |
|
116 | 116 | |
|
117 | 117 | activerecord: |
|
118 | 118 | errors: |
|
119 | 119 | template: |
|
120 | 120 | header: |
|
121 | 121 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
122 | 122 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
123 | 123 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
124 | 124 | messages: |
|
125 | 125 | inclusion: "n'est pas inclus(e) dans la liste" |
|
126 | 126 | exclusion: "n'est pas disponible" |
|
127 | 127 | invalid: "n'est pas valide" |
|
128 | 128 | confirmation: "ne concorde pas avec la confirmation" |
|
129 | 129 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
130 | 130 | empty: "doit Γͺtre renseignΓ©(e)" |
|
131 | 131 | blank: "doit Γͺtre renseignΓ©(e)" |
|
132 | 132 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
133 | 133 | too_short: "est trop court (au moins %{count} caractères)" |
|
134 | 134 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
135 | 135 | taken: "est dΓ©jΓ utilisΓ©" |
|
136 | 136 | not_a_number: "n'est pas un nombre" |
|
137 | 137 | not_a_date: "n'est pas une date valide" |
|
138 | 138 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" |
|
139 | 139 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" |
|
140 | 140 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" |
|
141 | 141 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" |
|
142 | 142 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" |
|
143 | 143 | odd: "doit Γͺtre impair" |
|
144 | 144 | even: "doit Γͺtre pair" |
|
145 | 145 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
146 | 146 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
147 | 147 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
148 | 148 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
149 | 149 | earlier_than_minimum_start_date: "ne peut pas Γͺtre antΓ©rieure au %{date} Γ cause des demandes qui prΓ©cΓ©dent" |
|
150 | 150 | |
|
151 | 151 | actionview_instancetag_blank_option: Choisir |
|
152 | 152 | |
|
153 | 153 | general_text_No: 'Non' |
|
154 | 154 | general_text_Yes: 'Oui' |
|
155 | 155 | general_text_no: 'non' |
|
156 | 156 | general_text_yes: 'oui' |
|
157 | 157 | general_lang_name: 'FranΓ§ais' |
|
158 | 158 | general_csv_separator: ';' |
|
159 | 159 | general_csv_decimal_separator: ',' |
|
160 | 160 | general_csv_encoding: ISO-8859-1 |
|
161 | 161 | general_pdf_encoding: UTF-8 |
|
162 | 162 | general_first_day_of_week: '1' |
|
163 | 163 | |
|
164 | 164 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
165 | 165 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. |
|
166 | 166 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
167 | 167 | notice_account_wrong_password: Mot de passe incorrect |
|
168 | 168 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ© Γ l'adresse %{email}. |
|
169 | 169 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
170 | 170 | notice_account_not_activated_yet: Vous n'avez pas encore activΓ© votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>. |
|
171 | 171 | notice_account_locked: Votre compte est verrouillΓ©. |
|
172 | 172 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
173 | 173 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
174 | 174 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
175 | 175 | notice_successful_create: Création effectuée avec succès. |
|
176 | 176 | notice_successful_update: Mise à jour effectuée avec succès. |
|
177 | 177 | notice_successful_delete: Suppression effectuée avec succès. |
|
178 | 178 | notice_successful_connection: Connexion rΓ©ussie. |
|
179 | 179 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
180 | 180 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
181 | 181 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." |
|
182 | 182 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
183 | 183 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" |
|
184 | 184 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
185 | 185 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." |
|
186 | 186 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." |
|
187 | 187 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." |
|
188 | 188 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
189 | 189 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
190 | 190 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
191 | 191 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
192 | 192 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
193 | 193 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
194 | 194 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" |
|
195 | 195 | notice_issue_successful_create: "Demande %{id} créée." |
|
196 | 196 | notice_issue_update_conflict: "La demande a Γ©tΓ© mise Γ jour par un autre utilisateur pendant que vous la modifiez." |
|
197 | 197 | notice_account_deleted: "Votre compte a Γ©tΓ© dΓ©finitivement supprimΓ©." |
|
198 | 198 | notice_user_successful_create: "Utilisateur %{id} créé." |
|
199 | 199 | notice_new_password_must_be_different: Votre nouveau mot de passe doit Γͺtre diffΓ©rent de votre mot de passe actuel |
|
200 | 200 | |
|
201 | 201 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" |
|
202 | 202 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
203 | 203 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
204 | 204 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
205 | 205 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
206 | 206 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
207 | 207 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
208 | 208 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
209 | 209 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
210 | 210 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
211 | 211 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) |
|
212 | 212 | error_session_expired: "Votre session a expirΓ©. Veuillez vous reconnecter." |
|
213 | 213 | |
|
214 | 214 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
215 | 215 | |
|
216 | 216 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
217 | 217 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
218 | 218 | mail_subject_register: "Activation de votre compte %{value}" |
|
219 | 219 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
220 | 220 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
221 | 221 | mail_body_account_information: Paramètres de connexion de votre compte |
|
222 | 222 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
223 | 223 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
224 | 224 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" |
|
225 | 225 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" |
|
226 | 226 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" |
|
227 | 227 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." |
|
228 | 228 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" |
|
229 | 229 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." |
|
230 | 230 | |
|
231 | 231 | |
|
232 | 232 | field_name: Nom |
|
233 | 233 | field_description: Description |
|
234 | 234 | field_summary: RΓ©sumΓ© |
|
235 | 235 | field_is_required: Obligatoire |
|
236 | 236 | field_firstname: PrΓ©nom |
|
237 | 237 | field_lastname: Nom |
|
238 | 238 | field_mail: "Email " |
|
239 | 239 | field_filename: Fichier |
|
240 | 240 | field_filesize: Taille |
|
241 | 241 | field_downloads: TΓ©lΓ©chargements |
|
242 | 242 | field_author: Auteur |
|
243 | 243 | field_created_on: "Créé " |
|
244 | 244 | field_updated_on: "Mis-Γ -jour " |
|
245 | 245 | field_closed_on: FermΓ© |
|
246 | 246 | field_field_format: Format |
|
247 | 247 | field_is_for_all: Pour tous les projets |
|
248 | 248 | field_possible_values: Valeurs possibles |
|
249 | 249 | field_regexp: Expression régulière |
|
250 | 250 | field_min_length: Longueur minimum |
|
251 | 251 | field_max_length: Longueur maximum |
|
252 | 252 | field_value: Valeur |
|
253 | 253 | field_category: CatΓ©gorie |
|
254 | 254 | field_title: Titre |
|
255 | 255 | field_project: Projet |
|
256 | 256 | field_issue: Demande |
|
257 | 257 | field_status: Statut |
|
258 | 258 | field_notes: Notes |
|
259 | 259 | field_is_closed: Demande fermΓ©e |
|
260 | 260 | field_is_default: Valeur par dΓ©faut |
|
261 | 261 | field_tracker: Tracker |
|
262 | 262 | field_subject: Sujet |
|
263 | 263 | field_due_date: EchΓ©ance |
|
264 | 264 | field_assigned_to: AssignΓ© Γ |
|
265 | 265 | field_priority: PrioritΓ© |
|
266 | 266 | field_fixed_version: Version cible |
|
267 | 267 | field_user: Utilisateur |
|
268 | 268 | field_role: RΓ΄le |
|
269 | 269 | field_homepage: "Site web " |
|
270 | 270 | field_is_public: Public |
|
271 | 271 | field_parent: Sous-projet de |
|
272 | 272 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
273 | 273 | field_login: "Identifiant " |
|
274 | 274 | field_mail_notification: Notifications par mail |
|
275 | 275 | field_admin: Administrateur |
|
276 | 276 | field_last_login_on: "Dernière connexion " |
|
277 | 277 | field_language: Langue |
|
278 | 278 | field_effective_date: Date |
|
279 | 279 | field_password: Mot de passe |
|
280 | 280 | field_new_password: Nouveau mot de passe |
|
281 | 281 | field_password_confirmation: Confirmation |
|
282 | 282 | field_version: Version |
|
283 | 283 | field_type: Type |
|
284 | 284 | field_host: HΓ΄te |
|
285 | 285 | field_port: Port |
|
286 | 286 | field_account: Compte |
|
287 | 287 | field_base_dn: Base DN |
|
288 | 288 | field_attr_login: Attribut Identifiant |
|
289 | 289 | field_attr_firstname: Attribut PrΓ©nom |
|
290 | 290 | field_attr_lastname: Attribut Nom |
|
291 | 291 | field_attr_mail: Attribut Email |
|
292 | 292 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
293 | 293 | field_start_date: DΓ©but |
|
294 | 294 | field_done_ratio: "% rΓ©alisΓ©" |
|
295 | 295 | field_auth_source: Mode d'authentification |
|
296 | 296 | field_hide_mail: Cacher mon adresse mail |
|
297 | 297 | field_comments: Commentaire |
|
298 | 298 | field_url: URL |
|
299 | 299 | field_start_page: Page de dΓ©marrage |
|
300 | 300 | field_subproject: Sous-projet |
|
301 | 301 | field_hours: Heures |
|
302 | 302 | field_activity: ActivitΓ© |
|
303 | 303 | field_spent_on: Date |
|
304 | 304 | field_identifier: Identifiant |
|
305 | 305 | field_is_filter: UtilisΓ© comme filtre |
|
306 | 306 | field_issue_to: Demande liΓ©e |
|
307 | 307 | field_delay: Retard |
|
308 | 308 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
309 | 309 | field_redirect_existing_links: Rediriger les liens existants |
|
310 | 310 | field_estimated_hours: Temps estimΓ© |
|
311 | 311 | field_column_names: Colonnes |
|
312 | 312 | field_time_zone: Fuseau horaire |
|
313 | 313 | field_searchable: UtilisΓ© pour les recherches |
|
314 | 314 | field_default_value: Valeur par dΓ©faut |
|
315 | 315 | field_comments_sorting: Afficher les commentaires |
|
316 | 316 | field_parent_title: Page parent |
|
317 | 317 | field_editable: Modifiable |
|
318 | 318 | field_watcher: Observateur |
|
319 | 319 | field_identity_url: URL OpenID |
|
320 | 320 | field_content: Contenu |
|
321 | 321 | field_group_by: Grouper par |
|
322 | 322 | field_sharing: Partage |
|
323 | 323 | field_active: Actif |
|
324 | 324 | field_parent_issue: TΓ’che parente |
|
325 | 325 | field_visible: Visible |
|
326 | 326 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" |
|
327 | 327 | field_issues_visibility: VisibilitΓ© des demandes |
|
328 | 328 | field_is_private: PrivΓ©e |
|
329 | 329 | field_commit_logs_encoding: Encodage des messages de commit |
|
330 | 330 | field_repository_is_default: DΓ©pΓ΄t principal |
|
331 | 331 | field_multiple: Valeurs multiples |
|
332 | 332 | field_auth_source_ldap_filter: Filtre LDAP |
|
333 | 333 | field_core_fields: Champs standards |
|
334 | 334 | field_timeout: "Timeout (en secondes)" |
|
335 | 335 | field_board_parent: Forum parent |
|
336 | 336 | field_private_notes: Notes privΓ©es |
|
337 | 337 | field_inherit_members: HΓ©riter les membres |
|
338 | 338 | field_generate_password: GΓ©nΓ©rer un mot de passe |
|
339 | 339 | field_must_change_passwd: Doit changer de mot de passe Γ la prochaine connexion |
|
340 | 340 | |
|
341 | 341 | setting_app_title: Titre de l'application |
|
342 | 342 | setting_app_subtitle: Sous-titre de l'application |
|
343 | 343 | setting_welcome_text: Texte d'accueil |
|
344 | 344 | setting_default_language: Langue par dΓ©faut |
|
345 | 345 | setting_login_required: Authentification obligatoire |
|
346 | 346 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
347 | 347 | setting_attachment_max_size: Taille maximale des fichiers |
|
348 | 348 | setting_issues_export_limit: Limite d'exportation des demandes |
|
349 | 349 | setting_mail_from: Adresse d'Γ©mission |
|
350 | 350 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
351 | 351 | setting_plain_text_mail: Mail en texte brut (non HTML) |
|
352 | 352 | setting_host_name: Nom d'hΓ΄te et chemin |
|
353 | 353 | setting_text_formatting: Formatage du texte |
|
354 | 354 | setting_wiki_compression: Compression de l'historique des pages wiki |
|
355 | 355 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom |
|
356 | 356 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut |
|
357 | 357 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits |
|
358 | 358 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
359 | 359 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement |
|
360 | 360 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution |
|
361 | 361 | setting_autologin: DurΓ©e maximale de connexion automatique |
|
362 | 362 | setting_date_format: Format de date |
|
363 | 363 | setting_time_format: Format d'heure |
|
364 | 364 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
365 | 365 | setting_cross_project_subtasks: Autoriser les sous-tΓ’ches dans des projets diffΓ©rents |
|
366 | 366 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
367 | 367 | setting_emails_footer: Pied-de-page des emails |
|
368 | 368 | setting_protocol: Protocole |
|
369 | 369 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
370 | 370 | setting_user_format: Format d'affichage des utilisateurs |
|
371 | 371 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
372 | 372 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
373 | 373 | setting_enabled_scm: SCM activΓ©s |
|
374 | 374 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
375 | 375 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
376 | 376 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
377 | 377 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
378 | 378 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
379 | 379 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
380 | 380 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
381 | 381 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" |
|
382 | 382 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
383 | 383 | setting_password_min_length: Longueur minimum des mots de passe |
|
384 | 384 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
385 | 385 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
386 | 386 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
387 | 387 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
388 | 388 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
389 | 389 | setting_rest_api_enabled: Activer l'API REST |
|
390 | 390 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
391 | 391 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
392 | 392 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
393 | 393 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
394 | 394 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
395 | 395 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt |
|
396 | 396 | setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes |
|
397 | 397 | setting_default_issue_start_date_to_creation_date: Donner Γ la date de dΓ©but d'une nouvelle demande la valeur de la date du jour |
|
398 | 398 | setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets |
|
399 | 399 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte |
|
400 | 400 | setting_session_lifetime: DurΓ©e de vie maximale des sessions |
|
401 | 401 | setting_session_timeout: DurΓ©e maximale d'inactivitΓ© |
|
402 | 402 | setting_thumbnails_enabled: Afficher les vignettes des images |
|
403 | 403 | setting_thumbnails_size: Taille des vignettes (en pixels) |
|
404 | 404 | setting_non_working_week_days: Jours non travaillΓ©s |
|
405 | 405 | setting_jsonp_enabled: Activer le support JSONP |
|
406 | 406 | setting_default_projects_tracker_ids: Trackers par dΓ©faut pour les nouveaux projets |
|
407 | 407 | setting_mail_handler_excluded_filenames: Exclure les fichiers attachΓ©s par leur nom |
|
408 | setting_force_default_language_for_anonymous: Forcer la langue par dΓ©fault pour les utilisateurs anonymes | |
|
409 | setting_force_default_language_for_loggedin: Forcer la langue par dΓ©fault pour les utilisateurs identifiΓ©s | |
|
408 | 410 | |
|
409 | 411 | permission_add_project: CrΓ©er un projet |
|
410 | 412 | permission_add_subprojects: CrΓ©er des sous-projets |
|
411 | 413 | permission_edit_project: Modifier le projet |
|
412 | 414 | permission_close_project: Fermer / rΓ©ouvrir le projet |
|
413 | 415 | permission_select_project_modules: Choisir les modules |
|
414 | 416 | permission_manage_members: GΓ©rer les membres |
|
415 | 417 | permission_manage_versions: GΓ©rer les versions |
|
416 | 418 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
417 | 419 | permission_view_issues: Voir les demandes |
|
418 | 420 | permission_add_issues: CrΓ©er des demandes |
|
419 | 421 | permission_edit_issues: Modifier les demandes |
|
420 | 422 | permission_manage_issue_relations: GΓ©rer les relations |
|
421 | 423 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es |
|
422 | 424 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es |
|
423 | 425 | permission_add_issue_notes: Ajouter des notes |
|
424 | 426 | permission_edit_issue_notes: Modifier les notes |
|
425 | 427 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
426 | 428 | permission_view_private_notes: Voir les notes privΓ©es |
|
427 | 429 | permission_set_notes_private: Rendre les notes privΓ©es |
|
428 | 430 | permission_move_issues: DΓ©placer les demandes |
|
429 | 431 | permission_delete_issues: Supprimer les demandes |
|
430 | 432 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
431 | 433 | permission_save_queries: Sauvegarder les requΓͺtes |
|
432 | 434 | permission_view_gantt: Voir le gantt |
|
433 | 435 | permission_view_calendar: Voir le calendrier |
|
434 | 436 | permission_view_issue_watchers: Voir la liste des observateurs |
|
435 | 437 | permission_add_issue_watchers: Ajouter des observateurs |
|
436 | 438 | permission_delete_issue_watchers: Supprimer des observateurs |
|
437 | 439 | permission_log_time: Saisir le temps passΓ© |
|
438 | 440 | permission_view_time_entries: Voir le temps passΓ© |
|
439 | 441 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
440 | 442 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
441 | 443 | permission_manage_news: GΓ©rer les annonces |
|
442 | 444 | permission_comment_news: Commenter les annonces |
|
443 | 445 | permission_view_documents: Voir les documents |
|
444 | 446 | permission_add_documents: Ajouter des documents |
|
445 | 447 | permission_edit_documents: Modifier les documents |
|
446 | 448 | permission_delete_documents: Supprimer les documents |
|
447 | 449 | permission_manage_files: GΓ©rer les fichiers |
|
448 | 450 | permission_view_files: Voir les fichiers |
|
449 | 451 | permission_manage_wiki: GΓ©rer le wiki |
|
450 | 452 | permission_rename_wiki_pages: Renommer les pages |
|
451 | 453 | permission_delete_wiki_pages: Supprimer les pages |
|
452 | 454 | permission_view_wiki_pages: Voir le wiki |
|
453 | 455 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
454 | 456 | permission_edit_wiki_pages: Modifier les pages |
|
455 | 457 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
456 | 458 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
457 | 459 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
458 | 460 | permission_browse_repository: Parcourir les sources |
|
459 | 461 | permission_view_changesets: Voir les rΓ©visions |
|
460 | 462 | permission_commit_access: Droit de commit |
|
461 | 463 | permission_manage_boards: GΓ©rer les forums |
|
462 | 464 | permission_view_messages: Voir les messages |
|
463 | 465 | permission_add_messages: Poster un message |
|
464 | 466 | permission_edit_messages: Modifier les messages |
|
465 | 467 | permission_edit_own_messages: Modifier ses propres messages |
|
466 | 468 | permission_delete_messages: Supprimer les messages |
|
467 | 469 | permission_delete_own_messages: Supprimer ses propres messages |
|
468 | 470 | permission_export_wiki_pages: Exporter les pages |
|
469 | 471 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
470 | 472 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
471 | 473 | permission_manage_related_issues: GΓ©rer les demandes associΓ©es |
|
472 | 474 | |
|
473 | 475 | project_module_issue_tracking: Suivi des demandes |
|
474 | 476 | project_module_time_tracking: Suivi du temps passΓ© |
|
475 | 477 | project_module_news: Publication d'annonces |
|
476 | 478 | project_module_documents: Publication de documents |
|
477 | 479 | project_module_files: Publication de fichiers |
|
478 | 480 | project_module_wiki: Wiki |
|
479 | 481 | project_module_repository: DΓ©pΓ΄t de sources |
|
480 | 482 | project_module_boards: Forums de discussion |
|
481 | 483 | |
|
482 | 484 | label_user: Utilisateur |
|
483 | 485 | label_user_plural: Utilisateurs |
|
484 | 486 | label_user_new: Nouvel utilisateur |
|
485 | 487 | label_user_anonymous: Anonyme |
|
486 | 488 | label_project: Projet |
|
487 | 489 | label_project_new: Nouveau projet |
|
488 | 490 | label_project_plural: Projets |
|
489 | 491 | label_x_projects: |
|
490 | 492 | zero: aucun projet |
|
491 | 493 | one: un projet |
|
492 | 494 | other: "%{count} projets" |
|
493 | 495 | label_project_all: Tous les projets |
|
494 | 496 | label_project_latest: Derniers projets |
|
495 | 497 | label_issue: Demande |
|
496 | 498 | label_issue_new: Nouvelle demande |
|
497 | 499 | label_issue_plural: Demandes |
|
498 | 500 | label_issue_view_all: Voir toutes les demandes |
|
499 | 501 | label_issue_added: Demande ajoutΓ©e |
|
500 | 502 | label_issue_updated: Demande mise Γ jour |
|
501 | 503 | label_issue_note_added: Note ajoutΓ©e |
|
502 | 504 | label_issue_status_updated: Statut changΓ© |
|
503 | 505 | label_issue_priority_updated: PrioritΓ© changΓ©e |
|
504 | 506 | label_issues_by: "Demandes par %{value}" |
|
505 | 507 | label_document: Document |
|
506 | 508 | label_document_new: Nouveau document |
|
507 | 509 | label_document_plural: Documents |
|
508 | 510 | label_document_added: Document ajoutΓ© |
|
509 | 511 | label_role: RΓ΄le |
|
510 | 512 | label_role_plural: RΓ΄les |
|
511 | 513 | label_role_new: Nouveau rΓ΄le |
|
512 | 514 | label_role_and_permissions: RΓ΄les et permissions |
|
513 | 515 | label_role_anonymous: Anonyme |
|
514 | 516 | label_role_non_member: Non membre |
|
515 | 517 | label_member: Membre |
|
516 | 518 | label_member_new: Nouveau membre |
|
517 | 519 | label_member_plural: Membres |
|
518 | 520 | label_tracker: Tracker |
|
519 | 521 | label_tracker_plural: Trackers |
|
520 | 522 | label_tracker_new: Nouveau tracker |
|
521 | 523 | label_workflow: Workflow |
|
522 | 524 | label_issue_status: Statut de demandes |
|
523 | 525 | label_issue_status_plural: Statuts de demandes |
|
524 | 526 | label_issue_status_new: Nouveau statut |
|
525 | 527 | label_issue_category: CatΓ©gorie de demandes |
|
526 | 528 | label_issue_category_plural: CatΓ©gories de demandes |
|
527 | 529 | label_issue_category_new: Nouvelle catΓ©gorie |
|
528 | 530 | label_custom_field: Champ personnalisΓ© |
|
529 | 531 | label_custom_field_plural: Champs personnalisΓ©s |
|
530 | 532 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
531 | 533 | label_enumerations: Listes de valeurs |
|
532 | 534 | label_enumeration_new: Nouvelle valeur |
|
533 | 535 | label_information: Information |
|
534 | 536 | label_information_plural: Informations |
|
535 | 537 | label_please_login: Identification |
|
536 | 538 | label_register: S'enregistrer |
|
537 | 539 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
538 | 540 | label_password_lost: Mot de passe perdu |
|
539 | 541 | label_home: Accueil |
|
540 | 542 | label_my_page: Ma page |
|
541 | 543 | label_my_account: Mon compte |
|
542 | 544 | label_my_projects: Mes projets |
|
543 | 545 | label_my_page_block: Blocs disponibles |
|
544 | 546 | label_administration: Administration |
|
545 | 547 | label_login: Connexion |
|
546 | 548 | label_logout: DΓ©connexion |
|
547 | 549 | label_help: Aide |
|
548 | 550 | label_reported_issues: "Demandes soumises " |
|
549 | 551 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
550 | 552 | label_last_login: "Dernière connexion " |
|
551 | 553 | label_registered_on: "Inscrit le " |
|
552 | 554 | label_activity: ActivitΓ© |
|
553 | 555 | label_overall_activity: ActivitΓ© globale |
|
554 | 556 | label_user_activity: "ActivitΓ© de %{value}" |
|
555 | 557 | label_new: Nouveau |
|
556 | 558 | label_logged_as: ConnectΓ© en tant que |
|
557 | 559 | label_environment: Environnement |
|
558 | 560 | label_authentication: Authentification |
|
559 | 561 | label_auth_source: Mode d'authentification |
|
560 | 562 | label_auth_source_new: Nouveau mode d'authentification |
|
561 | 563 | label_auth_source_plural: Modes d'authentification |
|
562 | 564 | label_subproject_plural: Sous-projets |
|
563 | 565 | label_subproject_new: Nouveau sous-projet |
|
564 | 566 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
565 | 567 | label_min_max_length: Longueurs mini - maxi |
|
566 | 568 | label_list: Liste |
|
567 | 569 | label_date: Date |
|
568 | 570 | label_integer: Entier |
|
569 | 571 | label_float: Nombre dΓ©cimal |
|
570 | 572 | label_boolean: BoolΓ©en |
|
571 | 573 | label_string: Texte |
|
572 | 574 | label_text: Texte long |
|
573 | 575 | label_attribute: Attribut |
|
574 | 576 | label_attribute_plural: Attributs |
|
575 | 577 | label_no_data: Aucune donnΓ©e Γ afficher |
|
576 | 578 | label_change_status: Changer le statut |
|
577 | 579 | label_history: Historique |
|
578 | 580 | label_attachment: Fichier |
|
579 | 581 | label_attachment_new: Nouveau fichier |
|
580 | 582 | label_attachment_delete: Supprimer le fichier |
|
581 | 583 | label_attachment_plural: Fichiers |
|
582 | 584 | label_file_added: Fichier ajoutΓ© |
|
583 | 585 | label_report: Rapport |
|
584 | 586 | label_report_plural: Rapports |
|
585 | 587 | label_news: Annonce |
|
586 | 588 | label_news_new: Nouvelle annonce |
|
587 | 589 | label_news_plural: Annonces |
|
588 | 590 | label_news_latest: Dernières annonces |
|
589 | 591 | label_news_view_all: Voir toutes les annonces |
|
590 | 592 | label_news_added: Annonce ajoutΓ©e |
|
591 | 593 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce |
|
592 | 594 | label_settings: Configuration |
|
593 | 595 | label_overview: AperΓ§u |
|
594 | 596 | label_version: Version |
|
595 | 597 | label_version_new: Nouvelle version |
|
596 | 598 | label_version_plural: Versions |
|
597 | 599 | label_confirmation: Confirmation |
|
598 | 600 | label_export_to: 'Formats disponibles :' |
|
599 | 601 | label_read: Lire... |
|
600 | 602 | label_public_projects: Projets publics |
|
601 | 603 | label_open_issues: ouvert |
|
602 | 604 | label_open_issues_plural: ouverts |
|
603 | 605 | label_closed_issues: fermΓ© |
|
604 | 606 | label_closed_issues_plural: fermΓ©s |
|
605 | 607 | label_x_open_issues_abbr_on_total: |
|
606 | 608 | zero: 0 ouverte sur %{total} |
|
607 | 609 | one: 1 ouverte sur %{total} |
|
608 | 610 | other: "%{count} ouvertes sur %{total}" |
|
609 | 611 | label_x_open_issues_abbr: |
|
610 | 612 | zero: 0 ouverte |
|
611 | 613 | one: 1 ouverte |
|
612 | 614 | other: "%{count} ouvertes" |
|
613 | 615 | label_x_closed_issues_abbr: |
|
614 | 616 | zero: 0 fermΓ©e |
|
615 | 617 | one: 1 fermΓ©e |
|
616 | 618 | other: "%{count} fermΓ©es" |
|
617 | 619 | label_x_issues: |
|
618 | 620 | zero: 0 demande |
|
619 | 621 | one: 1 demande |
|
620 | 622 | other: "%{count} demandes" |
|
621 | 623 | label_total: Total |
|
622 | 624 | label_total_time: Temps total |
|
623 | 625 | label_permissions: Permissions |
|
624 | 626 | label_current_status: Statut actuel |
|
625 | 627 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
626 | 628 | label_all: tous |
|
627 | 629 | label_any: tous |
|
628 | 630 | label_none: aucun |
|
629 | 631 | label_nobody: personne |
|
630 | 632 | label_next: Suivant |
|
631 | 633 | label_previous: PrΓ©cΓ©dent |
|
632 | 634 | label_used_by: UtilisΓ© par |
|
633 | 635 | label_details: DΓ©tails |
|
634 | 636 | label_add_note: Ajouter une note |
|
635 | 637 | label_per_page: Par page |
|
636 | 638 | label_calendar: Calendrier |
|
637 | 639 | label_months_from: mois depuis |
|
638 | 640 | label_gantt: Gantt |
|
639 | 641 | label_internal: Interne |
|
640 | 642 | label_last_changes: "%{count} derniers changements" |
|
641 | 643 | label_change_view_all: Voir tous les changements |
|
642 | 644 | label_personalize_page: Personnaliser cette page |
|
643 | 645 | label_comment: Commentaire |
|
644 | 646 | label_comment_plural: Commentaires |
|
645 | 647 | label_x_comments: |
|
646 | 648 | zero: aucun commentaire |
|
647 | 649 | one: un commentaire |
|
648 | 650 | other: "%{count} commentaires" |
|
649 | 651 | label_comment_add: Ajouter un commentaire |
|
650 | 652 | label_comment_added: Commentaire ajoutΓ© |
|
651 | 653 | label_comment_delete: Supprimer les commentaires |
|
652 | 654 | label_query: Rapport personnalisΓ© |
|
653 | 655 | label_query_plural: Rapports personnalisΓ©s |
|
654 | 656 | label_query_new: Nouveau rapport |
|
655 | 657 | label_my_queries: Mes rapports personnalisΓ©s |
|
656 | 658 | label_filter_add: "Ajouter le filtre " |
|
657 | 659 | label_filter_plural: Filtres |
|
658 | 660 | label_equals: Γ©gal |
|
659 | 661 | label_not_equals: diffΓ©rent |
|
660 | 662 | label_in_less_than: dans moins de |
|
661 | 663 | label_in_more_than: dans plus de |
|
662 | 664 | label_in_the_next_days: dans les prochains jours |
|
663 | 665 | label_in_the_past_days: dans les derniers jours |
|
664 | 666 | label_in: dans |
|
665 | 667 | label_today: aujourd'hui |
|
666 | 668 | label_all_time: toute la pΓ©riode |
|
667 | 669 | label_yesterday: hier |
|
668 | 670 | label_this_week: cette semaine |
|
669 | 671 | label_last_week: la semaine dernière |
|
670 | 672 | label_last_n_weeks: "les %{count} dernières semaines" |
|
671 | 673 | label_last_n_days: "les %{count} derniers jours" |
|
672 | 674 | label_this_month: ce mois-ci |
|
673 | 675 | label_last_month: le mois dernier |
|
674 | 676 | label_this_year: cette annΓ©e |
|
675 | 677 | label_date_range: PΓ©riode |
|
676 | 678 | label_less_than_ago: il y a moins de |
|
677 | 679 | label_more_than_ago: il y a plus de |
|
678 | 680 | label_ago: il y a |
|
679 | 681 | label_contains: contient |
|
680 | 682 | label_not_contains: ne contient pas |
|
681 | 683 | label_any_issues_in_project: une demande du projet |
|
682 | 684 | label_any_issues_not_in_project: une demande hors du projet |
|
683 | 685 | label_no_issues_in_project: aucune demande du projet |
|
684 | 686 | label_day_plural: jours |
|
685 | 687 | label_repository: DΓ©pΓ΄t |
|
686 | 688 | label_repository_new: Nouveau dΓ©pΓ΄t |
|
687 | 689 | label_repository_plural: DΓ©pΓ΄ts |
|
688 | 690 | label_browse: Parcourir |
|
689 | 691 | label_revision: "RΓ©vision " |
|
690 | 692 | label_revision_plural: RΓ©visions |
|
691 | 693 | label_associated_revisions: RΓ©visions associΓ©es |
|
692 | 694 | label_added: ajoutΓ© |
|
693 | 695 | label_modified: modifiΓ© |
|
694 | 696 | label_copied: copiΓ© |
|
695 | 697 | label_renamed: renommΓ© |
|
696 | 698 | label_deleted: supprimΓ© |
|
697 | 699 | label_latest_revision: Dernière révision |
|
698 | 700 | label_latest_revision_plural: Dernières révisions |
|
699 | 701 | label_view_revisions: Voir les rΓ©visions |
|
700 | 702 | label_max_size: Taille maximale |
|
701 | 703 | label_sort_highest: Remonter en premier |
|
702 | 704 | label_sort_higher: Remonter |
|
703 | 705 | label_sort_lower: Descendre |
|
704 | 706 | label_sort_lowest: Descendre en dernier |
|
705 | 707 | label_roadmap: Roadmap |
|
706 | 708 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" |
|
707 | 709 | label_roadmap_overdue: "En retard de %{value}" |
|
708 | 710 | label_roadmap_no_issues: Aucune demande pour cette version |
|
709 | 711 | label_search: "Recherche " |
|
710 | 712 | label_result_plural: RΓ©sultats |
|
711 | 713 | label_all_words: Tous les mots |
|
712 | 714 | label_wiki: Wiki |
|
713 | 715 | label_wiki_edit: RΓ©vision wiki |
|
714 | 716 | label_wiki_edit_plural: RΓ©visions wiki |
|
715 | 717 | label_wiki_page: Page wiki |
|
716 | 718 | label_wiki_page_plural: Pages wiki |
|
717 | 719 | label_index_by_title: Index par titre |
|
718 | 720 | label_index_by_date: Index par date |
|
719 | 721 | label_current_version: Version actuelle |
|
720 | 722 | label_preview: PrΓ©visualisation |
|
721 | 723 | label_feed_plural: Flux Atom |
|
722 | 724 | label_changes_details: DΓ©tails de tous les changements |
|
723 | 725 | label_issue_tracking: Suivi des demandes |
|
724 | 726 | label_spent_time: Temps passΓ© |
|
725 | 727 | label_f_hour: "%{value} heure" |
|
726 | 728 | label_f_hour_plural: "%{value} heures" |
|
727 | 729 | label_time_tracking: Suivi du temps |
|
728 | 730 | label_change_plural: Changements |
|
729 | 731 | label_statistics: Statistiques |
|
730 | 732 | label_commits_per_month: Commits par mois |
|
731 | 733 | label_commits_per_author: Commits par auteur |
|
732 | 734 | label_view_diff: Voir les diffΓ©rences |
|
733 | 735 | label_diff_inline: en ligne |
|
734 | 736 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
735 | 737 | label_options: Options |
|
736 | 738 | label_copy_workflow_from: Copier le workflow de |
|
737 | 739 | label_permissions_report: Synthèse des permissions |
|
738 | 740 | label_watched_issues: Demandes surveillΓ©es |
|
739 | 741 | label_related_issues: Demandes liΓ©es |
|
740 | 742 | label_applied_status: Statut appliquΓ© |
|
741 | 743 | label_loading: Chargement... |
|
742 | 744 | label_relation_new: Nouvelle relation |
|
743 | 745 | label_relation_delete: Supprimer la relation |
|
744 | 746 | label_relates_to: LiΓ© Γ |
|
745 | 747 | label_duplicates: Duplique |
|
746 | 748 | label_duplicated_by: DupliquΓ© par |
|
747 | 749 | label_blocks: Bloque |
|
748 | 750 | label_blocked_by: BloquΓ© par |
|
749 | 751 | label_precedes: Précède |
|
750 | 752 | label_follows: Suit |
|
751 | 753 | label_copied_to: CopiΓ© vers |
|
752 | 754 | label_copied_from: CopiΓ© depuis |
|
753 | 755 | label_end_to_start: fin Γ dΓ©but |
|
754 | 756 | label_end_to_end: fin Γ fin |
|
755 | 757 | label_start_to_start: dΓ©but Γ dΓ©but |
|
756 | 758 | label_start_to_end: dΓ©but Γ fin |
|
757 | 759 | label_stay_logged_in: Rester connectΓ© |
|
758 | 760 | label_disabled: dΓ©sactivΓ© |
|
759 | 761 | label_show_completed_versions: Voir les versions passΓ©es |
|
760 | 762 | label_me: moi |
|
761 | 763 | label_board: Forum |
|
762 | 764 | label_board_new: Nouveau forum |
|
763 | 765 | label_board_plural: Forums |
|
764 | 766 | label_topic_plural: Discussions |
|
765 | 767 | label_message_plural: Messages |
|
766 | 768 | label_message_last: Dernier message |
|
767 | 769 | label_message_new: Nouveau message |
|
768 | 770 | label_message_posted: Message ajoutΓ© |
|
769 | 771 | label_reply_plural: RΓ©ponses |
|
770 | 772 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
771 | 773 | label_year: AnnΓ©e |
|
772 | 774 | label_month: Mois |
|
773 | 775 | label_week: Semaine |
|
774 | 776 | label_date_from: Du |
|
775 | 777 | label_date_to: Au |
|
776 | 778 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
777 | 779 | label_sort_by: "Trier par %{value}" |
|
778 | 780 | label_send_test_email: Envoyer un email de test |
|
779 | 781 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" |
|
780 | 782 | label_module_plural: Modules |
|
781 | 783 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" |
|
782 | 784 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" |
|
783 | 785 | label_updated_time: "Mis Γ jour il y a %{value}" |
|
784 | 786 | label_jump_to_a_project: Aller Γ un projet... |
|
785 | 787 | label_file_plural: Fichiers |
|
786 | 788 | label_changeset_plural: RΓ©visions |
|
787 | 789 | label_default_columns: Colonnes par dΓ©faut |
|
788 | 790 | label_no_change_option: (Pas de changement) |
|
789 | 791 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
790 | 792 | label_theme: Thème |
|
791 | 793 | label_default: DΓ©faut |
|
792 | 794 | label_search_titles_only: Uniquement dans les titres |
|
793 | 795 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
794 | 796 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
795 | 797 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
796 | 798 | label_registration_activation_by_email: activation du compte par email |
|
797 | 799 | label_registration_manual_activation: activation manuelle du compte |
|
798 | 800 | label_registration_automatic_activation: activation automatique du compte |
|
799 | 801 | label_display_per_page: "Par page : %{value}" |
|
800 | 802 | label_age: Γge |
|
801 | 803 | label_change_properties: Changer les propriΓ©tΓ©s |
|
802 | 804 | label_general: GΓ©nΓ©ral |
|
803 | 805 | label_more: Plus |
|
804 | 806 | label_scm: SCM |
|
805 | 807 | label_plugins: Plugins |
|
806 | 808 | label_ldap_authentication: Authentification LDAP |
|
807 | 809 | label_downloads_abbr: D/L |
|
808 | 810 | label_optional_description: Description facultative |
|
809 | 811 | label_add_another_file: Ajouter un autre fichier |
|
810 | 812 | label_preferences: PrΓ©fΓ©rences |
|
811 | 813 | label_chronological_order: Dans l'ordre chronologique |
|
812 | 814 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
813 | 815 | label_planning: Planning |
|
814 | 816 | label_incoming_emails: Emails entrants |
|
815 | 817 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
816 | 818 | label_issue_watchers: Observateurs |
|
817 | 819 | label_example: Exemple |
|
818 | 820 | label_display: Affichage |
|
819 | 821 | label_sort: Tri |
|
820 | 822 | label_ascending: Croissant |
|
821 | 823 | label_descending: DΓ©croissant |
|
822 | 824 | label_date_from_to: Du %{start} au %{end} |
|
823 | 825 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
824 | 826 | label_wiki_content_updated: Page wiki mise Γ jour |
|
825 | 827 | label_group_plural: Groupes |
|
826 | 828 | label_group: Groupe |
|
827 | 829 | label_group_new: Nouveau groupe |
|
828 | 830 | label_time_entry_plural: Temps passΓ© |
|
829 | 831 | label_version_sharing_none: Non partagΓ© |
|
830 | 832 | label_version_sharing_descendants: Avec les sous-projets |
|
831 | 833 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
832 | 834 | label_version_sharing_tree: Avec tout l'arbre |
|
833 | 835 | label_version_sharing_system: Avec tous les projets |
|
834 | 836 | label_copy_source: Source |
|
835 | 837 | label_copy_target: Cible |
|
836 | 838 | label_copy_same_as_target: Comme la cible |
|
837 | 839 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
838 | 840 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
839 | 841 | label_api_access_key: Clé d'accès API |
|
840 | 842 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
841 | 843 | label_feeds_access_key: Clé d'accès Atom |
|
842 | 844 | label_missing_api_access_key: Clé d'accès API manquante |
|
843 | 845 | label_missing_feeds_access_key: Clé d'accès Atom manquante |
|
844 | 846 | label_close_versions: Fermer les versions terminΓ©es |
|
845 | 847 | label_revision_id: RΓ©vision %{value} |
|
846 | 848 | label_profile: Profil |
|
847 | 849 | label_subtask_plural: Sous-tΓ’ches |
|
848 | 850 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
849 | 851 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
850 | 852 | label_user_search: "Rechercher un utilisateur :" |
|
851 | 853 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande |
|
852 | 854 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur |
|
853 | 855 | label_issues_visibility_all: Toutes les demandes |
|
854 | 856 | label_issues_visibility_public: Toutes les demandes non privΓ©es |
|
855 | 857 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur |
|
856 | 858 | label_export_options: Options d'exportation %{export_format} |
|
857 | 859 | label_copy_attachments: Copier les fichiers |
|
858 | 860 | label_copy_subtasks: Copier les sous-tΓ’ches |
|
859 | 861 | label_item_position: "%{position} sur %{count}" |
|
860 | 862 | label_completed_versions: Versions passΓ©es |
|
861 | 863 | label_session_expiration: Expiration des sessions |
|
862 | 864 | label_show_closed_projects: Voir les projets fermΓ©s |
|
863 | 865 | label_status_transitions: Changements de statut |
|
864 | 866 | label_fields_permissions: Permissions sur les champs |
|
865 | 867 | label_readonly: Lecture |
|
866 | 868 | label_required: Obligatoire |
|
867 | 869 | label_hidden: CachΓ© |
|
868 | 870 | label_attribute_of_project: "%{name} du projet" |
|
869 | 871 | label_attribute_of_issue: "%{name} de la demande" |
|
870 | 872 | label_attribute_of_author: "%{name} de l'auteur" |
|
871 | 873 | label_attribute_of_assigned_to: "%{name} de l'assignΓ©" |
|
872 | 874 | label_attribute_of_user: "%{name} de l'utilisateur" |
|
873 | 875 | label_attribute_of_fixed_version: "%{name} de la version cible" |
|
874 | 876 | label_cross_project_descendants: Avec les sous-projets |
|
875 | 877 | label_cross_project_tree: Avec tout l'arbre |
|
876 | 878 | label_cross_project_hierarchy: Avec toute la hiΓ©rarchie |
|
877 | 879 | label_cross_project_system: Avec tous les projets |
|
878 | 880 | label_gantt_progress_line: Ligne de progression |
|
879 | 881 | label_visibility_private: par moi uniquement |
|
880 | 882 | label_visibility_roles: par ces roles uniquement |
|
881 | 883 | label_visibility_public: par tout le monde |
|
882 | 884 | label_link: Lien |
|
883 | 885 | label_only: seulement |
|
884 | 886 | label_drop_down_list: liste dΓ©roulante |
|
885 | 887 | label_checkboxes: cases Γ cocher |
|
886 | 888 | label_link_values_to: Lier les valeurs vers l'URL |
|
887 | 889 | |
|
888 | 890 | button_login: Connexion |
|
889 | 891 | button_submit: Soumettre |
|
890 | 892 | button_save: Sauvegarder |
|
891 | 893 | button_check_all: Tout cocher |
|
892 | 894 | button_uncheck_all: Tout dΓ©cocher |
|
893 | 895 | button_collapse_all: Plier tout |
|
894 | 896 | button_expand_all: DΓ©plier tout |
|
895 | 897 | button_delete: Supprimer |
|
896 | 898 | button_create: CrΓ©er |
|
897 | 899 | button_create_and_continue: CrΓ©er et continuer |
|
898 | 900 | button_test: Tester |
|
899 | 901 | button_edit: Modifier |
|
900 | 902 | button_add: Ajouter |
|
901 | 903 | button_change: Changer |
|
902 | 904 | button_apply: Appliquer |
|
903 | 905 | button_clear: Effacer |
|
904 | 906 | button_lock: Verrouiller |
|
905 | 907 | button_unlock: DΓ©verrouiller |
|
906 | 908 | button_download: TΓ©lΓ©charger |
|
907 | 909 | button_list: Lister |
|
908 | 910 | button_view: Voir |
|
909 | 911 | button_move: DΓ©placer |
|
910 | 912 | button_move_and_follow: DΓ©placer et suivre |
|
911 | 913 | button_back: Retour |
|
912 | 914 | button_cancel: Annuler |
|
913 | 915 | button_activate: Activer |
|
914 | 916 | button_sort: Trier |
|
915 | 917 | button_log_time: Saisir temps |
|
916 | 918 | button_rollback: Revenir Γ cette version |
|
917 | 919 | button_watch: Surveiller |
|
918 | 920 | button_unwatch: Ne plus surveiller |
|
919 | 921 | button_reply: RΓ©pondre |
|
920 | 922 | button_archive: Archiver |
|
921 | 923 | button_unarchive: DΓ©sarchiver |
|
922 | 924 | button_reset: RΓ©initialiser |
|
923 | 925 | button_rename: Renommer |
|
924 | 926 | button_change_password: Changer de mot de passe |
|
925 | 927 | button_copy: Copier |
|
926 | 928 | button_copy_and_follow: Copier et suivre |
|
927 | 929 | button_annotate: Annoter |
|
928 | 930 | button_update: Mettre Γ jour |
|
929 | 931 | button_configure: Configurer |
|
930 | 932 | button_quote: Citer |
|
931 | 933 | button_duplicate: Dupliquer |
|
932 | 934 | button_show: Afficher |
|
933 | 935 | button_hide: Cacher |
|
934 | 936 | button_edit_section: Modifier cette section |
|
935 | 937 | button_export: Exporter |
|
936 | 938 | button_delete_my_account: Supprimer mon compte |
|
937 | 939 | button_close: Fermer |
|
938 | 940 | button_reopen: RΓ©ouvrir |
|
939 | 941 | |
|
940 | 942 | status_active: actif |
|
941 | 943 | status_registered: enregistrΓ© |
|
942 | 944 | status_locked: verrouillΓ© |
|
943 | 945 | |
|
944 | 946 | project_status_active: actif |
|
945 | 947 | project_status_closed: fermΓ© |
|
946 | 948 | project_status_archived: archivΓ© |
|
947 | 949 | |
|
948 | 950 | version_status_open: ouvert |
|
949 | 951 | version_status_locked: verrouillΓ© |
|
950 | 952 | version_status_closed: fermΓ© |
|
951 | 953 | |
|
952 | 954 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
953 | 955 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
954 | 956 | text_min_max_length_info: 0 pour aucune restriction |
|
955 | 957 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
956 | 958 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." |
|
957 | 959 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
958 | 960 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
959 | 961 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
960 | 962 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
961 | 963 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
962 | 964 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisΓ©s, doit commencer par une minuscule.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
|
963 | 965 | text_caracters_maximum: "%{count} caractères maximum." |
|
964 | 966 | text_caracters_minimum: "%{count} caractères minimum." |
|
965 | 967 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
966 | 968 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
967 | 969 | text_unallowed_characters: Caractères non autorisés |
|
968 | 970 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
969 | 971 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
970 | 972 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
971 | 973 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." |
|
972 | 974 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." |
|
973 | 975 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
974 | 976 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" |
|
975 | 977 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
976 | 978 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
977 | 979 | text_user_mail_option: "Pour les projets non sΓ©lectionnΓ©s, vous recevrez seulement des notifications pour ce que vous surveillez ou Γ quoi vous participez (exemple: demandes dont vous Γͺtes l'auteur ou la personne assignΓ©e)." |
|
978 | 980 | text_no_configuration_data: "Les rΓ΄les, trackers, statuts et le workflow ne sont pas encore paramΓ©trΓ©s.\nIl est vivement recommandΓ© de charger le paramΓ©trage par defaut. Vous pourrez le modifier une fois chargΓ©." |
|
979 | 981 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
980 | 982 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." |
|
981 | 983 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" |
|
982 | 984 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' |
|
983 | 985 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." |
|
984 | 986 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
985 | 987 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
986 | 988 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
987 | 989 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
988 | 990 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
989 | 991 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
990 | 992 | text_destroy_time_entries: Supprimer les heures |
|
991 | 993 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
992 | 994 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
993 | 995 | text_user_wrote: "%{value} a Γ©crit :" |
|
994 | 996 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." |
|
995 | 997 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
996 | 998 | text_email_delivery_not_configured: "L'envoi de mail n'est pas configurΓ©, les notifications sont dΓ©sactivΓ©es.\nConfigurez votre serveur SMTP dans config/configuration.yml et redΓ©marrez l'application pour les activer." |
|
997 | 999 | text_repository_usernames_mapping: "Vous pouvez sΓ©lectionner ou modifier l'utilisateur Redmine associΓ© Γ chaque nom d'utilisateur figurant dans l'historique du dΓ©pΓ΄t.\nLes utilisateurs avec le mΓͺme identifiant ou la mΓͺme adresse mail seront automatiquement associΓ©s." |
|
998 | 1000 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
999 | 1001 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
1000 | 1002 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
1001 | 1003 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
1002 | 1004 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
1003 | 1005 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
1004 | 1006 | text_own_membership_delete_confirmation: "Vous allez supprimer tout ou partie de vos permissions sur ce projet et ne serez peut-Γͺtre plus autorisΓ© Γ modifier ce projet.\nEtes-vous sΓ»r de vouloir continuer ?" |
|
1005 | 1007 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." |
|
1006 | 1008 | text_issue_conflict_resolution_overwrite: "Appliquer quand mΓͺme ma mise Γ jour (les notes prΓ©cΓ©dentes seront conservΓ©es mais des changements pourront Γͺtre Γ©crasΓ©s)" |
|
1007 | 1009 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" |
|
1008 | 1010 | text_issue_conflict_resolution_cancel: "Annuler ma mise Γ jour et rΓ©afficher %{link}" |
|
1009 | 1011 | text_account_destroy_confirmation: "Γtes-vous sΓ»r de vouloir continuer ?\nVotre compte sera dΓ©finitivement supprimΓ©, sans aucune possibilitΓ© de le rΓ©activer." |
|
1010 | 1012 | text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre." |
|
1011 | 1013 | text_project_closed: Ce projet est fermΓ© et accessible en lecture seule. |
|
1012 | 1014 | text_turning_multiple_off: "Si vous dΓ©sactivez les valeurs multiples, les valeurs multiples seront supprimΓ©es pour n'en conserver qu'une par objet." |
|
1013 | 1015 | |
|
1014 | 1016 | default_role_manager: "Manager " |
|
1015 | 1017 | default_role_developer: "DΓ©veloppeur " |
|
1016 | 1018 | default_role_reporter: "Rapporteur " |
|
1017 | 1019 | default_tracker_bug: Anomalie |
|
1018 | 1020 | default_tracker_feature: Evolution |
|
1019 | 1021 | default_tracker_support: Assistance |
|
1020 | 1022 | default_issue_status_new: Nouveau |
|
1021 | 1023 | default_issue_status_in_progress: En cours |
|
1022 | 1024 | default_issue_status_resolved: RΓ©solu |
|
1023 | 1025 | default_issue_status_feedback: Commentaire |
|
1024 | 1026 | default_issue_status_closed: FermΓ© |
|
1025 | 1027 | default_issue_status_rejected: RejetΓ© |
|
1026 | 1028 | default_doc_category_user: Documentation utilisateur |
|
1027 | 1029 | default_doc_category_tech: Documentation technique |
|
1028 | 1030 | default_priority_low: Bas |
|
1029 | 1031 | default_priority_normal: Normal |
|
1030 | 1032 | default_priority_high: Haut |
|
1031 | 1033 | default_priority_urgent: Urgent |
|
1032 | 1034 | default_priority_immediate: ImmΓ©diat |
|
1033 | 1035 | default_activity_design: Conception |
|
1034 | 1036 | default_activity_development: DΓ©veloppement |
|
1035 | 1037 | |
|
1036 | 1038 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
1037 | 1039 | enumeration_doc_categories: CatΓ©gories des documents |
|
1038 | 1040 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
1039 | 1041 | label_greater_or_equal: ">=" |
|
1040 | 1042 | label_less_or_equal: "<=" |
|
1041 | 1043 | label_between: entre |
|
1042 | 1044 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
1043 | 1045 | label_tag: Tag |
|
1044 | 1046 | label_branch: Branche |
|
1045 | 1047 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
1046 | 1048 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
1047 | 1049 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" |
|
1048 | 1050 | text_journal_changed_no_detail: "%{label} mis Γ jour" |
|
1049 | 1051 | text_journal_set_to: "%{label} mis Γ %{value}" |
|
1050 | 1052 | text_journal_deleted: "%{label} %{old} supprimΓ©" |
|
1051 | 1053 | text_journal_added: "%{label} %{value} ajoutΓ©" |
|
1052 | 1054 | enumeration_system_activity: Activité système |
|
1053 | 1055 | label_board_sticky: Sticky |
|
1054 | 1056 | label_board_locked: VerrouillΓ© |
|
1055 | 1057 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
1056 | 1058 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
1057 | 1059 | error_unable_to_connect: Connexion impossible (%{value}) |
|
1058 | 1060 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
1059 | 1061 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
1060 | 1062 | field_principal: Principal |
|
1061 | 1063 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
1062 | 1064 | text_zoom_out: Zoom arrière |
|
1063 | 1065 | text_zoom_in: Zoom avant |
|
1064 | 1066 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
1065 | 1067 | label_overall_spent_time: Temps passΓ© global |
|
1066 | 1068 | field_time_entries: Temps passΓ© |
|
1067 | 1069 | project_module_gantt: Gantt |
|
1068 | 1070 | project_module_calendar: Calendrier |
|
1069 | 1071 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" |
|
1070 | 1072 | field_text: Champ texte |
|
1071 | 1073 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
1072 | 1074 | setting_default_notification_option: Option de notification par dΓ©faut |
|
1073 | 1075 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
1074 | 1076 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
1075 | 1077 | label_user_mail_option_none: Aucune notification |
|
1076 | 1078 | field_member_of_group: Groupe de l'assignΓ© |
|
1077 | 1079 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
1078 | 1080 | setting_emails_header: En-tΓͺte des emails |
|
1079 | 1081 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s |
|
1080 | 1082 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" |
|
1081 | 1083 | field_scm_path_encoding: Encodage des chemins |
|
1082 | 1084 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" |
|
1083 | 1085 | field_path_to_repository: Chemin du dΓ©pΓ΄t |
|
1084 | 1086 | field_root_directory: RΓ©pertoire racine |
|
1085 | 1087 | field_cvs_module: Module |
|
1086 | 1088 | field_cvsroot: CVSROOT |
|
1087 | 1089 | text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" |
|
1088 | 1090 | text_scm_command: Commande |
|
1089 | 1091 | text_scm_command_version: Version |
|
1090 | 1092 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires |
|
1091 | 1093 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. |
|
1092 | 1094 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. |
|
1093 | 1095 | label_diff: diff |
|
1094 | 1096 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1095 | 1097 | description_query_sort_criteria_direction: Ordre de tri |
|
1096 | 1098 | description_project_scope: Périmètre de recherche |
|
1097 | 1099 | description_filter: Filtre |
|
1098 | 1100 | description_user_mail_notification: Option de notification |
|
1099 | 1101 | description_date_from: Date de dΓ©but |
|
1100 | 1102 | description_message_content: Contenu du message |
|
1101 | 1103 | description_available_columns: Colonnes disponibles |
|
1102 | 1104 | description_all_columns: Toutes les colonnes |
|
1103 | 1105 | description_date_range_interval: Choisir une pΓ©riode |
|
1104 | 1106 | description_issue_category_reassign: Choisir une catΓ©gorie |
|
1105 | 1107 | description_search: Champ de recherche |
|
1106 | 1108 | description_notes: Notes |
|
1107 | 1109 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie |
|
1108 | 1110 | description_choose_project: Projets |
|
1109 | 1111 | description_date_to: Date de fin |
|
1110 | 1112 | description_query_sort_criteria_attribute: Critère de tri |
|
1111 | 1113 | description_wiki_subpages_reassign: Choisir une nouvelle page parent |
|
1112 | 1114 | description_selected_columns: Colonnes sΓ©lectionnΓ©es |
|
1113 | 1115 | label_parent_revision: Parent |
|
1114 | 1116 | label_child_revision: Enfant |
|
1115 | 1117 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. |
|
1116 | 1118 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts |
|
1117 | 1119 | label_search_for_watchers: Rechercher des observateurs |
|
1118 | 1120 | text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
|
1119 | 1121 | text_convert_available: Binaire convert de ImageMagick prΓ©sent (optionel) |
@@ -1,230 +1,234 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | |
|
19 | 19 | # DO NOT MODIFY THIS FILE !!! |
|
20 | 20 | # Settings can be defined through the application in Admin -> Settings |
|
21 | 21 | |
|
22 | 22 | app_title: |
|
23 | 23 | default: Redmine |
|
24 | 24 | app_subtitle: |
|
25 | 25 | default: Project management |
|
26 | 26 | welcome_text: |
|
27 | 27 | default: |
|
28 | 28 | login_required: |
|
29 | 29 | default: 0 |
|
30 | 30 | self_registration: |
|
31 | 31 | default: '2' |
|
32 | 32 | lost_password: |
|
33 | 33 | default: 1 |
|
34 | 34 | unsubscribe: |
|
35 | 35 | default: 1 |
|
36 | 36 | password_min_length: |
|
37 | 37 | format: int |
|
38 | 38 | default: 8 |
|
39 | 39 | # Maximum lifetime of user sessions in minutes |
|
40 | 40 | session_lifetime: |
|
41 | 41 | format: int |
|
42 | 42 | default: 0 |
|
43 | 43 | # User session timeout in minutes |
|
44 | 44 | session_timeout: |
|
45 | 45 | format: int |
|
46 | 46 | default: 0 |
|
47 | 47 | attachment_max_size: |
|
48 | 48 | format: int |
|
49 | 49 | default: 5120 |
|
50 | 50 | issues_export_limit: |
|
51 | 51 | format: int |
|
52 | 52 | default: 500 |
|
53 | 53 | activity_days_default: |
|
54 | 54 | format: int |
|
55 | 55 | default: 30 |
|
56 | 56 | per_page_options: |
|
57 | 57 | default: '25,50,100' |
|
58 | 58 | mail_from: |
|
59 | 59 | default: redmine@example.net |
|
60 | 60 | bcc_recipients: |
|
61 | 61 | default: 1 |
|
62 | 62 | plain_text_mail: |
|
63 | 63 | default: 0 |
|
64 | 64 | text_formatting: |
|
65 | 65 | default: textile |
|
66 | 66 | cache_formatted_text: |
|
67 | 67 | default: 0 |
|
68 | 68 | wiki_compression: |
|
69 | 69 | default: "" |
|
70 | 70 | default_language: |
|
71 | 71 | default: en |
|
72 | force_default_language_for_anonymous: | |
|
73 | default: 0 | |
|
74 | force_default_language_for_loggedin: | |
|
75 | default: 0 | |
|
72 | 76 | host_name: |
|
73 | 77 | default: localhost:3000 |
|
74 | 78 | protocol: |
|
75 | 79 | default: http |
|
76 | 80 | feeds_limit: |
|
77 | 81 | format: int |
|
78 | 82 | default: 15 |
|
79 | 83 | gantt_items_limit: |
|
80 | 84 | format: int |
|
81 | 85 | default: 500 |
|
82 | 86 | # Maximum size of files that can be displayed |
|
83 | 87 | # inline through the file viewer (in KB) |
|
84 | 88 | file_max_size_displayed: |
|
85 | 89 | format: int |
|
86 | 90 | default: 512 |
|
87 | 91 | diff_max_lines_displayed: |
|
88 | 92 | format: int |
|
89 | 93 | default: 1500 |
|
90 | 94 | enabled_scm: |
|
91 | 95 | serialized: true |
|
92 | 96 | default: |
|
93 | 97 | - Subversion |
|
94 | 98 | - Darcs |
|
95 | 99 | - Mercurial |
|
96 | 100 | - Cvs |
|
97 | 101 | - Bazaar |
|
98 | 102 | - Git |
|
99 | 103 | autofetch_changesets: |
|
100 | 104 | default: 1 |
|
101 | 105 | sys_api_enabled: |
|
102 | 106 | default: 0 |
|
103 | 107 | sys_api_key: |
|
104 | 108 | default: '' |
|
105 | 109 | commit_cross_project_ref: |
|
106 | 110 | default: 0 |
|
107 | 111 | commit_ref_keywords: |
|
108 | 112 | default: 'refs,references,IssueID' |
|
109 | 113 | commit_update_keywords: |
|
110 | 114 | serialized: true |
|
111 | 115 | default: [] |
|
112 | 116 | commit_logtime_enabled: |
|
113 | 117 | default: 0 |
|
114 | 118 | commit_logtime_activity_id: |
|
115 | 119 | format: int |
|
116 | 120 | default: 0 |
|
117 | 121 | # autologin duration in days |
|
118 | 122 | # 0 means autologin is disabled |
|
119 | 123 | autologin: |
|
120 | 124 | format: int |
|
121 | 125 | default: 0 |
|
122 | 126 | # date format |
|
123 | 127 | date_format: |
|
124 | 128 | default: '' |
|
125 | 129 | time_format: |
|
126 | 130 | default: '' |
|
127 | 131 | user_format: |
|
128 | 132 | default: :firstname_lastname |
|
129 | 133 | format: symbol |
|
130 | 134 | cross_project_issue_relations: |
|
131 | 135 | default: 0 |
|
132 | 136 | # Enables subtasks to be in other projects |
|
133 | 137 | cross_project_subtasks: |
|
134 | 138 | default: 'tree' |
|
135 | 139 | issue_group_assignment: |
|
136 | 140 | default: 0 |
|
137 | 141 | default_issue_start_date_to_creation_date: |
|
138 | 142 | default: 1 |
|
139 | 143 | notified_events: |
|
140 | 144 | serialized: true |
|
141 | 145 | default: |
|
142 | 146 | - issue_added |
|
143 | 147 | - issue_updated |
|
144 | 148 | mail_handler_body_delimiters: |
|
145 | 149 | default: '' |
|
146 | 150 | mail_handler_excluded_filenames: |
|
147 | 151 | default: '' |
|
148 | 152 | mail_handler_api_enabled: |
|
149 | 153 | default: 0 |
|
150 | 154 | mail_handler_api_key: |
|
151 | 155 | default: |
|
152 | 156 | issue_list_default_columns: |
|
153 | 157 | serialized: true |
|
154 | 158 | default: |
|
155 | 159 | - tracker |
|
156 | 160 | - status |
|
157 | 161 | - priority |
|
158 | 162 | - subject |
|
159 | 163 | - assigned_to |
|
160 | 164 | - updated_on |
|
161 | 165 | display_subprojects_issues: |
|
162 | 166 | default: 1 |
|
163 | 167 | issue_done_ratio: |
|
164 | 168 | default: 'issue_field' |
|
165 | 169 | default_projects_public: |
|
166 | 170 | default: 1 |
|
167 | 171 | default_projects_modules: |
|
168 | 172 | serialized: true |
|
169 | 173 | default: |
|
170 | 174 | - issue_tracking |
|
171 | 175 | - time_tracking |
|
172 | 176 | - news |
|
173 | 177 | - documents |
|
174 | 178 | - files |
|
175 | 179 | - wiki |
|
176 | 180 | - repository |
|
177 | 181 | - boards |
|
178 | 182 | - calendar |
|
179 | 183 | - gantt |
|
180 | 184 | default_projects_tracker_ids: |
|
181 | 185 | serialized: true |
|
182 | 186 | default: |
|
183 | 187 | # Role given to a non-admin user who creates a project |
|
184 | 188 | new_project_user_role_id: |
|
185 | 189 | format: int |
|
186 | 190 | default: '' |
|
187 | 191 | sequential_project_identifiers: |
|
188 | 192 | default: 0 |
|
189 | 193 | # encodings used to convert repository files content to UTF-8 |
|
190 | 194 | # multiple values accepted, comma separated |
|
191 | 195 | repositories_encodings: |
|
192 | 196 | default: '' |
|
193 | 197 | # encoding used to convert commit logs to UTF-8 |
|
194 | 198 | commit_logs_encoding: |
|
195 | 199 | default: 'UTF-8' |
|
196 | 200 | repository_log_display_limit: |
|
197 | 201 | format: int |
|
198 | 202 | default: 100 |
|
199 | 203 | ui_theme: |
|
200 | 204 | default: '' |
|
201 | 205 | emails_footer: |
|
202 | 206 | default: |- |
|
203 | 207 | You have received this notification because you have either subscribed to it, or are involved in it. |
|
204 | 208 | To change your notification preferences, please click here: http://hostname/my/account |
|
205 | 209 | gravatar_enabled: |
|
206 | 210 | default: 0 |
|
207 | 211 | openid: |
|
208 | 212 | default: 0 |
|
209 | 213 | gravatar_default: |
|
210 | 214 | default: '' |
|
211 | 215 | start_of_week: |
|
212 | 216 | default: '' |
|
213 | 217 | rest_api_enabled: |
|
214 | 218 | default: 0 |
|
215 | 219 | jsonp_enabled: |
|
216 | 220 | default: 0 |
|
217 | 221 | default_notification_option: |
|
218 | 222 | default: 'only_my_events' |
|
219 | 223 | emails_header: |
|
220 | 224 | default: '' |
|
221 | 225 | thumbnails_enabled: |
|
222 | 226 | default: 0 |
|
223 | 227 | thumbnails_size: |
|
224 | 228 | format: int |
|
225 | 229 | default: 100 |
|
226 | 230 | non_working_week_days: |
|
227 | 231 | serialized: true |
|
228 | 232 | default: |
|
229 | 233 | - '6' |
|
230 | 234 | - '7' |
@@ -1,1187 +1,1187 | |||
|
1 | 1 | html {overflow-y:scroll;} |
|
2 | 2 | body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; } |
|
3 | 3 | |
|
4 | 4 | h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;} |
|
5 | 5 | #content h1, h2, h3, h4 {color: #555;} |
|
6 | 6 | h2, .wiki h1 {font-size: 20px;} |
|
7 | 7 | h3, .wiki h2 {font-size: 16px;} |
|
8 | 8 | h4, .wiki h3 {font-size: 13px;} |
|
9 | 9 | h4 {border-bottom: 1px dotted #bbb;} |
|
10 | 10 | |
|
11 | 11 | /***** Layout *****/ |
|
12 | 12 | #wrapper {background: white;} |
|
13 | 13 | |
|
14 | 14 | #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;} |
|
15 | 15 | #top-menu ul {margin: 0; padding: 0;} |
|
16 | 16 | #top-menu li { |
|
17 | 17 | float:left; |
|
18 | 18 | list-style-type:none; |
|
19 | 19 | margin: 0px 0px 0px 0px; |
|
20 | 20 | padding: 0px 0px 0px 0px; |
|
21 | 21 | white-space:nowrap; |
|
22 | 22 | } |
|
23 | 23 | #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;} |
|
24 | 24 | #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; } |
|
25 | 25 | |
|
26 | 26 | #account {float:right;} |
|
27 | 27 | |
|
28 | 28 | #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;} |
|
29 | 29 | #header a {color:#f8f8f8;} |
|
30 | 30 | #header h1 a.ancestor { font-size: 80%; } |
|
31 | 31 | #quick-search {float:right;} |
|
32 | 32 | |
|
33 | 33 | #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;} |
|
34 | 34 | #main-menu ul {margin: 0; padding: 0;} |
|
35 | 35 | #main-menu li { |
|
36 | 36 | float:left; |
|
37 | 37 | list-style-type:none; |
|
38 | 38 | margin: 0px 2px 0px 0px; |
|
39 | 39 | padding: 0px 0px 0px 0px; |
|
40 | 40 | white-space:nowrap; |
|
41 | 41 | } |
|
42 | 42 | #main-menu li a { |
|
43 | 43 | display: block; |
|
44 | 44 | color: #fff; |
|
45 | 45 | text-decoration: none; |
|
46 | 46 | font-weight: bold; |
|
47 | 47 | margin: 0; |
|
48 | 48 | padding: 4px 10px 4px 10px; |
|
49 | 49 | } |
|
50 | 50 | #main-menu li a:hover {background:#759FCF; color:#fff;} |
|
51 | 51 | #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} |
|
52 | 52 | |
|
53 | 53 | #admin-menu ul {margin: 0; padding: 0;} |
|
54 | 54 | #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;} |
|
55 | 55 | |
|
56 | 56 | #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;} |
|
57 | 57 | #admin-menu a.projects { background-image: url(../images/projects.png); } |
|
58 | 58 | #admin-menu a.users { background-image: url(../images/user.png); } |
|
59 | 59 | #admin-menu a.groups { background-image: url(../images/group.png); } |
|
60 | 60 | #admin-menu a.roles { background-image: url(../images/database_key.png); } |
|
61 | 61 | #admin-menu a.trackers { background-image: url(../images/ticket.png); } |
|
62 | 62 | #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); } |
|
63 | 63 | #admin-menu a.workflows { background-image: url(../images/ticket_go.png); } |
|
64 | 64 | #admin-menu a.custom_fields { background-image: url(../images/textfield.png); } |
|
65 | 65 | #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); } |
|
66 | 66 | #admin-menu a.settings { background-image: url(../images/changeset.png); } |
|
67 | 67 | #admin-menu a.plugins { background-image: url(../images/plugin.png); } |
|
68 | 68 | #admin-menu a.info { background-image: url(../images/help.png); } |
|
69 | 69 | #admin-menu a.server_authentication { background-image: url(../images/server_key.png); } |
|
70 | 70 | |
|
71 | 71 | #main {background-color:#EEEEEE;} |
|
72 | 72 | |
|
73 | 73 | #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;} |
|
74 | 74 | * html #sidebar{ width: 22%; } |
|
75 | 75 | #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; } |
|
76 | 76 | #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } |
|
77 | 77 | * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } |
|
78 | 78 | #sidebar .contextual { margin-right: 1em; } |
|
79 | 79 | #sidebar ul {margin: 0; padding: 0;} |
|
80 | 80 | #sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} |
|
81 | 81 | |
|
82 | 82 | #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; } |
|
83 | 83 | * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} |
|
84 | 84 | html>body #content { min-height: 600px; } |
|
85 | 85 | * html body #content { height: 600px; } /* IE */ |
|
86 | 86 | |
|
87 | 87 | #main.nosidebar #sidebar{ display: none; } |
|
88 | 88 | #main.nosidebar #content{ width: auto; border-right: 0; } |
|
89 | 89 | |
|
90 | 90 | #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;} |
|
91 | 91 | |
|
92 | 92 | #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; } |
|
93 | 93 | #login-form table td {padding: 6px;} |
|
94 | 94 | #login-form label {font-weight: bold;} |
|
95 | 95 | #login-form input#username, #login-form input#password { width: 300px; } |
|
96 | 96 | |
|
97 | 97 | div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;} |
|
98 | 98 | div.modal h3.title {display:none;} |
|
99 | 99 | div.modal p.buttons {text-align:right; margin-bottom:0;} |
|
100 | 100 | |
|
101 | 101 | input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; } |
|
102 | 102 | |
|
103 | 103 | .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
|
104 | 104 | |
|
105 | 105 | /***** Links *****/ |
|
106 | 106 | a, a:link, a:visited{ color: #169; text-decoration: none; } |
|
107 | 107 | a:hover, a:active{ color: #c61a1a; text-decoration: underline;} |
|
108 | 108 | a img{ border: 0; } |
|
109 | 109 | |
|
110 | 110 | a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; } |
|
111 | 111 | a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; } |
|
112 | 112 | a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;} |
|
113 | 113 | |
|
114 | 114 | #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;} |
|
115 | 115 | #sidebar a.selected:hover {text-decoration:none;} |
|
116 | 116 | #admin-menu a {line-height:1.7em;} |
|
117 | 117 | #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;} |
|
118 | 118 | |
|
119 | 119 | a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;} |
|
120 | 120 | a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;} |
|
121 | 121 | |
|
122 | 122 | a#toggle-completed-versions {color:#999;} |
|
123 | 123 | /***** Tables *****/ |
|
124 | 124 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
125 | 125 | table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } |
|
126 | 126 | table.list td {text-align:center; vertical-align:top; padding-right:10px;} |
|
127 | 127 | table.list td.id { width: 2%; text-align: center;} |
|
128 | 128 | table.list td.name, table.list td.description, table.list td.subject, table.list td.comments {text-align: left;} |
|
129 | 129 | table.list td.tick {width:15%} |
|
130 | 130 | table.list td.checkbox { width: 15px; padding: 2px 0 0 0; } |
|
131 | 131 | table.list td.checkbox input {padding:0px;} |
|
132 | 132 | table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; } |
|
133 | 133 | table.list td.buttons a { padding-right: 0.6em; } |
|
134 | 134 | table.list td.reorder {width:15%; white-space:nowrap; text-align:center; } |
|
135 | 135 | table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } |
|
136 | 136 | |
|
137 | 137 | tr.project td.name a { white-space:nowrap; } |
|
138 | 138 | tr.project.closed, tr.project.archived { color: #aaa; } |
|
139 | 139 | tr.project.closed a, tr.project.archived a { color: #aaa; } |
|
140 | 140 | |
|
141 | 141 | tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;} |
|
142 | 142 | tr.project.idnt-1 td.name {padding-left: 0.5em;} |
|
143 | 143 | tr.project.idnt-2 td.name {padding-left: 2em;} |
|
144 | 144 | tr.project.idnt-3 td.name {padding-left: 3.5em;} |
|
145 | 145 | tr.project.idnt-4 td.name {padding-left: 5em;} |
|
146 | 146 | tr.project.idnt-5 td.name {padding-left: 6.5em;} |
|
147 | 147 | tr.project.idnt-6 td.name {padding-left: 8em;} |
|
148 | 148 | tr.project.idnt-7 td.name {padding-left: 9.5em;} |
|
149 | 149 | tr.project.idnt-8 td.name {padding-left: 11em;} |
|
150 | 150 | tr.project.idnt-9 td.name {padding-left: 12.5em;} |
|
151 | 151 | |
|
152 | 152 | tr.issue { text-align: center; white-space: nowrap; } |
|
153 | 153 | tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.relations { white-space: normal; } |
|
154 | 154 | tr.issue td.relations { text-align: left; } |
|
155 | 155 | tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;} |
|
156 | 156 | tr.issue td.relations span {white-space: nowrap;} |
|
157 | 157 | table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;} |
|
158 | 158 | table.issues td.description pre {white-space:normal;} |
|
159 | 159 | |
|
160 | 160 | tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;} |
|
161 | 161 | tr.issue.idnt-1 td.subject {padding-left: 0.5em;} |
|
162 | 162 | tr.issue.idnt-2 td.subject {padding-left: 2em;} |
|
163 | 163 | tr.issue.idnt-3 td.subject {padding-left: 3.5em;} |
|
164 | 164 | tr.issue.idnt-4 td.subject {padding-left: 5em;} |
|
165 | 165 | tr.issue.idnt-5 td.subject {padding-left: 6.5em;} |
|
166 | 166 | tr.issue.idnt-6 td.subject {padding-left: 8em;} |
|
167 | 167 | tr.issue.idnt-7 td.subject {padding-left: 9.5em;} |
|
168 | 168 | tr.issue.idnt-8 td.subject {padding-left: 11em;} |
|
169 | 169 | tr.issue.idnt-9 td.subject {padding-left: 12.5em;} |
|
170 | 170 | |
|
171 | 171 | table.issue-report {table-layout:fixed;} |
|
172 | 172 | |
|
173 | 173 | tr.entry { border: 1px solid #f8f8f8; } |
|
174 | 174 | tr.entry td { white-space: nowrap; } |
|
175 | 175 | tr.entry td.filename {width:30%; text-align:left;} |
|
176 | 176 | tr.entry td.filename_no_report {width:70%; text-align:left;} |
|
177 | 177 | tr.entry td.size { text-align: right; font-size: 90%; } |
|
178 | 178 | tr.entry td.revision, tr.entry td.author { text-align: center; } |
|
179 | 179 | tr.entry td.age { text-align: right; } |
|
180 | 180 | tr.entry.file td.filename a { margin-left: 16px; } |
|
181 | 181 | tr.entry.file td.filename_no_report a { margin-left: 16px; } |
|
182 | 182 | |
|
183 | 183 | tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;} |
|
184 | 184 | tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);} |
|
185 | 185 | |
|
186 | 186 | tr.changeset { height: 20px } |
|
187 | 187 | tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; } |
|
188 | 188 | tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; } |
|
189 | 189 | tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;} |
|
190 | 190 | tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;} |
|
191 | 191 | |
|
192 | 192 | table.files tbody th {text-align:left;} |
|
193 | 193 | table.files tr.file td.filename { text-align: left; padding-left: 24px; } |
|
194 | 194 | table.files tr.file td.digest { font-size: 80%; } |
|
195 | 195 | |
|
196 | 196 | table.members td.roles, table.memberships td.roles { width: 45%; } |
|
197 | 197 | |
|
198 | 198 | tr.message { height: 2.6em; } |
|
199 | 199 | tr.message td.subject { padding-left: 20px; } |
|
200 | 200 | tr.message td.created_on { white-space: nowrap; } |
|
201 | 201 | tr.message td.last_message { font-size: 80%; white-space: nowrap; } |
|
202 | 202 | tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; } |
|
203 | 203 | tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; } |
|
204 | 204 | |
|
205 | 205 | tr.version.closed, tr.version.closed a { color: #999; } |
|
206 | 206 | tr.version td.name { padding-left: 20px; } |
|
207 | 207 | tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; } |
|
208 | 208 | tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; } |
|
209 | 209 | |
|
210 | 210 | tr.user td {width:13%;white-space: nowrap;} |
|
211 | 211 | tr.user td.username, tr.user td.firstname, tr.user td.lastname, tr.user td.email {text-align:left;} |
|
212 | 212 | tr.user td.email { width:18%; } |
|
213 | 213 | tr.user.locked, tr.user.registered { color: #aaa; } |
|
214 | 214 | tr.user.locked a, tr.user.registered a { color: #aaa; } |
|
215 | 215 | |
|
216 | 216 | table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;} |
|
217 | 217 | |
|
218 | 218 | tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;} |
|
219 | 219 | |
|
220 | 220 | tr.time-entry { text-align: center; white-space: nowrap; } |
|
221 | 221 | tr.time-entry td.issue, tr.time-entry td.comments { text-align: left; white-space: normal; } |
|
222 | 222 | td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } |
|
223 | 223 | td.hours .hours-dec { font-size: 0.9em; } |
|
224 | 224 | |
|
225 | 225 | table.plugins td { vertical-align: middle; } |
|
226 | 226 | table.plugins td.configure { text-align: right; padding-right: 1em; } |
|
227 | 227 | table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; } |
|
228 | 228 | table.plugins span.description { display: block; font-size: 0.9em; } |
|
229 | 229 | table.plugins span.url { display: block; font-size: 0.9em; } |
|
230 | 230 | |
|
231 | 231 | table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; text-align:left; } |
|
232 | 232 | table.list tbody tr.group span.count {position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;} |
|
233 | 233 | tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;} |
|
234 | 234 | tr.group:hover a.toggle-all { display:inline;} |
|
235 | 235 | a.toggle-all:hover {text-decoration:none;} |
|
236 | 236 | |
|
237 | 237 | table.list tbody tr:hover { background-color:#ffffdd; } |
|
238 | 238 | table.list tbody tr.group:hover { background-color:inherit; } |
|
239 | 239 | table td {padding:2px;} |
|
240 | 240 | table p {margin:0;} |
|
241 | 241 | .odd {background-color:#f6f7f8;} |
|
242 | 242 | .even {background-color: #fff;} |
|
243 | 243 | |
|
244 | 244 | a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; } |
|
245 | 245 | a.sort.asc { background-image: url(../images/sort_asc.png); } |
|
246 | 246 | a.sort.desc { background-image: url(../images/sort_desc.png); } |
|
247 | 247 | |
|
248 | 248 | table.attributes { width: 100% } |
|
249 | 249 | table.attributes th { vertical-align: top; text-align: left; } |
|
250 | 250 | table.attributes td { vertical-align: top; } |
|
251 | 251 | |
|
252 | 252 | table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } |
|
253 | 253 | table.boards td.last-message {text-align:left;font-size:80%;} |
|
254 | 254 | |
|
255 | 255 | table.messages td.last_message {text-align:left;} |
|
256 | 256 | |
|
257 | 257 | table.query-columns { |
|
258 | 258 | border-collapse: collapse; |
|
259 | 259 | border: 0; |
|
260 | 260 | } |
|
261 | 261 | |
|
262 | 262 | table.query-columns td.buttons { |
|
263 | 263 | vertical-align: middle; |
|
264 | 264 | text-align: center; |
|
265 | 265 | } |
|
266 | 266 | |
|
267 | 267 | td.center {text-align:center;} |
|
268 | 268 | |
|
269 | 269 | h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; } |
|
270 | 270 | |
|
271 | 271 | div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; } |
|
272 | 272 | div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; } |
|
273 | 273 | div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; } |
|
274 | 274 | div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; } |
|
275 | 275 | |
|
276 | 276 | #watchers select {width: 95%; display: block;} |
|
277 | 277 | #watchers a.delete {opacity: 0.4; vertical-align: middle;} |
|
278 | 278 | #watchers a.delete:hover {opacity: 1;} |
|
279 | 279 | #watchers img.gravatar {margin: 0 4px 2px 0;} |
|
280 | 280 | |
|
281 | 281 | span#watchers_inputs {overflow:auto; display:block;} |
|
282 | 282 | span.search_for_watchers {display:block;} |
|
283 | 283 | span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;} |
|
284 | 284 | span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; } |
|
285 | 285 | |
|
286 | 286 | |
|
287 | 287 | .highlight { background-color: #FCFD8D;} |
|
288 | 288 | .highlight.token-1 { background-color: #faa;} |
|
289 | 289 | .highlight.token-2 { background-color: #afa;} |
|
290 | 290 | .highlight.token-3 { background-color: #aaf;} |
|
291 | 291 | |
|
292 | 292 | .box{ |
|
293 | 293 | padding:6px; |
|
294 | 294 | margin-bottom: 10px; |
|
295 | 295 | background-color:#f6f6f6; |
|
296 | 296 | color:#505050; |
|
297 | 297 | line-height:1.5em; |
|
298 | 298 | border: 1px solid #e4e4e4; |
|
299 | 299 | } |
|
300 | 300 | |
|
301 | 301 | div.square { |
|
302 | 302 | border: 1px solid #999; |
|
303 | 303 | float: left; |
|
304 | 304 | margin: .3em .4em 0 .4em; |
|
305 | 305 | overflow: hidden; |
|
306 | 306 | width: .6em; height: .6em; |
|
307 | 307 | } |
|
308 | 308 | .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;} |
|
309 | 309 | .contextual input, .contextual select {font-size:0.9em;} |
|
310 | 310 | .message .contextual { margin-top: 0; } |
|
311 | 311 | |
|
312 | 312 | .splitcontent {overflow:auto;} |
|
313 | 313 | .splitcontentleft{float:left; width:49%;} |
|
314 | 314 | .splitcontentright{float:right; width:49%;} |
|
315 | 315 | form {display: inline;} |
|
316 | 316 | input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} |
|
317 | 317 | fieldset {border: 1px solid #e4e4e4; margin:0;} |
|
318 | 318 | legend {color: #484848;} |
|
319 | 319 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} |
|
320 | 320 | blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;} |
|
321 | 321 | blockquote blockquote { margin-left: 0;} |
|
322 | 322 | abbr { border-bottom: 1px dotted; cursor: help; } |
|
323 | 323 | textarea.wiki-edit {width:99%; resize:vertical;} |
|
324 | 324 | li p {margin-top: 0;} |
|
325 | 325 | div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} |
|
326 | 326 | p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;} |
|
327 | 327 | p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; } |
|
328 | 328 | p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; } |
|
329 | 329 | |
|
330 | 330 | div.issue div.subject div div { padding-left: 16px; } |
|
331 | 331 | div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;} |
|
332 | 332 | div.issue div.subject>div>p { margin-top: 0.5em; } |
|
333 | 333 | div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;} |
|
334 | 334 | div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;} |
|
335 | 335 | div.issue .next-prev-links {color:#999;} |
|
336 | 336 | div.issue table.attributes th {width:22%;} |
|
337 | 337 | div.issue table.attributes td {width:28%;} |
|
338 | 338 | |
|
339 | 339 | #issue_tree table.issues, #relations table.issues { border: 0; } |
|
340 | 340 | #issue_tree td.checkbox, #relations td.checkbox {display:none;} |
|
341 | 341 | #relations td.buttons {padding:0;} |
|
342 | 342 | |
|
343 | 343 | fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; } |
|
344 | 344 | fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; } |
|
345 | 345 | fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); } |
|
346 | 346 | |
|
347 | 347 | fieldset#date-range p { margin: 2px 0 2px 0; } |
|
348 | 348 | fieldset#filters table { border-collapse: collapse; } |
|
349 | 349 | fieldset#filters table td { padding: 0; vertical-align: middle; } |
|
350 | 350 | fieldset#filters tr.filter { height: 2.1em; } |
|
351 | 351 | fieldset#filters td.field { width:230px; } |
|
352 | 352 | fieldset#filters td.operator { width:180px; } |
|
353 | 353 | fieldset#filters td.operator select {max-width:170px;} |
|
354 | 354 | fieldset#filters td.values { white-space:nowrap; } |
|
355 | 355 | fieldset#filters td.values select {min-width:130px;} |
|
356 | 356 | fieldset#filters td.values input {height:1em;} |
|
357 | 357 | fieldset#filters td.add-filter { text-align: right; vertical-align: top; } |
|
358 | 358 | |
|
359 | 359 | .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;} |
|
360 | 360 | .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; } |
|
361 | 361 | |
|
362 | 362 | div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;} |
|
363 | 363 | div#issue-changesets div.changeset { padding: 4px;} |
|
364 | 364 | div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; } |
|
365 | 365 | div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} |
|
366 | 366 | |
|
367 | 367 | .journal ul.details img {margin:0 0 -3px 4px;} |
|
368 | 368 | div.journal {overflow:auto;} |
|
369 | 369 | div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;} |
|
370 | 370 | |
|
371 | 371 | div#activity dl, #search-results { margin-left: 2em; } |
|
372 | 372 | div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; } |
|
373 | 373 | div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } |
|
374 | 374 | div#activity dt.me .time { border-bottom: 1px solid #999; } |
|
375 | 375 | div#activity dt .time { color: #777; font-size: 80%; } |
|
376 | 376 | div#activity dd .description, #search-results dd .description { font-style: italic; } |
|
377 | 377 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
|
378 | 378 | div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; } |
|
379 | 379 | div#activity dt.grouped {margin-left:5em;} |
|
380 | 380 | div#activity dd.grouped {margin-left:9em;} |
|
381 | 381 | |
|
382 | 382 | #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; } |
|
383 | 383 | |
|
384 | 384 | div#search-results-counts {float:right;} |
|
385 | 385 | div#search-results-counts ul { margin-top: 0.5em; } |
|
386 | 386 | div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; } |
|
387 | 387 | |
|
388 | 388 | dt.issue { background-image: url(../images/ticket.png); } |
|
389 | 389 | dt.issue-edit { background-image: url(../images/ticket_edit.png); } |
|
390 | 390 | dt.issue-closed { background-image: url(../images/ticket_checked.png); } |
|
391 | 391 | dt.issue-note { background-image: url(../images/ticket_note.png); } |
|
392 | 392 | dt.changeset { background-image: url(../images/changeset.png); } |
|
393 | 393 | dt.news { background-image: url(../images/news.png); } |
|
394 | 394 | dt.message { background-image: url(../images/message.png); } |
|
395 | 395 | dt.reply { background-image: url(../images/comments.png); } |
|
396 | 396 | dt.wiki-page { background-image: url(../images/wiki_edit.png); } |
|
397 | 397 | dt.attachment { background-image: url(../images/attachment.png); } |
|
398 | 398 | dt.document { background-image: url(../images/document.png); } |
|
399 | 399 | dt.project { background-image: url(../images/projects.png); } |
|
400 | 400 | dt.time-entry { background-image: url(../images/time.png); } |
|
401 | 401 | |
|
402 | 402 | #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); } |
|
403 | 403 | |
|
404 | 404 | div#roadmap .related-issues { margin-bottom: 1em; } |
|
405 | 405 | div#roadmap .related-issues td.checkbox { display: none; } |
|
406 | 406 | div#roadmap .wiki h1:first-child { display: none; } |
|
407 | 407 | div#roadmap .wiki h1 { font-size: 120%; } |
|
408 | 408 | div#roadmap .wiki h2 { font-size: 110%; } |
|
409 | 409 | body.controller-versions.action-show div#roadmap .related-issues {width:70%;} |
|
410 | 410 | |
|
411 | 411 | div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; } |
|
412 | 412 | div#version-summary fieldset { margin-bottom: 1em; } |
|
413 | 413 | div#version-summary fieldset.time-tracking table { width:100%; } |
|
414 | 414 | div#version-summary th, div#version-summary td.total-hours { text-align: right; } |
|
415 | 415 | |
|
416 | 416 | table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } |
|
417 | 417 | table#time-report tbody tr.subtotal { font-style: italic; color:#777;} |
|
418 | 418 | table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; } |
|
419 | 419 | table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;} |
|
420 | 420 | table#time-report .hours-dec { font-size: 0.9em; } |
|
421 | 421 | |
|
422 | 422 | div.wiki-page .contextual a {opacity: 0.4} |
|
423 | 423 | div.wiki-page .contextual a:hover {opacity: 1} |
|
424 | 424 | |
|
425 | 425 | form .attributes select { width: 60%; } |
|
426 | 426 | input#issue_subject { width: 99%; } |
|
427 | 427 | select#issue_done_ratio { width: 95px; } |
|
428 | 428 | |
|
429 | 429 | ul.projects {margin:0; padding-left:1em;} |
|
430 | 430 | ul.projects ul {padding-left:1.6em;} |
|
431 | 431 | ul.projects.root {margin:0; padding:0;} |
|
432 | 432 | ul.projects li {list-style-type:none;} |
|
433 | 433 | |
|
434 | 434 | #projects-index ul.projects ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;} |
|
435 | 435 | #projects-index ul.projects li.root {margin-bottom: 1em;} |
|
436 | 436 | #projects-index ul.projects li.child {margin-top: 1em;} |
|
437 | 437 | #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; } |
|
438 | 438 | .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; } |
|
439 | 439 | |
|
440 | 440 | #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;} |
|
441 | 441 | |
|
442 | 442 | #related-issues li img {vertical-align:middle;} |
|
443 | 443 | |
|
444 | 444 | ul.properties {padding:0; font-size: 0.9em; color: #777;} |
|
445 | 445 | ul.properties li {list-style-type:none;} |
|
446 | 446 | ul.properties li span {font-style:italic;} |
|
447 | 447 | |
|
448 | 448 | .total-hours { font-size: 110%; font-weight: bold; } |
|
449 | 449 | .total-hours span.hours-int { font-size: 120%; } |
|
450 | 450 | |
|
451 | 451 | .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;} |
|
452 | 452 | #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; } |
|
453 | 453 | |
|
454 | 454 | #workflow_copy_form select { width: 200px; } |
|
455 | 455 | table.transitions td.enabled {background: #bfb;} |
|
456 | 456 | table.fields_permissions select {font-size:90%} |
|
457 | 457 | table.fields_permissions td.readonly {background:#ddd;} |
|
458 | 458 | table.fields_permissions td.required {background:#d88;} |
|
459 | 459 | |
|
460 | 460 | textarea#custom_field_possible_values {width: 95%; resize:vertical} |
|
461 | 461 | textarea#custom_field_default_value {width: 95%; resize:vertical} |
|
462 | 462 | |
|
463 | 463 | input#content_comments {width: 99%} |
|
464 | 464 | |
|
465 | 465 | p.pagination {margin-top:8px; font-size: 90%} |
|
466 | 466 | |
|
467 | 467 | /***** Tabular forms ******/ |
|
468 | 468 | .tabular p{ |
|
469 | 469 | margin: 0; |
|
470 | 470 | padding: 3px 0 3px 0; |
|
471 | 471 | padding-left: 180px; /* width of left column containing the label elements */ |
|
472 | 472 | min-height: 1.8em; |
|
473 | 473 | clear:left; |
|
474 | 474 | } |
|
475 | 475 | |
|
476 | 476 | html>body .tabular p {overflow:hidden;} |
|
477 | 477 | |
|
478 | 478 | .tabular input, .tabular select {max-width:95%} |
|
479 | 479 | .tabular textarea {width:95%; resize:vertical;} |
|
480 | 480 | .tabular span[title] {border-bottom:1px dotted #aaa;} |
|
481 | 481 | |
|
482 | 482 | .tabular label{ |
|
483 | 483 | font-weight: bold; |
|
484 | 484 | float: left; |
|
485 | 485 | text-align: right; |
|
486 | 486 | /* width of left column */ |
|
487 | 487 | margin-left: -180px; |
|
488 | 488 | /* width of labels. Should be smaller than left column to create some right margin */ |
|
489 | 489 | width: 175px; |
|
490 | 490 | } |
|
491 | 491 | |
|
492 | 492 | .tabular label.floating{ |
|
493 | 493 | font-weight: normal; |
|
494 | 494 | margin-left: 0px; |
|
495 | 495 | text-align: left; |
|
496 | 496 | width: 270px; |
|
497 | 497 | } |
|
498 | 498 | |
|
499 | 499 | .tabular label.block{ |
|
500 | 500 | font-weight: normal; |
|
501 | 501 | margin-left: 0px !important; |
|
502 | 502 | text-align: left; |
|
503 | 503 | float: none; |
|
504 | 504 | display: block; |
|
505 | width: auto; | |
|
505 | width: auto !important; | |
|
506 | 506 | } |
|
507 | 507 | |
|
508 | 508 | .tabular label.inline{ |
|
509 | 509 | font-weight: normal; |
|
510 | 510 | float:none; |
|
511 | 511 | margin-left: 5px !important; |
|
512 | 512 | width: auto; |
|
513 | 513 | } |
|
514 | 514 | |
|
515 | 515 | label.no-css { |
|
516 | 516 | font-weight: inherit; |
|
517 | 517 | float:none; |
|
518 | 518 | text-align:left; |
|
519 | 519 | margin-left:0px; |
|
520 | 520 | width:auto; |
|
521 | 521 | } |
|
522 | 522 | input#time_entry_comments { width: 90%;} |
|
523 | 523 | |
|
524 | 524 | #preview fieldset {margin-top: 1em; background: url(../images/draft.png)} |
|
525 | 525 | |
|
526 | 526 | .tabular.settings p{ padding-left: 300px; } |
|
527 | 527 | .tabular.settings label{ margin-left: -300px; width: 295px; } |
|
528 | 528 | .tabular.settings textarea { width: 99%; } |
|
529 | 529 | |
|
530 | 530 | .settings.enabled_scm table {width:100%} |
|
531 | 531 | .settings.enabled_scm td.scm_name{ font-weight: bold; } |
|
532 | 532 | |
|
533 | 533 | fieldset.settings label { display: block; } |
|
534 | 534 | fieldset#notified_events .parent { padding-left: 20px; } |
|
535 | 535 | |
|
536 | 536 | span.required {color: #bb0000;} |
|
537 | 537 | .summary {font-style: italic;} |
|
538 | 538 | |
|
539 | 539 | .check_box_group { |
|
540 | 540 | display:block; |
|
541 | 541 | width:95%; |
|
542 | 542 | max-height:300px; |
|
543 | 543 | overflow-y:auto; |
|
544 | 544 | padding:2px 4px 4px 2px; |
|
545 | 545 | background:#fff; |
|
546 | 546 | border:1px solid #9EB1C2; |
|
547 | 547 | border-radius:2px |
|
548 | 548 | } |
|
549 | 549 | .check_box_group label { |
|
550 | 550 | font-weight: normal; |
|
551 | 551 | margin-left: 0px !important; |
|
552 | 552 | text-align: left; |
|
553 | 553 | float: none; |
|
554 | 554 | display: block; |
|
555 | 555 | width: auto; |
|
556 | 556 | } |
|
557 | 557 | .check_box_group.bool_cf {border:0; background:inherit;} |
|
558 | 558 | .check_box_group.bool_cf label {display: inline;} |
|
559 | 559 | |
|
560 | 560 | #attachments_fields input.description {margin-left:4px; width:340px;} |
|
561 | 561 | #attachments_fields span {display:block; white-space:nowrap;} |
|
562 | 562 | #attachments_fields input.filename {border:0; height:1.8em; width:250px; color:#555; background-color:inherit; background:url(../images/attachment.png) no-repeat 1px 50%; padding-left:18px;} |
|
563 | 563 | #attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;} |
|
564 | 564 | #attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;} |
|
565 | 565 | #attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; } |
|
566 | 566 | a.remove-upload {background: url(../images/delete.png) no-repeat 1px 50%; width:1px; display:inline-block; padding-left:16px;} |
|
567 | 567 | a.remove-upload:hover {text-decoration:none !important;} |
|
568 | 568 | |
|
569 | 569 | div.fileover { background-color: lavender; } |
|
570 | 570 | |
|
571 | 571 | div.attachments { margin-top: 12px; } |
|
572 | 572 | div.attachments p { margin:4px 0 2px 0; } |
|
573 | 573 | div.attachments img { vertical-align: middle; } |
|
574 | 574 | div.attachments span.author { font-size: 0.9em; color: #888; } |
|
575 | 575 | |
|
576 | 576 | div.thumbnails {margin-top:0.6em;} |
|
577 | 577 | div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;} |
|
578 | 578 | div.thumbnails img {margin: 3px;} |
|
579 | 579 | |
|
580 | 580 | p.other-formats { text-align: right; font-size:0.9em; color: #666; } |
|
581 | 581 | .other-formats span + span:before { content: "| "; } |
|
582 | 582 | |
|
583 | 583 | a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; } |
|
584 | 584 | |
|
585 | 585 | em.info {font-style:normal;font-size:90%;color:#888;display:block;} |
|
586 | 586 | em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;} |
|
587 | 587 | |
|
588 | 588 | textarea.text_cf {width:95%; resize:vertical;} |
|
589 | 589 | input.string_cf, input.link_cf {width:95%;} |
|
590 | 590 | select.bool_cf {width:auto !important;} |
|
591 | 591 | |
|
592 | 592 | #tab-content-modules fieldset p {margin:3px 0 4px 0;} |
|
593 | 593 | |
|
594 | 594 | #tab-content-members .splitcontentleft, #tab-content-memberships .splitcontentleft, #tab-content-users .splitcontentleft {width: 64%;} |
|
595 | 595 | #tab-content-members .splitcontentright, #tab-content-memberships .splitcontentright, #tab-content-users .splitcontentright {width: 34%;} |
|
596 | 596 | #tab-content-members fieldset, #tab-content-memberships fieldset, #tab-content-users fieldset {padding:1em; margin-bottom: 1em;} |
|
597 | 597 | #tab-content-members fieldset legend, #tab-content-memberships fieldset legend, #tab-content-users fieldset legend {font-weight: bold;} |
|
598 | 598 | #tab-content-members fieldset label, #tab-content-memberships fieldset label, #tab-content-users fieldset label {display: block;} |
|
599 | 599 | #tab-content-members #principals, #tab-content-users #principals {max-height: 400px; overflow: auto;} |
|
600 | 600 | |
|
601 | 601 | #tab-content-memberships .splitcontentright select {width:90%} |
|
602 | 602 | |
|
603 | 603 | #users_for_watcher {height: 200px; overflow:auto;} |
|
604 | 604 | #users_for_watcher label {display: block;} |
|
605 | 605 | |
|
606 | 606 | table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; } |
|
607 | 607 | |
|
608 | 608 | input#principal_search, input#user_search {width:90%} |
|
609 | 609 | |
|
610 | 610 | input.autocomplete { |
|
611 | 611 | background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important; |
|
612 | 612 | border:1px solid #9EB1C2; border-radius:2px; height:1.5em; |
|
613 | 613 | } |
|
614 | 614 | input.autocomplete.ajax-loading { |
|
615 | 615 | background-image: url(../images/loading.gif); |
|
616 | 616 | } |
|
617 | 617 | |
|
618 | 618 | .role-visibility {padding-left:2em;} |
|
619 | 619 | |
|
620 | 620 | /***** Flash & error messages ****/ |
|
621 | 621 | #errorExplanation, div.flash, .nodata, .warning, .conflict { |
|
622 | 622 | padding: 4px 4px 4px 30px; |
|
623 | 623 | margin-bottom: 12px; |
|
624 | 624 | font-size: 1.1em; |
|
625 | 625 | border: 2px solid; |
|
626 | 626 | } |
|
627 | 627 | |
|
628 | 628 | div.flash {margin-top: 8px;} |
|
629 | 629 | |
|
630 | 630 | div.flash.error, #errorExplanation { |
|
631 | 631 | background: url(../images/exclamation.png) 8px 50% no-repeat; |
|
632 | 632 | background-color: #ffe3e3; |
|
633 | 633 | border-color: #dd0000; |
|
634 | 634 | color: #880000; |
|
635 | 635 | } |
|
636 | 636 | |
|
637 | 637 | div.flash.notice { |
|
638 | 638 | background: url(../images/true.png) 8px 5px no-repeat; |
|
639 | 639 | background-color: #dfffdf; |
|
640 | 640 | border-color: #9fcf9f; |
|
641 | 641 | color: #005f00; |
|
642 | 642 | } |
|
643 | 643 | |
|
644 | 644 | div.flash.warning, .conflict { |
|
645 | 645 | background: url(../images/warning.png) 8px 5px no-repeat; |
|
646 | 646 | background-color: #FFEBC1; |
|
647 | 647 | border-color: #FDBF3B; |
|
648 | 648 | color: #A6750C; |
|
649 | 649 | text-align: left; |
|
650 | 650 | } |
|
651 | 651 | |
|
652 | 652 | .nodata, .warning { |
|
653 | 653 | text-align: center; |
|
654 | 654 | background-color: #FFEBC1; |
|
655 | 655 | border-color: #FDBF3B; |
|
656 | 656 | color: #A6750C; |
|
657 | 657 | } |
|
658 | 658 | |
|
659 | 659 | #errorExplanation ul { font-size: 0.9em;} |
|
660 | 660 | #errorExplanation h2, #errorExplanation p { display: none; } |
|
661 | 661 | |
|
662 | 662 | .conflict-details {font-size:80%;} |
|
663 | 663 | |
|
664 | 664 | /***** Ajax indicator ******/ |
|
665 | 665 | #ajax-indicator { |
|
666 | 666 | position: absolute; /* fixed not supported by IE */ |
|
667 | 667 | background-color:#eee; |
|
668 | 668 | border: 1px solid #bbb; |
|
669 | 669 | top:35%; |
|
670 | 670 | left:40%; |
|
671 | 671 | width:20%; |
|
672 | 672 | font-weight:bold; |
|
673 | 673 | text-align:center; |
|
674 | 674 | padding:0.6em; |
|
675 | 675 | z-index:100; |
|
676 | 676 | opacity: 0.5; |
|
677 | 677 | } |
|
678 | 678 | |
|
679 | 679 | html>body #ajax-indicator { position: fixed; } |
|
680 | 680 | |
|
681 | 681 | #ajax-indicator span { |
|
682 | 682 | background-position: 0% 40%; |
|
683 | 683 | background-repeat: no-repeat; |
|
684 | 684 | background-image: url(../images/loading.gif); |
|
685 | 685 | padding-left: 26px; |
|
686 | 686 | vertical-align: bottom; |
|
687 | 687 | } |
|
688 | 688 | |
|
689 | 689 | /***** Calendar *****/ |
|
690 | 690 | table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;} |
|
691 | 691 | table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; } |
|
692 | 692 | table.cal thead th.week-number {width: auto;} |
|
693 | 693 | table.cal tbody tr {height: 100px;} |
|
694 | 694 | table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;} |
|
695 | 695 | table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;} |
|
696 | 696 | table.cal td p.day-num {font-size: 1.1em; text-align:right;} |
|
697 | 697 | table.cal td.odd p.day-num {color: #bbb;} |
|
698 | 698 | table.cal td.today {background:#ffffdd;} |
|
699 | 699 | table.cal td.today p.day-num {font-weight: bold;} |
|
700 | 700 | table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;} |
|
701 | 701 | table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;} |
|
702 | 702 | table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;} |
|
703 | 703 | p.cal.legend span {display:block;} |
|
704 | 704 | |
|
705 | 705 | /***** Tooltips ******/ |
|
706 | 706 | .tooltip{position:relative;z-index:24;} |
|
707 | 707 | .tooltip:hover{z-index:25;color:#000;} |
|
708 | 708 | .tooltip span.tip{display: none; text-align:left;} |
|
709 | 709 | |
|
710 | 710 | div.tooltip:hover span.tip{ |
|
711 | 711 | display:block; |
|
712 | 712 | position:absolute; |
|
713 | 713 | top:12px; left:24px; width:270px; |
|
714 | 714 | border:1px solid #555; |
|
715 | 715 | background-color:#fff; |
|
716 | 716 | padding: 4px; |
|
717 | 717 | font-size: 0.8em; |
|
718 | 718 | color:#505050; |
|
719 | 719 | } |
|
720 | 720 | |
|
721 | 721 | img.ui-datepicker-trigger { |
|
722 | 722 | cursor: pointer; |
|
723 | 723 | vertical-align: middle; |
|
724 | 724 | margin-left: 4px; |
|
725 | 725 | } |
|
726 | 726 | |
|
727 | 727 | /***** Progress bar *****/ |
|
728 | 728 | table.progress { |
|
729 | 729 | border-collapse: collapse; |
|
730 | 730 | border-spacing: 0pt; |
|
731 | 731 | empty-cells: show; |
|
732 | 732 | text-align: center; |
|
733 | 733 | float:left; |
|
734 | 734 | margin: 1px 6px 1px 0px; |
|
735 | 735 | } |
|
736 | 736 | |
|
737 | 737 | table.progress td { height: 1em; } |
|
738 | 738 | table.progress td.closed { background: #BAE0BA none repeat scroll 0%; } |
|
739 | 739 | table.progress td.done { background: #D3EDD3 none repeat scroll 0%; } |
|
740 | 740 | table.progress td.todo { background: #eee none repeat scroll 0%; } |
|
741 | 741 | p.percent {font-size: 80%;} |
|
742 | 742 | p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;} |
|
743 | 743 | |
|
744 | 744 | #roadmap table.progress td { height: 1.2em; } |
|
745 | 745 | /***** Tabs *****/ |
|
746 | 746 | #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;} |
|
747 | 747 | #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;} |
|
748 | 748 | #content .tabs ul li { |
|
749 | 749 | float:left; |
|
750 | 750 | list-style-type:none; |
|
751 | 751 | white-space:nowrap; |
|
752 | 752 | margin-right:4px; |
|
753 | 753 | background:#fff; |
|
754 | 754 | position:relative; |
|
755 | 755 | margin-bottom:-1px; |
|
756 | 756 | } |
|
757 | 757 | #content .tabs ul li a{ |
|
758 | 758 | display:block; |
|
759 | 759 | font-size: 0.9em; |
|
760 | 760 | text-decoration:none; |
|
761 | 761 | line-height:1.3em; |
|
762 | 762 | padding:4px 6px 4px 6px; |
|
763 | 763 | border: 1px solid #ccc; |
|
764 | 764 | border-bottom: 1px solid #bbbbbb; |
|
765 | 765 | background-color: #f6f6f6; |
|
766 | 766 | color:#999; |
|
767 | 767 | font-weight:bold; |
|
768 | 768 | border-top-left-radius:3px; |
|
769 | 769 | border-top-right-radius:3px; |
|
770 | 770 | } |
|
771 | 771 | |
|
772 | 772 | #content .tabs ul li a:hover { |
|
773 | 773 | background-color: #ffffdd; |
|
774 | 774 | text-decoration:none; |
|
775 | 775 | } |
|
776 | 776 | |
|
777 | 777 | #content .tabs ul li a.selected { |
|
778 | 778 | background-color: #fff; |
|
779 | 779 | border: 1px solid #bbbbbb; |
|
780 | 780 | border-bottom: 1px solid #fff; |
|
781 | 781 | color:#444; |
|
782 | 782 | } |
|
783 | 783 | |
|
784 | 784 | #content .tabs ul li a.selected:hover {background-color: #fff;} |
|
785 | 785 | |
|
786 | 786 | div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; } |
|
787 | 787 | |
|
788 | 788 | button.tab-left, button.tab-right { |
|
789 | 789 | font-size: 0.9em; |
|
790 | 790 | cursor: pointer; |
|
791 | 791 | height:24px; |
|
792 | 792 | border: 1px solid #ccc; |
|
793 | 793 | border-bottom: 1px solid #bbbbbb; |
|
794 | 794 | position:absolute; |
|
795 | 795 | padding:4px; |
|
796 | 796 | width: 20px; |
|
797 | 797 | bottom: -1px; |
|
798 | 798 | } |
|
799 | 799 | |
|
800 | 800 | button.tab-left { |
|
801 | 801 | right: 20px; |
|
802 | 802 | background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%; |
|
803 | 803 | border-top-left-radius:3px; |
|
804 | 804 | } |
|
805 | 805 | |
|
806 | 806 | button.tab-right { |
|
807 | 807 | right: 0; |
|
808 | 808 | background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%; |
|
809 | 809 | border-top-right-radius:3px; |
|
810 | 810 | } |
|
811 | 811 | |
|
812 | 812 | /***** Diff *****/ |
|
813 | 813 | .diff_out { background: #fcc; } |
|
814 | 814 | .diff_out span { background: #faa; } |
|
815 | 815 | .diff_in { background: #cfc; } |
|
816 | 816 | .diff_in span { background: #afa; } |
|
817 | 817 | |
|
818 | 818 | .text-diff { |
|
819 | 819 | padding: 1em; |
|
820 | 820 | background-color:#f6f6f6; |
|
821 | 821 | color:#505050; |
|
822 | 822 | border: 1px solid #e4e4e4; |
|
823 | 823 | } |
|
824 | 824 | |
|
825 | 825 | /***** Wiki *****/ |
|
826 | 826 | div.wiki table { |
|
827 | 827 | border-collapse: collapse; |
|
828 | 828 | margin-bottom: 1em; |
|
829 | 829 | } |
|
830 | 830 | |
|
831 | 831 | div.wiki table, div.wiki td, div.wiki th { |
|
832 | 832 | border: 1px solid #bbb; |
|
833 | 833 | padding: 4px; |
|
834 | 834 | } |
|
835 | 835 | |
|
836 | 836 | div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;} |
|
837 | 837 | |
|
838 | 838 | div.wiki .external { |
|
839 | 839 | background-position: 0% 60%; |
|
840 | 840 | background-repeat: no-repeat; |
|
841 | 841 | padding-left: 12px; |
|
842 | 842 | background-image: url(../images/external.png); |
|
843 | 843 | } |
|
844 | 844 | |
|
845 | 845 | div.wiki a.new {color: #b73535;} |
|
846 | 846 | |
|
847 | 847 | div.wiki ul, div.wiki ol {margin-bottom:1em;} |
|
848 | 848 | |
|
849 | 849 | div.wiki pre { |
|
850 | 850 | margin: 1em 1em 1em 1.6em; |
|
851 | 851 | padding: 8px; |
|
852 | 852 | background-color: #fafafa; |
|
853 | 853 | border: 1px solid #e2e2e2; |
|
854 | 854 | width:auto; |
|
855 | 855 | overflow-x: auto; |
|
856 | 856 | overflow-y: hidden; |
|
857 | 857 | } |
|
858 | 858 | |
|
859 | 859 | div.wiki ul.toc { |
|
860 | 860 | background-color: #ffffdd; |
|
861 | 861 | border: 1px solid #e4e4e4; |
|
862 | 862 | padding: 4px; |
|
863 | 863 | line-height: 1.2em; |
|
864 | 864 | margin-bottom: 12px; |
|
865 | 865 | margin-right: 12px; |
|
866 | 866 | margin-left: 0; |
|
867 | 867 | display: table |
|
868 | 868 | } |
|
869 | 869 | * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */ |
|
870 | 870 | |
|
871 | 871 | div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; } |
|
872 | 872 | div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; } |
|
873 | 873 | div.wiki ul.toc ul { margin: 0; padding: 0; } |
|
874 | 874 | div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;} |
|
875 | 875 | div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;} |
|
876 | 876 | div.wiki ul.toc a { |
|
877 | 877 | font-size: 0.9em; |
|
878 | 878 | font-weight: normal; |
|
879 | 879 | text-decoration: none; |
|
880 | 880 | color: #606060; |
|
881 | 881 | } |
|
882 | 882 | div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;} |
|
883 | 883 | |
|
884 | 884 | a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; } |
|
885 | 885 | a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; } |
|
886 | 886 | h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; } |
|
887 | 887 | |
|
888 | 888 | div.wiki img { vertical-align: middle; } |
|
889 | 889 | |
|
890 | 890 | /***** My page layout *****/ |
|
891 | 891 | .block-receiver { |
|
892 | 892 | border:1px dashed #c0c0c0; |
|
893 | 893 | margin-bottom: 20px; |
|
894 | 894 | padding: 15px 0 15px 0; |
|
895 | 895 | } |
|
896 | 896 | |
|
897 | 897 | .mypage-box { |
|
898 | 898 | margin:0 0 20px 0; |
|
899 | 899 | color:#505050; |
|
900 | 900 | line-height:1.5em; |
|
901 | 901 | } |
|
902 | 902 | |
|
903 | 903 | .handle {cursor: move;} |
|
904 | 904 | |
|
905 | 905 | a.close-icon { |
|
906 | 906 | display:block; |
|
907 | 907 | margin-top:3px; |
|
908 | 908 | overflow:hidden; |
|
909 | 909 | width:12px; |
|
910 | 910 | height:12px; |
|
911 | 911 | background-repeat: no-repeat; |
|
912 | 912 | cursor:pointer; |
|
913 | 913 | background-image:url('../images/close.png'); |
|
914 | 914 | } |
|
915 | 915 | a.close-icon:hover {background-image:url('../images/close_hl.png');} |
|
916 | 916 | |
|
917 | 917 | /***** Gantt chart *****/ |
|
918 | 918 | .gantt_hdr { |
|
919 | 919 | position:absolute; |
|
920 | 920 | top:0; |
|
921 | 921 | height:16px; |
|
922 | 922 | border-top: 1px solid #c0c0c0; |
|
923 | 923 | border-bottom: 1px solid #c0c0c0; |
|
924 | 924 | border-right: 1px solid #c0c0c0; |
|
925 | 925 | text-align: center; |
|
926 | 926 | overflow: hidden; |
|
927 | 927 | } |
|
928 | 928 | |
|
929 | 929 | .gantt_hdr.nwday {background-color:#f1f1f1;} |
|
930 | 930 | |
|
931 | 931 | .gantt_subjects { font-size: 0.8em; } |
|
932 | 932 | .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; } |
|
933 | 933 | |
|
934 | 934 | .task { |
|
935 | 935 | position: absolute; |
|
936 | 936 | height:8px; |
|
937 | 937 | font-size:0.8em; |
|
938 | 938 | color:#888; |
|
939 | 939 | padding:0; |
|
940 | 940 | margin:0; |
|
941 | 941 | line-height:16px; |
|
942 | 942 | white-space:nowrap; |
|
943 | 943 | } |
|
944 | 944 | |
|
945 | 945 | .task.label {width:100%;} |
|
946 | 946 | .task.label.project, .task.label.version { font-weight: bold; } |
|
947 | 947 | |
|
948 | 948 | .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; } |
|
949 | 949 | .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; } |
|
950 | 950 | .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; } |
|
951 | 951 | |
|
952 | 952 | .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;} |
|
953 | 953 | .task_late.parent, .task_done.parent { height: 3px;} |
|
954 | 954 | .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;} |
|
955 | 955 | .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;} |
|
956 | 956 | |
|
957 | 957 | .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;} |
|
958 | 958 | .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;} |
|
959 | 959 | .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;} |
|
960 | 960 | .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; } |
|
961 | 961 | |
|
962 | 962 | .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;} |
|
963 | 963 | .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;} |
|
964 | 964 | .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;} |
|
965 | 965 | .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; } |
|
966 | 966 | |
|
967 | 967 | .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;} |
|
968 | 968 | .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;} |
|
969 | 969 | |
|
970 | 970 | /***** Icons *****/ |
|
971 | 971 | .icon { |
|
972 | 972 | background-position: 0% 50%; |
|
973 | 973 | background-repeat: no-repeat; |
|
974 | 974 | padding-left: 20px; |
|
975 | 975 | padding-top: 2px; |
|
976 | 976 | padding-bottom: 3px; |
|
977 | 977 | } |
|
978 | 978 | |
|
979 | 979 | .icon-add { background-image: url(../images/add.png); } |
|
980 | 980 | .icon-edit { background-image: url(../images/edit.png); } |
|
981 | 981 | .icon-copy { background-image: url(../images/copy.png); } |
|
982 | 982 | .icon-duplicate { background-image: url(../images/duplicate.png); } |
|
983 | 983 | .icon-del { background-image: url(../images/delete.png); } |
|
984 | 984 | .icon-move { background-image: url(../images/move.png); } |
|
985 | 985 | .icon-save { background-image: url(../images/save.png); } |
|
986 | 986 | .icon-cancel { background-image: url(../images/cancel.png); } |
|
987 | 987 | .icon-multiple { background-image: url(../images/table_multiple.png); } |
|
988 | 988 | .icon-folder { background-image: url(../images/folder.png); } |
|
989 | 989 | .open .icon-folder { background-image: url(../images/folder_open.png); } |
|
990 | 990 | .icon-package { background-image: url(../images/package.png); } |
|
991 | 991 | .icon-user { background-image: url(../images/user.png); } |
|
992 | 992 | .icon-projects { background-image: url(../images/projects.png); } |
|
993 | 993 | .icon-help { background-image: url(../images/help.png); } |
|
994 | 994 | .icon-attachment { background-image: url(../images/attachment.png); } |
|
995 | 995 | .icon-history { background-image: url(../images/history.png); } |
|
996 | 996 | .icon-time { background-image: url(../images/time.png); } |
|
997 | 997 | .icon-time-add { background-image: url(../images/time_add.png); } |
|
998 | 998 | .icon-stats { background-image: url(../images/stats.png); } |
|
999 | 999 | .icon-warning { background-image: url(../images/warning.png); } |
|
1000 | 1000 | .icon-fav { background-image: url(../images/fav.png); } |
|
1001 | 1001 | .icon-fav-off { background-image: url(../images/fav_off.png); } |
|
1002 | 1002 | .icon-reload { background-image: url(../images/reload.png); } |
|
1003 | 1003 | .icon-lock { background-image: url(../images/locked.png); } |
|
1004 | 1004 | .icon-unlock { background-image: url(../images/unlock.png); } |
|
1005 | 1005 | .icon-checked { background-image: url(../images/true.png); } |
|
1006 | 1006 | .icon-details { background-image: url(../images/zoom_in.png); } |
|
1007 | 1007 | .icon-report { background-image: url(../images/report.png); } |
|
1008 | 1008 | .icon-comment { background-image: url(../images/comment.png); } |
|
1009 | 1009 | .icon-summary { background-image: url(../images/lightning.png); } |
|
1010 | 1010 | .icon-server-authentication { background-image: url(../images/server_key.png); } |
|
1011 | 1011 | .icon-issue { background-image: url(../images/ticket.png); } |
|
1012 | 1012 | .icon-zoom-in { background-image: url(../images/zoom_in.png); } |
|
1013 | 1013 | .icon-zoom-out { background-image: url(../images/zoom_out.png); } |
|
1014 | 1014 | .icon-passwd { background-image: url(../images/textfield_key.png); } |
|
1015 | 1015 | .icon-test { background-image: url(../images/bullet_go.png); } |
|
1016 | 1016 | |
|
1017 | 1017 | .icon-file { background-image: url(../images/files/default.png); } |
|
1018 | 1018 | .icon-file.text-plain { background-image: url(../images/files/text.png); } |
|
1019 | 1019 | .icon-file.text-x-c { background-image: url(../images/files/c.png); } |
|
1020 | 1020 | .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); } |
|
1021 | 1021 | .icon-file.text-x-java { background-image: url(../images/files/java.png); } |
|
1022 | 1022 | .icon-file.text-x-javascript { background-image: url(../images/files/js.png); } |
|
1023 | 1023 | .icon-file.text-x-php { background-image: url(../images/files/php.png); } |
|
1024 | 1024 | .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); } |
|
1025 | 1025 | .icon-file.text-xml { background-image: url(../images/files/xml.png); } |
|
1026 | 1026 | .icon-file.text-css { background-image: url(../images/files/css.png); } |
|
1027 | 1027 | .icon-file.text-html { background-image: url(../images/files/html.png); } |
|
1028 | 1028 | .icon-file.image-gif { background-image: url(../images/files/image.png); } |
|
1029 | 1029 | .icon-file.image-jpeg { background-image: url(../images/files/image.png); } |
|
1030 | 1030 | .icon-file.image-png { background-image: url(../images/files/image.png); } |
|
1031 | 1031 | .icon-file.image-tiff { background-image: url(../images/files/image.png); } |
|
1032 | 1032 | .icon-file.application-pdf { background-image: url(../images/files/pdf.png); } |
|
1033 | 1033 | .icon-file.application-zip { background-image: url(../images/files/zip.png); } |
|
1034 | 1034 | .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); } |
|
1035 | 1035 | |
|
1036 | 1036 | img.gravatar { |
|
1037 | 1037 | padding: 2px; |
|
1038 | 1038 | border: solid 1px #d5d5d5; |
|
1039 | 1039 | background: #fff; |
|
1040 | 1040 | vertical-align: middle; |
|
1041 | 1041 | } |
|
1042 | 1042 | |
|
1043 | 1043 | div.issue img.gravatar { |
|
1044 | 1044 | float: left; |
|
1045 | 1045 | margin: 0 6px 0 0; |
|
1046 | 1046 | padding: 5px; |
|
1047 | 1047 | } |
|
1048 | 1048 | |
|
1049 | 1049 | div.issue table img.gravatar { |
|
1050 | 1050 | height: 14px; |
|
1051 | 1051 | width: 14px; |
|
1052 | 1052 | padding: 2px; |
|
1053 | 1053 | float: left; |
|
1054 | 1054 | margin: 0 0.5em 0 0; |
|
1055 | 1055 | } |
|
1056 | 1056 | |
|
1057 | 1057 | h2 img.gravatar {margin: -2px 4px -4px 0;} |
|
1058 | 1058 | h3 img.gravatar {margin: -4px 4px -4px 0;} |
|
1059 | 1059 | h4 img.gravatar {margin: -6px 4px -4px 0;} |
|
1060 | 1060 | td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;} |
|
1061 | 1061 | #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;} |
|
1062 | 1062 | /* Used on 12px Gravatar img tags without the icon background */ |
|
1063 | 1063 | .icon-gravatar {float: left; margin-right: 4px;} |
|
1064 | 1064 | |
|
1065 | 1065 | #activity dt, .journal {clear: left;} |
|
1066 | 1066 | |
|
1067 | 1067 | .journal-link {float: right;} |
|
1068 | 1068 | |
|
1069 | 1069 | h2 img { vertical-align:middle; } |
|
1070 | 1070 | |
|
1071 | 1071 | .hascontextmenu { cursor: context-menu; } |
|
1072 | 1072 | |
|
1073 | 1073 | /* Custom JQuery styles */ |
|
1074 | 1074 | .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;} |
|
1075 | 1075 | |
|
1076 | 1076 | |
|
1077 | 1077 | /************* CodeRay styles *************/ |
|
1078 | 1078 | .syntaxhl div {display: inline;} |
|
1079 | 1079 | .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;} |
|
1080 | 1080 | .syntaxhl .code pre { overflow: auto } |
|
1081 | 1081 | .syntaxhl .debug { color: white !important; background: blue !important; } |
|
1082 | 1082 | |
|
1083 | 1083 | .syntaxhl .annotation { color:#007 } |
|
1084 | 1084 | .syntaxhl .attribute-name { color:#b48 } |
|
1085 | 1085 | .syntaxhl .attribute-value { color:#700 } |
|
1086 | 1086 | .syntaxhl .binary { color:#509 } |
|
1087 | 1087 | .syntaxhl .char .content { color:#D20 } |
|
1088 | 1088 | .syntaxhl .char .delimiter { color:#710 } |
|
1089 | 1089 | .syntaxhl .char { color:#D20 } |
|
1090 | 1090 | .syntaxhl .class { color:#258; font-weight:bold } |
|
1091 | 1091 | .syntaxhl .class-variable { color:#369 } |
|
1092 | 1092 | .syntaxhl .color { color:#0A0 } |
|
1093 | 1093 | .syntaxhl .comment { color:#385 } |
|
1094 | 1094 | .syntaxhl .comment .char { color:#385 } |
|
1095 | 1095 | .syntaxhl .comment .delimiter { color:#385 } |
|
1096 | 1096 | .syntaxhl .complex { color:#A08 } |
|
1097 | 1097 | .syntaxhl .constant { color:#258; font-weight:bold } |
|
1098 | 1098 | .syntaxhl .decorator { color:#B0B } |
|
1099 | 1099 | .syntaxhl .definition { color:#099; font-weight:bold } |
|
1100 | 1100 | .syntaxhl .delimiter { color:black } |
|
1101 | 1101 | .syntaxhl .directive { color:#088; font-weight:bold } |
|
1102 | 1102 | .syntaxhl .doc { color:#970 } |
|
1103 | 1103 | .syntaxhl .doc-string { color:#D42; font-weight:bold } |
|
1104 | 1104 | .syntaxhl .doctype { color:#34b } |
|
1105 | 1105 | .syntaxhl .entity { color:#800; font-weight:bold } |
|
1106 | 1106 | .syntaxhl .error { color:#F00; background-color:#FAA } |
|
1107 | 1107 | .syntaxhl .escape { color:#666 } |
|
1108 | 1108 | .syntaxhl .exception { color:#C00; font-weight:bold } |
|
1109 | 1109 | .syntaxhl .float { color:#06D } |
|
1110 | 1110 | .syntaxhl .function { color:#06B; font-weight:bold } |
|
1111 | 1111 | .syntaxhl .global-variable { color:#d70 } |
|
1112 | 1112 | .syntaxhl .hex { color:#02b } |
|
1113 | 1113 | .syntaxhl .imaginary { color:#f00 } |
|
1114 | 1114 | .syntaxhl .include { color:#B44; font-weight:bold } |
|
1115 | 1115 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } |
|
1116 | 1116 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } |
|
1117 | 1117 | .syntaxhl .instance-variable { color:#33B } |
|
1118 | 1118 | .syntaxhl .integer { color:#06D } |
|
1119 | 1119 | .syntaxhl .key .char { color: #60f } |
|
1120 | 1120 | .syntaxhl .key .delimiter { color: #404 } |
|
1121 | 1121 | .syntaxhl .key { color: #606 } |
|
1122 | 1122 | .syntaxhl .keyword { color:#939; font-weight:bold } |
|
1123 | 1123 | .syntaxhl .label { color:#970; font-weight:bold } |
|
1124 | 1124 | .syntaxhl .local-variable { color:#963 } |
|
1125 | 1125 | .syntaxhl .namespace { color:#707; font-weight:bold } |
|
1126 | 1126 | .syntaxhl .octal { color:#40E } |
|
1127 | 1127 | .syntaxhl .operator { } |
|
1128 | 1128 | .syntaxhl .predefined { color:#369; font-weight:bold } |
|
1129 | 1129 | .syntaxhl .predefined-constant { color:#069 } |
|
1130 | 1130 | .syntaxhl .predefined-type { color:#0a5; font-weight:bold } |
|
1131 | 1131 | .syntaxhl .preprocessor { color:#579 } |
|
1132 | 1132 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } |
|
1133 | 1133 | .syntaxhl .regexp .content { color:#808 } |
|
1134 | 1134 | .syntaxhl .regexp .delimiter { color:#404 } |
|
1135 | 1135 | .syntaxhl .regexp .modifier { color:#C2C } |
|
1136 | 1136 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } |
|
1137 | 1137 | .syntaxhl .reserved { color:#080; font-weight:bold } |
|
1138 | 1138 | .syntaxhl .shell .content { color:#2B2 } |
|
1139 | 1139 | .syntaxhl .shell .delimiter { color:#161 } |
|
1140 | 1140 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } |
|
1141 | 1141 | .syntaxhl .string .char { color: #46a } |
|
1142 | 1142 | .syntaxhl .string .content { color: #46a } |
|
1143 | 1143 | .syntaxhl .string .delimiter { color: #46a } |
|
1144 | 1144 | .syntaxhl .string .modifier { color: #46a } |
|
1145 | 1145 | .syntaxhl .symbol .content { color:#d33 } |
|
1146 | 1146 | .syntaxhl .symbol .delimiter { color:#d33 } |
|
1147 | 1147 | .syntaxhl .symbol { color:#d33 } |
|
1148 | 1148 | .syntaxhl .tag { color:#070 } |
|
1149 | 1149 | .syntaxhl .type { color:#339; font-weight:bold } |
|
1150 | 1150 | .syntaxhl .value { color: #088; } |
|
1151 | 1151 | .syntaxhl .variable { color:#037 } |
|
1152 | 1152 | |
|
1153 | 1153 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } |
|
1154 | 1154 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } |
|
1155 | 1155 | .syntaxhl .change { color: #bbf; background: #007; } |
|
1156 | 1156 | .syntaxhl .head { color: #f8f; background: #505 } |
|
1157 | 1157 | .syntaxhl .head .filename { color: white; } |
|
1158 | 1158 | |
|
1159 | 1159 | .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; } |
|
1160 | 1160 | .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } |
|
1161 | 1161 | |
|
1162 | 1162 | .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold } |
|
1163 | 1163 | .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold } |
|
1164 | 1164 | .syntaxhl .change .change { color: #88f } |
|
1165 | 1165 | .syntaxhl .head .head { color: #f4f } |
|
1166 | 1166 | |
|
1167 | 1167 | /***** Media print specific styles *****/ |
|
1168 | 1168 | @media print { |
|
1169 | 1169 | #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; } |
|
1170 | 1170 | #main { background: #fff; } |
|
1171 | 1171 | #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;} |
|
1172 | 1172 | #wiki_add_attachment { display:none; } |
|
1173 | 1173 | .hide-when-print { display: none; } |
|
1174 | 1174 | .autoscroll {overflow-x: visible;} |
|
1175 | 1175 | table.list {margin-top:0.5em;} |
|
1176 | 1176 | table.list th, table.list td {border: 1px solid #aaa;} |
|
1177 | 1177 | } |
|
1178 | 1178 | |
|
1179 | 1179 | /* Accessibility specific styles */ |
|
1180 | 1180 | .hidden-for-sighted { |
|
1181 | 1181 | position:absolute; |
|
1182 | 1182 | left:-10000px; |
|
1183 | 1183 | top:auto; |
|
1184 | 1184 | width:1px; |
|
1185 | 1185 | height:1px; |
|
1186 | 1186 | overflow:hidden; |
|
1187 | 1187 | } |
@@ -1,248 +1,262 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | require File.expand_path('../../test_helper', __FILE__) |
|
19 | 19 | |
|
20 | 20 | class MyControllerTest < ActionController::TestCase |
|
21 | 21 | fixtures :users, :user_preferences, :roles, :projects, :members, :member_roles, |
|
22 | 22 | :issues, :issue_statuses, :trackers, :enumerations, :custom_fields, :auth_sources |
|
23 | 23 | |
|
24 | 24 | def setup |
|
25 | 25 | @request.session[:user_id] = 2 |
|
26 | 26 | end |
|
27 | 27 | |
|
28 | 28 | def test_index |
|
29 | 29 | get :index |
|
30 | 30 | assert_response :success |
|
31 | 31 | assert_template 'page' |
|
32 | 32 | end |
|
33 | 33 | |
|
34 | 34 | def test_page |
|
35 | 35 | get :page |
|
36 | 36 | assert_response :success |
|
37 | 37 | assert_template 'page' |
|
38 | 38 | end |
|
39 | 39 | |
|
40 | 40 | def test_page_with_timelog_block |
|
41 | 41 | preferences = User.find(2).pref |
|
42 | 42 | preferences[:my_page_layout] = {'top' => ['timelog']} |
|
43 | 43 | preferences.save! |
|
44 | 44 | TimeEntry.create!(:user => User.find(2), :spent_on => Date.yesterday, :issue_id => 1, :hours => 2.5, :activity_id => 10) |
|
45 | 45 | |
|
46 | 46 | get :page |
|
47 | 47 | assert_response :success |
|
48 | 48 | assert_select 'tr.time-entry' do |
|
49 | 49 | assert_select 'td.subject a[href=/issues/1]' |
|
50 | 50 | assert_select 'td.hours', :text => '2.50' |
|
51 | 51 | end |
|
52 | 52 | end |
|
53 | 53 | |
|
54 | 54 | def test_page_with_all_blocks |
|
55 | 55 | blocks = MyController::BLOCKS.keys |
|
56 | 56 | preferences = User.find(2).pref |
|
57 | 57 | preferences[:my_page_layout] = {'top' => blocks} |
|
58 | 58 | preferences.save! |
|
59 | 59 | |
|
60 | 60 | get :page |
|
61 | 61 | assert_response :success |
|
62 | 62 | assert_select 'div.mypage-box', blocks.size |
|
63 | 63 | end |
|
64 | 64 | |
|
65 | 65 | def test_my_account_should_show_editable_custom_fields |
|
66 | 66 | get :account |
|
67 | 67 | assert_response :success |
|
68 | 68 | assert_template 'account' |
|
69 | 69 | assert_equal User.find(2), assigns(:user) |
|
70 | 70 | |
|
71 | 71 | assert_tag :input, :attributes => { :name => 'user[custom_field_values][4]'} |
|
72 | 72 | end |
|
73 | 73 | |
|
74 | 74 | def test_my_account_should_not_show_non_editable_custom_fields |
|
75 | 75 | UserCustomField.find(4).update_attribute :editable, false |
|
76 | 76 | |
|
77 | 77 | get :account |
|
78 | 78 | assert_response :success |
|
79 | 79 | assert_template 'account' |
|
80 | 80 | assert_equal User.find(2), assigns(:user) |
|
81 | 81 | |
|
82 | 82 | assert_no_tag :input, :attributes => { :name => 'user[custom_field_values][4]'} |
|
83 | 83 | end |
|
84 | 84 | |
|
85 | def test_my_account_should_show_language_select | |
|
86 | get :account | |
|
87 | assert_response :success | |
|
88 | assert_select 'select[name=?]', 'user[language]' | |
|
89 | end | |
|
90 | ||
|
91 | def test_my_account_should_not_show_language_select_with_force_default_language_for_loggedin | |
|
92 | with_settings :force_default_language_for_loggedin => '1' do | |
|
93 | get :account | |
|
94 | assert_response :success | |
|
95 | assert_select 'select[name=?]', 'user[language]', 0 | |
|
96 | end | |
|
97 | end | |
|
98 | ||
|
85 | 99 | def test_update_account |
|
86 | 100 | post :account, |
|
87 | 101 | :user => { |
|
88 | 102 | :firstname => "Joe", |
|
89 | 103 | :login => "root", |
|
90 | 104 | :admin => 1, |
|
91 | 105 | :group_ids => ['10'], |
|
92 | 106 | :custom_field_values => {"4" => "0100562500"} |
|
93 | 107 | } |
|
94 | 108 | |
|
95 | 109 | assert_redirected_to '/my/account' |
|
96 | 110 | user = User.find(2) |
|
97 | 111 | assert_equal user, assigns(:user) |
|
98 | 112 | assert_equal "Joe", user.firstname |
|
99 | 113 | assert_equal "jsmith", user.login |
|
100 | 114 | assert_equal "0100562500", user.custom_value_for(4).value |
|
101 | 115 | # ignored |
|
102 | 116 | assert !user.admin? |
|
103 | 117 | assert user.groups.empty? |
|
104 | 118 | end |
|
105 | 119 | |
|
106 | 120 | def test_my_account_should_show_destroy_link |
|
107 | 121 | get :account |
|
108 | 122 | assert_select 'a[href=/my/account/destroy]' |
|
109 | 123 | end |
|
110 | 124 | |
|
111 | 125 | def test_get_destroy_should_display_the_destroy_confirmation |
|
112 | 126 | get :destroy |
|
113 | 127 | assert_response :success |
|
114 | 128 | assert_template 'destroy' |
|
115 | 129 | assert_select 'form[action=/my/account/destroy]' do |
|
116 | 130 | assert_select 'input[name=confirm]' |
|
117 | 131 | end |
|
118 | 132 | end |
|
119 | 133 | |
|
120 | 134 | def test_post_destroy_without_confirmation_should_not_destroy_account |
|
121 | 135 | assert_no_difference 'User.count' do |
|
122 | 136 | post :destroy |
|
123 | 137 | end |
|
124 | 138 | assert_response :success |
|
125 | 139 | assert_template 'destroy' |
|
126 | 140 | end |
|
127 | 141 | |
|
128 | 142 | def test_post_destroy_without_confirmation_should_destroy_account |
|
129 | 143 | assert_difference 'User.count', -1 do |
|
130 | 144 | post :destroy, :confirm => '1' |
|
131 | 145 | end |
|
132 | 146 | assert_redirected_to '/' |
|
133 | 147 | assert_match /deleted/i, flash[:notice] |
|
134 | 148 | end |
|
135 | 149 | |
|
136 | 150 | def test_post_destroy_with_unsubscribe_not_allowed_should_not_destroy_account |
|
137 | 151 | User.any_instance.stubs(:own_account_deletable?).returns(false) |
|
138 | 152 | |
|
139 | 153 | assert_no_difference 'User.count' do |
|
140 | 154 | post :destroy, :confirm => '1' |
|
141 | 155 | end |
|
142 | 156 | assert_redirected_to '/my/account' |
|
143 | 157 | end |
|
144 | 158 | |
|
145 | 159 | def test_change_password |
|
146 | 160 | get :password |
|
147 | 161 | assert_response :success |
|
148 | 162 | assert_template 'password' |
|
149 | 163 | |
|
150 | 164 | # non matching password confirmation |
|
151 | 165 | post :password, :password => 'jsmith', |
|
152 | 166 | :new_password => 'secret123', |
|
153 | 167 | :new_password_confirmation => 'secret1234' |
|
154 | 168 | assert_response :success |
|
155 | 169 | assert_template 'password' |
|
156 | 170 | assert_error_tag :content => /Password doesn't match confirmation/ |
|
157 | 171 | |
|
158 | 172 | # wrong password |
|
159 | 173 | post :password, :password => 'wrongpassword', |
|
160 | 174 | :new_password => 'secret123', |
|
161 | 175 | :new_password_confirmation => 'secret123' |
|
162 | 176 | assert_response :success |
|
163 | 177 | assert_template 'password' |
|
164 | 178 | assert_equal 'Wrong password', flash[:error] |
|
165 | 179 | |
|
166 | 180 | # good password |
|
167 | 181 | post :password, :password => 'jsmith', |
|
168 | 182 | :new_password => 'secret123', |
|
169 | 183 | :new_password_confirmation => 'secret123' |
|
170 | 184 | assert_redirected_to '/my/account' |
|
171 | 185 | assert User.try_to_login('jsmith', 'secret123') |
|
172 | 186 | end |
|
173 | 187 | |
|
174 | 188 | def test_change_password_should_redirect_if_user_cannot_change_its_password |
|
175 | 189 | User.find(2).update_attribute(:auth_source_id, 1) |
|
176 | 190 | |
|
177 | 191 | get :password |
|
178 | 192 | assert_not_nil flash[:error] |
|
179 | 193 | assert_redirected_to '/my/account' |
|
180 | 194 | end |
|
181 | 195 | |
|
182 | 196 | def test_page_layout |
|
183 | 197 | get :page_layout |
|
184 | 198 | assert_response :success |
|
185 | 199 | assert_template 'page_layout' |
|
186 | 200 | end |
|
187 | 201 | |
|
188 | 202 | def test_add_block |
|
189 | 203 | post :add_block, :block => 'issuesreportedbyme' |
|
190 | 204 | assert_redirected_to '/my/page_layout' |
|
191 | 205 | assert User.find(2).pref[:my_page_layout]['top'].include?('issuesreportedbyme') |
|
192 | 206 | end |
|
193 | 207 | |
|
194 | 208 | def test_add_invalid_block_should_redirect |
|
195 | 209 | post :add_block, :block => 'invalid' |
|
196 | 210 | assert_redirected_to '/my/page_layout' |
|
197 | 211 | end |
|
198 | 212 | |
|
199 | 213 | def test_remove_block |
|
200 | 214 | post :remove_block, :block => 'issuesassignedtome' |
|
201 | 215 | assert_redirected_to '/my/page_layout' |
|
202 | 216 | assert !User.find(2).pref[:my_page_layout].values.flatten.include?('issuesassignedtome') |
|
203 | 217 | end |
|
204 | 218 | |
|
205 | 219 | def test_order_blocks |
|
206 | 220 | xhr :post, :order_blocks, :group => 'left', 'blocks' => ['documents', 'calendar', 'latestnews'] |
|
207 | 221 | assert_response :success |
|
208 | 222 | assert_equal ['documents', 'calendar', 'latestnews'], User.find(2).pref[:my_page_layout]['left'] |
|
209 | 223 | end |
|
210 | 224 | |
|
211 | 225 | def test_reset_rss_key_with_existing_key |
|
212 | 226 | @previous_token_value = User.find(2).rss_key # Will generate one if it's missing |
|
213 | 227 | post :reset_rss_key |
|
214 | 228 | |
|
215 | 229 | assert_not_equal @previous_token_value, User.find(2).rss_key |
|
216 | 230 | assert User.find(2).rss_token |
|
217 | 231 | assert_match /reset/, flash[:notice] |
|
218 | 232 | assert_redirected_to '/my/account' |
|
219 | 233 | end |
|
220 | 234 | |
|
221 | 235 | def test_reset_rss_key_without_existing_key |
|
222 | 236 | assert_nil User.find(2).rss_token |
|
223 | 237 | post :reset_rss_key |
|
224 | 238 | |
|
225 | 239 | assert User.find(2).rss_token |
|
226 | 240 | assert_match /reset/, flash[:notice] |
|
227 | 241 | assert_redirected_to '/my/account' |
|
228 | 242 | end |
|
229 | 243 | |
|
230 | 244 | def test_reset_api_key_with_existing_key |
|
231 | 245 | @previous_token_value = User.find(2).api_key # Will generate one if it's missing |
|
232 | 246 | post :reset_api_key |
|
233 | 247 | |
|
234 | 248 | assert_not_equal @previous_token_value, User.find(2).api_key |
|
235 | 249 | assert User.find(2).api_token |
|
236 | 250 | assert_match /reset/, flash[:notice] |
|
237 | 251 | assert_redirected_to '/my/account' |
|
238 | 252 | end |
|
239 | 253 | |
|
240 | 254 | def test_reset_api_key_without_existing_key |
|
241 | 255 | assert_nil User.find(2).api_token |
|
242 | 256 | post :reset_api_key |
|
243 | 257 | |
|
244 | 258 | assert User.find(2).api_token |
|
245 | 259 | assert_match /reset/, flash[:notice] |
|
246 | 260 | assert_redirected_to '/my/account' |
|
247 | 261 | end |
|
248 | 262 | end |
@@ -1,155 +1,184 | |||
|
1 | 1 | # Redmine - project management software |
|
2 | 2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | require File.expand_path('../../test_helper', __FILE__) |
|
19 | 19 | |
|
20 | 20 | class WelcomeControllerTest < ActionController::TestCase |
|
21 | 21 | fixtures :projects, :news, :users, :members |
|
22 | 22 | |
|
23 | 23 | def setup |
|
24 | 24 | User.current = nil |
|
25 | 25 | end |
|
26 | 26 | |
|
27 | 27 | def test_index |
|
28 | 28 | get :index |
|
29 | 29 | assert_response :success |
|
30 | 30 | assert_template 'index' |
|
31 | 31 | assert_not_nil assigns(:news) |
|
32 | 32 | assert_not_nil assigns(:projects) |
|
33 | 33 | assert !assigns(:projects).include?(Project.where(:is_public => false).first) |
|
34 | 34 | end |
|
35 | 35 | |
|
36 | 36 | def test_browser_language |
|
37 | 37 | Setting.default_language = 'en' |
|
38 | 38 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' |
|
39 | 39 | get :index |
|
40 | 40 | assert_equal :fr, @controller.current_language |
|
41 | 41 | end |
|
42 | 42 | |
|
43 | 43 | def test_browser_language_alternate |
|
44 | 44 | Setting.default_language = 'en' |
|
45 | 45 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'zh-TW' |
|
46 | 46 | get :index |
|
47 | 47 | assert_equal :"zh-TW", @controller.current_language |
|
48 | 48 | end |
|
49 | 49 | |
|
50 | 50 | def test_browser_language_alternate_not_valid |
|
51 | 51 | Setting.default_language = 'en' |
|
52 | 52 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr-CA' |
|
53 | 53 | get :index |
|
54 | 54 | assert_equal :fr, @controller.current_language |
|
55 | 55 | end |
|
56 | 56 | |
|
57 | def test_browser_language_should_be_ignored_with_force_default_language_for_anonymous | |
|
58 | Setting.default_language = 'en' | |
|
59 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' | |
|
60 | with_settings :force_default_language_for_anonymous => '1' do | |
|
61 | get :index | |
|
62 | assert_equal :en, @controller.current_language | |
|
63 | end | |
|
64 | end | |
|
65 | ||
|
66 | def test_user_language_should_be_used | |
|
67 | Setting.default_language = 'fi' | |
|
68 | user = User.find(2).update_attribute :language, 'it' | |
|
69 | @request.session[:user_id] = 2 | |
|
70 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' | |
|
71 | get :index | |
|
72 | assert_equal :it, @controller.current_language | |
|
73 | end | |
|
74 | ||
|
75 | def test_user_language_should_be_ignored_if_force_default_language_for_loggedin | |
|
76 | Setting.default_language = 'fi' | |
|
77 | user = User.find(2).update_attribute :language, 'it' | |
|
78 | @request.session[:user_id] = 2 | |
|
79 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' | |
|
80 | with_settings :force_default_language_for_loggedin => '1' do | |
|
81 | get :index | |
|
82 | assert_equal :fi, @controller.current_language | |
|
83 | end | |
|
84 | end | |
|
85 | ||
|
57 | 86 | def test_robots |
|
58 | 87 | get :robots |
|
59 | 88 | assert_response :success |
|
60 | 89 | assert_equal 'text/plain', @response.content_type |
|
61 | 90 | assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$}) |
|
62 | 91 | end |
|
63 | 92 | |
|
64 | 93 | def test_warn_on_leaving_unsaved_turn_on |
|
65 | 94 | user = User.find(2) |
|
66 | 95 | user.pref.warn_on_leaving_unsaved = '1' |
|
67 | 96 | user.pref.save! |
|
68 | 97 | @request.session[:user_id] = 2 |
|
69 | 98 | |
|
70 | 99 | get :index |
|
71 | 100 | assert_tag 'script', |
|
72 | 101 | :attributes => {:type => "text/javascript"}, |
|
73 | 102 | :content => %r{warnLeavingUnsaved} |
|
74 | 103 | end |
|
75 | 104 | |
|
76 | 105 | def test_warn_on_leaving_unsaved_turn_off |
|
77 | 106 | user = User.find(2) |
|
78 | 107 | user.pref.warn_on_leaving_unsaved = '0' |
|
79 | 108 | user.pref.save! |
|
80 | 109 | @request.session[:user_id] = 2 |
|
81 | 110 | |
|
82 | 111 | get :index |
|
83 | 112 | assert_no_tag 'script', |
|
84 | 113 | :attributes => {:type => "text/javascript"}, |
|
85 | 114 | :content => %r{warnLeavingUnsaved} |
|
86 | 115 | end |
|
87 | 116 | |
|
88 | 117 | def test_logout_link_should_post |
|
89 | 118 | @request.session[:user_id] = 2 |
|
90 | 119 | |
|
91 | 120 | get :index |
|
92 | 121 | assert_select 'a[href=/logout][data-method=post]', :text => 'Sign out' |
|
93 | 122 | end |
|
94 | 123 | |
|
95 | 124 | def test_call_hook_mixed_in |
|
96 | 125 | assert @controller.respond_to?(:call_hook) |
|
97 | 126 | end |
|
98 | 127 | |
|
99 | 128 | def test_project_jump_box_should_escape_names_once |
|
100 | 129 | Project.find(1).update_attribute :name, 'Foo & Bar' |
|
101 | 130 | @request.session[:user_id] = 2 |
|
102 | 131 | |
|
103 | 132 | get :index |
|
104 | 133 | assert_select "#header select" do |
|
105 | 134 | assert_select "option", :text => 'Foo & Bar' |
|
106 | 135 | end |
|
107 | 136 | end |
|
108 | 137 | |
|
109 | 138 | def test_api_offset_and_limit_without_params |
|
110 | 139 | assert_equal [0, 25], @controller.api_offset_and_limit({}) |
|
111 | 140 | end |
|
112 | 141 | |
|
113 | 142 | def test_api_offset_and_limit_with_limit |
|
114 | 143 | assert_equal [0, 30], @controller.api_offset_and_limit({:limit => 30}) |
|
115 | 144 | assert_equal [0, 100], @controller.api_offset_and_limit({:limit => 120}) |
|
116 | 145 | assert_equal [0, 25], @controller.api_offset_and_limit({:limit => -10}) |
|
117 | 146 | end |
|
118 | 147 | |
|
119 | 148 | def test_api_offset_and_limit_with_offset |
|
120 | 149 | assert_equal [10, 25], @controller.api_offset_and_limit({:offset => 10}) |
|
121 | 150 | assert_equal [0, 25], @controller.api_offset_and_limit({:offset => -10}) |
|
122 | 151 | end |
|
123 | 152 | |
|
124 | 153 | def test_api_offset_and_limit_with_offset_and_limit |
|
125 | 154 | assert_equal [10, 50], @controller.api_offset_and_limit({:offset => 10, :limit => 50}) |
|
126 | 155 | end |
|
127 | 156 | |
|
128 | 157 | def test_api_offset_and_limit_with_page |
|
129 | 158 | assert_equal [0, 25], @controller.api_offset_and_limit({:page => 1}) |
|
130 | 159 | assert_equal [50, 25], @controller.api_offset_and_limit({:page => 3}) |
|
131 | 160 | assert_equal [0, 25], @controller.api_offset_and_limit({:page => 0}) |
|
132 | 161 | assert_equal [0, 25], @controller.api_offset_and_limit({:page => -2}) |
|
133 | 162 | end |
|
134 | 163 | |
|
135 | 164 | def test_api_offset_and_limit_with_page_and_limit |
|
136 | 165 | assert_equal [0, 100], @controller.api_offset_and_limit({:page => 1, :limit => 100}) |
|
137 | 166 | assert_equal [200, 100], @controller.api_offset_and_limit({:page => 3, :limit => 100}) |
|
138 | 167 | end |
|
139 | 168 | |
|
140 | 169 | def test_unhautorized_exception_with_anonymous_should_redirect_to_login |
|
141 | 170 | WelcomeController.any_instance.stubs(:index).raises(::Unauthorized) |
|
142 | 171 | |
|
143 | 172 | get :index |
|
144 | 173 | assert_response 302 |
|
145 | 174 | assert_redirected_to('/login?back_url='+CGI.escape('http://test.host/')) |
|
146 | 175 | end |
|
147 | 176 | |
|
148 | 177 | def test_unhautorized_exception_with_anonymous_and_xmlhttprequest_should_respond_with_401_to_anonymous |
|
149 | 178 | WelcomeController.any_instance.stubs(:index).raises(::Unauthorized) |
|
150 | 179 | |
|
151 | 180 | @request.env["HTTP_X_REQUESTED_WITH"] = "XMLHttpRequest" |
|
152 | 181 | get :index |
|
153 | 182 | assert_response 401 |
|
154 | 183 | end |
|
155 | 184 | end |
General Comments 0
You need to be logged in to leave comments.
Login now