GithubHelp home page GithubHelp logo

berti92 / mega_calendar Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 50.0 1.27 MB

Plugin for redmine: Brings a better calendar and more opportunities to display issues and holidays

Home Page: http://www.devbert.de/index.php/en/project/megacalendar/

License: MIT License

Ruby 1.55% HTML 4.92% JavaScript 92.43% CSS 1.09%
calendar holiday mysql rails redmine redmine-plugin ruby ruby-on-rails

mega_calendar's Introduction

Hi there πŸ‘‹

Hi there! I'm Andreas, a 32-year-old software developer based in the Kempten area (Bavaria Germany). I'm always looking for new challenges and opportunities to learn and grow.

In my free time, I enjoy contributing to open-source projects. You can find some of my work here on GitHub.

If you like my work, you can support me by buying me a coffee on Paypal Donate!

Every little bit helps me to continue working on open-source projects and creating free content. Thank you for your support!

I'm also available for freelance work. If you're looking for a skilled and experienced developer, please don't hesitate to contact me.

I'm always happy to connect with other developers and learn new things. So feel free to reach out to me on Mastodon.

Here are some of the technologies I'm proficient in:

  • Ruby on Rails
  • Python
  • PHP (not as good as I'm in RoR though)
  • Golang
  • CSS, HTML, Vue.JS, Javascript
  • Ionic Capacitor
  • MySQL, Postgres
  • general Linux administration

I'm also interested in:

  • cars
  • hiking with my family
  • any tech related stuff :)
  • hardware hacking

Spoken languages:

  • german
  • english

I'm always looking for new projects to contribute to. If you have any ideas, please let me know!

Thanks for checking out my profile!

mega_calendar's People

Contributors

archonwang avatar atopcu avatar berti92 avatar byq avatar colinlaney avatar giraypultar avatar mael-chouteau avatar matthewfu avatar mntdamania avatar real34 avatar svoboda-jan avatar yousysadmin 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  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  avatar  avatar  avatar  avatar  avatar

Watchers

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

mega_calendar's Issues

Calendar not showing open issues in mega_calendar widget Redmine 3.3.0

The mega_calendar is not showing ANY issues at all if there is not start/due date. A fork seems to be okay even without these fields. The Calendar should show the issues with option of using creation date if there is not start/due date so it shows up like it does on the issues interface or it's confusing.

Update:Have to allow the Start Date and Due date to show up on the main redhat default Calendar, but it doesn't seems to show up on the megacalendar when I put it put up on "My Page". So any idea how to get my issues with start and due dates to show with the megacalendar widget I can place on "my page"? The global mega_calendar seems to be okay.

An additional feature would be to have a "global" scope holiday as well as holiday titles (for example, Martin Luther King Jr, Day, or Christmas, or "Family Day" (in Canada) . That would make the holiday portion of this plugin more commercial ready. :-)

Config is not possible

Hi,

I try to install your plugin (many thanks for this great job) but I can't configure it.
I have a 404 error on this page http://my_host/redmine/settings/plugin/mega_calendar
And there are errors in the top bar: translation missing: fr.calendar translation missing: fr.holidays
Rights are ok on my redmine server...
Do you have an idea?
Thanks for your help.

tweaks required...

hello again,

thanks for implementing the same on 3.2.2, It works and calendar is now visible. :-)
(only I had to deal with sub-path, as no detail info was available) :(

There are few suggestions, which I would like to mention:

  1. Options for Setting Global holidays, currently it is not working.
  2. We have Default holidays on Saturdays and Sundays, so option to set the same globally should be available.
  3. "Calendar" and "Holiday" are visible in Main Menu., which I think should be administrative option.
  4. When we are into any Project's page, the Calendar displayed in that is still old (default). How to set it up with your new calendar.

Redmine-3.2.1 Issue summary disorder display

Hi there

I would just like to share with you a weird discovery on Redmine-3.2.1 & 3.2.2 after loading the mega calendar plugin. Issue summary page appears stretched in all browsers. I took this up with bitnami and redmine.org "developers" and it was later discovered that mega_calendar plugin is the one suspect. After uninstalling the plugin then everything appears normal again.

You're more than welcome to simulate this discovery, because this behavior might only be related to Redmine-3.2.1 and Redmine-3.2.2 those two that I have tested the plugin on.

Please see my attachment. (wrong_display and normal_display)

wrong_display

normal_display

Parent task date relations settings is broken

I am using following setting in "Issue tracking" tab:
Parent tasks attributes
Start date / Due date: Independent of subtasks
When I used mega_calendar, that it sets this behavior to kind of Calculated from subtasks and I could not edit parent tast start and end dates, only times (at least fields are editable).

The module I like better than original calendar, but I see there is some "must to have" things:

  • permissions at least for roles, but better also per project as module on/off

Sinhronization with google calendar also would be nice - at least in one direction.

Thanks for your module!
If needed I could help with tests.

Brgds

Problems with installation under redmine-3.2.3

Hi all,

sorry for distubing. I just tried to install the mega_calendar plugin unter redmine-3.2.3. I unzipped the mega_calendar-master.zip to redmine/plugins/mega_calendar. Then I from the redmine root directory I called "rake redmine:plugins:migrate RAILS_ENV=production" with no error message.

After a reboot of the server I got the new menu Items "Kalander" and "Urlaub", but when I click on "Kalender" I get a blank page only with the title "Kalender" in the left corner. When I choose "Urlaub" from the menu and try to add a holiday by clicking "Neu" I get the error message "The requested URL /holidays/new was not found on this server."

I guess I did something wrong during the installation of the plugin. Could you please give me a hint how to get it work?

Kind regards

Jens

Cannot install

C:\Bitnami\redmine-3.3.1-0\apps\redmine\htdocs>bundle exec thin start -e production -p 3001 -prefix /redmine
Warning: this Gemfile contains multiple primary sources. Using source more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run bundle config disable_multisource true.
C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/thin-1.6.1-x86-mingw32/lib/thin/controllers/controller.rb:37:in start': wrong number of arguments (1 for 0) (ArgumentError) from C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/thin-1.6.1-x86-mingw32/lib/thin/runner.rb:200:in run_command'
from C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/thin-1.6.1-x86-mingw32/lib/thin/runner.rb:156:in run!' from C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/thin-1.6.1-x86-mingw32/bin/thin:6:in <top (required)>'
from C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin/thin:23:in load' from C:/Bitnami/redmine-3.3.1-0/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/bin/thin:23:in

'

Holiday and Time on redmine 3.2.1-0

I loaded plugging successfully on redmine 3.2.1-0. But I am now experiencing some hiccups. Firstly, for this usage:
_Within a issue you are able to set a time as start and end, to get a better calendar view. (I only get start and End date, No time for New issue..!)

Secondly, the calendar holiday feature give an error message if I click New "..The requested URL /holidays/new was not found on this server." On top of the page you can reach the calendar and holiday section._

Thanks in advance for the sterling work and effort you have put into this plugin..!

Regards
Les.

mega_calendar break styles on issue detail view

This is the instance configuration:

Environment:
  Redmine version                3.2.2.stable.13559
  Ruby version                   2.0.0-p594 (2014-10-27) [x86_64-linux]
  Rails version                  4.2.5.2
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.8
  Git                            1.9.1
  Filesystem                     
Redmine plugins:
  redmine_checklists             3.0.4
  redmine_pivot_table            0.0.3
  redmine_projectstyle           0.0.2

Absence instead of holiday

It would be great to handle in general absence dates instead of only holidays.
Would be nice if enumerations could be created so it could be anything added like: Training, Vacation, siknes, Travel, etc.

Calendar not working

Hi,

I have tried to install the plugin into redmine and followed the instruction on the README.md however, I cant get the calendar to work. I add a holiday and it does not seem to display it on the Calendar.

I am running Redmine on Windows 2012 R2. My ruby version is ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32] and mega calendar used is version 1.6.0.

the redmine server log

Started GET "/calendar/get_events?start=2017-03-27+00%3A03&end=2017-05-08+00%3A05&user=true&save_values=true&filter%5Bassignee%5D%5Boperator%5D=contains&filter%5Bassignee_group%5D%5Boperator%5D=contains&filter%5Bstatus%5D%5Boperator%5D=contains&filter%5Bproject%5D%5Boperator%5D=contains&filter%5Btracker%5D%5Boperator%5D=contains&filter%5Bpriority%5D%5Boperator%5D=contains&filter%5Bversion%5D%5Boperator%5D=contains" for 192.168.4.130 at 2017-02-23 09:19:18 +0800
Processing by CalendarController#get_events as JSON
  Parameters: {"start"=>"2017-03-27 00:03", "end"=>"2017-05-08 00:05", "user"=>"true", "save_values"=>"true", "filter"=>{"assignee"=>{"operator"=>"contains"}, "assignee_group"=>{"operator"=>"contains"}, "status"=>{"operator"=>"contains"}, "project"=>{"operator"=>"contains"}, "tracker"=>{"operator"=>"contains"}, "priority"=>{"operator"=>"contains"}, "version"=>{"operator"=>"contains"}}}
  Current user: USER (id=6)
Completed 500 Internal Server Error in 16ms (ActiveRecord: 15.6ms)

Errno::ENOENT (No such file or directory @ rb_sysopen - /tmp/test.txt):
  plugins/mega_calendar/app/controllers/calendar_controller.rb:76:in `initialize'
  plugins/mega_calendar/app/controllers/calendar_controller.rb:76:in `open'
  plugins/mega_calendar/app/controllers/calendar_controller.rb:76:in `query_filter'
  plugins/mega_calendar/app/controllers/calendar_controller.rb:189:in `get_events'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

the button all issues pemit to show all issues even those of the not public projets

Hi, it's me again.
The All issues button show all issues from all projets even if the projet is not public.
So, a user that do not belong to the projet can show the issue but cannot modify it but he can move the issue to another day.
Could you restrict the button "all issue" only for one project. So, i user from one projet could show his events and the events from others members of his projet.
Thanks

all tickets as default view

first of all,

thank you for the work you're doin'!
Is it possible to have "all tickets" as default view instead of my tickets?

thx

Excellent plugin here one request for enhancement!!

Hi there,

I am a redmine user for almost 15 yrs now.

recently came across your plugin excellent.

I've been using below simlar plugin.
http://www.redmine.org/plugins/redmine_gc_sync

Your calendar has made few really good things

  • added new view and in place editable feature
  • added time to the issue
    now for me only major issue how can I use this calendar outside of Redmine Web UI.
  • feature missing to get this calendar usable across any device (export calendar)

I don't have time to look different calendars, so I use a feature in my mobile, web and outlook overlap calendars. all calendars at one place so I see the conflict. it doesn't matter it should tell me the conflict as these calendars are different but at least I see the view of conflict and I decide.

I cannot advise what will be the best strategy for you to export this calendar, but I see these options.

  • The calendar you are using may have feature to export itself.
  • Link this to google calendar or other open source calendars like other plugin doing.

Above these three features will make this calendar as mainstream feature with other enhancements like I see already in your list exportable, project based etc.

Thank you for your time on this Plugin.

Cheers

create new issue

hi,

I have configured my redmine installation to a sub path:
www.website.xyz/redmine
The subpath is also defined in the plugin settings. The only thing which is not working is creating a new issue. Calendar plugin is usin the path without the subpath:
www.website.xyz/tickets_issue_****
If I enter the subpath manually it works very well.

Install failed on Bitnami Redmine 3.3.2

When i try to make "bundle exec rake redmine:plugins:migrate RAILS_ENV=production" from bitnami shell (use_redmine) i get follow errors:

root@RedmineLinux:~/redmine/apps/redmine/htdocs# bundle exec rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- vpim
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/home/master/redmine/apps/redmine/htdocs/plugins/mega_calendar/init.rb:2:in `<top (required)>'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require'
/home/master/redmine/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in `block in load'
/home/master/redmine/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `each'
/home/master/redmine/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `load'
/home/master/redmine/apps/redmine/htdocs/config/initializers/30-redmine.rb:21:in `<top (required)>'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/engine.rb:651:in `load_config_initializer'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `each'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:30:in `run'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `each'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:352:in `initialize!'
/home/master/redmine/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:328:in `require'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:328:in `require_environment!'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/home/master/redmine/apps/redmine/htdocs/vendor/bundle/ruby/2.1.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

I try "gem install vpim", but have no effect.

Support for Redmine 3.2.2

Hello,

Please can you tell, when this will be available for Redmine v3.2.2, though it gets installed, but does not work as expected.

Due date for version 2

Hello,
nice plugin here !
Do you know when you will be able to publish version 2 please ?
Cheers

Install errors on Redmine 3.3.0

When I try to bundle the plug-in on my redmine 3.3.0 after trying to upgrade from your previous version here is what I get:

bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace
rake aborted!
Child already added
/opt/redmine/redmine-3.3.0/lib/redmine/menu_manager.rb:348:in add_at' /opt/redmine/redmine-3.3.0/lib/redmine/menu_manager.rb:365:in add'
/opt/redmine/redmine-3.3.0/lib/redmine/menu_manager.rb:283:in push' /opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:279:in menu'
/opt/redmine/redmine-3.3.0/plugins/mega_calendar/init.rb:13:in block in <top (required)>' /opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:75:in instance_eval'
/opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:75:in register' /opt/redmine/redmine-3.3.0/plugins/mega_calendar/init.rb:4:in <top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require'
/opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:155:in block in load' /opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:146:in each'
/opt/redmine/redmine-3.3.0/lib/redmine/plugin.rb:146:in load' /opt/redmine/redmine-3.3.0/config/initializers/30-redmine.rb:21:in <top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in block in load'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:652:in block in load_config_initializer' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in instrument'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:651:in load_config_initializer' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in block (2 levels) in class:Engine'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in each' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in block in class:Engine'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in instance_exec' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in run'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in block in run_initializers' /usr/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.1.0/tsort.rb:418:in block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' /usr/lib/ruby/2.1.0/tsort.rb:417:in block in each_strongly_connected_component_from'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in each' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in call' /usr/lib/ruby/2.1.0/tsort.rb:411:in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' /usr/lib/ruby/2.1.0/tsort.rb:345:in each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in call' /usr/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' /usr/lib/ruby/2.1.0/tsort.rb:205:in tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in run_initializers' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:352:in initialize!'
/opt/redmine/redmine-3.3.0/config/environment.rb:14:in <top (required)>' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in block in require' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in require' /opt/redmine/redmine-3.3.0/plugins/a_common_libs/lib/tasks/a_common_libs.rake:1:in <top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in block in load'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load'
/opt/redmine/redmine-3.3.0/lib/tasks/redmine.rake:186:in block in <top (required)>' /opt/redmine/redmine-3.3.0/lib/tasks/redmine.rake:186:in each'
/opt/redmine/redmine-3.3.0/lib/tasks/redmine.rake:186:in <top (required)>' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in block in load' /var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in load' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:658:in block in run_tasks_blocks'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:658:in each' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:658:in run_tasks_blocks'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:452:in run_tasks_blocks' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/engine.rb:453:in load_tasks'
/var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in public_send' /var/lib/gems/2.1.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in method_missing'
/opt/redmine/redmine-3.3.0/Rakefile:7:in <top (required)>' /var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/rake_module.rb:28:in load'
/var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/rake_module.rb:28:in load_rakefile' /var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:686:in raw_load_rakefile'
/var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:96:in block in load_rakefile' /var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:178:in standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:95:in load_rakefile' /var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:79:in block in run'
/var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:178:in standard_exception_handling' /var/lib/gems/2.1.0/gems/rake-11.2.2/lib/rake/application.rb:77:in run'
/var/lib/gems/2.1.0/gems/rake-11.2.2/exe/rake:27:in <top (required)>' /usr/local/bin/rake:23:in load'
/usr/local/bin/rake:23:in `

'

Please Advise. Thanks!

it is not compatible with redmine_local_avatar.

ur... could you fix it ,Thanks so much..
the error occured when I migrate db
los is:

/opt/redmine/plugins/redmine_issue_checklist/init.rb:24: warning: duplicated key at line 24 ignored: :issue_checklist
rake aborted!
uninitialized constant LocalAvatarsPlugin::UsersControllerPatch
/opt/redmine/plugins/redmine_local_avatars/init.rb:37:in block in <top (required)>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:446:ininstance_exec'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:446:in block in make_lambda' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:192:incall'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:192:in block in simple' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:incall'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:in block in call' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:ineach'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:in call' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:inrun_callbacks'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in _run_prepare_callbacks' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:inrun_callbacks'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/reloader.rb:83:in prepare!' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/reloader.rb:55:inprepare!'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application/finisher.rb:50:in block in <module:Finisher>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:ininstance_exec'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in run' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:inblock in run_initializers'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:in run_initializers' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:352:ininitialize!'
/opt/redmine/config/environment.rb:14:in <top (required)>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:328:inrequire_environment!'
/usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:457:in `block in run_tasks_blocks'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Redmine 3.4.2 - ActionView::Template::Error

Hi, installation ok w/o errors. MenΓΉ ok, calendar ok.

When you submit a new issue or when you try to view an existent it gives an error:

image

Here is log/production.log:

`Started GET "/issues/30" for 127.0.0.1 at 2017-08-11 15:14:26 +0200
Processing by IssuesController#show as HTML
Parameters: {"id"=>"30"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (7.6ms)
Rendered plugins/mega_calendar/app/views/issues/show.html.erb within layouts/base (83.4ms)
Completed 500 Internal Server Error in 417ms (ActiveRecord: 39.0ms)

ActionView::Template::Error (undefined method render_custom_fields_rows' for #<#<Class:0x007f3f04ccb010>:0x007f3f04cdb118>): 252: rows.right l(:label_spent_time), (@issue.total_spent_hours > 0 ? link_to(l_hours(@issue.total_spent_hours), issue_time_entries_path(@issue)) : "-"), :class => 'spent-time' 253: end 254: end %> 255: <%= render_custom_fields_rows(@issue) %> 256: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %> 257: </table> 258: plugins/mega_calendar/app/views/issues/show.html.erb:255:in _plugins_mega_calendar_app_views_issues_show_html_erb__2270648528821368524_69954320124720'
app/controllers/issues_controller.rb:106:in block (2 levels) in show' app/controllers/issues_controller.rb:99:in show'
lib/redmine/sudo_mode.rb:63:in sudo_mode'

Here is my conf (puma+nginx):

image

Thanks

SQLServer restricted column

SQLServer, the column name "end" is restricted, in this case you have to use "holidays.[end]" syntax instead of "holidays.end"

screenshots please

to have a better idea of how the plugin revamps the calendar screenshots would be helpfull

Some bugs?

When I create an Issue and select a tracker, I lose Start and End choices...
I did the change you describe in bbb3af0 but it's not working.

Another bug: when you are in Holidays tab and you click on New, the link is not using the good path.
For example, my serv is running on https://x.x.x.x/redmine
When I click on New, the used path is : https://x.x.x.x/holidays/new

Improve holidays

  • Validate start-end must not be empty, start must smaller than end
  • Add global holiday for all users
  • Add setting permission for this plugin
    Thanks

Calendar Blank

When I installed in Redmine 3.3 with Ruby 2.1 the Calendar is blank, even when adding dates to issues. No options, nothing, just blank. No errors visible in the production.log file. Also attempts to add holiday (with button) get error 404

Redmine 3.4.2 - Start date & Due date visualization issue

After installation the mini-calendar where you can choose a start date and a due date when creating/modifying issue is not shown while time fields are. Also, you must insert date in format yyyy-mm-dd when usually I can insert in dd/mm/yyyy (IT LOCAL).

image

Related to #64

Thanks

Holiday page does not work [SOLVED]

Plugin just installed.
Each time I try to open the Holiday page it replies with an internal error.
This is the log:

ActiveRecord::StatementInvalid (Mysql2::Error: Table 'redmine_production.holidays' doesn't exist: SHOW FULL FIELDS FROM holidays):
plugins/mega_calendar/app/controllers/holidays_controller.rb:25:in index' lib/redmine/sudo_mode.rb:63:insudo_mode'

[SOLVED] After copying the plugin into [plugin] directory you have to exec: bundle exec rake redmine:plugins:migrate RAILS_ENV=production (more details in www.redmine.org plugin installation how-to)

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.