Commit Graph

98 Commits

Author SHA1 Message Date
Toshi MARUYAMA 9c080b36dd rename .rhtml to .html.erb of app/views/my/_sidebar.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:58:37 +00:00
Toshi MARUYAMA f6fdbb691a rename .rhtml to .html.erb of app/views/my/password.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:57:41 +00:00
Toshi MARUYAMA 4430983c74 rename .rhtml to .html.erb of app/views/my/_block.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:56:47 +00:00
Toshi MARUYAMA e116600856 rename .rhtml to .html.erb of app/views/my/page_layout.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:56:04 +00:00
Toshi MARUYAMA 3b74d3f7cc rename .rhtml to .html.erb of app/views/my/account.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:55:25 +00:00
Toshi MARUYAMA fc591750be rename .rhtml to .html.erb of app/views/my/page.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:54:48 +00:00
Toshi MARUYAMA 9a50e49cc9 rename .rhtml to .html.erb of app/views/my/blocks/_news.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:48:12 +00:00
Toshi MARUYAMA 02cbfec9cd rename .rhtml to .html.erb of app/views/my/blocks/_issuesreportedbyme.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:47:17 +00:00
Toshi MARUYAMA 22bb56cb5d rename .rhtml to .html.erb of app/views/my/blocks/_calendar.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:46:33 +00:00
Toshi MARUYAMA e673c5d13c rename .rhtml to .html.erb of app/views/my/blocks/_timelog.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:45:51 +00:00
Toshi MARUYAMA 231428516e rename .rhtml to .html.erb of app/views/my/blocks/_documents.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:45:06 +00:00
Toshi MARUYAMA 67fc585671 rename .rhtml to .html.erb of app/views/my/blocks/_issueswatched.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:44:21 +00:00
Toshi MARUYAMA b2219b3269 rename .rhtml to .html.erb of app/views/my/blocks/_issuesassignedtome.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 10:43:36 +00:00
Jean-Philippe Lang 7f77744e86 Include issues asigned to user's groups when using "assigned to me" filter (#2964).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-31 10:22:36 +00:00
Jean-Philippe Lang 5b648a7dae Restored error messages on my account.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:23:11 +00:00
Jean-Philippe Lang c19e3e0627 Replaced h3+div with fieldsets on my account and user form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:21:37 +00:00
Jean-Philippe Lang 247a6f304e Adds an icon to the change password link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:56:27 +00:00
Toshi MARUYAMA 9121a060a5 Use link_to_user instead of a manual link in my account sidebar (#8345).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 00:26:58 +00:00
Toshi MARUYAMA 1d78dd8324 HTML escape some user values in account sidebar (#8345).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 00:26:16 +00:00
Toshi MARUYAMA 16c0b67941 make username a link to their profile page (#8345).
Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 00:25:35 +00:00
Jean-Philippe Lang 7ef527a653 Adds colon after label.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 14:04:11 +00:00
Jean-Philippe Lang ae498a06e2 Removed hardcoded links in my/page_layout (#6839).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 12:36:19 +00:00
Eric Davis ce99f3247f Use HTTP DELETE when deleting a time entry. #6674
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-15 23:37:01 +00:00
Eric Davis 437690119b Allow admins to edit user's email notifications and preferences. #3503
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 22:13:06 +00:00
Eric Davis 0316af7f6b Converted User#mail_notification from a boolean to a string.
The string will now store which type of notification option to use.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 18:22:00 +00:00
Eric Davis 43fabab950 Fixed HTML validation errors
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 16:50:13 +00:00
Eric Davis c3c3460e0d Add the page title when editing /my/page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-26 21:52:03 +00:00
Eric Davis 52a92b1822 Added a missing label to my/page_layout.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-24 18:23:42 +00:00
Eric Davis 908d44519c Allow AuthSources to control if they allow password changes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-23 03:16:37 +00:00
Jean-Philippe Lang 0fa124a92c Adds missing thead tags (#5440).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-09 11:19:15 +00:00
Eric Davis 22c1e2b8cf Adds named scopes to replace custom finders.
* Adds watched_by class method in ActsAsWatchable
* Adds Issue#recently_updated, Issue#with_limit and Issue#on_active_project

  #2482

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-10 05:10:43 +00:00
Jean-Philippe Lang bd5fe10c13 Adds an helper for creating the context menu.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-04 19:02:57 +00:00
Jean-Philippe Lang 7ef20cc169 Fixed: potential security leak on my page calendar (#4691).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-30 11:23:17 +00:00
Jean-Philippe Lang e26eeef837 Display API key in the sidebar, just below the API key heading.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:13:24 +00:00
Jean-Philippe Lang d404d2f586 Do not display API key if API is disabled.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:08:39 +00:00
Jean-Philippe Lang 682829a904 Fills translations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:03:40 +00:00
Eric Davis aa9951b38b Added an API token for each User to use when making API requests. (#3920)
The API key will be displayed on My Account page with a link to reset or
generate a new one.  All existing users will have a token generated by the
migration.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:28 +00:00
Jean-Philippe Lang 9d120c872c Fixes block reordering on my page (#2971).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 13:32:21 +00:00
Eric Davis 5a9528cf3d Added :view_my_account_contextual hook.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-25 01:14:19 +00:00
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
2009-11-14 12:53:50 +00:00
Jean-Philippe Lang 21e18c1eb4 Adds missing native eol properties.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-20 14:06:57 +00:00
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
2009-05-30 23:30:36 +00:00
Jean-Philippe Lang 31cf9be7ab Makes minimum password length configurable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-21 13:43:57 +00:00
Eric Davis 451ef7f21f Added several more plugin hooks:
* :controller_custom_fields_new_after_save
* :controller_custom_fields_edit_after_save
* :view_custom_fields_form_upper_box
* :view_custom_fields_form_* (type of custom field)
* :view_issue_statuses_form
* :view_issues_show_description_bottom
* :view_my_account
* :view_users_form

  #2599

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-21 00:22:59 +00:00
Jean-Philippe Lang d516d9d9e5 Set sort orders on 'View all issues' links on my page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-17 17:34:49 +00:00
Jean-Philippe Lang ec378bb446 Makes the 'View all' link on 'Reported issues' list open and closed issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-17 17:31:02 +00:00
Jean-Philippe Lang b44317b762 Adds issue count on assigned and reported 'My page' modules (#2986).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-17 17:27:30 +00:00
Jean-Philippe Lang 5b96d1b083 Allow underscore in block partial name (#2840).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-26 16:15:07 +00:00
Jean-Philippe Lang fe28193e4e Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 11:04:50 +00:00
Jean-Philippe Lang 5bdd429162 Link to watched issues list on my page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-12 17:38:36 +00:00