Oliver Günther
6ef4211e77
Bump copyright to 2018 ( #6171 )
...
[ci skip]
7 years ago
Henriette Dinger
8a71ad783a
Fix design issues on timesheet page
...
https://community.openproject.com/projects/openproject/work_packages/25809
[ci skip]
7 years ago
ulferts
3a890a5645
Fix/remove relation columns from export ( #5652 )
...
* provide common interface to exporters - exclude relation columns
* code prettification
[ci skip]
8 years ago
Oliver Günther
7cf11bb689
Update copyright notice
8 years ago
Alex Coles
72973cffb4
Migrate AR finder/query methods in helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
b10927c01e
Fix syntax (w/Rubocop) in (Rails) helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
57618b25ec
Replace dynamic finder usages with #find_by, etc.
...
This patch replaces all dynamic finders, for the sake of consistency,
although only some methods are deprecated. See:
https://github.com/rails/activerecord-deprecated_finders#active-record-deprecated-finders
* Revert some `User#find_by_login` usages in cuke steps accidentally
removed in 74228b59
.
User Story # 20325
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
e0191e759c
Update year in copyright header to 2015
...
[ci skip]
10 years ago
Alex Coles
b257d7bc61
Prefer #map over #collect in (Rails) helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
b273a56402
Fix syntax (w/Rubocop) in (Rails) helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
aef5a76af4
Use 1.9+ Hash syntax in (Rails) helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
10 years ago
Alex Coles
f517b3a422
Fix whitespace in (Rails) helpers
...
Signed-off-by: Alex Coles <alex@alexbcoles.com>
11 years ago
Johannes Wollert
8b096975fe
updates copyright headers
...
updates more copyright
more copyright headers
11 years ago
Markus Kahl
7d39b14d74
export timelog csv in utf-8
11 years ago
Philipp Tessenow
79d7a270c0
move common code of reports_controller and timelog_controller into a common helper
11 years ago
Philipp Tessenow
a1e67dd460
new copyright header #1903
11 years ago
Stefan Frank
452095bf92
more factories replaced
11 years ago
Stefan Frank
d1becfc238
Removed the link_to_issue and replaced references with link_to_workpackage
11 years ago
Philipp Tessenow
b70698f49d
remove usage of fastercsv
...
it was used by redmine running on pre 1.9 ruby versions
11 years ago
Martin Czuchra
847a3029a9
Renames Tracker into Type.
11 years ago
Hagen Schink
a6f83f1d3c
Adapt references to work package
12 years ago
Hagen Schink
8baacde427
Fix tests
12 years ago
Hagen Schink
82d2400cf0
Let issues work via STI
12 years ago
Jens Ulferts
21459a384f
provide every possible file with a short copyright notice
...
This was done using the rake task: rake copyright:update
12 years ago
Philipp Tessenow
56a2f1bfa3
csv export of time_entries may now translate its headers with a precomputed String, instead of Symbols only
12 years ago
Philipp Tessenow
c68d55f95e
update translations in model/view/controller/helper for time_entries
12 years ago
Martin Linkhorst
40d099016b
DEPRECATION FIX: use String#encode instead of Iconv
12 years ago
Jens Ulferts
b2e553daea
uses named_routes for paths inside time_entries
12 years ago
Martin Linkhorst
23ca8f6839
make timelogs readable (html_safe)
12 years ago
Holger Just
91070236db
Set source encoding to UTF-8
13 years ago
Eric Davis
2c46411678
[ #547 ] Security audit
13 years ago
Holger Just
07185fb169
[ #436 ] Remove trailing whitespace
14 years ago
Eric Davis
99507a0391
[ #197 ] Upgrade the copyright in the code files
14 years ago
Eric Davis
e131c3b531
[ #197 ] Remove old copyrights
14 years ago
Eric Davis
13de4cc4b0
[ #383 ] Fixed failing tests due to a helper method name conflict (to_utf8)
...
Introduced in 1eee7312f6
14 years ago
Jean-Philippe Lang
663f0c83b2
Fixes time report with JRuby ( #5404 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Jean-Philippe Lang
d8c5549168
Changes misleading scopes on Enumeration.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3083 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Jean-Philippe Lang
1a65eb8b08
Don't reveal issue subjects if user is only allowed to view spent time ( #3187 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3043 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Jean-Philippe Lang
cbeeaa4d4d
Refactoring ApplicationHelper#link_to_issue.
...
Now displays issue subject by default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Jean-Philippe Lang
27e3fa2bed
Use FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3007 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Eric Davis
e615266e9a
Changed the Timelogs to use both the Systemwide and Project specific TimeEntryActivities
...
* Added Project#activities to return all the Systemwide and Project specific
activities, excluding Systemwide ones that are overridden.
* Added some tests for TimelogHelper.
#4077
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2948 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Eric Davis
e76d4c5c4c
Added an active field track if an Enumeration is active on the frontend view.
...
* Changed TimelogHelper#activity_collection_for_select_options to only use
active TimeEntryActivities.
* Changed TimelogHelper#activity_collection_for_select_options to return a blank
option if the time_entry's current activity is inactive.
#4077
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 years ago
Eric Davis
62e58f26b0
Changed Enumerations to use a Single Table Inheritance
...
* Added migrations to change Enumerations to an STI relationship
* Added TimeEntryActivity model (STI)
* Added DocumentCategory model (STI)
* Added IssuePriority model (STI)
* Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration
* Changed Enumeration to use the STI type field instead of the opt field
* Changed Enumeration#opt to return the old opt values but with a deprecation warning.
* Removed Enumeration::OPTIONS
* Removed the dynamic named_scopes in favor of specific named_scopes. Kept for
compatibility reasons.
* Added Enumeration#default so each subclass can easily find it's default record.
* Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default.
* Added a 'all' named scope for getting all records in order by position.
* Added Deprecation warnings to the old named_scopes in Enumerations.
* Moved various methods off of Enumeration and onto the concrete classes
* Changed the EnumerationsController to use types
* Updated the Enumeration list template
* Added has_many relationships to the Enumeration STI classes.
* Fixes for tests.
#3007
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 years ago
Jean-Philippe Lang
801ad70cb7
Show timelog reports for non-versioned issues ( #3051 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2643 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 years ago
Jean-Philippe Lang
4601ed2f3a
Replaces Enumeration.get_values and Enumeration.default with named scopes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 years ago
Jean-Philippe Lang
11346455a1
Fixed: Details time log report CSV export doesn't honour date format from settings (patch #2466 by Russell Hind).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2302 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 years ago
Jean-Philippe Lang
696d21f8c8
Adds cross-project time reports support ( #994 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1778 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 years ago
Jean-Philippe Lang
f54c2d812d
Adds custom fields to the time entries csv export.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1690 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 years ago
Jean-Philippe Lang
1424b0f215
Addq "please select" to activity select box if no activity is set as default ( #937 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1602 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 years ago
Jean-Philippe Lang
a4a8b6381e
Adds a key in lang files (general_csv_decimal_separator) to set the decimal separator (point or comma) in csv exports ( #1372 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1591 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 years ago