Skip to content

Commit d64cb25

Browse files
author
Josua Hunziker
authored
Update compatible version (#81)
Fixes #80
1 parent f6ed1e8 commit d64cb25

File tree

4 files changed

+60
-25
lines changed

4 files changed

+60
-25
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,22 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
php-versions: ['8.2', '8.3' ]
25+
php-versions: ['8.2', '8.3']
2626
databases: ['sqlite']
27-
server-versions: ['stable26', 'stable27', 'stable28', 'stable29', 'stable30']
27+
server-versions:
28+
['stable27', 'stable28', 'stable29', 'stable30', 'stable31']
2829
experimental: [false]
2930
include:
3031
- php-versions: '8.3'
3132
databases: sqlite
3233
server-versions: master
3334
experimental: true
3435
exclude:
35-
- php-versions: '8.3'
36-
databases: sqlite
37-
server-versions: 'stable26'
38-
experimental: false
3936
- php-versions: '8.3'
4037
databases: sqlite
4138
server-versions: 'stable27'
4239
experimental: false
43-
40+
4441
name: test-php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
4542

4643
steps:
@@ -71,7 +68,7 @@ jobs:
7168
php-version: ${{ matrix.php-versions }}
7269
extensions: ${{ env.PHP_EXTENSIONS }}
7370
key: ${{ env.CACHE_KEY }}
74-
71+
7572
- name: Cache extensions
7673
uses: actions/cache@v3
7774
with:
@@ -86,7 +83,7 @@ jobs:
8683
tools: phpunit:9.6.9
8784
extensions: ${{ env.PHP_EXTENSIONS }}
8885
coverage: xdebug
89-
86+
9087
- name: Setup problem matchers for PHP
9188
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
9289

@@ -107,7 +104,7 @@ jobs:
107104
working-directory: apps/${{ env.APP_NAME }}
108105
run: phpunit -c tests/phpunit.xml
109106
env:
110-
TRAVIS: true
107+
TRAVIS: true
111108

112109
- name: Codecov.io Upload
113110
working-directory: apps/${{ env.APP_NAME }}

CHANGELOG.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,122 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

78
## [Unreleased]
89

10+
## 1.6.1 - 2025-02-28
11+
912
### Changed
13+
1014
- Use PSR Logger Interface (#79)
11-
- Compatibility up to NC31
15+
- Compatibility up to NC32
1216

1317
## 1.6.0 - 2024-09-21
18+
1419
### Changed
20+
1521
- Support SAML Logins (#77) - shout out to @elainabialkowski
1622
- Compatibility up to Nextcloud 30, drop versions 22-25
1723

1824
## 1.5.3 - 2024-04-04
25+
1926
### Changed
27+
2028
- Compatibility with Nextcloud 28 [#71](https://github.com/stjosh/auto_groups/issues/72)
2129

2230
## 1.5.2 - 2023-06-24
31+
2332
### Changed
33+
2434
- Compatibility with Nextcloud 27 [#67](https://github.com/stjosh/auto_groups/issues/67)
2535

2636
## 1.5.1 - 2023-01-16
37+
2738
### Fixed
39+
2840
- Fix admin settings display issue in NC25 and Firefox [#65](https://github.com/stjosh/auto_groups/issues/65)
2941

3042
## 1.5.0 - 2022-12-12
43+
3144
### Changed
45+
3246
- Fixed deprecation message [#61](https://github.com/stjosh/auto_groups/issues/61)
3347
- More precise description for the "Groups Modification"-Setting [#60](https://github.com/stjosh/auto_groups/issues/60)
3448

3549
## 1.4.1 - 2021-11-18
50+
3651
### Changed
52+
3753
- Update path in admin settings [#62](https://github.com/stjosh/auto_groups/pull/62)
3854

3955
## 1.4.0 - 2021-11-18
56+
4057
### Changed
58+
4159
- Refactor hooks to be non-exclusive and separate the "creation" from the "modification" hook [#57](https://github.com/stjosh/auto_groups/issues/57)
4260

4361
## 1.3.1 - 2021-04-16
62+
4463
### Fixed
64+
4565
- Delay JS initialization in the admin settings to make sure that OC.Settings is defined before the script is executed
4666

4767
## 1.3.0 - 2021-02-27
68+
4869
### Changed
70+
4971
- Add "creation only" mode which allows to opt-out of group membership enforcement on subsequent user modifications
5072

5173
## 1.2.1 - 2021-02-23
74+
5275
### Changed
76+
5377
- Update translations and ensure compatibility with latest Nextcloud versions
5478

5579
## 1.2.0 - 2020-05-19
80+
5681
### Changed
82+
5783
- Move to UserLoggedInEvent for login checks, enabling compatibility with SAML login [#42](https://github.com/stjosh/auto_groups/issues/42)
5884

5985
## 1.1.1 - 2020-05-08
86+
6087
### Changed
88+
6189
- Translation Updates
6290

6391
## 1.1.0 - 2020-05-08
92+
6493
### Added
94+
6595
- Prevent Group deletion [#28](https://github.com/stjosh/auto_groups/issues/28)
6696
- Automate release publishing [#9](https://github.com/stjosh/auto_groups/issues/9)
6797
- Added Changelog [#27](https://github.com/stjosh/auto_groups/issues/27)
6898

6999
### Changed
100+
70101
- Updated documentation
71102

72103
## 1.0.2 - 2020-04-23
104+
73105
### Fixed
106+
74107
- Broken release 1.0.1 which could not be installed [#26](https://github.com/stjosh/auto_groups/issues/26)
75108

76109
## 1.0.1 - 2020-04-23
110+
77111
### Changed
112+
78113
- Documentation update to point out differences to similar apps
79114
- Translation Updates
80115

81116
## 1.0.0 - 2020-04-23
117+
82118
### Added
119+
83120
- Auto Groups
84121
- Override Groups
85122
- Remove users from Auto Groups when added to Override Group

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
# Nextcloud Auto Groups
2-
Automatically add users to specified Auto Groups, except for those belonging to one of the specified Override Groups.
2+
3+
Automatically add users to specified Auto Groups, except for those belonging to one of the specified Override Groups.
34

45
## Test Status
56

6-
| Nextcloud Server Branch | Unit & Integration Tests | Code Coverage |
7-
| ----------------------- |:------------------------:|:-------------:|
8-
| [stable26](https://github.com/nextcloud/server/tree/stable26) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable26)](https://codecov.io/gh/stjosh/auto_groups) |
9-
| [stable27](https://github.com/nextcloud/server/tree/stable27) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable27)](https://codecov.io/gh/stjosh/auto_groups) |
10-
| [stable28](https://github.com/nextcloud/server/tree/stable28) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable28)](https://codecov.io/gh/stjosh/auto_groups) |
11-
| [stable29](https://github.com/nextcloud/server/tree/stable29) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable29)](https://codecov.io/gh/stjosh/auto_groups) |
12-
| [stable30](https://github.com/nextcloud/server/tree/stable30) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable30)](https://codecov.io/gh/stjosh/auto_groups) |
13-
| [master](https://github.com/nextcloud/server/tree/master) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) | [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=master)](https://codecov.io/gh/stjosh/auto_groups) |
7+
| Nextcloud Server Branch | Unit & Integration Tests |  Code Coverage |
8+
| ------------------------------------------------------------- | :-----------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------: |
9+
| [stable27](https://github.com/nextcloud/server/tree/stable27) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable27)](https://codecov.io/gh/stjosh/auto_groups) |
10+
| [stable28](https://github.com/nextcloud/server/tree/stable28) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable28)](https://codecov.io/gh/stjosh/auto_groups) |
11+
| [stable29](https://github.com/nextcloud/server/tree/stable29) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable29)](https://codecov.io/gh/stjosh/auto_groups) |
12+
| [stable30](https://github.com/nextcloud/server/tree/stable30) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable30)](https://codecov.io/gh/stjosh/auto_groups) |
13+
| [stable31](https://github.com/nextcloud/server/tree/stable30) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=stable31)](https://codecov.io/gh/stjosh/auto_groups) |
14+
| [master](https://github.com/nextcloud/server/tree/master) | ![Unit and Integration Tests](https://github.com/stjosh/auto_groups/workflows/Unit%20and%20Integration%20Tests/badge.svg) |  [![codecov](https://codecov.io/gh/stjosh/auto_groups/branch/master/graph/badge.svg?flag=master)](https://codecov.io/gh/stjosh/auto_groups) |
1415

1516
Unit and Integration Tests are executed with PHP v8.2 and v8.3.
1617

1718
## Usage
1819

19-
* Install and enable the App
20-
* Go to "Settings > Administration > Additional settings" to configure the Auto Groups, Override Groups and further behavior.
20+
- Install and enable the App
21+
- Go to "Settings > Administration > Additional settings" to configure the Auto Groups, Override Groups and further behavior.
2122

2223
Note that this app prevents group deletions for groups referenced as Auto Groups or Override Groups.
2324

@@ -33,8 +34,8 @@ and then access your test instance on http://localhost:8080. The `auto_groups` a
3334

3435
## Comparison to similar Apps
3536

36-
* [Everyone Group](https://apps.nextcloud.com/apps/group_everyone): The "Everyone Group" app adds a virtual Group Backend, always returning all users. In contrast, "Auto Groups" operates on "real" groups in your normal Group Backend. Additionally, it is possible to specify Override Groups which will prevent users from being added to the Auto Group(s).
37-
* [Default Group](https://apps.nextcloud.com/apps/defaultgroup): "Auto Groups" is actually a modernized and maintaned fork of "Default Group", which seems to be abandoned since NC12 or so. In terms of functionality, they are almost identical.
37+
- [Everyone Group](https://apps.nextcloud.com/apps/group_everyone): The "Everyone Group" app adds a virtual Group Backend, always returning all users. In contrast, "Auto Groups" operates on "real" groups in your normal Group Backend. Additionally, it is possible to specify Override Groups which will prevent users from being added to the Auto Group(s).
38+
- [Default Group](https://apps.nextcloud.com/apps/defaultgroup): "Auto Groups" is actually a modernized and maintaned fork of "Default Group", which seems to be abandoned since NC12 or so. In terms of functionality, they are almost identical.
3839

3940
In addition, I plan to add some more features over time, e.g., "Union Groups" - see the [Milestone Plans](https://github.com/stjosh/auto_groups/milestones) for more details.
4041

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In addition, I plan to add some more features over time, e.g., "Union Groups" -
3434
<repository type="git">https://github.com/stjosh/auto_groups.git</repository>
3535
<screenshot>https://raw.githubusercontent.com/stjosh/auto_groups/master/screenshots/settings.png</screenshot>
3636
<dependencies>
37-
<nextcloud min-version="26" max-version="31"/>
37+
<nextcloud min-version="27" max-version="32"/>
3838
</dependencies>
3939
<settings>
4040
<admin>OCA\AutoGroups\Settings\Admin</admin>

0 commit comments

Comments
 (0)