Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dateTIME export to .ics? #35

Open
aschmidt74 opened this issue Dec 17, 2021 · 2 comments
Open

dateTIME export to .ics? #35

aschmidt74 opened this issue Dec 17, 2021 · 2 comments

Comments

@aschmidt74
Copy link

What I am looking for is a dynamic calendar subscription that uses proper datetimes for all issues.

  • using redmics, can I set a time in addition to a duedate?
  • I've got the mega calendar plugin installed, that can handle datetimes; would redmics export those to .ics?
fs5 added a commit that referenced this issue Dec 18, 2021
@fs5
Copy link
Contributor

fs5 commented Dec 18, 2021

Please have a look at branch https://github.com/buschmais/redmics/tree/issue-35, 44b1608.

To test the PoC:

cd /opt/redmine/plugins/redmine_ics_export
git fetch
git checkout issue-35

(then restart Redmine)

I am still not sure if I want to maintain this in the long run.

@aschmidt74
Copy link
Author

Hi Frank, thank you much for the swift response and fix!
I had some difficulties though to bundle the installation

[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different versi
on requirements.                                                                                    
You specified: icalendar (>= 0) and icalendar (>= 2.5.0, <= 2.6.0). Bundler cannot continue.        
                                                                                                    
 #  from /usr/src/redmine/plugins/redmine_ics_export/Gemfile:1                                      
 #  -------------------------------------------                                                     
 >  gem "icalendar", ">=2.5.0", "<=2.6.0"                                                           
 #  -------------------------------------------                                                     
. Bundler cannot continue.                                                                          
                                                                                                    
 #  from /usr/src/redmine/Gemfile:109                                                               
 #  -------------------------------------------                                                     
 #  Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|           
 >    eval_gemfile file                                                                             
 #  end                                                                                             
 #  -------------------------------------------                                                     

only when I removed the line in the Gemfile I could run it with Using icalendar 2.7.1

anyways; on first sight this Proof of Concept seems to work!

Time is exported whenever it is set (for plain issues). ✅

Have you ever used datetime with another plugin?
I'm not sure if mega calendar is a good base even...
furthermore I am using that_meeting - which aparently needs special handling too.
Seems I opened a can of worms here :->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants