~girishm/op-mattermost

81bf6021dccac3e6f3cd8a05fd32cee4c30672ea — girishm a month ago 654a395
modified permissions and README description
20 files changed, 3 insertions(+), 3 deletions(-)

M .dockerignore -rw-r--r-- => -rwxr-xr-x
M .gitignore -rw-r--r-- => -rwxr-xr-x
M COPYING -rw-r--r-- => -rwxr-xr-x
M Dockerfile -rw-r--r-- => -rwxr-xr-x
M Procfile -rw-r--r-- => -rwxr-xr-x
M README.md -rw-r--r-- => -rwxr-xr-x
M configure.sh -rw-r--r-- => -rwxr-xr-x
M docker-compose.yml -rw-r--r-- => -rwxr-xr-x
M index.js -rw-r--r-- => -rwxr-xr-x
M package-lock.json -rw-r--r-- => -rwxr-xr-x
M package.json -rw-r--r-- => -rwxr-xr-x
M resource/gplv3-or-later.png -rw-r--r-- => -rwxr-xr-x
M resource/message.js -rw-r--r-- => -rwxr-xr-x
M resource/op-mattermost-demo-v2.gif -rw-r--r-- => -rwxr-xr-x
M resource/op-mattermost-demo.gif -rw-r--r-- => -rwxr-xr-x
M resource/op_logo.png -rw-r--r-- => -rwxr-xr-x
M resource/routes.js -rw-r--r-- => -rwxr-xr-x
M resource/uiActions.js -rw-r--r-- => -rwxr-xr-x
M resource/util.js -rw-r--r-- => -rwxr-xr-x
M test/utilTest.js -rw-r--r-- => -rwxr-xr-x
M .dockerignore => .dockerignore +0 -0

M .gitignore => .gitignore +0 -0

M COPYING => COPYING +0 -0

M Dockerfile => Dockerfile +0 -0

M Procfile => Procfile +0 -0

M README.md => README.md +3 -3
@@ 43,13 43,13 @@
    - `MM_URL=http://<your host or ip address>:8065/api/v4/   #needed for pointing to Mattermost installation`  
    - `MATTERMOST_ACCESS_TOKEN=<personal access token>        #https://docs.mattermost.com/developer/personal-access-tokens.html`
    - `MATTERMOST_SLASH_TOKEN=<use the mattermost slash command token for logtime>  #needed for slash command validation`
    - `OP_ACCESS_TOKEN=<openproject access token obtained from profile page>`
    - `OP_ACCESS_TOKEN=<openproject access token (a.k.a apikey) obtained from user account page>`
- In the project root directory do `npm init` to generate (or update existing) package.json file
- Then run `npm install` to download and install the node modules from npm
- Run op-mattermost in the console using `npm start` (usually launches on port 3000)
- Create a custom Mattermost slash command `/op` as described [here](https://docs.mattermost.com/developer/slash-commands.html) and provide local host or IP address (with port 3000) as the request URL
- In OpenProject, create a custom field `billable hours` for all workpackages in a project
- Test the integration by trying `/op 1` in the message bar to log time. For other features try `/op`.
- Test the integration by trying `/op` in the message bar.

## Demo



@@ 72,4 72,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
\ No newline at end of file
along with this program.  If not, see <https://www.gnu.org/licenses/>.

M configure.sh => configure.sh +0 -0

M docker-compose.yml => docker-compose.yml +0 -0

M index.js => index.js +0 -0

M package-lock.json => package-lock.json +0 -0

M package.json => package.json +0 -0

M resource/gplv3-or-later.png => resource/gplv3-or-later.png +0 -0

M resource/message.js => resource/message.js +0 -0

M resource/op-mattermost-demo-v2.gif => resource/op-mattermost-demo-v2.gif +0 -0

M resource/op-mattermost-demo.gif => resource/op-mattermost-demo.gif +0 -0

M resource/op_logo.png => resource/op_logo.png +0 -0

M resource/routes.js => resource/routes.js +0 -0

M resource/uiActions.js => resource/uiActions.js +0 -0

M resource/util.js => resource/util.js +0 -0

M test/utilTest.js => test/utilTest.js +0 -0