Giter VIP home page Giter VIP logo

redmine_document_library_gdrive's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redmine_document_library_gdrive's Issues

Where to put GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET ?

I've added them to config/configuration.yml

production:
  GOOGLE_CLIENT_ID: my-id
  GOOGLE_CLIENT_SECRET: my-secret
  email_delivery:
    [...]

.. and restarted Redmine but nothing has changed at the settings page (settings/plugin/redmine_document_library_gdrive).

There is still the Text

Input setting that you get from Google in application environments
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET and restart application.
After this you can attach Gdrive account to Redmine.

Any hints?

Conflict version jwt

Bundler could not find compatible versions for gem "jwt":
In Gemfile:
jwt (~> 0.1.5)

google-api-client (~> 0.7.1) was resolved to 0.7.1, which depends on
  jwt (>= 0.1.5)

google_calendar (~> 0.5.1) was resolved to 0.5.1, which depends on
  signet (~> 0.6) was resolved to 0.6.0, which depends on
    jwt (~> 1.0)

This in Bundle Install

Problem Version google-api-client

Only it works with the least version 0.9

Solution

In Genfile
Chage
gem 'google-api-client'

gem 'google-api-client', '~> 0.8.6', require: 'google/api_client'

NoMethodError: undefined method `to_prepare' for ActionDispatch::Callbacks:Class

Hello!
Im trying the plugin in the new Redmine 4.0.4.stable.18330 with the configuration:

Environment:
Redmine version 4.0.4.stable.18330
Ruby version 2.6.0-p-1 (2018-12-06) [x86_64-linux]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.9.7
Git 2.17.1

Redmine plugins:
no plugin installed

The plugin show the error when I trying to install it on my redmine with rake redmine:plugins:migrate command in the production environment.

The plugin is not complatible with this version?

Are you taking requests to update plugin?

Not really an issue, would love to see this plugin updated as it would be beneficial for upcoming project. Could we talk about what it would cost to update this for 4.X, and updating authentication from OAuth as I now think it's been retired? It would be cool if upon completion you could continue to share with Redmine community. Email me if interested

Attach Gdrive account does nothing?

Hi there:

Running Redmine 3.3.1-stable, and can't seem to get the plugin going. I have the environment setup with my Google API settings, and when configuring the plugin, I login to Google and allow access. When I'm redirected back to Redmine I'm in the plugins page and nothing I did seems to stick.

My project has this module included, but nothing about GDrive shows up. The plugin config stays at "Attach Gdrive account" link with no notification of that anything happened. Repeat over and over trying to attach, but same results. What am I missing here? Nothing stands out in the production.log. Do I have to enable debugging somehow for this module? Apologies as I am new to Redmine in general.

Callback in readme

I appologize if this is the wrong place for this, but the readme documentation makes mention of two callback URLs to add to the Google project. However, Google doesn't seem to allow callbacks to be added to projects through their interface. Is there something that needs to be clarified in the readme file or will the code no longer work with the current Google OAuth API?

Dependencies conflict

Here is log. My redmine is 3.2.4. Some dependencies need faraday 0.10.0, but oauth2 needs older version faraday.

Installing gems required by plugins...
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.10.0)

In Gemfile:
google-api-client (>= 0.7.1) was resolved to 0.9.20, which depends on
googleauth (> 0.5) was resolved to 0.5.1, which depends on
faraday (
> 0.9)

google-api-client (>= 0.7.1) was resolved to 0.9.20, which depends on
  googleauth (~> 0.5) was resolved to 0.5.1, which depends on
    faraday (~> 0.9)

omniauth-google-oauth2 (>= 0.2.6) was resolved to 0.2.6, which depends on
  omniauth-oauth2 (~> 1.1) was resolved to 1.1.2, which depends on
    faraday (< 0.10, >= 0.8)

omniauth-google-oauth2 (>= 0.2.6) was resolved to 0.2.6, which depends on
  omniauth-oauth2 (~> 1.1) was resolved to 1.1.2, which depends on
    faraday (< 0.10, >= 0.8)

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "jwt":
In snapshot (Gemfile.lock):
jwt (= 1.5.6)

In Gemfile:
jwt (>= 0.1.5)

google-api-client (>= 0.7.1) was resolved to 0.9.20, which depends on
  googleauth (~> 0.5) was resolved to 0.5.1, which depends on
    jwt (~> 1.4)

omniauth-google-oauth2 (>= 0.2.6) was resolved to 0.2.6, which depends on
  omniauth-oauth2 (~> 1.1) was resolved to 1.1.0, which depends on
    oauth2 (~> 0.8.0) was resolved to 0.8.0, which depends on
      jwt (~> 0.1.4)

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Uninitialized constant DocumentLibrary::IssuePatch::InstanceMethods::RedmineTrackControl

Hi there,

I'm getting this error after plugin configuration, it happens at all issue edit (projects with and withtout Redmine document library gdrive)

Processing by IssuesController#show as HTML
Parameters: {"id"=>"4"}
Current user: luiz (id=1)
Rendered issues/_action_menu.html.erb (10.6ms)
Rendered plugins/redmine_document_library_gdrive/app/views/issues/_show_workspace_link.html.erb (12.7ms)
Rendered issues/show.html.erb within layouts/base (71.3ms)
Completed 500 Internal Server Error in 219ms (ActiveRecord: 30.9ms)

ActionView::Template::Error (uninitialized constant DocumentLibrary::IssuePatch::InstanceMethods::RedmineTrackControl):
1:
2: <% if issue.visible_with_gdrive? && project.module_enabled?(:redmine_document_library_gdrive)%>
3:


4:

5:
plugins/redmine_document_library_gdrive/lib/document_library/issue_patch.rb:95:in visible_with_gdrive?' plugins/redmine_document_library_gdrive/app/views/issues/_show_workspace_link.html.erb:2:in _plugins_redmine_document_library_gdrive_app_views_issues__show_workspace_link_html_erb___1321871166314509105_69978498731800'
lib/redmine/hook/view_listener.rb:59:in block (2 levels) in render_on' lib/redmine/hook/view_listener.rb:57:in map'
lib/redmine/hook/view_listener.rb:57:in block in render_on' lib/redmine/hook.rb:61:in block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:in block in call_hook'
lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:in call_hook'
lib/redmine/hook.rb:96:in call_hook' app/views/issues/show.html.erb:97:in _app_views_issues_show_html_erb___3315341140169410239_69978497586920'
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'

Any idea?

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.