Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a4774627d | ||
|
|
5eab4af70d | ||
|
|
96b2e00015 | ||
|
|
9939fbeef6 | ||
|
|
b369f82d15 | ||
|
|
0ad5dfaba0 | ||
|
|
d7d18689b7 |
@@ -1095,8 +1095,14 @@ module ApplicationHelper
|
|||||||
unless @calendar_headers_tags_included
|
unless @calendar_headers_tags_included
|
||||||
@calendar_headers_tags_included = true
|
@calendar_headers_tags_included = true
|
||||||
content_for :header_tags do
|
content_for :header_tags do
|
||||||
|
start_of_week = Setting.start_of_week
|
||||||
|
start_of_week = l(:general_first_day_of_week, :default => '1') if start_of_week.blank?
|
||||||
|
# Redmine uses 1..7 (monday..sunday) in settings and locales
|
||||||
|
# JQuery uses 0..6 (sunday..saturday), 7 needs to be changed to 0
|
||||||
|
start_of_week = start_of_week.to_i % 7
|
||||||
|
|
||||||
tags = javascript_tag(
|
tags = javascript_tag(
|
||||||
"var datepickerOptions={dateFormat: 'yy-mm-dd', " +
|
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
|
||||||
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
||||||
path_to_image('/images/calendar.png') +
|
path_to_image('/images/calendar.png') +
|
||||||
"', showButtonPanel: true};")
|
"', showButtonPanel: true};")
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<%= javascript_include_tag 'raphael.js' %>
|
<%= javascript_tag do %>
|
||||||
<%= javascript_include_tag 'revision_graph.js' %>
|
|
||||||
<script type="text/javascript" charset="utf-8">
|
|
||||||
function revisionGraphHandler(){
|
function revisionGraphHandler(){
|
||||||
drawRevisionGraph(
|
drawRevisionGraph(
|
||||||
document.getElementById('holder'),
|
document.getElementById('holder'),
|
||||||
@@ -10,5 +8,11 @@ function revisionGraphHandler(){
|
|||||||
}
|
}
|
||||||
$(document).ready(revisionGraphHandler);
|
$(document).ready(revisionGraphHandler);
|
||||||
$(window).resize(revisionGraphHandler);
|
$(window).resize(revisionGraphHandler);
|
||||||
</script>
|
<% end %>
|
||||||
|
|
||||||
<div id="holder" class="revision-graph"></div>
|
<div id="holder" class="revision-graph"></div>
|
||||||
|
|
||||||
|
<% content_for :header_tags do %>
|
||||||
|
<%= javascript_include_tag 'raphael' %>
|
||||||
|
<%= javascript_include_tag 'revision_graph' %>
|
||||||
|
<% end %>
|
||||||
|
|||||||
@@ -1087,9 +1087,9 @@ ja:
|
|||||||
label_readonly: 読み取り専用
|
label_readonly: 読み取り専用
|
||||||
label_required: 必須
|
label_required: 必須
|
||||||
text_repository_identifier_info: アルファベット小文字(a-z)・数字・ハイフン・アンダースコアが使えます。<br />識別子は後で変更することはできません。
|
text_repository_identifier_info: アルファベット小文字(a-z)・数字・ハイフン・アンダースコアが使えます。<br />識別子は後で変更することはできません。
|
||||||
field_board_parent: Parent forum
|
field_board_parent: 親フォーラム
|
||||||
label_attribute_of_project: Project's %{name}
|
label_attribute_of_project: プロジェクトの %{name}
|
||||||
label_attribute_of_author: Author's %{name}
|
label_attribute_of_author: 作成者の %{name}
|
||||||
label_attribute_of_assigned_to: Assignee's %{name}
|
label_attribute_of_assigned_to: 担当者の %{name}
|
||||||
label_attribute_of_fixed_version: Target version's %{name}
|
label_attribute_of_fixed_version: 対象バージョンの %{name}
|
||||||
label_copy_subtasks: Copy subtasks
|
label_copy_subtasks: 子チケットをコピー
|
||||||
|
|||||||
@@ -4,6 +4,105 @@ Redmine - project management software
|
|||||||
Copyright (C) 2006-2012 Jean-Philippe Lang
|
Copyright (C) 2006-2012 Jean-Philippe Lang
|
||||||
http://www.redmine.org/
|
http://www.redmine.org/
|
||||||
|
|
||||||
|
== 2012-09-16 v2.1.0
|
||||||
|
|
||||||
|
* Defect #2071: Reordering priority-enumerations breaks alternate-theme's issue-colouring
|
||||||
|
* Defect #2190: Month names not translated to german
|
||||||
|
* Defect #8978: LDAP timeout if an LDAP auth provider is unreachable
|
||||||
|
* Defect #9839: Gantt abbr of weekday should not be necessarily the first letter of the long day name
|
||||||
|
* Defect #10928: Documentation about generating a plugin is not up-to-date
|
||||||
|
* Defect #11034: TLS configuration documentation for Rails 3
|
||||||
|
* Defect #11073: UserCustomField order_statement returns wrong output
|
||||||
|
* Defect #11153: Default sorting for target version is DESC instead of ASC
|
||||||
|
* Defect #11207: Issues associated with a locked version are not copied when copying a project
|
||||||
|
* Defect #11304: Issue-class: status-1, status-2 etc. refer to status position instead of status id
|
||||||
|
* Defect #11331: Openid registration form should not require user to enter password
|
||||||
|
* Defect #11345: Context menu should show shared versions when editing issues from different projects
|
||||||
|
* Defect #11355: Plain text notification emails content is HTML escaped
|
||||||
|
* Defect #11388: Updating a version through rest API returns invalid JSON
|
||||||
|
* Defect #11389: Warning in awesome_nested_set.rb
|
||||||
|
* Defect #11503: Accessing /projects/:project/wiki/something.png fails with error 500
|
||||||
|
* Defect #11506: Versions that are not shared should not be assignable when selecting another project
|
||||||
|
* Defect #11508: Projects not ordered alphabetically after renaming project
|
||||||
|
* Defect #11540: Roadmap anchor links can be ambigous
|
||||||
|
* Defect #11545: Overwriting existing method Issue.open
|
||||||
|
* Defect #11552: MailHandler does not match assignee name with spaces
|
||||||
|
* Defect #11571: Custom fields of type version not proper handled in receiving e-mails
|
||||||
|
* Defect #11577: Can't use non-latin anchor in wiki
|
||||||
|
* Defect #11612: Revision graph sometimes broken due to raphael.js error
|
||||||
|
* Defect #11621: Redmine MIME Detection Of Javascript Files Non-Standard
|
||||||
|
* Defect #11633: Macro arguments should not be parsed by text formatters
|
||||||
|
* Defect #11662: Invalid query returned from Issues.visible scope after accessing User#projects_by_role with a role that is not present
|
||||||
|
* Defect #11691: 404 response when deleting a user from the edit page
|
||||||
|
* Defect #11723: redmine:send_reminders notification misses if assignee is a group
|
||||||
|
* Defect #11738: Batch update of issues clears project path
|
||||||
|
* Defect #11749: Redmine.pm: HEAD is not considered as a read-only method
|
||||||
|
* Defect #11814: Date picker does not respect week start setting
|
||||||
|
* Feature #703: Configurable required fields per tracker/status/role
|
||||||
|
* Feature #1006: Display thumbnails of attached images
|
||||||
|
* Feature #1091: Disabling default ticket fields per tracker
|
||||||
|
* Feature #1360: Permission for adding an issue to a version.
|
||||||
|
* Feature #3061: Let macros optionally match over multiple lines and ignore single curly braces
|
||||||
|
* Feature #3510: Inserting image thumbnails inside the wiki
|
||||||
|
* Feature #3521: Permissions for roles to change fields per tracker/status
|
||||||
|
* Feature #3640: Freeze / Close Projects
|
||||||
|
* Feature #3831: Support for subforums
|
||||||
|
* Feature #6597: Configurable session lifetime and timeout
|
||||||
|
* Feature #6965: Option to Copy Subtasks when copying an issue
|
||||||
|
* Feature #8161: Ability to filter issues on project custom fields
|
||||||
|
* Feature #8577: "Private" column and filter on the issue list
|
||||||
|
* Feature #8981: REST Api for Groups
|
||||||
|
* Feature #9258: Create role by copy
|
||||||
|
* Feature #9419: Group/sort the issue list by user/version-format custom fields
|
||||||
|
* Feature #10362: Show images in repositories inline when clicking the 'View' link
|
||||||
|
* Feature #10419: Upgrade raphael.js (2.1.0)
|
||||||
|
* Feature #11068: Ability to set default column order in issue list
|
||||||
|
* Feature #11102: Add autocomplete to "Related issue" field on revision
|
||||||
|
* Feature #11109: Repository Identifier should be frozen
|
||||||
|
* Feature #11181: Additional "Log time" link on project overview
|
||||||
|
* Feature #11205: Reversed order of priorities on the issue summary page
|
||||||
|
* Feature #11445: Switch from Prototype to JQuery
|
||||||
|
* Feature #11469: JSONP support
|
||||||
|
* Feature #11475: Redmine.pm: Allow fallback to other Apache auth providers
|
||||||
|
* Feature #11494: Don't turn #nnn with leading zeros into links
|
||||||
|
* Feature #11539: Display a projects tree instead of a flat list in notification preferences
|
||||||
|
* Feature #11578: Option to pass whole arguments to a macro without splitting them
|
||||||
|
* Feature #11595: Missing mime type for svg files
|
||||||
|
* Feature #11758: Upgrade to Rails 3.2.8
|
||||||
|
* Patch #4905: Redmine.pm: add support for Git's smart HTTP protocol
|
||||||
|
* Patch #10988: New Korean translation patch
|
||||||
|
* Patch #11201: Korean translation special update
|
||||||
|
* Patch #11401: Fix Japanese mistranslation for "button_submit"
|
||||||
|
* Patch #11402: Japanese translation added for default role names
|
||||||
|
* Patch #11411: Fix disordered use of long sound in Japanese "user" translation
|
||||||
|
* Patch #11412: Unnatural Japanese message when users failed to login
|
||||||
|
* Patch #11419: Fix wrong Japanese "label_attachment" translation
|
||||||
|
* Patch #11496: Make labels clickable in Adminstration/Settings
|
||||||
|
* Patch #11704: Avoid the use of tag("...", "...", true) in layout
|
||||||
|
* Patch #11818: Redmine.pm fails when permissions are NULL
|
||||||
|
|
||||||
|
== 2012-09-16 v2.0.4
|
||||||
|
|
||||||
|
* Defect #10818: Running rake in test environment causes exception
|
||||||
|
* Defect #11209: Wiki diff may generate broken HTML
|
||||||
|
* Defect #11217: Project names in drop-down are escaped twice
|
||||||
|
* Defect #11262: Link is escaped in wiki added/updated notification email
|
||||||
|
* Defect #11307: Can't filter for negative numeric custom fields
|
||||||
|
* Defect #11325: Unified diff link broken on specific file/revision diff view
|
||||||
|
* Defect #11341: Escaped link in conflict resolution form
|
||||||
|
* Defect #11365: Attachment description length is not validated
|
||||||
|
* Defect #11511: Confirmation page has broken HTML when a project folding sub project is deleted
|
||||||
|
* Defect #11533: rake redmine:plugins:test doesn't run tests in subdirectories
|
||||||
|
* Defect #11541: Version sharing is missing in the REST API
|
||||||
|
* Defect #11550: Issue reminder doesn't work when using asynchronous delivery
|
||||||
|
* Defect #11776: Can't override mailer views inside redmine plugin.
|
||||||
|
* Defect #11789: Edit section links broken with h5/h6 headings
|
||||||
|
* Feature #11338: Exclude emails with auto-submitted => auto-generated
|
||||||
|
* Patch #11299: redmine:plugins:migrate should update db/schema.rb
|
||||||
|
* Patch #11328: Fix Japanese mistranslation for 'label_language_based'
|
||||||
|
* Patch #11448: Russian translation for 1.4-stable and 2.0-stable
|
||||||
|
* Patch #11600: Fix plural form of the abbreviation for hours in Brazilian Portuguese
|
||||||
|
|
||||||
== 2012-06-18 v2.0.3
|
== 2012-06-18 v2.0.3
|
||||||
|
|
||||||
* Defect #10688: PDF export from Wiki - Problems with tables
|
* Defect #10688: PDF export from Wiki - Problems with tables
|
||||||
|
|||||||
+5
-2
@@ -13,7 +13,7 @@ http://www.redmine.org/
|
|||||||
|
|
||||||
* A database:
|
* A database:
|
||||||
* MySQL (tested with MySQL 5.1)
|
* MySQL (tested with MySQL 5.1)
|
||||||
* PostgreSQL (tested with PostgreSQL 8.4)
|
* PostgreSQL (tested with PostgreSQL 9.1)
|
||||||
* SQLite3 (tested with SQLite 3.6)
|
* SQLite3 (tested with SQLite 3.6)
|
||||||
|
|
||||||
Optional:
|
Optional:
|
||||||
@@ -38,7 +38,10 @@ Optional:
|
|||||||
3. Create an empty utf8 encoded database: "redmine" for example
|
3. Create an empty utf8 encoded database: "redmine" for example
|
||||||
|
|
||||||
4. Configure the database parameters in config/database.yml
|
4. Configure the database parameters in config/database.yml
|
||||||
for the "production" environment (default database is MySQL)
|
for the "production" environment (default database is MySQL and ruby1.8)
|
||||||
|
|
||||||
|
If you're running Redmine with MySQL and ruby1.9, replace the adapter name
|
||||||
|
with `mysql2`
|
||||||
|
|
||||||
5. Generate a session store secret
|
5. Generate a session store secret
|
||||||
|
|
||||||
|
|||||||
@@ -249,7 +249,8 @@ sub RedmineDSN {
|
|||||||
roles.id IN (SELECT member_roles.role_id FROM members, member_roles WHERE members.user_id = users.id AND members.project_id = projects.id AND members.id = member_roles.member_id)
|
roles.id IN (SELECT member_roles.role_id FROM members, member_roles WHERE members.user_id = users.id AND members.project_id = projects.id AND members.id = member_roles.member_id)
|
||||||
OR
|
OR
|
||||||
(roles.builtin=1 AND cast(projects.is_public as CHAR) IN ('t', '1'))
|
(roles.builtin=1 AND cast(projects.is_public as CHAR) IN ('t', '1'))
|
||||||
) ";
|
)
|
||||||
|
AND roles.permissions IS NOT NULL";
|
||||||
$self->{RedmineQuery} = trim($query);
|
$self->{RedmineQuery} = trim($query);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ module Redmine
|
|||||||
# * official release: nil
|
# * official release: nil
|
||||||
# * stable branch: stable
|
# * stable branch: stable
|
||||||
# * trunk: devel
|
# * trunk: devel
|
||||||
BRANCH = 'devel'
|
BRANCH = 'stable'
|
||||||
|
|
||||||
def self.revision
|
def self.revision
|
||||||
revision = nil
|
revision = nil
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -35,6 +35,9 @@ function drawRevisionGraph(holder, commits_hash, graph_space) {
|
|||||||
var path, title;
|
var path, title;
|
||||||
var revision_dot_overlay;
|
var revision_dot_overlay;
|
||||||
$.each(commits, function(index, commit) {
|
$.each(commits, function(index, commit) {
|
||||||
|
if (!commit.hasOwnProperty("space"))
|
||||||
|
commit.space = 0;
|
||||||
|
|
||||||
y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
|
y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
|
||||||
x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space;
|
x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space;
|
||||||
revisionGraph.circle(x, y, 3)
|
revisionGraph.circle(x, y, 3)
|
||||||
@@ -46,6 +49,9 @@ function drawRevisionGraph(holder, commits_hash, graph_space) {
|
|||||||
$.each(commit.parent_scmids, function(index, parent_scmid) {
|
$.each(commit.parent_scmids, function(index, parent_scmid) {
|
||||||
parent_commit = commits_by_scmid[parent_scmid];
|
parent_commit = commits_by_scmid[parent_scmid];
|
||||||
if (parent_commit) {
|
if (parent_commit) {
|
||||||
|
if (!parent_commit.hasOwnProperty("space"))
|
||||||
|
parent_commit.space = 0;
|
||||||
|
|
||||||
parent_y = commit_table_rows.eq(max_rdmid - parent_commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
|
parent_y = commit_table_rows.eq(max_rdmid - parent_commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET;
|
||||||
parent_x = graph_x_offset + XSTEP / 2 + XSTEP * parent_commit.space;
|
parent_x = graph_x_offset + XSTEP / 2 + XSTEP * parent_commit.space;
|
||||||
if (parent_commit.space == commit.space) {
|
if (parent_commit.space == commit.space) {
|
||||||
|
|||||||
Reference in New Issue
Block a user