Code Monkey home page Code Monkey logo

ospr's Introduction

ospr

Build Status codecov Total alerts Language grade: Java

Office 365 Sharepoint File Reporting Tool

Getting Started

Prerequisites

Java 8

Build

Build code and package as one big uberjar:

mvn clean package

Run

Usage: java -jar ospr.jar [-hV] [--max-depth=MAX] -p=PASSWORD -u=USERNAME URL
Office 365 Sharepoint File Reporting Tool
      URL                   sharepoint site/library/folder/subfolder url, in format
                              'https://yourdomain.sharepoint.
                              com/sites/siteName/libraryName/folderName', if URL is
                              for site only uses 'Shared Documents' as default
                              libraryName
      --max-depth=MAX       how many levels of (sub)folders to traverse, -1 for
                              unlimited
  -h, --help                Show this help message and exit.
  -p, --password=PASSWORD   for sharepoint account to use
  -u, --user=USERNAME       sharepoint account username in format
                              <userName>@<yourdomain>.onmicrosoft.com
  -V, --version             Print version information and exit.

License

This project is licensed under the EPL 2.0 License - see the LICENSE.md file for details

ospr's People

Contributors

dependabot-support avatar mkarpisek avatar

Watchers

 avatar  avatar

ospr's Issues

Support using config file

there should be possible to have parametrization in config file to not have to use command line options
should be .properties file format
cmd line values overrides the config file values

Support file properties reporting for .pdf format

should support reporting file properties as for office document formats
remark: sharepoint does not automatically export and provide them with /Properties query - it would had to be implemented manually on downloaded .pdf file

way how to extract pdf properties (metadata) from .pdf files using PDFBox is at [1]

[1] https://pdfbox.apache.org/1.8/cookbook/workingwithmetadata.html
[2] https://stackoverflow.com/questions/40295264/how-to-add-metadata-to-pdf-document-using-pdfbox

Support file download and processing

For certain operations we need local processing of files - enable it by download of requested file and possibly processing it.

Should involve local cache to reduce unnecessary downloads / remote calls.

[DepShield] Vulnerability due to usage of org.apache.poi:poi:3.15

Vulnerabilities

DepShield reports that this application's usage of org.apache.poi:poi:3.15 results in the following vulnerability(s):


Occurrences

org.apache.poi:poi:3.15 is a transitive dependency introduced by the following direct dependency(s):

org.apache.poi:poi-ooxml:3.15
        └─ org.apache.poi:poi:3.15

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

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.