Commit Graph

67 Commits

Author SHA1 Message Date
Maksim Eltyshev
b8d7e713b9 chore: Update dependencies 2024-06-02 01:34:03 +02:00
Maksim Eltyshev
fff0552081 chore: Update dependencies
Closes #726
2024-04-23 15:45:47 +02:00
Edouard
9f0fce098e feat: SMTP integration and email notifications (#631) 2024-03-22 00:14:09 +01:00
Maksim Eltyshev
3f99438402 fix: Fix images becoming black and white when resizing
Closes #574, closes #585
2024-01-18 10:58:26 +01:00
Maksim Eltyshev
7e7727e3e1 chore: Bump sharp version 2024-01-03 13:59:14 +05:00
Maksim Eltyshev
f1fed3e533 build: Stop using base image 2023-12-01 18:02:19 +01:00
Maksim Eltyshev
239611ad51 chore: Update dependencies 2023-11-17 14:34:10 +01:00
Lorenz Brun
743f2956c8 feat: Improve OIDC SSO (#524)
The OIDC implementation merged in https://github.com/plankanban/planka/pull/491 is flawed for multiple reasons.

It assumes that the access_token returned by the IDP has to be a JWT parseable by the RP which is not the case [1].
Many major IDPs do issue tokens which are not JWTs and RPs should not rely on the contents of these at all.
The only signed token which has a standardized format for direct RP consumption is the OIDC ID token (id_token), but this by default doesn't contain many claims, especially role claims are omitted from them by default for size reasons. To get these additional claims into the ID token, one needs an IDP with support for the "claims" parameter.

It requires manual specification of the JWKS URL which is mandatory in any OIDC discovery document and thus never needs to be manually specified.

It also makes the questionable decision to use a client-side code flow with PKCE where a normal code flow would be much more appropriate as all user data is processed in the backend which can securely hold a client secret (confidential client). This has far wider IDP support, is safer (due to direct involvement of the IDP in obtaining user information) and doesn't require working with ID tokens and claim parameters.

By using a server-side code flow we can also offload most complexity to the server alone, no longer requiring an additional OIDC library on the web client.

Also silent logout doesn't work on most IDPs for security reasons, one needs to actually redirect the user over to the IDP, which then prompts them once more if they actually want to log out.

This implementation should work with any OIDC-compliant IDP and even OAuth 2.0-only IDPs as long as they serve and OIDC discovery document.

[1] rfc-editor.org/rfc/rfc6749#section-5.1
2023-10-19 17:39:21 +05:00
Maksim Eltyshev
3bc73c43ea chore: Bump sails version 2023-10-17 19:23:09 +02:00
gorrilla10101
107cb85ba2 feat: OIDC with PKCE flow (#491) 2023-09-04 20:06:59 +05:00
dependabot[bot]
b7cf1853f5 chore(deps): Bump json5 from 1.0.1 to 1.0.2 in /server (#369)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 02:23:01 +05:00
dependabot[bot]
4850fc5fc8 chore(deps): Bump jsonwebtoken from 8.5.1 to 9.0.0 in /server (#357)
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases)
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 02:20:25 +05:00
Maksim Eltyshev
b0d23373c0 chore: Update dependencies 2022-11-21 00:54:05 +01:00
Rafly Maulana
5381d45e50 meta: Share global eslint config, move prettier config (#339) 2022-11-21 00:22:01 +05:00
Maksim Eltyshev
3df07c10fa fix: Use password strength estimator
Closes #294
2022-09-03 22:47:06 +05:00
Maksim Eltyshev
5b64d465e2 fix: Use move-file instead of rename 2022-08-26 16:02:47 +02:00
Maksim Eltyshev
052ab7f653 chore: Update version 2022-08-24 15:37:27 +02:00
Steven Correia
6429e22d59 feat: Modify logger to log to file that supports fail2ban (#284) 2022-08-23 03:42:56 +05:00
Maksim Eltyshev
fe62180cda chore: Update dependencies 2022-07-24 17:04:26 +02:00
Maksim Eltyshev
6f219e5368 Fix pre-commit hook, update dependencies 2022-04-19 02:52:19 +05:00
Maksim Eltyshev
e239d85901 Update dependencies 2022-04-16 00:08:14 +05:00
Maksim Eltyshev
0c92623109 Update dependencies 2022-02-09 00:56:01 +05:00
Maksim Eltyshev
1a5c0f53f8 Fix board deletion, update dependencies. Closes #146 2021-08-02 17:23:56 +05:00
Maksim Eltyshev
b39119ace4 Project managers, board members, auto-update after reconnection, refactoring 2021-06-24 01:05:22 +05:00
Maksim Eltyshev
cf21bef9ee Fix file attach from clipboard when copy from browser. Closes #96 2021-03-20 03:33:16 +05:00
Maksim Eltyshev
f718464940 Fix variables in update-card, update dependencies. Closes #85 2021-02-10 17:39:41 +05:00
Maksim Eltyshev
3d6f9cc0e5 Adjust label width, update dependencies. Closes #75 2021-01-09 18:42:16 +05:00
Maksim Eltyshev
179ad3610f Update dependencies 2020-12-18 01:02:28 +05:00
Maksim Eltyshev
de1f7c7564 Update dependencies 2020-11-20 06:01:42 +05:00
Maksim Eltyshev
c28fada7ee Update readme, update dependencies 2020-10-20 16:10:25 +05:00
Maksim Eltyshev
ab020fc324 Update dependencies 2020-09-28 04:40:10 +05:00
Maksim Eltyshev
08aef7c052 Change database adapter to support the new Node. Closes #32 2020-08-31 16:45:22 +05:00
Maksim Eltyshev
767d39586c Add test libs, update dependencies 2020-08-20 15:35:46 +05:00
Maksim Eltyshev
8fc6bb2e3e Update dependencies 2020-08-11 20:45:35 +05:00
Maksim Eltyshev
c6ee7d54bb Prepare for collection board type, refactoring, update dependencies 2020-08-04 01:32:46 +05:00
Maksim Eltyshev
2d92ade8dc Add scrollbar for board tabs, update dependencies 2020-06-08 18:49:40 +05:00
Maksim Eltyshev
38f68c1b82 Update dependencies 2020-05-26 14:10:06 +05:00
Maksim Eltyshev
6a7ad7a24b Update dependencies 2020-05-06 21:21:18 +05:00
Maksim Eltyshev
844b3ab8f1 Fix Docker image, update dependencies 2020-04-29 04:50:32 +05:00
Maksim Eltyshev
246eb17249 Add dropzone for attachment, paste attachment from clipboard 2020-04-28 19:46:55 +05:00
Maksim Eltyshev
f743f4ea8b Add file attachments 2020-04-21 05:44:12 +05:00
Maksim Eltyshev
be8a806102 Update dependencies 2020-04-10 00:24:05 +05:00
Maksim Eltyshev
af00e3e191 Add username to user 2020-04-03 00:35:25 +05:00
Maksim Eltyshev
d1b74f9d11 Update dependencies 2020-03-25 00:15:47 +05:00
Maksim Eltyshev
4da29f2d8e Update dependencies 2020-03-14 20:58:48 +05:00
Maksim Eltyshev
de7a8cd8d4 Downgrade bcrypt for Alpine Linux compatibility 2020-02-25 18:42:00 +05:00
Maksim Eltyshev
b93c5aa070 Update dependencies 2020-02-25 02:10:27 +05:00
Maksim Eltyshev
9c7c96a780 Move from prettier-eslint to eslint-plugin-prettier, update dependencies 2020-02-03 18:42:31 +05:00
Maksim Eltyshev
f0e7fb8fd1 Update dependencies 2020-01-14 13:10:34 +05:00
Maksim Eltyshev
dc0f71624b Update dependencies 2019-12-30 04:24:06 +05:00