Code Monkey home page Code Monkey logo

redmine_vividtone_my_page_blocks's Introduction

vividtone_my_page_blocks

This is a plugin for Redmine to add some my page blocks.

new blocks

Priority Issues

Lists the following issues.

  • higher priority
  • overdue
  • due today
  • due in next 7 days

New Issues

Lists recently created issues.

Doing Issues

Lists my open issues (status is not "New").

Neglected Issues

Lists issues may have been forgotten. Issues which satisfies all the following conditions are displayed.

  • assigned to the user or assigned to nobody
  • no updates for 7 days
  • due date is not set.

My Activities

Show the users last 10 activities.

Installation

cd /path/to/redmine/plugins
git clone https://github.com/vividtone/redmine_vividtone_my_page_blocks.git

License

GNU General Public License, version 2 (GPLv2)

Author

MAEDA Go (FAR END Technologies Corporation)

http://twitter.com/g_maeda

redmine_vividtone_my_page_blocks's People

Contributors

ishikawa999 avatar takenory avatar two-pack avatar vividtone avatar ykws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_vividtone_my_page_blocks's Issues

Redmine2.3.1のマイページが404になる

Redmine.JP Blogの記事を参考に、新規でCentOS6.4+redmine2.3.1+my_page_blocks最新版の1.2を導入しました。
Remineにプラグインは正常に認識されますが、マイページパーツに機能を追加するとRedmineの404になってしまいます。

log/production.logの該当するログです。

Started GET "/redmines/" for 192.168.1.7 at 2013-05-24 11:36:57 +0900
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (2.8ms)
Completed 200 OK in 22ms (Views: 11.6ms | ActiveRecord: 4.5ms)

Started GET "/redmines/my/page" for 192.168.1.7 at 2013-05-24 11:37:07 +0900
Processing by MyController#page as HTML
Current user: admin (id=1)
Rendered my/page.html.erb within layouts/base (1.5ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.1ms)
Completed 404 Not Found in 23ms (Views: 7.4ms | ActiveRecord: 1.1ms)

Redmine3.3.0で *自分の活動* を追加するとInternalErrorが発生します

redmine/log/production.log の抜粋

Started GET "/my/page" for <public.ip.address> at 2016-07-01 15:12:05 +0900
Processing by MyController#page as HTML
  Current user: username (id=3)
  Rendered issues/_list_simple.html.erb (17.4ms)
  Rendered issues/_list_simple.html.erb (14.2ms)
  Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_priority_issues.html.erb (194.6ms)
  Rendered issues/_list_simple.html.erb (120.6ms)
  Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_doing_issues.html.erb (143.9ms)
  Rendered issues/_list_simple.html.erb (20.1ms)
  Rendered my/blocks/_issuesassignedtome.html.erb (58.2ms)
  Rendered issues/_list_simple.html.erb (384.5ms)
  Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_neglected_issues.html.erb (399.0ms)
  Rendered plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_my_activity.html.erb (76.9ms)
  Rendered my/page.html.erb within layouts/base (876.5ms)
Completed 500 Internal Server Error in 930ms (ActiveRecord: 71.2ms)

ActionView::Template::Error (undefined method `[]' for nil:NilClass):
    1: <%
    2:   current_user = User.current
    3:   events = Redmine::Activity::Fetcher.new(current_user, :author => current_user).events(nil, nil, :limit => 10)
    4:   events_by_day = events.group_by(&:event_date)
    5: %>
    6:
  lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:53:in `find_events'
  lib/redmine/activity/fetcher.rb:91:in `block (2 levels) in events'
  lib/redmine/activity/fetcher.rb:90:in `each'
  lib/redmine/activity/fetcher.rb:90:in `block in events'
  lib/redmine/activity/fetcher.rb:89:in `each'
  lib/redmine/activity/fetcher.rb:89:in `events'
  plugins/redmine_vividtone_my_page_blocks/app/views/my/blocks/_my_activity.html.erb:3:in `_plugins_redmine_vividtone_my_page_blocks_app_views_my_blocks__my_activity_html_erb___3883017127610658558_70093547804300'
  app/views/my/page.html.erb:29:in `block in _app_views_my_page_html_erb___1767417655710393970_70093551562580'
  app/views/my/page.html.erb:26:in `each'
  app/views/my/page.html.erb:26:in `_app_views_my_page_html_erb___1767417655710393970_70093551562580'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Redmine 環境他

Environment:
  Redmine version                3.3.0.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux]
  Rails version                  4.2.6
  Environment                    production
  Database adapter               Mysql2

Redmine plugins:
  redmine_vividtone_my_page_blocks 20150614

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.