Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

module.exports = {
globals: {
appVersion: true
Expand Down
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
/appinfo/info.xml @kyteinsky @bigcat88
6 changes: 3 additions & 3 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ permissions:
contents: read

concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
group: lint-eslint-2-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
changes:
runs-on: ubuntu-latest-low
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
runs-on: ubuntu-latest
needs: [changes, lint]

if: always()
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Node Build

on:
Expand All @@ -17,7 +19,7 @@ on:
- webpack.js

env:
APP_NAME: integration_mattermost
APP_NAME: integration_matrix

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit

on:
Expand All @@ -23,7 +25,7 @@ on:
- tests/**

env:
APP_NAME: integration_mattermost
APP_NAME: integration_matrix

jobs:
php:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0

name: REUSE Compliance Check

on: [pull_request]

permissions:
contents: read

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
js/
.code-workspace
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions .l10nignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# compiled vue templates
js/
vendor/
2 changes: 2 additions & 0 deletions .nextcloudignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
.git
.github
.gitignore
Expand Down
7 changes: 7 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<?php

/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

declare(strict_types=1);

require_once './vendor/autoload.php';
Expand Down
6 changes: 3 additions & 3 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
host = https://www.transifex.com
lang_map = cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg

[o:nextcloud:p:nextcloud:r:integration_mattermost]
file_filter = translationfiles/<lang>/integration_mattermost.po
source_file = translationfiles/templates/integration_mattermost.pot
[o:nextcloud:p:nextcloud:r:integration_matrix]
file_filter = translationfiles/<lang>/integration_matrix.po
source_file = translationfiles/templates/integration_matrix.pot
source_lang = en
type = PO

5 changes: 5 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors

SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Authors

* Julien Veyssier <julien-nc@posteo.net> (Developper)
Expand Down
137 changes: 6 additions & 131 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors

SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Change Log
All notable changes to this project will be documented in this file.

Expand All @@ -6,136 +11,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## 3.0.0 – 2025-12-23

### Changed
- npm and composer packages updated @janepie [#99](https://github.com/nextcloud/integration_mattermost/pull/99)
- lazy config loading and removing deprecated config method @janepie [#99](https://github.com/nextcloud/integration_mattermost/pull/99)
- migrated to vue3 @julien-nc [#100](https://github.com/nextcloud/integration_mattermost/pull/100)
- Use new settings components @julien-nc [#100](https://github.com/nextcloud/integration_mattermost/pull/100)
- Adjust to nc/files breaking changes for NC 33 @julien-nc [#100](https://github.com/nextcloud/integration_mattermost/pull/100)


## 2.1.1 – 2025-07-16

### Changed
- CSP Nonce updated @janepie [#57](https://github.com/nextcloud/integration_mattermost/pull/57)
- icons changed to outlined versions @janepie [#77](https://github.com/nextcloud/integration_mattermost/pull/77)
- npm packages updated @janepie [#77](https://github.com/nextcloud/integration_mattermost/pull/77)
- bump max supported NC version to 32 @janepie

## 2.1.0 - 2025-01-17

### Added

- admin setting to enable navigation link per default @janepie [#54](https://github.com/nextcloud/integration_mattermost/pull/54)

### Changed
- Encrypt client id/secret and user tokens @julien-nc [#52](https://github.com/nextcloud/integration_mattermost/pull/52)

## 2.0.0 – 2024-10-15

### Changed

- Use password confirmation for sensitive admin/personal setting values

### Fixed

- Only send Oauth credentials to the right URLs

## 1.1.1 – 2024-07-26

### Fixed

- update gh workflows and fix appstore build publish

## 1.1.0 – 2024-07-25

### Changed

- Bump max supported NC version to 30
- Update gh workflows

## 1.0.7 – 2024-03-13

### Fixed

- Use fallback image for icon urls
- Update node deps and fixes
- Update workflows from templates

## 1.0.6 – 2024-01-17

### Fixed

- better usage of file actions options
- minor fixes

## 1.0.5 – 2023-11-02

### Changed

- replace NcMultiselect by NcSelect in files modal
- disable webhooks until Mattermost implements it
- Drop support for NC < 28

### Fixed

- Migrate to file actions for Nextcloud 28
- fix modal content width

## 1.0.4 – 2023-05-10

### Added

- daily calendar summary webhook
- upcoming events webhook
- smart picker provider for messages
- basic link preview for messages

### Changed

- update npm pkgs

### Fixed

- mistakes in translatable strings

## 1.0.3 – 2022-11-15
### Added
- Ability to send internal links
- translations

### Changed
- only send one message grouping optional comment + files
[#11](https://github.com/julien-nc/integration_mattermost/issues/11) @joho1968
- use message permalinks instead of channel links as target for dashboard items and search results
[#12](https://github.com/julien-nc/integration_mattermost/issues/12) @joho1968

### Fixed
- fix search result entries for direct messages (displayed text and link)
[#12](https://github.com/julien-nc/integration_mattermost/issues/12) @joho1968

## 1.0.2 – 2022-11-09
### Added
- Ability to send files to direct user-user conversations

### Fixed
- stop using API endpoints which require to be a Mattermost admin
[#7](https://github.com/julien-nc/integration_mattermost/issues/7) @piratPavel

## 1.0.1 – 2022-11-08
### Changed
- sort channels by last post date, use most recent as default selection
- update npm pkgs
- switch to @nextcloud/vue dashboard components

### Fixed
- gracefully catch error when creating a share link with a password that does not respect NC's password policy
- fix selected radio elements border color
- fix api controller methods being restricted to admin users
- avoid deselecting channel when selecting the selected one

## 1.0.0 – 2022-09-09
## 1.0.0 – 2026-04-07
### Added
* the app
Loading
Loading