Giter Club home page Giter Club logo

activesp's People

Contributors

calamitas avatar joerixaop avatar julienxaop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

activesp's Issues

Site#list is much slower than Site#lists

The following is very slow(100+ seconds):

c = ActiveSP::Connection.new(...)
my_list=c.root.list(list_title)

The following is very quick (7 seconds):

c = ActiveSP::Connection.new(...)
my_list=nil
c.root.lists.each do |list|
    my_list=list if list.Title==list_title
end

Tested on savon-xaop (0.7.2.7), ruby 1.9.2p180, Sharepoint 2007

undefined method `get_web' for #<Savon::Client:0xb6d9fce0>

Hi,

I'm trying out your library and I'm getting the following error:

roberto@udesktop:~/code/activesptest$ ruby test.rb

  • ActiveSP::Site : http://www.blah.com/sitedirectory/
    /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/savon-xaop-0.7.2.5/lib/savon/client.rb:33:in method_missing': undefined methodget_web' for #Savon::Client:0xb6d9fce0 (NoMethodError)
    from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:299:in send' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:299:incall'
    from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:207:in call' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:221:indata__uncached'
    from (eval):5:in data' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:229:inattributes_before_type_cast__uncached'
    from (eval):5:in attributes_before_type_cast' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/site.rb:243:inoriginal_attributes__uncached'
    from (eval):5:in original_attributes' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/base.rb:121:incurrent_attributes__uncached'
    from (eval):5:in current_attributes' from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/base.rb:58:inhas_attribute?'
    from /home/roberto/.rvm/gems/ruby-1.8.7-p330/gems/activesp-0.0.7/lib/activesp/base.rb:99:in method_missing' from test.rb:9:inbrowse'
    from test.rb:26

I'm not sure if it's due to my ruby version, the fact that I'm using RVM, or that the gem is currently broken.

roberto@udesktop:~/code/activesptest$ ruby -v
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]

Unable to use domain auth with NTLM

It's very possible that I'm missing something, but I can't seem to figure out what to modify to specify a domain for NTLM AUTH.

I found that savon.client defaults to local machine unless a domain is specified, but there's no option for domain in ActiveSP::Connection... I was going to try to hard code it, but I'm not finding the call to savon.client... Tried modifying ntlm_http.rb too (just to test), but no dice.

Does this functionality not exist? Thanks in advance

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.