Package: redmine-plugin-pretend / 0.0.2+git20130821-5

Metadata

Package Version Patches format
redmine-plugin-pretend 0.0.2+git20130821-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
no_route_match.patch | (download)

app/views/user/_pretend_to.html.erb | 2 1 + 1 - 0 !
app/views/user/_unpretend.html.erb | 2 1 + 1 - 0 !
config/routes.rb | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 replace deprecated method.
 ~~~~
 An error occurred while loading the routes definition of redmine_pretend plugin (/usr/share/redmine/plugins/redmine_pretend/config/routes.rb):
 You should not use the `match` method in your router without specifying an HTTP method.
 If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
 If you want to expose your action to GET, use `get` in the router:
   Instead of: match "controller#action"
   Do: get "controller#action".
 Error when running rake db:migrate, check database configuration.
 ~~~~


3.2.patch | (download)

app/helpers/pretend_helper.rb | 9 9 + 0 - 0 !
app/views/user/_pretend_to.html.erb | 2 1 + 1 - 0 !
app/views/user/_unpretend.html.erb | 4 2 + 2 - 0 !
config/routes.rb | 13 3 + 10 - 0 !
init.rb | 20 6 + 14 - 0 !
lib/redmine_pretend/application_controller_patch.rb | 86 54 + 32 - 0 !
6 files changed, 75 insertions(+), 59 deletions(-)

 redmine 3.2 support, drop support of < 2


r4_bulk.patch | (download)

app/helpers/pretend_helper.rb | 13 10 + 3 - 0 !
app/views/user/_pretend_to.html.erb | 5 1 + 4 - 0 !
app/views/user/_unpretend.html.erb | 4 2 + 2 - 0 !
config/locales/en.yml | 6 3 + 3 - 0 !
config/routes.rb | 9 6 + 3 - 0 !
init.rb | 22 4 + 18 - 0 !
lib/redmine_pretend.rb | 13 13 + 0 - 0 !
lib/redmine_pretend/hooks.rb | 5 3 + 2 - 0 !
lib/redmine_pretend/users_controller_patch.rb | 72 72 + 0 - 0 !
9 files changed, 114 insertions(+), 35 deletions(-)

 redmine 4 support, taken from fork (release 2.0.2):
 https://github.com/AlphaNodes/redmine_pretend


r4a.patch | (download)

app/controllers/pretend_controller.rb | 49 49 + 0 - 0 !
app/views/pretend/_pretend_to.html.erb | 1 1 + 0 - 0 !
app/views/pretend/_unpretend.html.erb | 6 6 + 0 - 0 !
app/views/user/_pretend_to.html.erb | 1 0 + 1 - 0 !
app/views/user/_unpretend.html.erb | 6 0 + 6 - 0 !
config/routes.rb | 5 2 + 3 - 0 !
init.rb | 4 4 + 0 - 0 !
lib/redmine_pretend.rb | 13 3 + 10 - 0 !
lib/redmine_pretend/application_controller_patch.rb | 62 4 + 58 - 0 !
lib/redmine_pretend/hooks.rb | 8 4 + 4 - 0 !
lib/redmine_pretend/users_controller_patch.rb | 72 0 + 72 - 0 !
11 files changed, 73 insertions(+), 154 deletions(-)

 [patch] fix problems with helper methods


r4b.patch | (download)

init.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] fix helper load without https://www.redmine.org/issues/30753


r4c.patch | (download)

init.rb | 1 0 + 1 - 0 !
lib/redmine_pretend.rb | 4 3 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 [patch] add helper explicitly to users controller