Commit Graph

23 Commits

Author SHA1 Message Date
cupcakearmy ad9a5c16d5
add possibility of adding custom,static groups 2023-01-28 22:36:16 +01:00
cupcakearmy 51872cddcb
settings fiel 2023-01-28 22:35:58 +01:00
Nicco f066be6d23 add slack as example 2022-11-17 21:18:19 -08:00
Christoph Daniel Miksche 62b34bbef0 Add example for Gitea 2022-09-04 22:09:38 -07:00
Byron Marohn 2f20dfe80e Add example for Discord 2021-04-07 19:02:48 -07:00
Omar Ramos 8b77d84f18
Trim group filter values 2020-10-01 19:34:10 -07:00
Omar Ramos cfe1eaadcf
Add option to rename link on login page 2020-09-30 21:15:03 -07:00
mildis 8b6cecd863 Better handling of empty group filter
Check if oauth2_key_group_filter is empty before exploding it.
Else isGroupInFilter does not catch _if (empty($filter))_ because the $filter array contains 1.
2020-09-11 21:42:52 -07:00
Frédéric Guillot f41ed17bd3 Bump version 2020-06-11 20:54:10 -07:00
Tilo 5b386c0ea1
Add group filter 2020-04-28 20:45:35 -07:00
Frédéric Guillot 863cd51941 Setup GitHub CI 2020-04-04 21:20:23 -07:00
RussellAult 96be8e9edc Check for empty Groups Key
Right now if you don't set a Groups Key in the integration configuration then $this->getKey() will log "PHP Notice:  Undefined index:  " because it's being asked to look for a blank key. This commit first checks whether the key is set before passing it to getKey() to prevent this Notice.
2019-11-11 11:05:36 -08:00
renothing dbf6658c35 fix getKey error when userinfo with nested structure
for example some OAuth2 provider provide multiple emails like this:

```
{
  "_id": "aobEdbYhXfu5hkeqG",
  "name": "Example User",
  "emails": [
    {
      "address": "example1@example.com",
      "primary": true
    },
    {
      "address": "example2@example.com",
      "primary": false
    }
  ],
  "status": "offline",
  "statusConnection": "offline",
  "username": "example",
  "utcOffset": 0,
......
```
we need get email address for email map in kanboard.

this patch use `.` as separator to get value from nested structure.

in this example we can use `emails.0.address` as key name to get first
email address.
2019-07-04 17:35:54 -07:00
Frédéric Guillot a8941d5b59 Fix CI check 2019-07-03 22:39:29 -07:00
Sascha Kühndel 07c97dd49f Add support for groups 2018-08-21 19:05:22 -07:00
Frédéric Guillot 43551c6d5a
Update CI config 2018-03-29 21:42:06 -07:00
Frederic Guillot 5c1cdc932e Update Travis settings 2017-09-11 17:49:26 -07:00
Frédéric Guillot 13d384669d Merge pull request #5
Support for setting scope
2017-04-16 13:19:25 -04:00
Felix Gustavsson b6713cf0dc Possible to set space seperated scopes in the settings 2017-04-16 18:01:51 +02:00
Frederic Guillot 96b8b17612 Rename CSS class 2017-01-08 18:33:40 -05:00
Frederic Guillot 4f9156f1c5 Add example for Salesforce 2017-01-06 18:20:43 -05:00
Frederic Guillot edcd3e72e3
Update readme 2016-12-04 15:11:08 -05:00
Frederic Guillot f81f83dd9e
First commit 2016-12-03 22:18:47 -05:00