Skip to content

Commit

Permalink
Merge pull request #6 from ONLYOFFICE/develop
Browse files Browse the repository at this point in the history
Release/1.0.0
  • Loading branch information
LinneyS authored Sep 22, 2021
2 parents 0c469c3 + c3ddfce commit ef02c3e
Show file tree
Hide file tree
Showing 166 changed files with 28,944 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2.1

orbs:
plugin-ci: mattermost/[email protected]

workflows:
version: 2
ci:
jobs:
- plugin-ci/lint
- plugin-ci/test
- plugin-ci/build
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# http://editorconfig.org/

root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.go]
indent_style = tab

[*.{js, jsx, ts, tsx, json, html}]
indent_style = space
indent_size = 4

[webapp/package.json]
indent_size = 2

[{Makefile, *.mk}]
indent_style = tab

[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
server/manifest.go linguist-generated=true
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dist/
node_modules

# Mac
.DS_Store

# VSCode
.vscode/

# Jetbrains
.idea/
56 changes: 56 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
run:
timeout: 5m
modules-download-mode: readonly

linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/ONLYOFFICE/onlyoffice-mattermost
golint:
min-confidence: 0
govet:
check-shadowing: true
enable-all: true
misspell:
locale: US

linters:
disable-all: true
enable:
- bodyclose
- deadcode
- errcheck
- gocritic
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace

issues:
exclude-rules:
- path: server/manifest.go
linters:
- deadcode
- unused
- varcheck
- path: server/configuration.go
linters:
- unused
- path: _test\.go
linters:
- bodyclose
- scopelint # https://github.com/kyoh86/scopelint/issues/4
117 changes: 117 additions & 0 deletions 3rd-Party.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
Mattermost ONLYOFFICE ingeration plugin uses code from the following 3rd party projects:

Babel - The compiler for writing next generation JavaScript. (https://github.com/babel/babel)
License: MIT
License File: babel.license

Bootstrap - Sleek, intuitive, and powerful front-end framework for faster and easier web development. (https://github.com/twbs/bootstrap)
License: MIT
License File: bootstrap.license

Core-js - Modular standard library for JavaScript. Includes polyfills for ECMAScript up to 2021: promises, symbols, collections, iterators, typed arrays, many other features, ECMAScript proposals, some cross-platform WHATWG / W3C features and proposals like URL. (https://github.com/zloirock/core-js)
License: MIT
License File: core-js.license

Css-loader - The css-loader interprets @import and url() like import/require() and will resolve them. (https://github.com/webpack-contrib/css-loader)
License: MIT
License File: css-loader.license

Enzyme - Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output. (https://github.com/enzymejs/enzyme)
License: MIT
License File: enzyme.license

Errors - Package errors provides simple error handling primitives. (https://github.com/pkg/errors)
License: BSD-2-Clause License
License File: errors.license

ESLint - ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. (https://github.com/eslint/eslint)
License: MIT
License File: eslint.license

Gorilla/mux - Package gorilla/mux implements a request router and dispatcher for matching incoming requests to their respective handler. (https://github.com/gorilla/mux)
License: BSD-3-Clause License
License File: mux.license

Identity-obj-proxy - An identity object using ES6 proxies. Useful for mocking webpack imports. (https://github.com/keyz/identity-obj-proxy)
License: MIT
License File: identity-obj-proxy.license

Jest - A comprehensive JavaScript testing solution. (https://github.com/facebook/jest)
License: MIT
License File: jest.license

Jwt-go - A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens. (https://github.com/golang-jwt/jwt)
License: MIT
License File: jwt-go.license

Lodash - A modern JavaScript utility library delivering modularity, performance & extras. (https://github.com/lodash/lodash)
License: MIT
License File: lodash.license

Mapstructure - mapstructure is a Go library for decoding generic map values to structures and vice versa, while providing helpful error handling. (https://github.com/mitchellh/mapstructure)
License: MIT
License File: mapstructure.license

Mattermost-Redux - The project purpose is consolidating the storage, web utilities and logic of the webapp and React Native mobile clients into a single driver. (https://github.com/mattermost/mattermost-redux)
License: Apache License 2.0
License File: mattermost-redux.license

Mattermost-server - Mattermost is an open source, private cloud, Slack-alternative from https://mattermost.com. (https://github.com/mattermost/mattermost-server)
License: MIT
License File: mattermost-server.license

Mattermost-Webapp - Mattermost is an open source, self-hosted Slack-alternative from https://mattermost.com. (https://github.com/mattermost/mattermost-webapp)
License: Apache License 2.0
License File: mattermost-webapp.license

Node-sass - Node-sass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. (https://github.com/sass/node-sass)
License: MIT
License File: node-sass.license

React - A JavaScript library for building user interfaces. (https://github.com/facebook/react)
License: MIT
License File: react.license

React-Bootstrap - React-Bootstrap is compatible with various versions of Bootstrap. As such, you need to ensure you are using the correct combination of versions. (https://github.com/react-bootstrap/react-bootstrap)
License: MIT
License File: react-bootstrap.license

React Redux - Official React bindings for Redux. (https://github.com/reduxjs/react-redux)
License: MIT
License File: react-redux.license

React-Select - The Select control for React. (https://github.com/JedWatson/react-select)
License: MIT
License File: react-select.license

Redux - Redux is a predictable state container for JavaScript apps. (https://github.com/reduxjs/redux)
License: MIT
License File: redux.license

Sass-loader - Loads a Sass/SCSS file and compiles it to CSS. (https://github.com/webpack-contrib/sass-loader)
License: MIT
License File: sass-loader.license

Style-loader - Inject CSS into the DOM. (https://github.com/webpack-contrib/style-loader)
License: MIT
License File: style-loader.license

Svg-url-loader - A webpack loader which loads SVG file as utf-8 encoded DataUrl string. (https://github.com/bhovhannes/svg-url-loader)
License: MIT
License File: svg-url-loader.license

Testify - Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend. (https://github.com/stretchr/testify)
License: MIT
License File: testify.license

Typescript - TypeScript is a language for application-scale JavaScript. (https://github.com/microsoft/TypeScript)
License: Apache License 2.0
License File: typescript.license

Webpack - Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. (https://github.com/webpack/webpack)
License: MIT
License File: webpack.license

Webpack CLI - The official CLI of webpack. (https://github.com/webpack/webpack-cli)
License: MIT
License File: webpack-cli.license
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

## 1.0.0
## Added
- config page for urls and JWT settings
- file sharing for editing
- coediting docx, xlsx, pptx
- viewing xls, xlsx, csv, xlsm, xlt, xltm, ods, fods, ots, pps, ppsx, ppsm, ppt, pptx, pptm, pot, potx, potm, odp, fodp, otp, doc, docx, docm, dot, dotx, dotm, odt, fodt, ott, rtf
Loading

0 comments on commit ef02c3e

Please sign in to comment.