Git Product home page Git Product logo

activecmis's Introduction

ActiveCMIS Release 0.3.9

Git: http://github.com/xaop/activecmis
Documentation: http://rdoc.info/github/xaop/activecmis/master/frames
Author: XAOP bvba, Linagora
Copyright: 2011
License: MIT License

Synopsis

ActiveCMIS is Ruby library aimed at easing the interaction with various CMIS providers. It creates Ruby objects for CMIS objects, and creates Ruby classes that correspond to CMIS types.

Features

  • Read support for all CMIS object types
  • Write support and the ability to create new objects.
  • Support for paging

Changes since 0.3.9

  • Added the ability to retrieve link folders

Changes since 0.3.8

  • Added the ability to set cookies
  • Added the ability to save data outside the library to another log file

Changes since 0.3.5

  • implement the possibility to set the timeout to be used by the Net::HTTP object (thanks to zedtux)

Changes since 0.3.4

  • Fix a bug with checkin

Changes since 0.3.3

  • added #set_versioning_state for documents (thanks to @zedtux)
  • improve checking method to make more parameters optional (and use set_versioning_state when possible)

Changes since 0.3.2

  • Fix for header of PUT request (thanks to @linzhixing)
  • Improvement for integer conversion (thanks to @kennethgeerts)
  • Correctly set the default namespace (reported by @brunospy)

Changes since 0.3.1

  • Does not require ntlm-http unless needed for authentication
  • Fix some issues with authentication (thanks to @beno)
  • Follow redirects for renditions (thanks to @timfel)

Changes since 0.2.6

The way authentication works has changed. If you previously used ActiveCMIS.connect then you're fine, otherwise the authentication changes will affect you: the authenticate methods on ActiveCMIS::Server and ActiveCMIS::Repository now return a new object, and don't change the authentication on the object itself. You can also specify optional authentication when connecting to a Server, or when calling the repository method.

Installation

If you haven't installed Nokogiri yet it will be installed automatically, you will need a C compiler and the development files for libxml2.

> gem install active_cmis2

ActiveCMIS also depends on ntlm-http for ntlm authentication, unfortunately ntlm-http is broken on ruby 1.9.x This isn't a problem as long as you don't actually try to connect with NTLM authentication. If you actually need NTLM authentication you can use https://github.com/xaop/ntlm-http (or any other fixed version of the library), although you may need to use bundler for this to work.

Usage

require 'active_cmis'
repository = ActiveCMIS.load_config('configuration', 'optional_filename_for_config')
f = repository.root_folder
p f.items.map do |i| i.cmis.name end

And so on ...

Full documentation of the API can be found at rdoc.info

activecmis's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.