Compare commits

...

330 Commits

Author SHA1 Message Date
Maksim Eltyshev
d5d3f1de44 chore: Update version 2026-02-23 18:44:06 +01:00
Maksim Eltyshev
4e9e842e3d chore: Update server dependencies 2026-02-23 18:12:14 +01:00
Fabian Reinold
605dcace54 fix(gravatar): Update hash algorithm to SHA-256 for improved security (#1550) 2026-02-23 16:59:55 +01:00
SnoozeFreddo
61753f08eb fix(helm): Add writable temp directory mounts when readOnlyRootFilesystem is enabled (#1542) 2026-02-20 16:18:30 +01:00
Maksim Eltyshev
52c96c6c8f fix(platform): Make app compatible with Windows 2026-02-19 20:15:28 +01:00
Maksim Eltyshev
2a1760393f fix(dropzone): Prevent dropzone from overflowing content 2026-02-19 17:09:21 +01:00
seals187
7758312e05 fix(backup): Improve backup/restore scripts, allow specifying backup directory (#1541) 2026-02-19 13:13:12 +01:00
Maksim Eltyshev
414418130d chore: Update version 2026-02-17 15:55:56 +01:00
Maksim Eltyshev
d83ea4b146 fix(terms): Display template notice, support custom terms loading
Closes #1523
2026-02-17 15:37:26 +01:00
Fabian Reinold
addad4378a feat(helm): Add image digest pinning support (#1531)
* feat(helm): add image digest field to values

- Add optional 'digest' field under image.repository configuration
- Allows users to pin container images by SHA256 digest
- Improves security through immutable image identification
- Fully backward compatible (digest is optional)

* feat(helm): implement image digest pinning in deployment template

- Add conditional logic to support SHA256 digest in image references
- When digest is set with tag: generates 'repository:tag@sha256:digest'
- When digest is set without tag: generates 'repository@sha256:digest'
- Preserves backward compatibility with tag-only deployments
- Validates tag presence to avoid invalid image references

* docs(helm): add image digest pinning documentation

- Add 'Image Digest Pinning' section under Advanced Configuration
- Include methods for finding image digests (docker inspect, skopeo)
- Document two usage options:
  - Option 1: Digest with tag (recommended) for reference + verification
  - Option 2: Digest only for minimalist configuration
- Explain security benefits (immutability, supply chain security, reproducibility)
- Provide complete helm and values.yaml examples
2026-02-16 14:25:47 +01:00
Maksim Eltyshev
b9967feeea fix(socket): Handle transport error during reconnection after idle 2026-02-16 10:50:09 +01:00
Maksim Eltyshev
dbcdd62bdf docs: Update readme 2026-02-12 16:03:53 +01:00
Maksim Eltyshev
ff4177f27a chore: Fix index view extension in ignore files 2026-02-11 23:00:45 +01:00
Maksim Eltyshev
f68e7d156e chore: Fix data path in docker-restore script 2026-02-11 22:58:40 +01:00
Maksim Eltyshev
bda32e0247 chore: Update version 2026-02-11 14:34:56 +01:00
Maksim Eltyshev
168776aef8 chore: Bump terms 2026-02-11 14:03:37 +01:00
Maksim Eltyshev
d84b615815 ci: Fix sed when updating Dockerfile to use prebuilt client 2026-02-11 13:08:06 +01:00
Maksim Eltyshev
16b228e54e fix: Prevent collisions when generating local ids 2026-02-11 11:59:57 +01:00
Maksim Eltyshev
0db1a5cf0e chore: Support multiple term types 2026-02-10 22:53:22 +01:00
Maksim Eltyshev
1d0b3e9af8 ci: Fix path to terms 2026-02-10 21:49:33 +01:00
Maksim Eltyshev
dabdedf6c4 ref: Little refactoring 2026-02-10 21:43:58 +01:00
Maksim Eltyshev
a82ae49fe4 chore: Unify term types 2026-02-10 21:14:56 +01:00
Hayden Welch
e7326303cd docs: Validate Swagger docs (#1486) 2026-02-10 19:35:39 +01:00
Maksim Eltyshev
b2e3aac314 chore: Upgrade data structure only if S3 is enabled 2026-02-10 18:52:25 +01:00
Maksim Eltyshev
8c4859fed5 chore: Sync upgrade script with latest changes 2026-02-10 18:34:26 +01:00
Maksim Eltyshev
e219e5be42 ci: Restore latest tag 2026-02-10 15:31:05 +01:00
Maksim Eltyshev
7d613dc171 docs: Bump last updates 2026-02-10 15:00:19 +01:00
Maksim Eltyshev
d63cc28f23 ci: Optimize Docker image build by prebuilding client 2026-02-09 21:48:44 +01:00
Maksim Eltyshev
8898a0f0a2 fix: Block unsupported local Apprise schemas 2026-02-09 13:35:04 +01:00
Maksim Eltyshev
538280d197 feat: Add configurable proxy for outgoing traffic to prevent SSRF 2026-02-09 13:33:27 +01:00
Maksim Eltyshev
aa3ebd5add feat: Apply color to entire list instead of card bottoms 2026-02-08 00:06:32 +01:00
Maksim Eltyshev
f8cd7474d1 chore: Update client dependencies 2026-02-04 17:52:04 +01:00
Maksim Eltyshev
450bd875c1 chore: Update server dependencies 2026-02-04 12:53:15 +01:00
Maksim Eltyshev
8df5a111bf fix: Forward headers correctly when reading from S3 2026-02-04 11:34:47 +01:00
Maksim Eltyshev
3c33161df6 fix: Fix server error when fetching custom field group
Closes #1507
2026-02-01 00:14:07 +01:00
Maksim Eltyshev
052edc9fb1 feat: Migrate file storage to unified data directory 2026-01-31 20:27:15 +01:00
Maksim Eltyshev
6335b3bd3c fix: Enhance response headers for file attachments 2026-01-30 21:53:53 +01:00
Maksim Eltyshev
db99227f32 feat: Re-stream static files from S3, introduce protected static files 2026-01-30 21:45:18 +01:00
Maksim Eltyshev
a5dc0a64ac build: Upgrade pip at build time, bump node-redis and apprise 2026-01-29 13:21:53 +01:00
Maksim Eltyshev
b37ca68d61 chore: Auto-update internal version for nightly build, improve version display in UI 2026-01-29 00:24:57 +01:00
Maksim Eltyshev
31dd816e30 docs: Clarify nested pagination cursor in Swagger 2026-01-28 16:53:33 +01:00
Maksim Eltyshev
d688a64e36 feat: Add OIDC debug mode 2026-01-27 22:34:08 +01:00
Maksim Eltyshev
2c4369159b fix: Hide unlinking SSO when OIDC is enforced 2026-01-26 22:21:27 +01:00
Maksim Eltyshev
b2da1a5e18 docs: Add missing details to Swagger 2026-01-26 21:44:00 +01:00
Maksim Eltyshev
2b699f77f4 feat: Add ability to unlink SSO from user 2026-01-26 21:18:32 +01:00
Maksim Eltyshev
ee917c545c chore: Update dependencies 2026-01-26 14:11:20 +01:00
Maksim Eltyshev
3b8ad26169 feat: Add ability to pre-fill login credentials in demo mode 2026-01-25 20:17:13 +01:00
Maksim Eltyshev
ffdb7254b3 fix: Enable favorites by default 2026-01-25 18:37:56 +01:00
Maksim Eltyshev
b52604045d fix: Correctly track password field modification in SMTP pane 2026-01-23 20:32:23 +01:00
Maksim Eltyshev
267fce0505 fix: Prevent deactivated users from receiving socket events when possible 2026-01-23 19:38:58 +01:00
Maksim Eltyshev
6ec0bafecb fix: Prevent sending notifications to deactivated users 2026-01-23 17:20:12 +01:00
Maksim Eltyshev
b2c4c530c6 fix: Fix variable name in seeder 2026-01-23 11:42:40 +01:00
Maksim Eltyshev
59da747e75 docs: Add Notes app testing invitation 2026-01-23 11:37:29 +01:00
Maksim Eltyshev
1264fd5715 feat: Add internal runtime configuration 2026-01-22 18:02:42 +01:00
JoeKer1
b852481850 feat: Add support for sidecar containers in Helm (#1494) 2026-01-22 10:14:02 +01:00
dependabot[bot]
c88fd340bc build(deps): Bump lodash-es from 4.17.22 to 4.17.23 in /client (#1495)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.22 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits/4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 10:06:57 +01:00
dependabot[bot]
4200bfca3a build(deps): Bump lodash from 4.17.21 to 4.17.23 in /server (#1492)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 10:06:44 +01:00
dependabot[bot]
7b1be0db27 build(deps): Bump lodash from 4.17.21 to 4.17.23 in /client (#1491)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 10:06:36 +01:00
dependabot[bot]
3847b69f4c build(deps): Bump lodash from 4.17.21 to 4.17.23 (#1490)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 10:06:24 +01:00
dependabot[bot]
5f8fde1354 build(deps): Bump tar and bcrypt in /server (#1484)
Removes [tar](https://github.com/isaacs/node-tar). It's no longer used after updating ancestor dependency [bcrypt](https://github.com/kelektiv/node.bcrypt.js). These dependencies need to be updated together.


Removes `tar`

Updates `bcrypt` from 5.1.1 to 6.0.0
- [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases)
- [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v5.1.1...v6.0.0)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 
  dependency-type: indirect
- dependency-name: bcrypt
  dependency-version: 6.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 20:45:50 +01:00
Maksim Eltyshev
1f4f439f4c feat: Add demo mode with restricted user actions 2026-01-14 14:11:21 +01:00
Maksim Eltyshev
5636c2bb79 chore: Update dependencies 2026-01-14 13:22:11 +01:00
Maksim Eltyshev
e3e55b2c26 fix: Disable fuzzy links in markdown editor
Closes #1480
2026-01-14 13:00:29 +01:00
Maksim Eltyshev
e1c1719414 chore: Update Apprise link 2026-01-13 18:39:27 +01:00
Maksim Eltyshev
a60f8e3c3e chore: Rename for consistency 2026-01-13 17:52:31 +01:00
dependabot[bot]
f4a24a3c1f build(deps): Bump @remix-run/router and react-router-dom in /client (#1479)
Bumps [@remix-run/router](https://github.com/remix-run/react-router/tree/HEAD/packages/router) to 1.23.2 and updates ancestor dependency [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom). These dependencies need to be updated together.


Updates `@remix-run/router` from 1.23.1 to 1.23.2
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/@remix-run/router@1.23.2/packages/router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/@remix-run/router@1.23.2/packages/router)

Updates `react-router-dom` from 6.30.2 to 6.30.3
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.30.3/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: "@remix-run/router"
  dependency-version: 1.23.2
  dependency-type: indirect
- dependency-name: react-router-dom
  dependency-version: 6.30.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-09 05:42:39 +01:00
dependabot[bot]
cadb013527 build(deps): Bump qs from 6.14.0 to 6.14.1 in /client (#1469) 2026-01-02 07:04:51 +01:00
HUi
af8865327a feat: Add Vietnamese translation (#1459) 2025-12-19 20:17:34 +01:00
Maksim Eltyshev
208e61a272 feat: Optimize and parallel image processing 2025-12-19 19:11:02 +01:00
Maksim Eltyshev
fb5d5233bf feat: Improve mime type detection, limit image processing size 2025-12-19 17:24:22 +01:00
Maksim Eltyshev
9bf7e9de3d fix: Align markdown quote border color 2025-12-19 13:37:09 +01:00
Maksim Eltyshev
a783bfa5a7 fix: Align markdown colors 2025-12-19 13:08:40 +01:00
Maksim Eltyshev
bd10a7fa5a chore: Update dependencies 2025-12-19 12:32:10 +01:00
Maksim Eltyshev
4f5f5ddad4 feat: Display last updates in About modal 2025-12-17 15:49:33 +01:00
Maksim Eltyshev
27fd10ba3f fix: Rename Information menu item to About 2025-12-12 21:09:44 +01:00
Maksim Eltyshev
a47bdb9c8a feat: Move About and Terms into separate modal 2025-12-12 16:10:07 +01:00
Maksim Eltyshev
12f388fd35 fix: Fix attachment file handling when S3 is enabled 2025-12-11 19:26:55 +01:00
Maksim Eltyshev
869a6b4c00 fix: Complete missing markdown editor translations 2025-12-11 12:46:14 +01:00
Maksim Eltyshev
7f6978ae9e fix: Prevent attachment gallery content from going out of bounds
Closes #1349
2025-12-11 12:11:34 +01:00
Maksim Eltyshev
ae9517b37a fix: Prevent clearing linked tasks when soft deleting 2025-12-09 21:23:27 +01:00
Maksim Eltyshev
6da5c7aaca feat: Enhance card actions menu with separators and action bar 2025-12-09 20:30:05 +01:00
Maksim Eltyshev
9e6e38fcf7 feat: Add ability to copy/cut cards with shortcut support 2025-12-09 14:58:01 +01:00
Maksim Eltyshev
52acc9de90 feat: Allow setting customer panel URL via environment variables 2025-12-08 21:25:13 +01:00
Maksim Eltyshev
26200754f3 fix: Improve login page appearance 2025-12-08 21:08:51 +01:00
Maksim Eltyshev
95ae3affd9 Merge branch 'master' of github.com:plankanban/planka 2025-12-05 10:06:49 +01:00
Maksim Eltyshev
19c201cb1b chore: Bump apprise 2025-12-05 10:06:45 +01:00
dependabot[bot]
d472da7523 build(deps): Bump jws from 3.2.2 to 3.2.3 in /server (#1449)
Bumps [jws](https://github.com/brianloveswords/node-jws) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-04 18:16:18 +01:00
Maksim Eltyshev
f030b78f82 feat: Add object-path support to OIDC attribute mapping
Closes #1359
2025-12-04 17:38:39 +01:00
dependabot[bot]
b94759d399 build(deps): Bump nodemailer from 7.0.10 to 7.0.11 in /server (#1448)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 7.0.10 to 7.0.11.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v7.0.10...v7.0.11)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-04 16:23:31 +01:00
Maksim Eltyshev
fedee157c7 build: Refine server build steps 2025-11-28 17:45:31 +01:00
Maksim Eltyshev
68e5c33418 fix: Improve browser caching for public files 2025-11-28 13:14:25 +01:00
Maksim Eltyshev
f7a09b2eca license: Improve clarity of commercial license terms 2025-11-28 00:18:29 +01:00
Maksim Eltyshev
c058df8fc4 fix: Rename GIN indexes 2025-11-27 19:31:11 +01:00
Maksim Eltyshev
0023c63be8 fix: Optimize query methods 2025-11-27 19:09:10 +01:00
Maksim Eltyshev
26b3cffdab fix: Rename getCards inputs for consistency 2025-11-27 18:41:50 +01:00
Maksim Eltyshev
bf2ab4649e fix: Create isolated i18n instances to prevent locale collision 2025-11-27 18:28:25 +01:00
Maksim Eltyshev
54e230d4c1 ref: Refactoring 2025-11-27 18:24:55 +01:00
Maksim Eltyshev
7be2343076 chore: Add Swagger generation script 2025-11-25 22:08:37 +01:00
Maksim Eltyshev
c646f0f5b3 fix: Increase max username length
Closes #1441
2025-11-25 15:03:35 +01:00
Maksim Eltyshev
8a288d1816 fix: Prevent shortcuts from triggering in actions popup 2025-11-24 21:46:32 +01:00
Maksim Eltyshev
197ebc16db chore: Bump package lock files 2025-11-24 19:48:30 +01:00
Maksim Eltyshev
5c787d65a9 fix: Properly prevent shortcut events, update dependencies
Closes #1440
2025-11-24 19:21:07 +01:00
Samar Khajuria
7e41a0167d feat: Add create-board button to open-board screen (#1438)
Closes #1435
2025-11-24 15:45:50 +01:00
Maksim Eltyshev
c68ab99bfe feat: Extend card action shortcuts 2025-11-24 15:02:26 +01:00
Serge Zaitsev
561d2c77d4 feat: Add basic shortcuts (#1436) 2025-11-24 12:35:31 +01:00
Maksim Eltyshev
6e44b2ad19 chore: Restore license header 2025-11-19 18:20:54 +01:00
Maksim Eltyshev
cd5685049e fix: Log errors when sending notifications via Apprise 2025-11-19 18:19:31 +01:00
dependabot[bot]
015562d8da build(deps): Bump glob from 10.4.5 to 10.5.0 in /client (#1432) 2025-11-18 21:23:34 +01:00
dependabot[bot]
7da8d8219b build(deps-dev): Bump js-yaml from 3.14.1 to 3.14.2 in /client (#1431)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 21:11:18 +01:00
dependabot[bot]
4ed0f02657 build(deps-dev): Bump js-yaml from 4.1.0 to 4.1.1 in /server (#1429)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 21:11:08 +01:00
Shanick
0736b8fea0 fix: Make date command cross-platform in backup script (#1409) 2025-11-18 21:10:24 +01:00
Roger Clotet
7a05bf2a30 feat: Add Catalan (ca-ES) translation (#1424) 2025-11-12 19:19:29 +01:00
Maksim Eltyshev
d7cb2087e5 fix: Adjust margins in menu-styled popups 2025-11-06 23:15:57 +01:00
Maksim Eltyshev
22baf5ab12 feat: Ghost error page for improved error display 2025-11-06 23:11:06 +01:00
Steve Váradi
33a7a6ccb1 chore: Add chart to feature request template (#1414) 2025-11-06 21:03:43 +01:00
Samuel
b4cbd32bf2 feat: Add API key authentication (#1254)
Closes #945
2025-11-06 20:56:48 +01:00
Steve Váradi
5a2564f575 fix: Add missing keys to chart values file (#1401) 2025-10-31 13:13:32 +01:00
Maksim Eltyshev
3edcc5ae61 fix: Update Russian translation 2025-10-31 13:00:30 +01:00
dependabot[bot]
d99e949d07 build(deps): Bump validator from 13.15.15 to 13.15.20 in /client (#1403)
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.15.15 to 13.15.20.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.15.15...13.15.20)

---
updated-dependencies:
- dependency-name: validator
  dependency-version: 13.15.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 12:57:38 +01:00
dependabot[bot]
f5000e8c40 build(deps): Bump validator from 13.15.15 to 13.15.20 in /server (#1402)
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.15.15 to 13.15.20.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.15.15...13.15.20)

---
updated-dependencies:
- dependency-name: validator
  dependency-version: 13.15.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 12:53:41 +01:00
dependabot[bot]
d385a1c238 build(deps): Bump vite from 6.3.6 to 6.4.1 in /client (#1395)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.6 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 12:53:31 +01:00
dependabot[bot]
0d8edbbbc6 build(deps-dev): Bump playwright and @playwright/test in /client (#1393)
Bumps [playwright](https://github.com/microsoft/playwright) and [@playwright/test](https://github.com/microsoft/playwright). These dependencies needed to be updated together.

Updates `playwright` from 1.55.0 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.55.0...v1.56.1)

Updates `@playwright/test` from 1.55.0 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.55.0...v1.56.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.56.1
  dependency-type: direct:development
- dependency-name: "@playwright/test"
  dependency-version: 1.56.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 12:53:22 +01:00
Maksim Eltyshev
04e5124dfd fix: Complete missing markdown editor translations 2025-10-30 20:17:59 +01:00
Maksim Eltyshev
3a84fb2d52 fix: Complete missing server translations 2025-10-30 19:10:33 +01:00
Maksim Eltyshev
232a760a3d fix: Prevent popup header text from wrapping to new line 2025-10-30 18:40:25 +01:00
Maksim Eltyshev
2f873dc82f fix: Correct copy_inline translations to use noun form 2025-10-30 18:03:27 +01:00
Maksim Eltyshev
c35e720265 fix: Complete missing client translations, improve consistency 2025-10-30 17:03:46 +01:00
Maksim Eltyshev
fee300908c fix: Set detected language on first login, remove auto-detect language option 2025-10-15 00:08:29 +02:00
Maksim Eltyshev
20d8f8ae53 fix: Make model-level username regex less strict
Closes #1370
2025-10-14 23:47:31 +02:00
Maksim Eltyshev
39f970689a chore: Little tidy up 2025-10-14 18:52:09 +02:00
Fabian Reinold
d8d4558b8e feat: Extra volume mounts in Helm (#1382) 2025-10-14 18:50:54 +02:00
keke
e080d30b32 fix: Always display "Add comment" button when input has text (#1379)
Closes #1350
2025-10-14 18:45:41 +02:00
dependabot[bot]
1df346d590 build(deps): Bump tmp and patch-package in /server (#1376)
Bumps [tmp](https://github.com/raszi/node-tmp) to 0.2.5 and updates ancestor dependency [patch-package](https://github.com/ds300/patch-package). These dependencies need to be updated together.


Updates `tmp` from 0.0.33 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.0.33...v0.2.5)

Updates `patch-package` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/ds300/patch-package/releases)
- [Changelog](https://github.com/ds300/patch-package/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ds300/patch-package/commits)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
- dependency-name: patch-package
  dependency-version: 8.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 12:54:03 +02:00
dependabot[bot]
35f33a38ff build(deps): Bump nodemailer from 6.10.1 to 7.0.7 in /server (#1371)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.10.1 to 7.0.7.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.10.1...v7.0.7)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 12:50:12 +02:00
dependabot[bot]
f968e1976b build(deps): Bump tmp and patch-package in /client (#1369)
Bumps [tmp](https://github.com/raszi/node-tmp) to 0.2.5 and updates ancestor dependency [patch-package](https://github.com/ds300/patch-package). These dependencies need to be updated together.


Updates `tmp` from 0.0.33 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.0.33...v0.2.5)

Updates `patch-package` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/ds300/patch-package/releases)
- [Changelog](https://github.com/ds300/patch-package/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ds300/patch-package/commits)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
- dependency-name: patch-package
  dependency-version: 8.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 12:48:37 +02:00
Maksim Eltyshev
ab0dbc4b7f build: Apply patches correctly during Docker image build
Closes #1375
2025-10-10 12:43:34 +02:00
Maksim Eltyshev
a52b41207a chore: Fix version mismatches 2025-10-05 20:53:32 +02:00
patroldo
18104a486f fix: Switch to bitnamilegacy Postgres repo in Helm, add ingress labels (#1368)
Closes #1362
2025-10-05 20:47:36 +02:00
Salvador Moreno
213f6cddc9 fix: Update Spanish translation (#1355) 2025-09-26 13:27:31 +02:00
Miklós Márton
393fdbc6d1 fix: Update Hungarian translation (#1354) 2025-09-26 13:21:22 +02:00
Maksim Eltyshev
c6f4dcdb70 feat: Add ability to configure and test SMTP via UI 2025-09-22 20:35:13 +02:00
Maksim Eltyshev
3a12bb7457 fix: Add missing default for showOnFrontOfCard in custom fields 2025-09-16 18:36:43 +02:00
Maksim Eltyshev
4985643e68 fix: Prevent app crash when board is added before its project in the store 2025-09-16 18:15:54 +02:00
Maksim Eltyshev
709dd91e82 fix: Increase browser cache time for attachment files 2025-09-16 17:35:05 +02:00
Maksim Eltyshev
97ddefc236 docs: Correct invalid/missing details in Swagger 2025-09-16 15:51:14 +02:00
Maksim Eltyshev
33eef6e068 fix: Change background color for own comments 2025-09-16 13:27:45 +02:00
Maksim Eltyshev
230b31914c fix: Support multiple CORS origins via comma-separated BASE_URL
Closes #1344
2025-09-15 19:38:31 +02:00
Maksim Eltyshev
98f537c2bc fix: Prevent accidental modal close when switching windows on Windows 2025-09-15 15:28:34 +02:00
Maksim Eltyshev
c4e2221444 docs: Fix typos in Swagger 2025-09-12 21:01:24 +02:00
Maksim Eltyshev
b4979d214f docs: Improve Swagger JSDoc 2025-09-12 12:17:01 +02:00
dependabot[bot]
494800d131 build(deps): Bump vite from 6.3.5 to 6.3.6 in /client (#1341)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 11:47:26 +02:00
Maksim Eltyshev
dca4b65921 docs: Add missing details to Swagger 2025-09-08 23:40:36 +02:00
Miklós Márton
9a81c83f03 fix: Display users alphabetically in board memberships popup (#1334) 2025-09-08 23:14:34 +02:00
Maksim Eltyshev
2c716a53c9 docs: Quote example ids in Swagger 2025-09-08 19:14:31 +02:00
Maksim Eltyshev
5636cf27c0 docs: Add base path for API endpoints to Swagger 2025-09-08 18:25:26 +02:00
leroyloren
68549d0da8 fix: Update Czech translation (#1337) 2025-09-08 17:58:39 +02:00
Maksim Eltyshev
4910600e6c chore: Add Swagger config 2025-09-08 17:41:43 +02:00
Maksim Eltyshev
7fea8f5362 chore: Bump missing image version
Closes #1339
2025-09-08 16:25:50 +02:00
Maksim Eltyshev
5ad3134519 docs: Add full Swagger JSDoc coverage 2025-09-08 16:20:27 +02:00
Maksim Eltyshev
e6b4c33542 fix: Reflect task lists expansion instantly after switching setting 2025-09-06 15:00:43 +02:00
Maksim Eltyshev
984b789e2e feat: Add board setting to expand task lists by default
Closes #683, closes #1333
2025-09-05 23:21:08 +02:00
Maksim Eltyshev
b47a337a4f chore: Add missing dash to compose files 2025-09-05 19:10:17 +02:00
Mary Ojo
5dc783c5b5 feat: Add ability to use Gravatar as avatar provider (#1319)
Closes #1243
2025-09-05 19:00:17 +02:00
Steven Correia
37bd4d1349 feat: Restore toggleable due dates (#1332) 2025-09-05 13:55:20 +02:00
leroyloren
7da241c5a3 fix: Update Czech translation (#1331) 2025-09-05 00:29:40 +02:00
Maksim Eltyshev
203fbd152d fix: Correctly parse environment variables, little refactoring 2025-09-05 00:19:35 +02:00
Maksim Eltyshev
eb259a1482 fix: Patch react-photoswipe-gallery to prevent XSS in captions 2025-09-04 16:02:41 +02:00
Symon Baikov
9683227fbc feat: Add ability to move lists between boards (#1208) 2025-09-04 00:07:10 +02:00
Andrew
5f34a737bb fix: Update Ukrainian translation (#1326) 2025-09-03 13:01:57 +02:00
Niccolò Pedrini
069813e49d fix: Update Italian translation (#1324) 2025-09-03 12:56:57 +02:00
Miklós Márton
fc8f434843 fix: Update Hungarian translation (#1318) 2025-09-01 16:34:26 +02:00
Maksim Eltyshev
2b5068de21 fix: Handle saga watcher errors gracefully 2025-08-30 23:43:04 +02:00
Maksim Eltyshev
d792e4064b fix: Handle markdown-to-text errors gracefully 2025-08-30 17:28:23 +02:00
Maksim Eltyshev
6863f557a3 chore: Update dependencies 2025-08-30 17:25:25 +02:00
Maksim Eltyshev
21033ad8bc fix: Remove meta markdown plugin 2025-08-30 17:10:21 +02:00
Maksim Eltyshev
4c5c7799f2 ref: Little refactoring 2025-08-30 17:09:17 +02:00
Maksim Eltyshev
60a94f33fc ref: Little refactoring 2025-08-25 17:23:59 +02:00
Maksim Eltyshev
4d77a1f596 feat: Track storage usage 2025-08-23 00:03:20 +02:00
Maksim Eltyshev
2f4bcb0583 feat: Add legal requirements (#1306) 2025-08-21 15:10:02 +02:00
Maksim Eltyshev
bb40a22563 chore: Update dependencies 2025-08-20 13:10:16 +02:00
Maksim Eltyshev
22cde183ff fix: Fix regex-based id validation when fetching user
Closes #1302
2025-08-19 13:53:40 +02:00
Saulo Costa
168e556f06 fix: Update Brazilian Portuguese translation (#1301) 2025-08-19 12:36:18 +02:00
Miklós Márton
2fc7d672f6 fix: Update Hungarian translation (#1298) 2025-08-19 12:30:51 +02:00
sivertillia
3dab4b8bea fix: Update Ukrainian translation (#1299) 2025-08-18 22:04:28 +02:00
Maksim Eltyshev
d3cf23d3aa chore: Restore deleted Polish translation keys 2025-08-18 15:03:17 +02:00
Maksim Eltyshev
a22afd0bed chore: Mark all missing translation keys 2025-08-18 14:34:45 +02:00
Maksim Eltyshev
12c40d8ebe fix: Fix projects order popup styles 2025-08-12 13:57:20 +02:00
Maksim Eltyshev
4d85b46e8f fix: Replace user settings icon 2025-08-11 15:18:47 +02:00
Maksim Eltyshev
6515877eb6 fix: Improve mentions behavior 2025-08-11 13:52:17 +02:00
Luis Chacón
cbb00d1d59 feat: Add OAuth callback support for OIDC (#1290)
Closes #593, closes #690, closes #1289
2025-08-09 18:58:55 +02:00
Maksim Eltyshev
b4f6e24442 fix: Prevent editors from deleting any comment
Closes #1288
2025-08-06 13:37:16 +02:00
Maksim Eltyshev
48e261ffc4 fix: Improve upgrade script, log statuses
Closes #1280
2025-08-04 20:51:40 +02:00
Maksim Eltyshev
0049ba2145 feat: Track navigation path when switching between cards 2025-07-31 16:59:16 +02:00
Maksim Eltyshev
a37a6b45b1 fix: Read secret files without requiring trailing newline
Closes #1222, closes #1272
2025-07-30 13:51:24 +02:00
dependabot[bot]
c272a65015 build(deps): Bump linkifyjs from 4.3.1 to 4.3.2 in /client (#1273)
Bumps [linkifyjs](https://github.com/nfrasser/linkifyjs/tree/HEAD/packages/linkifyjs) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/nfrasser/linkifyjs/releases)
- [Changelog](https://github.com/nfrasser/linkifyjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nfrasser/linkifyjs/commits/v4.3.2/packages/linkifyjs)

---
updated-dependencies:
- dependency-name: linkifyjs
  dependency-version: 4.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 12:37:49 +02:00
Niccolò Pedrini
fb8a4a1c45 fix: Update Italian translation (#1268) 2025-07-28 11:40:27 +02:00
Maksim Eltyshev
e2a9b30f46 feat: Parse dates as UTC without relying on TZ environment variable
Closes #1266
2025-07-25 11:23:20 +02:00
Maksim Eltyshev
4effc0ce23 fix: Preserve newlines in markdown with mentions 2025-07-24 16:11:15 +02:00
Maksim Eltyshev
001621eec7 fix: Fix mentions input styles 2025-07-24 15:40:17 +02:00
Maksim Eltyshev
5beafca07e fix: Improve current board context indication 2025-07-23 17:59:57 +02:00
Maksim Eltyshev
d40b4d3224 feat: Add dedicated button to make project private 2025-07-23 15:37:16 +02:00
Maksim Eltyshev
ef35ec279e ref: Little refactoring 2025-07-22 22:08:18 +02:00
Maksim Eltyshev
6dfb5ba024 feat: Move infrequent card actions to more actions menu 2025-07-22 21:43:55 +02:00
dependabot[bot]
df023439c1 build(deps-dev): Bump form-data from 4.0.3 to 4.0.4 in /server (#1264)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 14:45:45 +02:00
Maksim Eltyshev
e742cb4737 fix: Set font-size on add task button 2025-07-21 18:50:44 +02:00
Symon Baikov
d8fbf2f909 feat: Add ability to hide completed tasks (#1210) 2025-07-21 18:33:02 +02:00
Jorge Leitao
fc9c94b3b6 feat: Add Portuguese translation (#1262) 2025-07-21 12:25:43 +02:00
Mashood ur Rehman
2e0483d9e9 feat: Add ability to create new card at top (#1261)
Closes #1260
2025-07-21 12:10:58 +02:00
Maksim Eltyshev
fdac299fc7 feat: Open card actions on right-click 2025-07-17 17:43:01 +02:00
Maksim Eltyshev
e659ed4a2d fix: Add icons to popup menu items 2025-07-17 15:23:53 +02:00
Maksim Eltyshev
adf60c0c74 fix: Enable spellcheck on all textareas 2025-07-17 14:18:30 +02:00
uppertoe
71b4fd32cc fix: Fix typo in English translations (#1259) 2025-07-16 12:18:56 +02:00
Maksim Eltyshev
b3f226c10b fix: Fix red curtain background gradient 2025-07-15 17:42:46 +02:00
Symon Baikov
b4be12eb28 fix: Update Greek translation (#1255) 2025-07-15 13:13:52 +02:00
Maksim Eltyshev
3aba4d4a56 ref: Little refactoring 2025-07-14 14:54:06 +02:00
Symon Baikov
70cadcd974 fix: Update Finnish translation (#1251) 2025-07-11 12:16:22 +02:00
Maksim Eltyshev
230f50e3d9 feat: Add ability to link tasks to cards 2025-07-11 01:04:02 +02:00
HanJiang-cn
49203e9d56 fix: Update Chinese translation (#1250) 2025-07-09 17:53:58 +02:00
Maksim Eltyshev
709a0d1758 feat: Persist closed state per card 2025-07-09 17:45:47 +02:00
Maksim Eltyshev
69c75a03b1 fix: Fix toolbar styles in markdown markup editor 2025-07-08 17:26:21 +02:00
Daniel Silvestre
4d40af9c8a feat: Display card name when linking in task (#1234) 2025-07-08 17:15:48 +02:00
Maksim Eltyshev
b76ca9547f fix: Handle webhooks correctly during socket reconnection 2025-07-08 12:41:27 +02:00
Maksim Eltyshev
9d07178e57 fix: Move webhooks declaration to correct position 2025-07-08 00:22:24 +02:00
Maksim Eltyshev
4346b7040a feat: Add INTERNAL_ACCESS_TOKEN to support internal user configuration 2025-07-07 21:35:37 +02:00
Winston-1874
b61b4e658f fix: Update French translation (#1242) 2025-07-07 13:01:25 +02:00
Symon Baikov
a8b9ac8165 fix: Update Turkish translation (#1239) 2025-07-07 12:03:14 +02:00
Daniel Silvestre
a55fc08c43 fix: Update French translation (#1238) 2025-07-07 12:00:36 +02:00
Symon Baikov
76c7be5063 fix: Update German translation (#1235) 2025-07-07 11:47:21 +02:00
Maksim Eltyshev
b22dba0d11 feat: Move webhooks configuration from environment variable to UI 2025-07-04 22:04:11 +02:00
Maksim Eltyshev
f0680831c2 fix: Improve PDF viewer cross-browser compatibility
Closes #1219
2025-07-02 18:26:03 +02:00
Maksim Eltyshev
e58a9f5d21 chore: Update dependencies 2025-06-30 12:43:06 +02:00
dependabot[bot]
463b6284c7 build(deps): Bump pbkdf2 from 3.1.2 to 3.1.3 in /client (#1223)
Bumps [pbkdf2](https://github.com/crypto-browserify/pbkdf2) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/pbkdf2/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: pbkdf2
  dependency-version: 3.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 12:23:57 +02:00
Maksim Eltyshev
f5653cde80 chore: Add missing environment variables for OIDC roles 2025-06-30 12:07:44 +02:00
Roman T
b37fc61b12 docs: Add example SMTP config using extraEnv in Helm (#1217) 2025-06-18 15:11:03 +02:00
Maksim Eltyshev
6988864808 fix: Fix filtering by task assignees 2025-06-17 16:04:22 +02:00
millenium-codebug
c8cb1f4a20 feat: Include task assignees in member filter logic (#1214) 2025-06-16 23:16:57 +02:00
Maksim Eltyshev
774bdc2b64 fix: Display tasks with preserved newlines in card modal 2025-06-16 22:44:27 +02:00
Maksim Eltyshev
b2e8c453b7 fix: Use correct action to clear user creation error 2025-06-16 22:37:41 +02:00
Maksim Eltyshev
8df49a636a build: Use Node.js v22 2025-06-16 21:32:54 +02:00
Symon Baikov
2d1a8658bb feat: Add Estonian translation (#1212) 2025-06-16 20:39:50 +02:00
Maksim Eltyshev
3126a40bba feat: Add copy-to-clipboard for custom fields 2025-06-11 00:14:42 +02:00
Maksim Eltyshev
99a06ce1ae feat: Make card descriptions expandable 2025-06-11 00:09:33 +02:00
Maksim Eltyshev
98a7f1c9a9 feat: Strikethrough cards in closed lists
Closes #1207
2025-06-10 23:43:26 +02:00
Symon Baikov
bdac15240f fix: Update Serbian (Cyrillic) translation (#1206) 2025-06-10 18:54:23 +02:00
Maksim Eltyshev
5a3a4240c6 fix: Add cancel button when editing comment 2025-06-10 14:00:08 +02:00
Maksim Eltyshev
144731ccb4 fix: Increase max username length for identity provider users
Closes #1174
2025-06-10 13:49:23 +02:00
Symon Baikov
e24bb845c6 fix: Update Slovak translation (#1205) 2025-06-10 12:18:24 +02:00
Symon Baikov
240b01e694 fix: Update Romanian translation (#1203) 2025-06-09 23:42:44 +02:00
Symon Baikov
07483909b4 fix: Update Brazilian Portuguese translation (#1202) 2025-06-09 23:40:35 +02:00
Symon Baikov
84dc0385af fix: Update Dutch translation (#1201) 2025-06-09 12:35:31 +02:00
Symon Baikov
041199af8b fix: Update Korean translation (#1197) 2025-06-09 12:33:51 +02:00
Symon Baikov
f72ac437b9 fix: Update Japanese translation (#1196) 2025-06-09 12:32:17 +02:00
Symon Baikov
128028c848 fix: Update Italian translation (#1195) 2025-06-09 12:30:12 +02:00
Symon Baikov
0f1e7ecc2c fix: Update Indonesian translation (#1194) 2025-06-08 13:11:03 +02:00
Symon Baikov
9ca49f1f51 fix: Update Hungarian translation (#1193) 2025-06-08 13:09:31 +02:00
Symon Baikov
8447f0c884 fix: Update French translation (#1192) 2025-06-08 13:08:17 +02:00
Symon Baikov
180984799c fix: Update Spanish translation (#1189) 2025-06-08 13:06:40 +02:00
Maksim Eltyshev
2b86484421 fix: FIx deps in download attachment handler 2025-06-07 19:23:15 +02:00
Maksim Eltyshev
a6820162fb fix: Fix mentions input styles 2025-06-07 18:03:36 +02:00
Symon Baikov
037a9101c2 fix: Update Bulgarian translation (#1187) 2025-06-07 16:33:15 +02:00
Symon Baikov
754629e6a9 fix: Update Czech translation (#1185) 2025-06-07 13:52:33 +02:00
Symon Baikov
8bc1569242 fix: Responsive label color selector, improve action button styles (#1184) 2025-06-07 13:44:45 +02:00
Maksim Eltyshev
1a8dcd9858 fix: Update Chinese translation
Closes #1181
2025-06-06 18:20:40 +02:00
Maksim Eltyshev
edda5dda79 ref: Format translations 2025-06-06 18:17:25 +02:00
Symon Baikov
6dbce8c790 feat: Add Finnish translation (#1180) 2025-06-06 18:00:13 +02:00
Symon Baikov
b696fe0e4d feat: Add Greek translation (#1176) 2025-06-06 14:14:00 +02:00
Maksim Eltyshev
7286ecaf35 fix: Align text to center in content error message 2025-06-06 13:54:01 +02:00
Maksim Eltyshev
2e6658221f fix: Handle escape actions properly in mentions input 2025-06-06 12:48:43 +02:00
Maksim Eltyshev
63de346b0e ref: Little refactoring 2025-06-06 12:34:09 +02:00
Christian T R
585464eef3 fix: Update Danish translation (#1177) 2025-06-06 12:07:02 +02:00
Maksim Eltyshev
c2bd31d523 fix: Use console as logger for YFM note
Closes #1178
2025-06-06 11:49:35 +02:00
Maksim Eltyshev
21f90610bc fix: Prevent auto-filling title in YFM note
Closes #1172
2025-06-05 15:10:46 +02:00
Christian T R
608a7c983f fix: Update Danish translation (#1173) 2025-06-05 14:06:45 +02:00
Maksim Eltyshev
dd5e0f448f fix: Prevent text overflow in card name 2025-06-05 00:01:34 +02:00
Maksim Eltyshev
c4a48d510b feat: Add download button for file attachments 2025-06-05 00:00:36 +02:00
Mario Aparcero
2f62d56242 fix: Update Spanish translation (#1170) 2025-06-04 22:45:28 +02:00
Maksim Eltyshev
4eb8b75c24 license: Remove ambiguity in usage restrictions 2025-06-04 21:04:00 +02:00
Maksim Eltyshev
49770ea9ec ref: Move comment counter logic into Card model 2025-06-04 18:38:39 +02:00
Anthony
40a84d0c8a feat: Allow to add custom annotations for deployment in Helm (#1168) 2025-06-04 12:25:43 +02:00
Maksim Eltyshev
9690f7b73f fix: Prevent text overflow in activities 2025-06-03 23:15:07 +02:00
Maksim Eltyshev
04b97b66cb chore: Update dependencies 2025-06-03 13:02:16 +02:00
Maksim Eltyshev
46f4d5c1f8 fix: Canonicalize locale codes 2025-06-03 12:46:06 +02:00
Maksim Eltyshev
fc7863aaaf fix: Add mentions support when editing comments 2025-06-02 21:35:51 +02:00
Maksim Eltyshev
6c2999044b chore: Update logo assets 2025-06-02 20:13:22 +02:00
Maksim Eltyshev
a2495b664e chore: Add missing things 2025-06-02 19:44:08 +02:00
Jason Jack
e0374f30db build: Add tmpfs to compose file (#1165) 2025-06-02 19:39:10 +02:00
Maksim Eltyshev
665f9998dc fix: Prevent auto-updating translation files when key is missing 2025-06-01 21:44:14 +02:00
Maksim Eltyshev
fcf1fc4319 ref: Little refactoring 2025-06-01 20:53:35 +02:00
Maksim Eltyshev
4e05b88ecf chore: Add links to GitHub
Closes #1161
2025-05-31 00:10:00 +02:00
Roman Zavarnitsyn
c0b0436851 feat: Add ability to mention users in comments (#1162) 2025-05-30 22:01:29 +02:00
Maksim Eltyshev
eb2a3a2875 ref: Fix locale position 2025-05-30 13:44:58 +02:00
Niccolò Pedrini
74274e511f fix: Update Italian translation (#1163) 2025-05-30 13:42:57 +02:00
Maksim Eltyshev
40e107d6d4 chore: Update version 2025-05-27 23:37:47 +02:00
Maksim Eltyshev
39df82c1ce license: Provide additional details 2025-05-27 23:35:00 +02:00
Roman Zavarnitsyn
42817c5199 feat: Add CSV attachment viewer (#1154) 2025-05-27 14:19:44 +02:00
Piotr Patalong
20b5351dfe fix: Update Polish translation (#1150) 2025-05-26 15:02:51 +02:00
Maksim Eltyshev
978b2a7402 fix: Set limit for displaying attachment content
Closes #1141
2025-05-26 14:35:23 +02:00
Roman Zavarnitsyn
a7c1d4ca11 build: Improve dev setup (#1149) 2025-05-26 12:49:52 +02:00
Maksim Eltyshev
71e2c5d8df fix: Apply disabled style to card content instead of wrapper 2025-05-24 13:01:07 +02:00
Hannes
4049b4c396 feat: Display comments total on front of cards (#1146)
Closes #1136
2025-05-23 17:31:28 +02:00
Hannes
f9d3e73651 build: Improve Docker dev setup, add nodemon config (#1145)
* Updated the base image in `Dockerfile.dev` from `node:18-alpine` to `node:lts-alpine` to use more or less the same as for production docker build (where the client is build lts and server is 18... so yeah not really...)
* Removed the `USER node` directive, to prevent permission issues as we hook the whole folder into the container.
* Modified the `docker-compose-dev.yml` file to enhance the database healthcheck. The new healthcheck ensures not only postgres is ready but also the database is ready by running a sample query (`SELECT 1`) and adjusts the interval, retries, and start period for better reliability.
* Added a `nodemon.json` configuration file to watch only relevant files (node_modules would be ignored but not files like the python venv) and avoid rapid successive restarts with the delay.
2025-05-23 16:19:22 +02:00
Maksim Eltyshev
86cfd155f2 feat: Add board activity log 2025-05-22 23:14:46 +02:00
Maksim Eltyshev
777ff467f3 fix: Prevent upgrade script from running other migrations 2025-05-22 16:40:46 +02:00
Maksim Eltyshev
9fd9370120 fix: Remove curly bracket typo from HTML links
Closes #1142
2025-05-22 11:16:08 +02:00
Maksim Eltyshev
2db75ed420 chore: Downgrade and pin i18next version 2025-05-21 13:25:54 +02:00
Maksim Eltyshev
c05dcf45f2 feat: Enhance notifications popup appearance 2025-05-21 13:03:25 +02:00
Maksim Eltyshev
d5fd2fd33b feat: Log actions when task completion status changes 2025-05-20 21:17:51 +02:00
Maksim Eltyshev
5d53f44fe8 fix: Add clearfix and missing id property 2025-05-20 00:06:51 +02:00
Maksim Eltyshev
3b8bec5743 docs: Update docker pulls counter 2025-05-19 18:03:08 +02:00
Maksim Eltyshev
652c5e9475 fix: Use batch inserts to avoid query size limits 2025-05-19 17:27:18 +02:00
Maksim Eltyshev
3aedbff5d0 feat: Log action when user is removed from card 2025-05-17 22:24:37 +02:00
Maksim Eltyshev
eeb52d19bb feat: Enhance card emphasis in colored and closed lists
Closes #428, closes #506
2025-05-17 15:40:43 +02:00
Maksim Eltyshev
f6568ce41b feat: Add notification when user is added to card 2025-05-17 01:50:40 +02:00
Hannes
f43785c3d0 fix: Update German translation (#1134) 2025-05-16 11:18:12 +02:00
iosabi
ac8361aee3 feat: Support for Docker secrets (#1132)
Closes #1001
2025-05-15 19:32:37 +02:00
leroyloren
3bd8eba416 fix: Update Czech translation (#1129) 2025-05-14 22:28:39 +02:00
Maksim Eltyshev
cb32ea6931 chore: Fix sample value for TRUST_PROXY environment variable 2025-05-13 16:29:31 +02:00
cjmaldonado
57450a7651 fix: Increase max length of OIDC code challenge (#1126)
Closes #1113
2025-05-13 10:56:01 +02:00
sivertillia
c0f3dbe401 fix: Update Ukrainian translation (#1125) 2025-05-13 10:51:16 +02:00
Maksim Eltyshev
742aa21b9b docs: Add chat badge to readme 2025-05-12 23:42:24 +02:00
Maksim Eltyshev
f17334b1d7 fix: Prevent core rendering before redirecting to login page
Closes #1122
2025-05-12 14:19:28 +02:00
leroyloren
307f4b1d01 fix: Update Czech translation (#1120) 2025-05-12 11:35:52 +02:00
Maksim Eltyshev
1b583890cb docs: Fix number of notification providers 2025-05-10 23:11:44 +02:00
Maksim Eltyshev
9b32249e9f build: Suppress npm update notifier 2025-05-10 21:55:03 +02:00
Maksim Eltyshev
dd8cd2f4fd chore: Bump vite to version 6 2025-05-10 21:45:31 +02:00
Maksim Eltyshev
fa02d96a2e test: Rename config file to match case 2025-05-10 21:15:19 +02:00
Viktor S.
e03f3d1c94 fix: Update Russian translation (#1115) 2025-05-10 18:57:12 +02:00
Niccolò Pedrini
b8270a0532 fix: Update Italian translation (#1114) 2025-05-10 17:46:56 +02:00
Maksim Eltyshev
aca5bfbbe0 docs: Add demo notice 2025-05-10 03:30:51 +02:00
Maksim Eltyshev
2ee1166747 feat: Version 2
Closes #627, closes #1047
2025-05-10 02:09:06 +02:00
1819 changed files with 127390 additions and 52767 deletions

View File

@@ -1,29 +1,23 @@
*/README.md
*/.gitignore
*/node_modules
**/.DS_Store
server/**/.gitkeep
*/node_modules
server/swagger.json
server/.env
server/.editorconfig
server/.eslintignore
server/.npmrc
server/test
server/dist
server/logs
server/test
server/.tmp
server/.venv
server/views/*
server/views/index.html
server/public/*
!server/public/user-avatars
server/public/user-avatars/*
!server/public/project-background-images
server/public/project-background-images/*
server/data/*
!server/data/.gitkeep
server/private/*
!server/private/attachments
server/private/attachments/*
server/terms/*
!server/terms/_template
!server/terms/cloud
client/build
client/dist

13
.github/FUNDING.yml vendored
View File

@@ -1,13 +0,0 @@
# These are supported funding model platforms
github: meltyshev
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

View File

@@ -1,5 +1,5 @@
name: "🐛 Bug Report"
description: Report a bug found while using Planka
description: Report a bug found while using PLANKA
title: "[Bug]: "
labels: ["Type: Bug", "Status: Triage"]
body:
@@ -27,7 +27,7 @@ body:
- type: textarea
id: current-behavior
attributes:
label: Current behaviour
label: Current behavior
description: A description of what is currently happening, including screenshots and other useful information (**DO NOT INCLUDE PRIVATE INFORMATION**).
placeholder: Currently...
validations:
@@ -35,7 +35,7 @@ body:
- type: textarea
id: desired-behavior
attributes:
label: Desired behaviour
label: Desired behavior
description: A clear description of what you think should happen.
placeholder: In this situation, I expected ...
- type: textarea
@@ -43,7 +43,7 @@ body:
attributes:
label: Steps to reproduce
description: Clearly describe which steps or actions you have taken to arrive at the problem. If you have some experience with the code, please link to the specific pieces of code.
placeholder: I did X, then Y, before arriving at Z, when ERROR ...
placeholder: I did X, then Y, before arriving at Z, when ERROR...
validations:
required: true
- type: textarea

View File

@@ -1,33 +1,34 @@
name: "✨ Feature Request"
description: Suggest a feature or enhancement to improve Planka.
description: Suggest a feature or enhancement to improve PLANKA.
labels: ["Type: Idea"]
body:
- type: dropdown
id: idea-type
attributes:
label: Is this a feature for the backend or frontend?
multiple: true
options:
- Backend
- Frontend
validations:
required: true
- type: textarea
id: feature
attributes:
label: What would you like?
description: A clear description of the feature or enhancement wanted.
placeholder: I'd like to be able to...
validations:
required: true
- type: textarea
id: reason
attributes:
label: Why is this needed?
description: A clear description of why this would be useful to have.
placeholder: I want this because...
- type: textarea
id: other
attributes:
label: Other information
placeholder: Any other details?
- type: dropdown
id: idea-type
attributes:
label: Which part of the project does this feature apply to?
multiple: true
options:
- Backend
- Frontend
- Chart
validations:
required: true
- type: textarea
id: feature
attributes:
label: What would you like?
description: A clear description of the feature or enhancement wanted.
placeholder: I'd like to be able to...
validations:
required: true
- type: textarea
id: reason
attributes:
label: Why is this needed?
description: A clear description of why this would be useful to have.
placeholder: I want this because...
- type: textarea
id: other
attributes:
label: Other information
placeholder: Any other details?

View File

@@ -0,0 +1,61 @@
name: Build and Publish Release Package
on:
release:
types: [created]
jobs:
build-and-publish-release-package:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Update npm
run: npm install npm --global
- name: Install server dependencies
run: npm install --omit=prod --ignore-scripts
working-directory: ./server
- name: Build server
run: npm run build
working-directory: ./server
- name: Install client dependencies
run: npm install --omit=dev
working-directory: ./client
- name: Build client
run: DISABLE_ESLINT_PLUGIN=true npm run build
working-directory: ./client
- name: Include licenses into dist
run: |
mv LICENSE.md server/dist
mv "LICENSES/PLANKA Community License DE.md" server/dist/LICENSE_DE.md
- name: Include built client into dist
run: |
mv ../../client/dist/* public
cp public/index.html views
working-directory: ./server/dist
- name: Create release package
run: |
mv dist planka
zip -r planka-prebuild.zip planka
working-directory: ./server
- name: Publish release package
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{ github.event.release.tag_name }} planka-prebuild.zip
working-directory: ./server

View File

@@ -1,44 +0,0 @@
name: Build and push Docker base image
on:
push:
paths:
- ./Dockerfile.base
branches:
- master
workflow_dispatch:
env:
ALPINE_VERSION: 3.16
jobs:
build-and-push-docker-base-image:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
file: Dockerfile.base
build-args: ALPINE_VERSION=${{ env.ALPINE_VERSION }}
push: true
tags: |
ghcr.io/${{ github.repository }}:base-latest
ghcr.io/${{ github.repository }}:base-${{ env.ALPINE_VERSION }}

View File

@@ -1,53 +0,0 @@
# https://docs.docker.com/build/ci/github-actions/multi-platform/
name: Build and push Docker DEV image
on:
push:
paths-ignore:
- '.github/**'
- 'charts/**'
- 'docker-*.sh'
- '*.md'
branches: [master]
workflow_dispatch:
env:
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate docker image tags
id: metadata
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=dev
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -1,4 +1,4 @@
name: Build and push Docker image
name: Build and Push Docker Image
on:
release:
@@ -7,31 +7,56 @@ on:
jobs:
build-and-push-docker-image:
runs-on: self-hosted
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install client dependencies
run: npm install --omit=dev
working-directory: ./client
- name: Build client
run: |
DISABLE_ESLINT_PLUGIN=true npm run build
mv dist build
working-directory: ./client
- name: Update Dockerfile to use prebuilt client
run: |
sed -i '/^FROM node:22 AS client/,/^ && DISABLE_ESLINT_PLUGIN=true npm run build$/c\
FROM node:22 AS client\n\
WORKDIR /app\n\
COPY client/build /app/dist' Dockerfile
cat Dockerfile
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set version
- name: Set version from release tag
uses: actions/github-script@v6
id: set-version
with:
result-encoding: string
script: return context.payload.release.tag_name.replace('v', '')
- name: Generate docker image tags
- name: Generate Docker image tags
id: metadata
uses: docker/metadata-action@v5
with:
@@ -40,8 +65,11 @@ jobs:
tags: |
type=raw,value=${{ steps.set-version.outputs.result }}
type=raw,value=latest
labels: |
org.opencontainers.image.licenses=Fair Use License
org.opencontainers.image.url=https://planka.app
- name: Build and push
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .

View File

@@ -0,0 +1,87 @@
name: Build and Push Docker Nightly Image
on:
push:
paths-ignore:
- '.github/**'
- 'charts/**'
- 'docker-*.yml'
- '*.md'
branches: [master]
workflow_dispatch:
jobs:
build-and-push-docker-nightly-image:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Update version with build number
run: |
npm version "$(node -p "require('./package.json').version")-nightly.$(git rev-list --count HEAD)" --no-git-tag-version
npx --yes genversion --source . --template server/version-template.ejs server/version.js
npx --yes genversion --source . --template client/version-template.ejs client/src/version.js
- name: Install client dependencies
run: npm install --omit=dev
working-directory: ./client
- name: Build client
run: |
DISABLE_ESLINT_PLUGIN=true npm run build
mv dist build
working-directory: ./client
- name: Update Dockerfile to use prebuilt client
run: |
sed -i '/^FROM node:22 AS client/,/^ && DISABLE_ESLINT_PLUGIN=true npm run build$/c\
FROM node:22 AS client\n\
WORKDIR /app\n\
COPY client/build /app/dist' Dockerfile
cat Dockerfile
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Docker image tags
id: metadata
uses: docker/metadata-action@v5
with:
images: |
name=ghcr.io/${{ github.repository }}
tags: |
type=raw,value=nightly
labels: |
org.opencontainers.image.licenses=Fair Use License
org.opencontainers.image.url=https://planka.app
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -1,56 +0,0 @@
name: Build and publish release package
on:
release:
types: [created]
jobs:
build-and-publish-release-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Workflow install pnpm
run: npm install pnpm@9 -g
- name: Client install dependencies
run: pnpm install
- name: Server install dependencies
run: pnpm install
- name: Server include into dist
run: mv server/ dist/
- name: Client build production
run: |
npm run build
working-directory: ./client
- name: Client include into dist
run: |
mv build/index.html ../dist/views/index.ejs
mv build/* ../dist/public/
working-directory: ./client
- name: Dist include README.md SECURITY.md LICENSE start.sh
run: mv README.md SECURITY.md LICENSE start.sh dist/
- name: Dist Remove node modules
run: rm -R dist/node_modules
- name: Dist create .zip file
run: |
mv dist/ planka/
zip -r planka-prebuild.zip planka
- name: Dist upload assets
run: |
gh release upload ${{ github.event.release.tag_name }} planka-prebuild.zip
env:
GH_TOKEN: ${{ github.token }}

View File

@@ -1,4 +1,4 @@
name: Build and test
name: Build and Test
on:
pull_request:
@@ -9,28 +9,30 @@ on:
- master
jobs:
setup:
build-and-test:
runs-on: ubuntu-latest
env:
POSTGRES_DB: planka_db
POSTGRES_USER: user
POSTGRES_PASSWORD: password
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
env:
POSTGRES_USERNAME: planka
POSTGRES_PASSWORD: planka
POSTGRES_DATABASE: planka
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: '22'
cache: 'npm'
- name: Setup PostgreSQL
- name: Set up PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v5
with:
database: ${{ env.POSTGRES_DB }}
username: ${{ env.POSTGRES_USER }}
username: ${{ env.POSTGRES_USERNAME }}
password: ${{ env.POSTGRES_PASSWORD }}
database: ${{ env.POSTGRES_DATABASE }}
- name: Cache Node.js modules
uses: actions/cache@v3
@@ -40,13 +42,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
- name: Install dependencies and build client
run: |
npm install
cd client
npm run build
- name: Setup server
- name: Set up and start server for testing
env:
DEFAULT_ADMIN_EMAIL: demo@demo.demo
DEFAULT_ADMIN_PASSWORD: demo
@@ -56,18 +58,23 @@ jobs:
client/tests/setup-symlinks.sh
cd server
cp .env.sample .env
sed -i "s|^DATABASE_URL=.*|DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost/${POSTGRES_DB}|" .env
sed -i "s|^DATABASE_URL=.*|DATABASE_URL=postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@localhost/${POSTGRES_DATABASE}|" .env
npm run db:init
npm start --prod &
- name: Wait for development server
- name: Wait for server to start
run: |
sudo apt-get install wait-for-it -y
wait-for-it -h localhost -p 1337 -t 10
- name: Seed database with terms signature
run: |
TERMS_SIGNATURE=$(sha256sum terms/_template/en-US.md | awk '{print $1}')
PGPASSWORD=$POSTGRES_PASSWORD psql -h localhost -U $POSTGRES_USERNAME -d $POSTGRES_DATABASE -c "UPDATE user_account SET terms_signature = '$TERMS_SIGNATURE';"
working-directory: ./server
- name: Run UI tests
run: |
cd client
npm install
npx playwright install chromium
npm run test:acceptance tests
npm run test:acceptance
working-directory: ./client

View File

@@ -6,16 +6,17 @@ on:
- master
jobs:
setup:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: '22'
cache: 'npm'
- name: Cache Node.js modules

View File

@@ -8,14 +8,16 @@ on:
- master
jobs:
release:
release-helm-chart:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
runs-on: self-hosted
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -28,13 +30,13 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
- name: Add repositories
- name: Add Helm chart repositories
run: |
for dir in $(ls -d charts/*/); do
helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done
done
- name: Run chart-releaser for stable
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: charts

4
.gitignore vendored
View File

@@ -1,9 +1,9 @@
node_modules
docker-compose.override.yml
.idea
.DS_Store
node_modules
# Prevent another lockfile than package-lock.json (npm) from being created
# If some case you are using pnpm or yarn, don't forget to generate npm lockfile
# before commiting your code by running:

View File

@@ -4,6 +4,8 @@
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"css.format.spaceAroundSelectorSeparator": true,
"scss.format.spaceAroundSelectorSeparator": true,
"eslint.format.enable": true,
"eslint.workingDirectories": [
"./client",

View File

@@ -55,8 +55,8 @@ further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at contact@plankanban.org. All
complaints will be reviewed and investigated and will result in a response that
reported by contacting the project team at [github@planka.group](mailto:github@planka.group).
All complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

View File

@@ -1,10 +1,10 @@
# Contributing to Planka
# Contributing to PLANKA
First off, thanks for taking the time to contribute!
## Code of Conduct
This project and everyone participating in it is governed by the [Planka Code of Conduct](https://github.com/plankanban/planka/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
This project and everyone participating in it is governed by the [PLANKA Code of Conduct](https://github.com/plankanban/planka/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
## How Can I Contribute?
@@ -20,7 +20,7 @@ Feel free to create an enhancement suggestion as a new issue on GitHub. Before c
Before submitting a pull request please discuss with the core team by creating or commenting in an issue on GitHub we'd also love to hear from you in the discussions. This way we can ensure that an approach is agreed on before code is written. This will result in a much higher liklihood of your code being accepted.
If youre looking for ways to get started, here's a list of ways to help us improve Planka:
If youre looking for ways to get started, here's a list of ways to help us improve PLANKA:
- [Translation](https://github.com/plankanban/planka/issues/66) into other languages
- Issues with [`good first issue`](https://github.com/plankanban/planka/labels/good%20first%20issue) label

View File

@@ -0,0 +1,5 @@
# PLANKA Contributor License Agreement
I give PLANKA Software GmbH permission to license my contributions on any terms they like. I am giving them this license in order to make it possible for them to accept my contributions into their project.
AS FAR AS THE LAW ALLOWS, MY CONTRIBUTIONS COME AS IS, WITHOUT ANY WARRANTY OR CONDITION, AND I WILL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES RELATED TO THIS SOFTWARE OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.

View File

@@ -1,53 +1,55 @@
FROM node:18-alpine AS server-dependencies
# Stage 1: Server build
FROM node:22-alpine AS server
RUN apk -U upgrade \
&& apk add build-base python3 --no-cache
WORKDIR /app
COPY server/package.json server/package-lock.json ./
COPY server .
RUN npm install npm --global \
&& npm install pnpm@9 --global \
&& pnpm import \
&& pnpm install --prod
&& npm install \
&& npm run build \
&& npm prune --production
FROM node:lts AS client
# Stage 2: Client build
FROM node:22 AS client
WORKDIR /app
COPY client .
RUN npm install npm --global \
&& npm install pnpm@9 --global \
&& pnpm import \
&& pnpm install --prod
&& npm install --omit=dev \
&& DISABLE_ESLINT_PLUGIN=true npm run build
RUN DISABLE_ESLINT_PLUGIN=true npm run build
FROM node:18-alpine
# Stage 3: Final image
FROM node:22-alpine
RUN apk -U upgrade \
&& apk add bash --no-cache
&& apk add bash python3 squid --no-cache \
&& npm install npm --global
USER node
WORKDIR /app
COPY --chown=node:node start.sh .
COPY --chown=node:node healthcheck.js .
COPY --chown=node:node server .
COPY --chown=node:node LICENSE.md .
COPY --chown=node:node ["LICENSES/PLANKA Community License DE.md", "LICENSE_DE.md"]
RUN mv .env.sample .env
COPY --from=server --chown=node:node /app/node_modules node_modules
COPY --from=server --chown=node:node /app/dist .
COPY --from=server-dependencies --chown=node:node /app/node_modules node_modules
COPY --from=client --chown=node:node /app/dist public
COPY --from=client --chown=node:node /app/dist/index.html views
COPY --from=client --chown=node:node /app/build public
COPY --from=client --chown=node:node /app/build/index.html views/index.ejs
VOLUME /app/public/user-avatars
VOLUME /app/public/project-background-images
VOLUME /app/private/attachments
RUN python3 -m venv .venv \
&& .venv/bin/pip3 install --upgrade pip \
&& .venv/bin/pip3 install -r requirements.txt --no-cache-dir \
&& mv .env.sample .env \
&& npm config set update-notifier false
VOLUME /app/data
EXPOSE 1337
HEALTHCHECK --interval=10s --timeout=2s --start-period=15s \

View File

@@ -1,22 +0,0 @@
FROM node:18-alpine
ARG VIPS_VERSION=8.14.5
RUN apk -U upgrade \
&& apk add \
bash pkgconf \
libjpeg-turbo libexif librsvg cgif tiff libspng libimagequant \
--no-cache \
&& apk add \
build-base gobject-introspection-dev meson \
libjpeg-turbo-dev libexif-dev librsvg-dev cgif-dev tiff-dev libspng-dev libimagequant-dev \
--virtual vips-dependencies \
--no-cache \
&& wget -O- https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.xz | tar xJC /tmp \
&& cd /tmp/vips-${VIPS_VERSION} \
&& meson setup build-dir \
&& cd build-dir \
&& ninja \
&& ninja test \
&& ninja install \
&& rm -rf /tmp/vips-${VIPS_VERSION}

7
Dockerfile.dev Normal file
View File

@@ -0,0 +1,7 @@
FROM node:22-alpine
RUN apk -U upgrade \
&& apk add bash build-base python3 xdg-utils --no-cache \
&& npm install npm --global
WORKDIR /app

661
LICENSE
View File

@@ -1,661 +0,0 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

97
LICENSE.md Normal file
View File

@@ -0,0 +1,97 @@
**PLANKA Community License**
Version 1.1 - Last updated: May 20, 2025
Related files in English:
- PLANKA Community License EN.md (this file)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Related files in German:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
# PLANKA Community License
Files accessible to and marked for community use are licensed as follows:
- Content of branches other than the main branch (usually "master" or "main") is not licensed.
- Source code files or other files that contain ".pe." (for "PLANKA Pro/Enterprise") in their file names or folder names or are otherwise marked as "PLANKA Pro/Enterprise" in their file headers or folders are NOT licensed under the "Fair Use License". These files are "PLANKA Pro/Enterprise" files and are licensed under the "PLANKA Pro/Enterprise License".
- To use any "PLANKA Pro/Enterprise" files or sources, you must own a valid "PLANKA Pro/Enterprise License". You can read more about our commercial license in the [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md).
- All third-party components incorporated into our software are licensed under the original license provided by the owner of the applicable component.
- Content outside of the above-mentioned files or restrictions is available under the "Fair Use License" as defined below.
## Fair Use License
Version 1.1
### Acceptance
By using the software, you agree to all of the terms and conditions above and below.
### Copyright License
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations below.
### Trademark
"You may use the PLANKA name or logo only to describe that your service incorporates the software. Any other trademark use (e.g., in product names, domains, or marketing material) requires our prior written consent."
### Permitted Use
You may use or modify PLANKA (a) for personal, hobby, or educational purposes, (b) internally within your own organization, (c) for private hosting for a typical number of friends, family, or personal projects, (d) to provide free access to non-profit organizations (as recognized by applicable tax authorities), or if you are a recognized non-profit organization yourself involving external users into your mission, and (e) public educational institutions for academic/research purposes only.
### Restricted Use
Sharing accounts/credentials with third parties for business purposes or operating PLANKA as a hosted service for third parties for any commercial gain whatsoever is prohibited. Commercial gain includes any form of payment, advertising revenue, data monetization, or indirect commercial benefit or business advantage.
For all other PLANKA-based hosting services or shared use of PLANKA accounts across organizations, you need to buy a commercial PLANKA license.
### Limitations
You may not alter, remove, or obscure any licensing, copyright, or other notices from the software provided by the licensor. Any use of the licensor's trademarks is subject to applicable law.
### Patents
The licensor grants you a license, under any patent claims the licensor can license or becomes able to license, to make, have made, use, sell, offer for sale, import, and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company and everyone connected to your company.
### Notices
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms. If you modify the software, you must include in any modified copies of the software a prominent notice stating that you have modified the software.
### No Other Rights
These terms do not imply any licenses other than those expressly granted in these terms.
### Termination
If you use the software in violation of these terms, such use is not licensed, and your license will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your license will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your license to terminate automatically and permanently.
### Violation
Violation of our restricted use clauses will constitute a material breach of terms. PLANKA Software GmbH reserves the right to immediately terminate your access to its services and to pursue all available legal and equitable remedies.
### No Liability
As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim. Additionally, we are not responsible for bugs and mistakes in any third-party submodule or their referring license definition. If you find something problematic, please report it to us.
### Definitions
The "licensor" is the entity offering these terms.
The "software" is the software the licensor makes available under these terms, including any portion of it.
"You" refers to the individual or entity agreeing to these terms.
"Your company" is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. Control means ownership of substantially all the assets of an entity.
"Your license" is the license granted to you for the software under these terms.
"Use" means anything you do with the software requiring your license.
"Trademark" means trademarks, service marks, and similar rights.

View File

@@ -0,0 +1,39 @@
**PLANKA Commercial License**
Version 1.2 - Zuletzt aktualisiert: 28. Nov 2025
Zugehörige Dateien in Englisch:
- [PLANKA Community License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Zugehörige Dateien in Deutsch:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- PLANKA Commercial License DE.md (diese Datei)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
# PLANKA Pro/Enterprise-Lizenz
Copyright (c) 2025 bis heute von PLANKA Software GmbH.
Unsere Software und zugehörige Dokumentationsdateien (die "Software") dürfen nur dann produktiv genutzt werden, wenn Sie (und jede juristische Person, die Sie vertreten) eine gültige "PLANKA Pro/Enterprise-Lizenz" besitzen, die Ihrer Nutzung entspricht. Sie stimmen zu, dass die PLANKA Software GmbH und/oder ihre Lizenzgeber (falls zutreffend) alle Rechte, Titel und Ansprüche an und auf alle solche Modifikationen und/oder Patches behalten, und alle solche Modifikationen und/oder Patches dürfen nur mit einer gültigen "PLANKA Pro/Enterprise-Lizenz" für die entsprechende Nutzung verwendet, kopiert, modifiziert, angezeigt, verteilt oder anderweitig genutzt werden. Ungeachtet des Vorstehenden dürfen Sie die Software für Entwicklungs- und Testzwecke ohne Abonnement kopieren und modifizieren. Sie stimmen zu, dass PLANKA Software GmbH und/oder ihre Lizenzgeber (falls zutreffend) alle Rechte, Titel und Ansprüche an und auf alle solche Modifikationen behalten. Es werden Ihnen keine anderen Rechte gewährt als die, die hier ausdrücklich genannt sind. Vorbehaltlich des Vorstehenden ist es verboten, die Software zu kopieren, zusammenzuführen, zu veröffentlichen, zu verteilen, zu unterlizenzieren und/oder zu verkaufen.
#### Komponenten von Drittanbietern
Für alle Komponenten von Drittanbietern, die in unsere Software integriert sind, werden diese Komponenten unter der ursprünglichen Lizenz lizenziert, die vom Eigentümer der jeweiligen Komponente bereitgestellt wird.
## PLANKA Pro/Enterprise Repositories
Nach dem Erwerb einer "PLANKA Pro/Enterprise-Lizenz" erhalten Sie Zugang zu unseren "PLANKA Pro/Enterprise"-Repositories. Dort finden Sie unsere neuesten stabilen Builds, die umfangreiche Tests durchlaufen haben und als produktionsreif gelten.
Wichtiger Hinweis zum Zugriffsumfang: Der Standardzugang umfasst ausschließlich die vorkompilierten Versionen unserer Software. Zugang zum Quellcode wird nur in Ausnahmefällen und nach gesonderter Vereinbarung mit PLANKA Software GmbH gewährt.
Unabhängig vom Zugriffsumfang gilt: Die Weitergabe von Dateien, Quellcode oder Teilen davon aus unseren "PLANKA Pro/Enterprise"-Repositories an Dritte, die nicht zugriffsberechtigt sind, ist ohne vorherige schriftliche Genehmigung von PLANKA Software GmbH untersagt.
## Eingeschränkte Garantie
UNSERE SOFTWARE WIRD "WIE SIE IST" BEREITGESTELLT, OHNE JEGLICHE GARANTIE, AUSDRÜCKLICH ODER IMPLIZIERT, EINSCHLIEßLICH, ABER NICHT BESCHRÄNKT AUF DIE GARANTIEN DER MARKTGÄNGIGKEIT, EIGNUNG FÜR EINEN BESTIMMTEN ZWECK UND NICHTVERLETZUNG VON RECHTEN DRITTER. IN KEINEM FALL HAFTEN DIE AUTOREN ODER URHEBERRECHTSINHABER FÜR ANSPRÜCHE, SCHÄDEN ODER ANDERE HAFTUNG, OB AUS VERTRAG, UNERLAUBTER HANDLUNG ODER ANDERWEITIG, DIE SICH AUS, AUS ODER IN VERBINDUNG MIT DER SOFTWARE ODER DER NUTZUNG ODER ANDEREN GESCHÄFTEN MIT DER SOFTWARE ERGEBEN.

View File

@@ -0,0 +1,39 @@
**PLANKA Commercial License**
Version 1.2 - Last updated: Nov 28, 2025
Related files in English:
- [PLANKA Community License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md)
- PLANKA Commercial License EN.md (this file)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Related files in German:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
# PLANKA Pro/Enterprise License
Copyright (c) 2025 to present by PLANKA Software GmbH.
Our software and associated documentation files (the "Software") may only be used in production if you (and any entity that you represent) hold a valid "PLANKA Pro/Enterprise License" corresponding to your usage. You agree that PLANKA Software GmbH and/or its licensors (as applicable) retain all right, title, and interest in and to all such modifications and/or patches, and all such modifications and/or patches may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid "PLANKA Pro/Enterprise License" for the corresponding usage. Notwithstanding the foregoing, you may copy and modify the Software for development and testing purposes without requiring a subscription. You agree that PLANKA Software GmbH and/or its licensors (as applicable) retain all right, title, and interest in and to all such modifications. You are not granted any other rights beyond what is expressly stated herein. Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or sell the Software.
#### Third-Party Components
For all third-party components incorporated into our Software, those components are licensed under the original license provided by the owner of the applicable component.
## PLANKA Pro/Enterprise Repositories
After purchasing a "PLANKA Pro/Enterprise License", you will receive access to our "PLANKA Pro/Enterprise" repositories. There you will find our latest stable builds, which have undergone extensive testing and are considered production-ready.
Important note on access scope: Standard access includes only the precompiled versions of our software. Access to the source code is granted only in exceptional cases and requires a separate agreement with PLANKA Software GmbH.
Regardless of access scope: The distribution of files, source code, or any parts thereof from our "PLANKA Pro/Enterprise" repositories to third parties who are not authorized for access is prohibited without prior written permission from PLANKA Software GmbH.
## Limited Warranty
OUR SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,97 @@
**PLANKA Community License**
Version 1.1 - Zuletzt aktualisiert: 20. Mai 2025
Zugehörige Dateien in Englisch:
- [PLANKA Community License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Zugehörige Dateien in Deutsch:
- PLANKA Community License DE.md (diese Datei)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
# PLANKA Community-Lizenz
Für die Gemeinschaft zugängliche und gekennzeichnete Dateien sind wie folgt lizenziert:
- Inhalte von Sourcecode-Branches außer dem Hauptbranch (üblicherweise "master" oder "main") sind nicht lizenziert.
- Quellcode-Dateien oder andere Dateien, die ".pe." (für "PLANKA Pro/Enterprise") in ihren Datei- oder Ordnernamen enthalten oder anderweitig durch "PLANKA Pro/Enterprise" in ihren Dateiköpfen oder Ordnern gekennzeichnet sind, sind NICHT unter der "Fair Use Lizenz" lizenziert. Diese Dateien sind "PLANKA Pro/Enterprise"-Dateien und sind unter der "PLANKA Pro/Enterprise-Lizenz" lizenziert.
- Um "PLANKA Pro/Enterprise"-Dateien oder Quellen zu nutzen, müssen Sie eine gültige "PLANKA Pro/Enterprise-Lizenz" besitzen. Sie können mehr über unsere kommerzielle Lizenz in der [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md) lesen.
- Alle Komponenten von Drittanbietern, die in unsere Software integriert sind, sind unter der ursprünglichen Lizenz lizenziert, die vom Eigentümer der jeweiligen Komponente bereitgestellt wird.
- Inhalte außerhalb der oben genannten Dateien oder Einschränkungen sind unter der "Fair Use Lizenz" verfügbar, wie unten definiert.
## Fair Use Lizenz
Version 1.1
### Annahme
Durch die Nutzung der Software stimmen Sie allen oben und unten aufgeführten Bedingungen zu.
### Urheberrechtslizenz
Der Lizenzgeber gewährt Ihnen eine nicht-exklusive, gebührenfreie, weltweite, nicht unterlizenzierbare, nicht übertragbare Lizenz zur Nutzung, Kopie, Verteilung, Verfügbarmachung und Erstellung abgeleiteter Werke der Software, in jedem Fall vorbehaltlich der unten genannten Einschränkungen.
### Marke
"Sie dürfen den Namen oder das Logo von PLANKA nur verwenden, um zu beschreiben, dass Ihr Dienst die Software enthält. Jede andere Markennutzung (z.B. in Produktnamen, Domains oder Marketingmaterial) bedarf unserer vorherigen schriftlichen Zustimmung."
### Erlaubte Nutzung
Sie dürfen PLANKA nutzen oder modifizieren (a) für persönliche, Hobby- oder Bildungszwecke, (b) intern innerhalb Ihrer eigenen Organisation, (c) für privates Hosting für eine typische Anzahl von Freunden, Familie oder persönlichen Projekten, (d) um gemeinnützigen Organisationen (wie von den jeweiligen Steuerbehörden anerkannt) kostenlosen Zugang zu gewähren, oder wenn Sie selbst eine anerkannte gemeinnützige Organisation sind, die externe Nutzer in Ihre Mission einbezieht, und (e) öffentliche Bildungseinrichtungen ausschließlich für akademische/Forschungszwecke.
### Eingeschränkte Nutzung
Das Teilen von Konten/Zugangsdaten mit Dritten für geschäftliche Zwecke oder der Betrieb von PLANKA als gehosteter Dienst für Dritte zu jeglichen kommerziellen Gewinn ist untersagt. Kommerzieller Gewinn umfasst jede Form von Zahlung, Werbeeinnahmen, Datenmonetarisierung oder indirekten kommerziellen Nutzen oder Geschäftsvorteil.
Für alle anderen PLANKA-basierten Hosting-Dienste oder die gemeinsame Nutzung von PLANKA-Konten zwischen Organisationen müssen Sie eine kommerzielle PLANKA-Lizenz erwerben.
### Einschränkungen
Sie dürfen keine vom Lizenzgeber bereitgestellten Lizenz-, Urheber- oder anderen Hinweise in der Software verändern, entfernen oder verschleiern. Jede Nutzung der Marken des Lizenzgebers unterliegt dem geltenden Recht.
### Patente
Der Lizenzgeber gewährt Ihnen eine Lizenz unter allen Patentansprüchen, die der Lizenzgeber lizenzieren kann oder lizenzieren können wird, um die Software herzustellen, herstellen zu lassen, zu nutzen, zu verkaufen, zum Verkauf anzubieten, zu importieren und importieren zu lassen, jeweils vorbehaltlich der Einschränkungen und Bedingungen in dieser Lizenz. Diese Lizenz erstreckt sich nicht auf Patentansprüche, die Sie durch Modifikationen oder Ergänzungen der Software verletzen lassen. Wenn Sie oder Ihr Unternehmen einen schriftlichen Anspruch geltend machen, dass die Software ein Patent verletzt oder zur Verletzung beiträgt, endet Ihre unter diesen Bedingungen gewährte Patentlizenz für die Software sofort. Wenn Ihr Unternehmen einen solchen Anspruch geltend macht, endet Ihre Patentlizenz sofort für Arbeiten im Auftrag Ihres Unternehmens und für alle mit Ihrem Unternehmen verbundenen Personen.
### Hinweise
Sie müssen sicherstellen, dass jeder, der eine Kopie eines Teils der Software von Ihnen erhält, auch eine Kopie dieser Bedingungen erhält. Wenn Sie die Software modifizieren, müssen Sie in allen modifizierten Kopien der Software einen auffälligen Hinweis aufnehmen, der besagt, dass Sie die Software modifiziert haben.
### Keine weiteren Rechte
Diese Bedingungen implizieren keine anderen Lizenzen als die, die in diesen Bedingungen ausdrücklich gewährt werden.
### Kündigung
Wenn Sie die Software unter Verletzung dieser Bedingungen nutzen, ist eine solche Nutzung nicht lizenziert, und Ihre Lizenz wird automatisch gekündigt. Wenn der Lizenzgeber Ihnen eine Mitteilung über Ihre Verletzung zukommen lässt und Sie alle Verletzungen dieser Lizenz spätestens 30 Tage nach Erhalt dieser Mitteilung einstellen, wird Ihre Lizenz rückwirkend wiederhergestellt. Wenn Sie jedoch nach einer solchen Wiederherstellung gegen diese Bedingungen verstoßen, führt jeder weitere Verstoß gegen diese Bedingungen dazu, dass Ihre Lizenz automatisch und dauerhaft gekündigt wird.
### Verletzung
Die Verletzung unserer Nutzungsbeschränkungsklauseln stellt eine wesentliche Vertragsverletzung dar. Die PLANKA Software GmbH behält sich das Recht vor, Ihren Zugang zu seinen Diensten sofort zu beenden und alle verfügbaren rechtlichen und durchsetzbaren Rechtsmittel zu verfolgen.
### Keine Haftung
Soweit es das Gesetz erlaubt, wird die Software wie sie ist, ohne jegliche Garantie oder Bedingung geliefert, und der Lizenzgeber haftet Ihnen gegenüber nicht für Schäden, die sich aus diesen Bedingungen oder der Nutzung oder Art der Software ergeben, unter keiner Art von Rechtsanspruch. Darüber hinaus sind wir nicht verantwortlich für Fehler und Irrtümer in Submodulen von Drittanbietern oder deren jeweiligen Lizenzdefinitionen. Wenn Sie etwas Problematisches finden, melden Sie es uns bitte.
### Definitionen
Der "Lizenzgeber" ist die juristische Person, die diese Bedingungen anbietet.
Die "Software" ist die Software, die der Lizenzgeber unter diesen Bedingungen verfügbar macht, einschließlich einzelner Teile davon.
"Sie" bezieht sich auf die natürliche oder juristische Person, die diesen Bedingungen zustimmt.
"Ihr Unternehmen" ist jede juristische Person, Einzelunternehmen oder eine andere Art von Organisation, für die Sie arbeiten, sowie alle Organisationen, die die Kontrolle über diese Organisation haben, unter der Kontrolle dieser Organisation stehen oder unter gemeinsamer Kontrolle mit dieser Organisation stehen. Kontrolle bedeutet Eigentum an im Wesentlichen allen Vermögenswerten einer Einheit.
"Ihre Lizenz" ist die Lizenz, die Ihnen unter diesen Bedingungen für die Software gewährt wird.
"Nutzung" bedeutet alles, was Sie mit der Software tun, wofür Ihre Lizenz erforderlich ist.
"Marke" bedeutet Marken, Dienstleistungsmarken und ähnliche Rechte.

View File

@@ -0,0 +1,97 @@
**PLANKA Community License**
Version 1.1 - Last updated: May 20, 2025
Related files in English:
- PLANKA Community License EN.md (this file)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Related files in German:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
# PLANKA Community License
Files accessible to and marked for community use are licensed as follows:
- Content of branches other than the main branch (usually "master" or "main") is not licensed.
- Source code files or other files that contain ".pe." (for "PLANKA Pro/Enterprise") in their file names or folder names or are otherwise marked as "PLANKA Pro/Enterprise" in their file headers or folders are NOT licensed under the "Fair Use License". These files are "PLANKA Pro/Enterprise" files and are licensed under the "PLANKA Pro/Enterprise License".
- To use any "PLANKA Pro/Enterprise" files or sources, you must own a valid "PLANKA Pro/Enterprise License". You can read more about our commercial license in the [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md).
- All third-party components incorporated into our software are licensed under the original license provided by the owner of the applicable component.
- Content outside of the above-mentioned files or restrictions is available under the "Fair Use License" as defined below.
## Fair Use License
Version 1.1
### Acceptance
By using the software, you agree to all of the terms and conditions above and below.
### Copyright License
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations below.
### Trademark
"You may use the PLANKA name or logo only to describe that your service incorporates the software. Any other trademark use (e.g., in product names, domains, or marketing material) requires our prior written consent."
### Permitted Use
You may use or modify PLANKA (a) for personal, hobby, or educational purposes, (b) internally within your own organization, (c) for private hosting for a typical number of friends, family, or personal projects, (d) to provide free access to non-profit organizations (as recognized by applicable tax authorities), or if you are a recognized non-profit organization yourself involving external users into your mission, and (e) public educational institutions for academic/research purposes only.
### Restricted Use
Sharing accounts/credentials with third parties for business purposes or operating PLANKA as a hosted service for third parties for any commercial gain whatsoever is prohibited. Commercial gain includes any form of payment, advertising revenue, data monetization, or indirect commercial benefit or business advantage.
For all other PLANKA-based hosting services or shared use of PLANKA accounts across organizations, you need to buy a commercial PLANKA license.
### Limitations
You may not alter, remove, or obscure any licensing, copyright, or other notices from the software provided by the licensor. Any use of the licensor's trademarks is subject to applicable law.
### Patents
The licensor grants you a license, under any patent claims the licensor can license or becomes able to license, to make, have made, use, sell, offer for sale, import, and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company and everyone connected to your company.
### Notices
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms. If you modify the software, you must include in any modified copies of the software a prominent notice stating that you have modified the software.
### No Other Rights
These terms do not imply any licenses other than those expressly granted in these terms.
### Termination
If you use the software in violation of these terms, such use is not licensed, and your license will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your license will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your license to terminate automatically and permanently.
### Violation
Violation of our restricted use clauses will constitute a material breach of terms. PLANKA Software GmbH reserves the right to immediately terminate your access to its services and to pursue all available legal and equitable remedies.
### No Liability
As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim. Additionally, we are not responsible for bugs and mistakes in any third-party submodule or their referring license definition. If you find something problematic, please report it to us.
### Definitions
The "licensor" is the entity offering these terms.
The "software" is the software the licensor makes available under these terms, including any portion of it.
"You" refers to the individual or entity agreeing to these terms.
"Your company" is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. Control means ownership of substantially all the assets of an entity.
"Your license" is the license granted to you for the software under these terms.
"Use" means anything you do with the software requiring your license.
"Trademark" means trademarks, service marks, and similar rights.

View File

@@ -0,0 +1,211 @@
**PLANKA License Guide**
Version 1.1 - Zuletzt aktualisiert: 20. Mai 2025
Zugehörige Dateien in Englisch:
- [PLANKA Community License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- [PLANKA License Guide EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md)
Zugehörige Dateien in Deutsch:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- PLANKA License Guide DE.md (diese Datei)
---
## PLANKAs "Fair Use Lizenz" und die "PLANKA Pro/Enterprise-Lizenz"
Unsere [Fair Use Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md) und unsere [PLANKA Pro/Enterprise-Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md) basieren auf dem [fair-code](http://faircode.io)-Modell.
### Spezielle Lizenzierung für Bildungseinrichtungen und gemeinnützige Organisationen
Bildungseinrichtungen und gemeinnützige Organisationen, die kommerzielle Funktionen oder eine Nutzung über unsere "Fair Use Lizenz" hinaus benötigen, sind eingeladen, uns für maßgeschneiderte Lizenzlösungen und Bildungspreise zu kontaktieren. Wir freuen uns darauf, Ihrer Organisation dabei zu helfen, ihre Mission zu erfüllen!
# Lizenz-FAQs
### Unter welcher Lizenz wird PLANKA angeboten?
PLANKA verwendet die [Fair Use Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md) und die [PLANKA Pro/Enterprise-Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md). Diese Lizenzen basieren auf dem [fair-code](http://faircode.io)-Modell.
### Welcher Quellcode ist durch PLANKAs "Fair Use Lizenz" abgedeckt?
Die [Fair Use Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md) gilt für unseren Quellcode, der in unserem [GitHub-Hauptrepository](https://github.com/plankanban/planka) gehostet wird, mit folgenden Ausnahmen:
- Inhalte von Branches außer dem Hauptbranch (üblicherweise "master" oder "main").
- Quellcode-Dateien oder andere Dateien, die ".pe." (für "PLANKA Pro/Enterprise") in ihren Datei- oder Ordnernamen enthalten.
- Quellcode-Dateien, die in den Dateien oder Ordnern als "PLANKA Pro/Enterprise" gekennzeichnet sind.
- Quellcode in Ordnern, die separate Lizenzdateien enthalten, die sie eindeutig als "PLANKA Pro/Enterprise" kennzeichnen.
Diese Ausnahmen sind unter der [PLANKA Pro/Enterprise-Lizenz](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md) lizenziert.
### Was genau ist die "Fair Use Lizenz"?
Die "Fair Use Lizenz" fällt in die Kategorie der sogenannten [fair-code](http://faircode.io)-Lizenzen. PLANKAs Lizenz basiert auf und erweitert die "Sustainable Use License", die von [n8n](https://n8n.io) eingeführt wurde und für deren Beratung wir sehr dankbar sind. Mit ähnlichen Zielen vor Augen haben wir beschlossen, deren Beispiel zu folgen und dieses Lizenz-Modell für unsere eigenen Bedürfnisse anzupassen. [Weiter unten](#warum-haben-sie-diese-lizenz-gewählt) können Sie nachlesen, warum wir diese Lizenzart gewählt haben.
Die Lizenz gewährt Ihnen das kostenlose Recht, die Software zu nutzen, zu modifizieren, abgeleitete Werke zu erstellen und weiterzugeben unter folgenden Bedingungen:
- Sie dürfen PLANKA nutzen oder modifizieren (a) für persönliche, Hobby- oder Bildungszwecke, (b) intern innerhalb Ihrer eigenen Organisation, (c) für privates Hosting für eine typische Anzahl von Freunden, Familie oder persönlichen Projekten, (d) um gemeinnützigen Organisationen (wie von den jeweiligen Steuerbehörden anerkannt) kostenlosen Zugang zu gewähren, oder wenn Sie selbst eine anerkannte gemeinnützige Organisation sind, die externe Nutzer in Ihre Mission einbezieht, und (e) öffentliche Bildungseinrichtungen ausschließlich für akademische/Forschungszwecke.
- Das Teilen von Konten/Zugangsdaten mit Dritten für geschäftliche Zwecke oder der Betrieb von PLANKA als gehosteter Dienst für Dritte zu jeglichen kommerziellen Gewinn ist untersagt. Kommerzieller Gewinn umfasst jede Form von Zahlung, Werbeeinnahmen, Datenmonetarisierung oder indirekten kommerziellen Nutzen oder Geschäftsvorteil.
- Sie dürfen keine vom Lizenzgeber bereitgestellten Lizenz-, Urheber- oder anderen Hinweise in der Software verändern, entfernen oder verschleiern. Jede Nutzung der Marken des Lizenzgebers unterliegt dem geltenden Recht.
### Was ist im Rahmen der Lizenz im Kontext von PLANKAs Produkten erlaubt und was NICHT?
Unsere Lizenz erlaubt die Nutzung für "interne Geschäftszwecke" sowie für persönliche, Hobby-, Bildungs- und begrenzte private Hosting-Szenarien. Sie verbietet jedoch die Nutzung von PLANKA für jede Form des kommerziellen Gewinns, wie z.B. den Verkauf eines Produkts oder einer Dienstleistung, bei dem der Wert in irgendeiner Form von PLANKAs Funktionalität abgeleitet wird, den Betrieb als kostenpflichtiger gehosteter Dienst, die Monetarisierung von Zugang oder Benutzerdaten oder die Erzielung anderer indirekter kommerzieller Vorteile.
##### Hier sind einige Beispiele, die nicht erlaubt wären:
- PLANKA unter einem White-Label anzubieten und es Ihren Kunden oder Partnern gegen Geld anzubieten.
- PLANKA zu hosten und Dritten für den Zugriff Geld berechnen.
- PLANKAs API für Dienste zu nutzen, für die Geld verlangt wird.
- Die Verwendung von PLANKA, um Ihre eigene juristische Person mit juristischen Personen oder Personen außerhalb Ihrer Organisation im Kontext einer kommerziellen Beziehung zu verbinden.
- PLANKA zur Durchführung oder Unterstützung illegaler oder rechtswidriger Aktivitäten zu verwenden.
##### Die folgenden Beispiele sind unter unserer Lizenz erlaubt:
- Verwendung von PLANKA zur Kontrolle Ihrer internen Prozesse und Verwaltung Ihrer internen Projekte.
- Integration von PLANKA in andere intern genutzte Produkte, um deren Fähigkeiten zu erweitern.
- Bereitstellung von Beratungs- oder öffentlichen Bildungsdienstleistungen im Zusammenhang mit PLANKA, zum Beispiel zum Aufbau oder zur Integration von Arbeitsabläufen für oder in Verbindung mit PLANKA oder zur Entwicklung benutzerdefinierter Module zur Erweiterung seiner Funktionalitäten.
- Unterstützung von PLANKA, zum Beispiel durch Einrichtung oder Wartung auf einem internen Firmenserver.
### Ist es erlaubt, PLANKA als Backend-Integration zu nutzen?
Wenn Sie PLANKA und seine Backend-Dienste über interne Betriebsabläufe innerhalb Ihrer eigenen Organisation hinaus nutzen, indem Sie Dritten Zugang für kommerziellen Gewinn ermöglichen, wie z.B. das Teilen von Konten mit Kunden oder den Verkauf eines Produkts oder einer Dienstleistung, bei dem der Wert in irgendeiner Form von PLANKAs Funktionalität abgeleitet wird, den Betrieb als kostenpflichtiger gehosteter Dienst, die Monetarisierung von Zugang oder Benutzerdaten oder die Erzielung anderer indirekter kommerzieller Vorteile, sind Sie verpflichtet, eine "PLANKA Pro/Enterprise-Lizenz" zu erwerben.
Dies umfasst Szenarien, in denen PLANKA als Kerninfrastruktur für Drittanbieterlösungen dient, von Benutzern außerhalb Ihrer juristischen Person als Teil eines kostenpflichtigen oder kommerziellen Angebots genutzt wird oder bei denen Sie PLANKA unterlizenzieren, neu verpacken oder anderweitig externen Parteien zur Verfügung stellen. Jede Vereinbarung, die die Integration von PLANKA in ein anderes Produkt beinhaltet, um als primärer Betriebsmotor für dieses Produkt zu dienen, erfordert ebenfalls eine gültige "PLANKA Pro/Enterprise-Lizenz" oder proprietäre Lizenz, die für unsere Unternehmenskunden verfügbar ist.
### Können Sie mir einige schnelle Beispiele geben, um kostenlose Nutzung vs. Unternehmensnutzung zu verdeutlichen?
---
##### Beispiel 1: Verwendung der PLANKA-API zur Steuerung oder Reaktion auf Fertigungsprozess-Ereignissen
Nutzen Sie unsere API, um das Feedback aus Fertigungsschritten in Ihrem Unternehmen anzuzeigen und zu steuern oder um Produktionslinien-Ereignisse durch das Verschieben von Karten zu steuern.
**ERLAUBT** unter der "Fair Use Lizenz". Sie können PLANKA in Ihre anderen Systeme integrieren, um seine API zur Steuerung Ihrer internen Prozesse zu nutzen.
##### Beispiel 2: Kommerzielle Beratungs- oder Supportdienste anbieten
Sie bieten Ihrem Kunden einen Dienst an, der ihm hilft, neue Arbeitsabläufe und Board-Konzepte in einer PLANKA-Instanz zu implementieren.
**ERLAUBT** unter der "Fair Use Lizenz". Sie können frei kommerzielle Beratungs- oder Integrations- und Supportdienste für PLANKA anbieten, ohne dass eine separate Lizenzvereinbarung mit uns erforderlich ist.
##### Beispiel 3: PLANKA in einem kostenlosen und öffentlichen Docker-Image bündeln
Eine Schule oder gemeinnützige Organisation bündelt PLANKA in einem kostenlosen, öffentlichen Docker-Image für Studenten, die PLANKA zur Organisation ihrer Studienbereiche nutzen möchten.
**ERLAUBT** unter der "Fair Use Lizenz". Da PLANKA kostenlos und ohne kommerzielle Einnahmen im Sinn weitergegeben wird, sind Sie mehr als willkommen, gemeinnützigen Einrichtungen und Schulen einen besseren Zugang zu PLANKA zu ermöglichen.
**JEDOCH** wenn Sie auch planen, Schülern und Studenten Zugang zu einer ansonsten schulinternen PLANKA-Instanz zu gewähren, würde dies unsere "PLANKA-Bildungslizenz" erfordern, die wir sehr gerne auf Anfrage anbieten.
##### Beispiel 4: PLANKA-Logins für Kunden und Partner bereitstellen
Um ein besseres Projekt-Feedback zu ermöglichen, bieten Sie Ihrem Kunden und jemandem aus einem Joint Venture, mit denen Sie beide eine kommerzielle Beziehung haben, Zugang zu Projektboards innerhalb Ihres Unternehmens an. Sie können nun z.B. Karten kommentieren und auch von PLANKAs Echtzeit-Update-Funktionen profitieren.
**NICHT ERLAUBT** unter der "Fair Use Lizenz". Das Anbieten von PLANKA als Teil eines kostenpflichtigen Dienstes für Dritte oder die Bereitstellung von PLANKA-Zugang für Drittbenutzer außerhalb Ihrer eigenen juristischen Person im Kontext einer kommerziellen Beziehung erfordert, dass Sie eine "PLANKA Pro/Enterprise-Lizenz" registrieren.
##### Beispiel 5: PLANKA als gehostetes Produkt für andere Unternehmen anbieten
Sie möchten Geld damit verdienen, indem Sie PLANKA Unternehmen, Freiberuflern und anderen Personen zur Verfügung stellen. Auf diese Weise haben sie einfachen Zugang zu Projektmanagement und -kontrolle von überall.
**NICHT ERLAUBT** unter der "Fair Use Lizenz". Der Verkauf PLANKA-basierter Dienste erfordert, dass Sie einer "PLANKA-Wiederverkäuferlizenz" zustimmen. Wir haben eine spezielle Hosting-Vereinbarung für diejenigen, die kostenpflichtige PLANKA-Dienste für Kunden anbieten oder einfach als Wiederverkäufer für unsere eigenen "PLANKA Corporate Hosting Services" fungieren möchten.
---
### Kurzübersicht der "Fair Use Lizenz"
- Persönliche, Bildungs-, Hobby- oder interne Geschäftsnutzung:
Kostenlos nutzbar. Sie können PLANKA für sich selbst, Ihr Team oder Ihre Organisation für persönliche, Bildungs- oder interne operative Zwecke nutzen, modifizieren und hosten.
- Nutzung durch gemeinnützige Organisationen und öffentliche Bildungseinrichtungen:
Kostenlos für akademische oder Forschungszwecke nutzbar, vorausgesetzt die Organisation qualifiziert sich als gemeinnützig unter den geltenden Steuergesetzen. Keine Anmeldung oder spezielle Lizenz erforderlich.
- Bereitstellung von Zugang für Dritte für kommerziellen Gewinn:
Nicht erlaubt. Das Teilen von Konten oder Zugangsdaten mit Dritten für kommerziellen Gewinn ist unter der Lizenz verboten, auch wenn Sie nicht direkt für den Zugang berechnen.
- Hosting von PLANKA als kommerzieller Dienst:
Nicht erlaubt. Sie dürfen PLANKA nicht als gehosteten Dienst anbieten oder in ein kostenpflichtiges Produkt oder eine Dienstleistung integrieren, bei dem der Wert wesentlich von PLANKA stammt. Dies umfasst Werbeeinnahmen, Datenmonetarisierung oder indirekten kommerziellen Nutzen oder Geschäftsvorteil.
### Was, wenn ich PLANKA für etwas nutzen möchte, das nicht durch die Lizenz erlaubt ist?
Um die Grenzen der selbst gehosteten Community-Version zu überschreiten, benötigen Sie eine "PLANKA Pro/Enterprise-Lizenz". Sobald Sie sich bei uns registrieren, werden die Beschränkungen der "Fair Use Lizenz" nicht nur rechtlich aufgehoben, sondern Sie erhalten auch Zugang zum vollständigen Enterprise-Funktionsumfang.
Alternativ können Sie diese Grenzen durch ein Abonnement einer gehosteten Version - entweder Community oder Pro/Enterprise - überschreiten. Dies ermöglicht beispielsweise die Bereitstellung von Konten für Ihre Kunden.
Wenn Sie PLANKA als Dienstleistung für andere Organisationen anbieten oder PLANKA in Ihre eigene Software integrieren möchten, müssen Sie eine separate Umsatzvereinbarung mit uns abschließen. Wir ermutigen aktiv Softwareintegratoren und technisches Personal, PLANKA in ihre anderen Produkte zu integrieren und zu verbinden und unsere umfangreiche API zu nutzen, um auf Prozesse innerhalb ihres Unternehmens zu reagieren, sie zu steuern und zu beherrschen; wir bitten sie lediglich, eine Vereinbarung zu unterzeichnen, die die Nutzungsbedingungen und die von PLANKA für die Nutzung des Produkts erforderlichen Lizenzgebühren festlegt. Über PLANKAs API kann es externe Systeme steuern und auf sie reagieren. Sie können [hier](https://docs.planka.cloud/docs/category/api-reference/) mehr darüber erfahren oder uns kontaktieren.
Wenn Sie sich nicht sicher sind, ob der von Ihnen ins Auge gefasste Anwendungsfall einen internen Geschäftszweck darstellt oder nicht, werfen Sie einen Blick auf die [Beispiele oben](#können-sie-mir-einige-schnelle-beispiele-geben-um-kostenlose-nutzung-vs-unternehmensnutzung-zu-verdeutlichen), und falls Sie immer noch unsicher sind, kontaktieren Sie uns bitte unter [license@planka.group](mailto:license@planka.group).
### Warum gibt es keine kommerzielle Lizenz für eine selbst-gehostete Community-Version um die "Fair Use License"-Beschränkungen aufzuheben?
Wir unterstützen die selbst-gehostete Community-Version über unsere GitHub- und Discord-Community-Kanäle, aber wir können nicht effizient direkten Telefon- oder E-Mail-Support für mehrere Versionen bereitstellen, während wir unseren Verpflichtungen gegenüber zahlenden Kunden nachkommen. Deshalb ist direkter Support ausschließlich Pro/Enterprise-Kunden vorbehalten.
Wir bieten jedoch professionelle Installationsdienste und monatliche Serviceverträge für die Einrichtung, Aktualisierung und Überwachung aller Versionen an, um Organisationen dabei zu helfen, das Beste aus ihrer PLANKA-Bereitstellung herauszuholen - bitte kontaktieren Sie uns unter [license@planka.group](mailto:license@planka.group).
### Warum nutzt PLANKA keine Standard-Open-Source-Lizenz?
Wir verbringen viel Zeit damit, ein einfaches, aber leistungsstarkes Tool zu erstellen, welches die Kontrolle und Beherrschung von Projekten zu einer angenehmen Erfahrung macht. Außerdem wollten wir, dass PLANKA so weit als möglich frei verfügbar ist, während wir gleichzeitig sicherstellen müssen, dass wir ein nachhaltiges und tragfähiges Geschäft aufbauen können. Indem wir unser Produkt kostenlos nutzbar, einfach verteilbar und quelloffen machten, helfen wir allen, auf das Produkt zuzugreifen. Indem wir als Unternehmen tätig sind, können wir langfristig neue Funktionen entwickeln und veröffentlichen, Fehler beheben und zuverlässige Software in großem Maßstab bereitstellen.
### Warum haben Sie diese Lizenz gewählt?
Wir glauben, dass die "Fair Use Lizenz" sowohl für die Gemeinschaft als auch für die Entwickler von Vorteil ist. Entwicklung ist ein kostspieliges Unterfangen, und eine Community-Version kostenlos weiterzugeben, ist ein Risiko, welches viele Unternehmen nicht überleben, ohne ihre Software oder ihr Unternehmen zu veräußern. Daher leben viele Open-Source-Unternehmen von Spenden oder Finanzinvestoren. Anstatt unsere Seele zu verkaufen, verkaufen wir Dienstleistungen und Softwarelizenzen. Auf diese Weise können wir weiter wachsen, programmieren und unsere Community unterstützen. Die kurze Antwort lautet also "Leben und leben lassen" - so denken wir über PLANKA.
Daher helfen wir dabei, [fair-code](https://faircode.io)-Software zu fördern, mit dem Ziel, sie zu einem bekannten Sammelbegriff zu machen, um Softwaremodelle wie unseres zu beschreiben. Um jegliche Reibung um unsere proprietäre Lizenz auf ein absolutes Minimum zu beschränken, konzentrieren wir uns auf zwei Dinge:
1. Klare Sprache und minimale Länge - die Lizenz ist in klarem, präzisem Deutsch (eine englische Version existiert ebenfalls) geschrieben, mit nur den unbedingt notwendigen Klauseln.
2. Förderung von fair-code - wir fördern aktiv das fair-code-Modell, damit die Menschen es als unkomplizierte, nachhaltige Möglichkeit erkennen, Software wie PLANKA zu teilen und zu verbessern.
### Mein Unternehmen hat eine Richtlinie gegen die Verwendung von Code, der die kommerzielle Nutzung einschränkt - kann ich PLANKA trotzdem nutzen?
Vorausgesetzt, Sie nutzen PLANKA für interne Geschäftszwecke und stellen PLANKA nicht Ihren Kunden oder Partnern zur Verfügung, so sollten Sie natürlich auch PLANKA nutzen können. Wenn Sie sich nicht sicher sind, ob der von Ihnen ins Auge gefasste Anwendungsfall einen internen Geschäftszweck darstellt oder nicht, werfen Sie einen Blick auf die [Beispiele oben](#können-sie-mir-einige-schnelle-beispiele-geben-um-kostenlose-nutzung-vs-unternehmensnutzung-zu-verdeutlichen), und wenn Sie immer noch unsicher sind, schreiben Sie uns eine E-Mail an [license@planka.group](mailto:license@planka.group).
### Was passiert mit Code, den ich zu PLANKA beitrage, in Bezug auf seine "Fair Use Lizenz"?
Jeder Code, den Sie auf GitHub beitragen, unterliegt GitHubs [Nutzungsbedingungen](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#d_user_generated_content). Einfach ausgedrückt bedeutet dies, dass Sie alles, was Sie beitragen, besitzen und dafür verantwortlich sind, dass Sie jedoch anderen GitHub-Benutzern bestimmte Rechte zur Nutzung dieses Codes einräumen. Wenn Sie Code zu einem Repository beitragen, das einen Hinweis auf eine Lizenz enthält, lizenzieren Sie den Code unter denselben Bedingungen.
PLANKA bittet jeden Mitwirkenden, unsere [Contributor License Agreement](https://github.com/plankanban/planka/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.md) zu unterzeichnen. Zusätzlich zu den oben genannten Punkten gibt dies PLANKA die Möglichkeit, seine Lizenz zu ändern, ohne zusätzliche Genehmigung einzuholen. Es bedeutet auch, dass Sie nicht für Ihre Beiträge haftbar sind (z.B. falls sie den Geschäftsbetrieb einer anderen Person schädigen sollten).
Es ist einfach, mit den Code-Beiträgen zu PLANKA auf [GitHub](https://github.com/plankanban) zu beginnen, und wir haben weitere Möglichkeiten zur Teilnahme an unserer Community [hier](https://github.com/plankanban/planka/blob/master/CONTRIBUTING.md) aufgelistet.
### Ist PLANKA Open Source?
PLANKAs Quellcode ist unter der "Fair Use Lizenz" frei verfügbar. Während dies nicht mit der strengen Definition der Open Source Initiative übereinstimmt (die keine Nutzungsbeschränkungen erlaubt), bietet PLANKA den meisten Benutzern, einschließlich Unternehmen, dennoch fast die gleichen Vorteile wie traditionelle Open-Source-Software.
Wir befürworten, was oft als 'fair-code'-Modell bezeichnet wird - unser Code ist quelloffen und folgt einer einfachen "Leben und leben lassen"-Philosophie. Dieser Ansatz ermöglicht es uns, ein nachhaltiges Unternehmen zu führen und gleichzeitig Transparenz und Flexibilität für unsere Community zu bieten. Viele Unternehmen übernehmen diesen ausgewogenen Lizenzierungsansatz, der den Geist der Offenheit bewahrt und gleichzeitig die langfristige Lebensfähigkeit des Projekts sicherstellt. Wir sind stolz darauf, Teil dieser Bewegung zu sein!
### Was ist fair-code, und wie verhält sich die "Fair Use Lizenz" dazu?
Fair-code ist keine Softwarelizenz. Es beschreibt ein Softwaremodell, bei dem Software:
- Allgemein frei verfügbar ist und von jedermann verbreitet werden kann.
- Ihren Quellcode öffentlich verfügbar hat.
- Von jedermann in öffentlichen und privaten Gemeinschaften erweitert werden kann.
- Von ihren Autoren kommerziell eingeschränkt wird.
Die "Fair Use Lizenz" ist eine fair-code-Lizenz. Sie können mehr darüber lesen und andere Beispiele für fair-code-Lizenzen [hier](https://faircode.io) sehen. Um mit uns bzgl. Lizenzfragen in Verbindung zu treten, senden Sie bitte eine E-Mail an [license@planka.group](mailto:license@planka.group).
### Kann ich die "Fair Use Lizenz" für mein eigenes Projekt verwenden?
Ja! Wir selbst haben die "Fair Use Lizenz" genutzt, indem wir den Fußstapfen anderer folgten, die auf ihrer Website und in ihrer Lizenz offen andere dazu einladen, dem fair-code-Pfad zu folgen. Wie sie sind auch wir gespannt darauf, mehr Software zu sehen, die die "Fair Use Lizenz" verwendet.

View File

@@ -0,0 +1,211 @@
**PLANKA License Guide**
Version 1.1 - Last updated: May 20, 2025
Related files in English:
- [PLANKA Community License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md)
- [PLANKA Commercial License EN.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md)
- PLANKA License Guide EN.md (this file)
Related files in German:
- [PLANKA Community License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20DE.md)
- [PLANKA Commercial License DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20DE.md)
- [PLANKA License Guide DE.md](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20DE.md)
---
## PLANKA's "Fair Use License" and the "PLANKA Pro/Enterprise License"
Our [Fair Use License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md) and our [PLANKA Pro/Enterprise License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md) are based on the [fair-code](http://faircode.io) model.
### Special licensing for educational & non-profit organizations
Educational institutions and non-profit organizations requiring commercial-level features or usage beyond our "Fair Use License" are encouraged to contact us for tailored licensing solutions and educational pricing. We look forward to helping your organization accomplish its mission!
# License FAQs
### What license do you use for PLANKA?
PLANKA uses the [Fair Use License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md) and the [PLANKA Pro/Enterprise License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md). These licenses are based on the [fair-code](http://faircode.io) model.
### What source code is covered by the PLANKA's "Fair Use License"?
The [Fair Use License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md) applies to our source code hosted in our [main GitHub repository](https://github.com/plankanban/planka) except:
- Content of branches other than the main branch (usually "master" or "main").
- Source code files or other files that contain ".pe." (for "PLANKA Pro/Enterprise") in their file names or folder names.
- Source code files that are marked as "PLANKA Pro/Enterprise" in their file headers or folders.
- Source code in folders that contain separate license files that clearly mark them as "PLANKA Pro/Enterprise".
These exceptions are licensed under the [PLANKA Pro/Enterprise License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md).
### What is the "Fair Use License"?
The "Fair Use License" falls under the so-called [fair-code](http://faircode.io) licenses category. PLANKA's license is based on and extends the "Sustainable Use License" introduced by [n8n](https://n8n.io) who's advice was greatly appreciated. With similar goals in mind, we decided to follow their lead and adopt their model for our own needs. [Further below](#why-did-you-choose-this-license) you can read why we chose this license.
The license allows you the free right to use, modify, create derivative works, and redistribute under the following conditions:
- You may use or modify PLANKA (a) for personal, hobby, or educational purposes, (b) internally within your own organization, (c) for private hosting for a typical number of friends, family, or personal projects, (d) to provide free access to non-profit organizations (as recognized by applicable tax authorities), or if you are a recognized non-profit organization yourself involving external users into your mission, and (e) public educational institutions for academic/research purposes only.
- Sharing accounts/credentials with third parties for business purposes or operating PLANKA as a hosted service for third parties for any commercial gain whatsoever is prohibited. Commercial gain includes any form of payment, advertising revenue, data monetization, or indirect commercial benefit or business advantage.
- You may not alter, remove, or obscure any licensing, copyright, or other notices from the software provided by the licensor. Any use of the licensor's trademarks is subject to applicable law.
### What is and is NOT allowed under the license in the context of PLANKA's products?
Our license allows use for "internal business purposes", as well as for personal, hobby, educational, and limited private hosting scenarios. However, it prohibits using PLANKA for any form of commercial gain, such as selling a product or service where the value derives in any form from PLANKA's functionality, operating it as a paid hosted service, monetizing access or user data, or deriving other indirect commercial benefits.
##### Here are some examples that would not be allowed:
- White-labeling PLANKA and offering it to your customers or affiliates for money.
- Hosting PLANKA and charging people money to access it.
- Use PLANKA's API to power services for which money is charged.
- Use of PLANKA to connect your own legal entity with legal entities or persons outside your organization in the context of a commercial relationship.
- Use PLANKA to conduct or support any kind of illegal or unlawful activity.
##### All of the following examples are allowed under our license:
- Using PLANKA to control your internal processes and manage your internal projects.
- Integrate PLANKA into other internally used products to enhance their capabilities.
- Providing consulting or public educational services related to PLANKA, for example, to build or integrate workflows for or in connection with PLANKA or develop custom modules to extend its functionalities.
- Supporting PLANKA, for example, by setting it up or maintaining it on an internal company server.
### Is it allowed to use PLANKA as a backend integration?
If you use PLANKA and its backend services beyond internal operations within your own organization by enabling third-party access for commercial gain, such as sharing accounts with clients or selling a product or service where the value derives in any form from PLANKA's functionality, operating it as a paid hosted service, monetizing access or user data, or deriving other indirect commercial benefits, you are required to purchase a "PLANKA Pro/Enterprise License".
This includes scenarios where PLANKA serves as core infrastructure for third-party solutions, is accessed by users outside your legal entity as part of a paid or commercial offering, or where you sublicense, repackage, or otherwise make PLANKA available to external parties. Any arrangement that involves integrating PLANKA into another product to serve as the primary operational engine for that product also requires a valid "PLANKA Pro/Enterprise License" or proprietary license available for our enterprise customers.
### Can you give me some quick examples to clarify free use vs. enterprise use?
---
##### Example 1: Use PLANKA's API to control or respond to fabrication machinery processes
Use our API to show and control the feedback coming from fabrication steps inside your company or to control production line events by moving cards.
**ALLOWED** under the "Fair Use License". You can integrate PLANKA into your other systems to use its API to control your internal processes.
##### Example 2: Offer commercial consulting or support services
You provide a service to your client to help them implement new workflows and board concepts into the PLANKA setup.
**ALLOWED** under the "Fair Use License". You are free to offer commercial consulting or integration and support services for PLANKA without the need for a separate license agreement with us.
##### Example 3: Bundle PLANKA in a free and public Docker image
A school or charity bundles PLANKA in a free, public Docker image for students who want to use PLANKA to organize their fields of study.
**ALLOWED** under the "Fair Use License". Since PLANKA is given away for free and without commercial revenues in mind, you are more than welcome to allow charitable entities and schools better access to PLANKA.
**HOWEVER** if you also plan to provide students access to an otherwise school's internal PLANKA instance, this would require our "PLANKA Educational License", which we will gladly offer on request.
##### Example 4: Provide PLANKA logins to clients and affiliates
To facilitate better project feedback, you offer your client and someone from a joint venture, both of whom you have a commercial relationship with, access to project boards inside your company. They can now comment on cards and also benefit from PLANKA's real-time update capabilities.
**NOT ALLOWED** under the "Fair Use License". Offering PLANKA as part of a paid service to third parties or providing PLANKA access to third-party users outside your own legal entity in the context of a commercial relationship requires you to register a "PLANKA Pro/Enterprise License".
##### Example 5: Offer PLANKA as a hosted product to other companies
You want to earn money by providing PLANKA to companies, freelancers, and other people. This way they have easy access to project management and control from everywhere.
**NOT ALLOWED** under the "Fair Use License". Selling PLANKA-based services requires you to agree to a "PLANKA Reseller License". We have a special hosting agreement for those who want to provide paid PLANKA service to customers or simply act as resellers for our own "PLANKA Corporate Hosting Services".
---
### Quick "Fair Use License" summary
- Personal, educational, hobby, or internal business use:
Free to use. You can use, modify, and host PLANKA for yourself, your team, or your organization for personal, educational, or internal operational purposes.
- Use by non-profits and public educational institutions:
Free to use for academic or research purposes, provided the organization qualifies as a non-profit under applicable tax laws. No application or special license is required.
- Providing access to third parties for any commercial gain:
Not allowed. Sharing accounts or credentials with third parties for any commercial gain is prohibited under the license, even if you are not directly charging for access.
- Hosting PLANKA as a commercial service:
Not allowed. You may not offer PLANKA as a hosted service or integrate it into a paid product or service where the value substantially comes from PLANKA. This includes advertising revenue, data monetization, or indirect commercial benefit or business advantage.
### What if I want to use PLANKA for something that's not permitted by the license?
To exceed the limits of the self-hosted Community version, you'll need a "PLANKA Pro/Enterprise License". Once you register with us, the "Fair Use License" restrictions are not only legally lifted, but you also gain access to the full enterprise feature set.
Alternatively, you can exceed these limits by subscribing to a hosted version - either Community or Pro/Enterprise. This allows, for example, providing accounts for your customers.
If you want to provide PLANKA as a service for other organizations or integrate PLANKA into your own software, you must sign a separate revenue agreement with us. We actively encourage software integrators and technical staff to integrate and connect PLANKA within their other products and use our extensive API to respond to, control, and master processes within their company; we just ask them to sign an agreement laying out the terms of use and the license fees required by PLANKA for using the product. Through PLANKA's API, it is capable of controlling and responding to external systems. You can learn more [here](https://docs.planka.cloud/docs/category/api-reference/) or contact us about it.
If you are unsure whether the use case you have in mind constitutes an internal business purpose or not, take a look at the [examples above](#can-you-give-me-some-quick-examples-to-clarify-free-use-vs-enterprise-use), and if you're still not sure, please contact us at [license@planka.group](mailto:license@planka.group).
### Why isn't there a commercial license for a self-hosted Community version which lifts the "Fair Use License" limits?
We support the self-hosted Community version through our GitHub and Discord community channels, but we can't efficiently provide direct phone or email support for multiple versions while meeting our obligations to paying customers. That's why direct support is reserved exclusively for Pro/Enterprise customers.
However, we do offer professional installation services and monthly-based service contracts for setting up, updating, and monitoring all versions to help organizations get the most out of their PLANKA deployment - please contact us at [license@planka.group](mailto:license@planka.group).
### Why doesn't PLANKA use a default open-source license?
We spend a lot of time creating an easy yet powerful tool that makes controlling and mastering projects a fun experience. Also, we wanted PLANKA to be as widely and freely available as possible while also ensuring that we can build a sustainable and viable business. By making our product free to use, easy to distribute, and source-available, we help everyone access the product. By operating as a business, we can develop and release new features, fix bugs, and provide reliable software at scale long-term.
### Why did you choose this license?
We believe that the "Fair Use License" is beneficial for the community as well as for the developers. Development is a costly enterprise, and giving away a Community version for free is a risk that many companies don't survive without selling software or the company. Therefore, many open-source companies live from donations or financial investors. Instead of selling our soul, we sell services and software licenses. This way we continue to grow, code, and support our community. So the short answer is "Live and let live" is how we feel about PLANKA.
Therefore, we are helping to promote [fair-code](https://faircode.io) software with the goal of making it a well-known umbrella term to describe software models like ours. To keep any friction around our proprietary license to an absolute minimum, we focus on two things:
1. Plain language, minimal length - the license is written in clear, concise English (a German version exists as well), with only the clauses absolutely needed.
2. Advocating fair-code - we actively promote the fair-code model so people recognize it as a straightforward, sustainable way to share and improve software like PLANKA.
### My company has a policy against using code that restricts commercial use - can I still use PLANKA?
Provided you are using PLANKA for internal business purposes and not making PLANKA available to your customers or affiliates, then of course you should be able to use PLANKA. If you are unsure whether the use case you have in mind constitutes an internal business purpose or not, take a look at the [examples above](#can-you-give-me-some-quick-examples-to-clarify-free-use-vs-enterprise-use), and if you're still unclear, email us at [license@planka.group](mailto:license@planka.group).
### What happens to code I contribute to PLANKA in regard to its "Fair Use License"?
Any code you contribute on GitHub is subject to GitHub's [terms of use](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#d_user_generated_content). In simple terms, this means you own and are responsible for anything you contribute, but that you grant other GitHub users certain rights to use this code. When you contribute code to a repository containing notice of a license, you license the code under the same terms.
PLANKA asks every contributor to sign our [Contributor License Agreement](https://github.com/plankanban/planka/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.md). In addition to the above, this gives PLANKA the ability to change its license without seeking additional permission. It also means you aren't liable for your contributions (e.g., in case they cause damage to someone else's business).
It's easy to get started contributing code to PLANKA on [GitHub](https://github.com/plankanban), and we've listed broader ways of participating in our community [here](https://github.com/plankanban/planka/blob/master/CONTRIBUTING.md).
### Is PLANKA open source?
PLANKA's source code is freely available under the "Fair Use License". While this doesn't align with the Open Source Initiative's strict definition (which doesn't allow any use limitations), PLANKA still offers nearly all the same benefits as traditionally open-source software to most users, including corporations.
We embrace what's often called the 'fair-code' model - our code is source-available and follows a simple "Live and let live" philosophy. This approach allows us to maintain a sustainable company while still providing transparency and flexibility to our community. Many companies are adopting this balanced licensing approach that preserves the spirit of openness while ensuring the project's long-term viability. We're proud to be part of this movement!
### What is fair-code, and how does the "Fair Use License" relate to it?
Fair-code is not a software license. It describes a software model where software:
- Is generally free to use and can be distributed by anyone.
- Has its source code openly available.
- Can be extended by anyone in public and private communities.
- Is commercially restricted by its authors.
The "Fair Use License" is a fair-code license. You can read more about it and see other examples of fair-code licenses [here](https://faircode.io). To get in touch with us about license questions, please email [license@planka.group](mailto:license@planka.group).
### Can I use the "Fair Use License" for my own project?
Yes! We ourselves made use of the "Fair Use License" by following others' footsteps who openly invite others on their website and in their license to follow the fair code path. Like them, we're excited to see more software use the "Fair Use License".

View File

@@ -1,63 +1,68 @@
# Planka
#### Elegant open source project tracking.
<div align="center">
![David (path)](https://img.shields.io/github/package-json/v/plankanban/planka) ![Docker Pulls](https://img.shields.io/badge/docker_pulls-5M%2B-%23066da5) ![GitHub](https://img.shields.io/github/license/plankanban/planka)
![Logo](https://raw.githubusercontent.com/plankanban/planka/master/assets/logo.png)
![](https://raw.githubusercontent.com/plankanban/planka/master/demo.gif)
# PLANKA
[**Client demo**](https://plankanban.github.io/planka) (without server features).
_Project mastering driven by fun_
## Features
![Version](https://img.shields.io/github/package-json/v/plankanban/planka?style=flat-square) [![Docker Pulls](https://img.shields.io/badge/docker_pulls-8M%2B-%23066da5?style=flat-square&color=red)](https://github.com/plankanban/planka/pkgs/container/planka) [![Contributors](https://img.shields.io/github/contributors/plankanban/planka?style=flat-square&color=blue)](https://github.com/plankanban/planka/graphs/contributors) [![Chat](https://img.shields.io/discord/1041440072953765979?style=flat-square&logo=discord&logoColor=white)](https://discord.gg/WqqYNd7Jvt)
- Create projects, boards, lists, cards, labels and tasks
- Add card members, track time, set due dates, add attachments, write comments
- Markdown support in card description and comments
- Filter by members and labels
- Customize project backgrounds
- Real-time updates
- Internal notifications
- Multiple interface languages
- Single sign-on via OpenID Connect
[Install](https://docs.planka.cloud/docs/installation/docker/production-version/) · [Demo](https://planka.app) · [Docs](https://docs.planka.cloud/docs/welcome/) · [API](https://plankanban.github.io/planka/swagger-ui/) · [Cloud](https://planka.app/pricing) · [Pro version](https://planka.app/pro)
## How to deploy Planka
![Demo](https://raw.githubusercontent.com/plankanban/planka/master/assets/demo.gif)
There are many ways to install Planka, [check them out](https://docs.planka.cloud/docs/welcome/).
</div>
For configuration, please see the [configuration section](https://docs.planka.cloud/docs/category/configuration/).
## Key Features
## Mobile app
- **Collaborative Kanban Boards:** Create projects, boards, lists, cards, and manage tasks with an intuitive drag-and-drop interface
- **Real-Time Updates:** Instant syncing across all users, no refresh needed
- **Rich Markdown Support:** Write beautifully formatted card descriptions with a powerful markdown editor
- **Flexible Notifications:** Get alerts through 100+ providers, fully customizable to your workflow
- **Seamless Authentication:** Single sign-on with OpenID Connect integration
- **Multilingual & Easy to Translate:** Full internationalization support for a global audience
Here is the [mobile app repository](https://github.com/LouisHDev/planka_app) maintained by the community, where you can build an app for iOS and Android.
## How to Deploy
Alternatively, you can download the [Android APK](https://github.com/LouisHDev/planka_app/releases/latest/download/app-release.apk) directly.
PLANKA is easy to install using multiple methods - learn more in the [installation guide](https://docs.planka.cloud/docs/welcome/).
If you have an iOS device and would like to test the app, you can join [TestFlight](https://testflight.apple.com/join/Uwn41eY4) (limited to 200 participants).
For configuration and environment settings, see the [configuration section](https://docs.planka.cloud/docs/category/configuration/).
## Planka postman api
Interested in a hosted or [Pro version](https://planka.app/pro) of PLANKA? Check out the pricing on our [website](https://planka.app/pricing).
For external access api use [postman](https://documenter.getpostman.com/view/3360622/2sB2cRCPpU#3caa89a9-995d-4c17-b4ae-5cd136bb713f).
## Notes App
A testing version of the Notes app is now available on multiple platforms:
- **iOS:** Join the [TestFlight](https://testflight.apple.com/join/5eJqTaJW) to try the app
- **Windows & Android:** Download the app [here](https://planka-notes.hillerdaniel.de)
## Contact
- If you want to get a hosted version of Planka, you can contact us via email contact@planka.cloud
- For any security issues, please do not create a public issue on GitHub, instead please write to security@planka.cloud
For any security issues, please do not create a public issue on GitHub - instead, report it privately by emailing [security@planka.group](mailto:security@planka.group).
We do NOT offer any public support via email, please use GitHub.
**Note:** We do NOT offer any public support via email, please use GitHub.
## Development
See the [development section](https://docs.planka.cloud/docs/category/development/).
## Tech stack
- React, Redux, Redux-Saga, Redux-ORM, Semantic UI React, react-beautiful-dnd
- Sails.js, Knex.js
- PostgreSQL
**Join our community:** Get help, share ideas, or contribute on our [Discord server](https://discord.gg/WqqYNd7Jvt).
## License
Planka is [AGPL-3.0 licensed](https://github.com/plankanban/planka/blob/master/LICENSE).
PLANKA is [fair-code](https://faircode.io) distributed under the [Fair Use License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Community%20License%20EN.md) and [PLANKA Pro/Enterprise License](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20Commercial%20License%20EN.md).
## Contributors
- **Source Available:** The source code is always visible
- **Self-Hostable:** Deploy and host it anywhere
- **Extensible:** Customize with your own functionality
- **Enterprise Licenses:** Available for additional features and support
[![](https://contrib.rocks/image?repo=plankanban/planka)](https://github.com/plankanban/planka/graphs/contributors)
For more details, check the [License Guide](https://github.com/plankanban/planka/blob/master/LICENSES/PLANKA%20License%20Guide%20EN.md).
## Contributing
Found a bug or have a feature request? Check out our [Contributing Guide](https://github.com/plankanban/planka/blob/master/CONTRIBUTING.md) to get started.
For setting up the project locally, see the [development section](https://docs.planka.cloud/docs/category/development/).
**Thanks to all our contributors!**
[![Contributors](https://contrib.rocks/image?repo=plankanban/planka)](https://github.com/plankanban/planka/graphs/contributors)

View File

@@ -6,7 +6,7 @@ Most recent release.
## Reporting a Vulnerability
Please report any security issues you discovered to security@planka.cloud. If the issue is confirmed, we will release a patch as soon as possible depending on complexity.
Please report any security issues you discovered to [security@planka.group](mailto:security@planka.group). If the issue is confirmed, we will release a patch as soon as possible depending on complexity.
**Do NOT create public issues on GitHub for security vulnerabilities.**

BIN
assets/demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,6 +1,6 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.5.1
digest: sha256:01dfb2d07ab6800b4a5a6c81f20f3377a758124b2b96b891d0cd6b4f64cf783b
generated: "2023-05-15T00:54:48.1308917+01:00"
version: 16.6.6
digest: sha256:b52a26ab3fb7ec9415c7e4ab2e8676d964830d71708bffbf975e10b31bbb2cb1
generated: "2025-04-25T17:38:31.821861+02:00"

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: planka
description: A Helm chart to deploy Planka and it's dependencies.
description: A Helm chart to deploy PLANKA and it's dependencies.
# A chart can be either an 'application' or a 'library' chart.
#
@@ -15,17 +15,17 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.25
version: 2.0.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.26.2"
appVersion: "2.0.2"
dependencies:
- alias: postgresql
condition: postgresql.enabled
name: postgresql
repository: &bitnami-repo https://charts.bitnami.com/bitnami
version: 12.5.1
version: 16.6.6

View File

@@ -1,8 +1,8 @@
# Planka Helm Chart
# PLANKA Helm Chart
[Planka](https://github.com/plankanban/planka) is an OSS alternative to Trello that you can host yourself, and this is a Helm Chart to make it easier to deploy to K8s.
This Helm Chart simplifies the deployment of [PLANKA](https://github.com/plankanban/planka) on Kubernetes.
Shoutout to [this issue](https://github.com/plankanban/planka/issues/192) who have been asking for this Helm Chart.
Shoutout to [this issue](https://github.com/plankanban/planka/issues/192) for requesting a Helm Chart!
## Issues
@@ -32,9 +32,9 @@ helm install planka . --set secretkey=$SECRETKEY \
--set admin_username="demo"
```
> **NOTE:** The command `openssl rand -hex 64` is needed to create a random hexadecimal key for planka. On Windows you can use Git Bash to run that command.
> **Note:** The command `openssl rand -hex 64` is needed to create a random hexadecimal key for planka. On Windows you can use Git Bash to run that command.
To access Planka you can port forward using the following command:
To access PLANKA you can port forward using the following command:
```bash
kubectl port-forward $POD_NAME 3000:1337
@@ -42,7 +42,7 @@ kubectl port-forward $POD_NAME 3000:1337
### Accessing Externally
To access Planka externally you can use the following configuration
To access PLANKA externally you can use the following configuration
```bash
# HTTP only
@@ -68,9 +68,9 @@ helm install planka . --set secretkey=$SECRETKEY \
or create a values.yaml file like:
```yaml
````yaml
secretkey: "<InsertSecretKey>"
# The admin section needs to be present for new instances of Planka, after the first start you can remove the lines starting with admin_. If you want the admin user to be unchangeable admin_email: has to stay
# The admin section needs to be present for new instances of PLANKA, after the first start you can remove the lines starting with admin_. If you want the admin user to be unchangeable admin_email: has to stay
# After changing the config you have to run ```helm upgrade planka . -f values.yaml```
# Admin user
@@ -89,11 +89,11 @@ ingress:
- path: /
pathType: ImplementationSpecific
# Needed for HTTPS
# Needed for HTTPS
tls:
- secretName: planka-tls # existing TLS secret in k8s
hosts:
- planka.example.dev
- secretName: planka-tls # existing TLS secret in k8s
hosts:
- planka.example.dev
```
```bash
@@ -102,10 +102,192 @@ helm install planka . -f values.yaml
### Things to consider if production hosting
If you want to host Planka for more than just playing around with, you might want to do the following things:
If you want to host PLANKA for more than just playing around with, you might want to do the following things:
- Create a `values.yaml` with your config, as this will make applying upgrades much easier in the future.
- Create your `secretkey` once and store it either in a secure vault, or in your `values.yaml` file so it will be the same for upgrading in the future.
- Specify a password for `postgresql.auth.password` as there have been issues with the postgresql chart generating new passwords locking you out of the data you've already stored. (see [this issue](https://github.com/bitnami/charts/issues/2061))
Any questions or concerns, [raise an issue](https://github.com/Chris-Greaves/planka-helm-chart/issues/new).
## Advanced Configuration
### Extra Volume Mounts
The Helm chart supports mounting arbitrary ConfigMaps, Secrets, and Volumes to the PLANKA deployment using the `extraMounts` configuration. This is especially useful for scenarios like:
- Mounting custom CA certificates for OIDC with self-hosted identity providers
- Adding custom configuration files
- Mounting TLS certificates from existing secrets
- Adding temporary or persistent storage volumes
**Note**: ConfigMaps and Secrets must be created separately before referencing them in `extraMounts`.
#### Basic Usage
Use the `extraMounts` section to mount any type of volume:
```yaml
extraMounts:
# Mount CA certificate from existing ConfigMap
- name: ca-certs
mountPath: /etc/ssl/certs/custom-ca.crt
subPath: ca.crt
readOnly: true
configMap:
name: ca-certificates # Must exist
# Mount TLS certificates from existing Secret
- name: tls-certs
mountPath: /etc/ssl/private
readOnly: true
secret:
secretName: planka-tls-secret # Must exist
items:
- key: tls.crt
path: server.crt
- key: tls.key
path: server.key
# Temporary storage
- name: temp-storage
mountPath: /tmp/planka-temp
readOnly: false
emptyDir:
sizeLimit: 1Gi
# Host path mount
- name: backup-storage
mountPath: /var/lib/planka-backups
readOnly: false
hostPath:
path: /var/lib/planka-backups
type: DirectoryOrCreate
# NFS mount
- name: nfs-storage
mountPath: /shared/data
readOnly: false
nfs:
server: nfs.example.com
path: /exports/planka
```
### OIDC with Self-Hosted Keycloak
A common use case is configuring OIDC with a self-hosted Keycloak instance that uses custom CA certificates.
First, create the CA certificate ConfigMap:
```bash
kubectl create configmap ca-certificates --from-file=ca.crt=/path/to/your/ca.crt
```
Then configure the chart:
```yaml
# Mount custom CA certificate from existing ConfigMap
extraMounts:
- name: keycloak-ca
mountPath: /etc/ssl/certs/keycloak-ca.crt
subPath: ca.crt
readOnly: true
configMap:
name: ca-certificates
# Configure Node.js to trust the custom CA
extraEnv:
- name: NODE_EXTRA_CA_CERTS
value: "/etc/ssl/certs/keycloak-ca.crt"
# Enable OIDC
oidc:
enabled: true
clientId: "planka-client"
clientSecret: "your-client-secret"
issuerUrl: "https://keycloak.example.com/realms/master"
admin:
roles:
- "planka-admin"
```
### Environment Variables from Secrets
You can reference values from existing secrets in environment variables:
```yaml
extraEnv:
- name: SMTP_PASSWORD
valueFrom:
secretName: smtp-credentials
key: password
- name: CUSTOM_API_KEY
valueFrom:
secretName: api-credentials
key: api-key
```
### Image Digest Pinning
For enhanced security and reproducibility, you can pin the container image using its SHA256 digest instead of relying solely on tags. This ensures you always deploy the exact same image, preventing tag mutations or accidental updates.
#### Finding the Image Digest
You can find the digest of a specific image tag using:
```bash
docker inspect ghcr.io/plankanban/planka:latest --format='{{index .RepoDigests 0}}'
# Output: ghcr.io/plankanban/planka@sha256:abc123def456...
# Or with skopeo
skopeo inspect docker://ghcr.io/plankanban/planka:latest
```
#### Usage
You can use digest pinning in several ways:
**Option 1: Digest with tag (recommended)**
Includes the tag for reference while using the digest for verification:
```bash
helm install planka . --set secretkey=$SECRETKEY \
--set image.tag=latest \
--set image.digest=abc123def456... \
--set admin_email="demo@demo.demo" \
--set admin_password="demo" \
--set admin_name="Demo Demo" \
--set admin_username="demo"
```
Or in values.yaml:
```yaml
image:
repository: ghcr.io/plankanban/planka
tag: latest
digest: "abc123def456ab89cd12ef34ab56cd78ef90ab12cd34ef56ab78cd90ef12ab34"
```
**Option 2: Digest only**
If you prefer to pin only by digest without specifying a tag:
```yaml
image:
repository: ghcr.io/plankanban/planka
tag: "" # Empty - digest alone identifies the image
digest: "abc123def456ab89cd12ef34ab56cd78ef90ab12cd34ef56ab78cd90ef12ab34"
```
#### Security Benefits
- **Immutability**: Ensures you always deploy the exact same image
- **Supply Chain Security**: Protects against tag mutations or registry compromise
- **Reproducibility**: Makes deployments fully reproducible across environments
- **Audit Trail**: Provides clear image identity in deployment manifests
### Complete Example
See `values-example.yaml` for a comprehensive example that demonstrates all the advanced features including OIDC configuration with custom CA certificates.

View File

@@ -4,6 +4,10 @@ metadata:
name: {{ include "planka.fullname" . }}
labels:
{{- include "planka.labels" . | nindent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
@@ -35,7 +39,16 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- $imageTag := .Values.image.tag | default .Chart.AppVersion }}
{{- if .Values.image.digest }}
{{- if $imageTag }}
image: "{{ .Values.image.repository }}:{{ $imageTag }}@sha256:{{ .Values.image.digest }}"
{{- else }}
image: "{{ .Values.image.repository }}@sha256:{{ .Values.image.digest }}"
{{- end }}
{{- else }}
image: "{{ .Values.image.repository }}:{{ $imageTag }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
@@ -50,19 +63,32 @@ spec:
path: /
port: http
volumeMounts:
- mountPath: /app/public/user-avatars
subPath: user-avatars
name: planka
- mountPath: /app/public/project-background-images
subPath: project-background-images
name: planka
- mountPath: /app/private/attachments
subPath: attachments
- mountPath: /app/data
subPath: data
name: planka
{{- if .Values.securityContext.readOnlyRootFilesystem }}
- mountPath: /app/logs
subPath: app-logs
name: emptydir
- mountPath: /app/.tmp
subPath: app-tmp
name: emptydir
- mountPath: /tmp
subPath: tmp
name: emptydir
{{- end }}
{{- /* Extra volume mounts */}}
{{- range .Values.extraMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
{{- if .subPath }}
subPath: {{ .subPath }}
{{- end }}
{{- if hasKey . "readOnly" }}
readOnly: {{ .readOnly }}
{{- else }}
readOnly: true
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
@@ -117,7 +143,7 @@ spec:
value: {{ required "A secret key needs to be generated using 'openssl rand -hex 64' and assigned to secretkey." .Values.secretkey }}
{{- end }}
- name: TRUST_PROXY
value: "0"
value: "true"
- name: DEFAULT_ADMIN_EMAIL
value: {{ .Values.admin_email }}
- name: DEFAULT_ADMIN_NAME
@@ -170,6 +196,9 @@ spec:
value: {{ .Values.oidc.admin.ignoreRoles | quote }}
{{- end }}
{{- end }}
{{- if .Values.extraContainers -}}
{{ toYaml .Values.extraContainers | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@@ -193,4 +222,31 @@ spec:
{{- if .Values.securityContext.readOnlyRootFilesystem }}
- name: emptydir
emptyDir: {}
{{- end }}
{{- end }}
{{- /* Extra volumes */}}
{{- range .Values.extraMounts }}
- name: {{ .name }}
{{- if .configMap }}
configMap:
{{- toYaml .configMap | nindent 12 }}
{{- else if .secret }}
secret:
{{- toYaml .secret | nindent 12 }}
{{- else if .emptyDir }}
emptyDir:
{{- toYaml .emptyDir | nindent 12 }}
{{- else if .hostPath }}
hostPath:
{{- toYaml .hostPath | nindent 12 }}
{{- else if .persistentVolumeClaim }}
persistentVolumeClaim:
{{- toYaml .persistentVolumeClaim | nindent 12 }}
{{- else if .nfs }}
nfs:
{{- toYaml .nfs | nindent 12 }}
{{- else }}
{{- /* Support any other volume type by removing known mount-specific keys */}}
{{- $volume := omit . "name" "mountPath" "subPath" "readOnly" }}
{{- toYaml $volume | nindent 10 }}
{{- end }}
{{- end }}

View File

@@ -18,6 +18,9 @@ metadata:
name: {{ $fullName }}
labels:
{{- include "planka.labels" . | nindent 4 }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}

View File

@@ -9,6 +9,10 @@ image:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# Optional: specify the image digest for pinning by SHA256
# When set, the image reference will include the digest for enhanced security
# Example: "abc123def456..." (without sha256: prefix)
digest: ""
imagePullSecrets: []
nameOverride: ""
@@ -27,7 +31,12 @@ existingSecretkeySecret: ""
## NOTE: When it's set, the `admin_username` and `admin_password` parameters are ignored
existingAdminCredsSecret: ""
# Base url for Planka. Will override `ingress.hosts[0].host`
admin_email: ""
admin_password: ""
admin_name: ""
admin_username: ""
# Base url for PLANKA. Will override `ingress.hosts[0].host`
# Defaults to `http://localhost:3000` if ingress is disabled.
baseUrl: ""
@@ -45,6 +54,9 @@ podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
# Annotations to add to the deployment
deploymentAnnotations: {}
securityContext: {}
# capabilities:
# drop:
@@ -57,7 +69,7 @@ service:
annotations: {}
type: ClusterIP
port: 1337
## @param service.containerPort Planka HTTP container port
## @param service.containerPort PLANKA HTTP container port
## If empty will default to 1337
##
containerPort: 1337
@@ -65,6 +77,7 @@ service:
ingress:
enabled: false
className: ""
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
@@ -105,6 +118,11 @@ tolerations: []
affinity: {}
postgresql:
global:
security:
allowInsecureImages: true
image:
repository: bitnamilegacy/postgresql
enabled: true
auth:
database: planka
@@ -176,7 +194,7 @@ oidc:
## @param oidc.scopes A list of scopes required for OIDC client.
## If empty will default to `openid`, `profile` and `email`
## NOTE: Planka needs the email and name claims
## NOTE: PLANKA needs the email and name claims
##
scopes: []
@@ -210,3 +228,85 @@ oidc:
## key: key-inside-the-secret
##
extraEnv: []
## Example extraEnv for configuring SMTP
## extraEnv:
## - name: SMTP_HOST
## value: "smtp.example.com"
## - name: SMTP_PORT
## value: "587"
## - name: SMTP_NAME
## value: "Your Name"
## - name: SMTP_SECURE
## value: "true"
## - name: SMTP_TLS_REJECT_UNAUTHORIZED
## value: "false"
## - name: SMTP_USER
## value: "your_email@example.com"
## - name: SMTP_PASSWORD
## value: "your_password"
## - name: SMTP_FROM
## value: "your_email@example.com"
## Extra volume mounts configuration
## Mount ConfigMaps, Secrets, and arbitrary volumes to the PLANKA container
## This allows mounting any pre-existing ConfigMaps, Secrets, or other volume types
##
extraMounts: []
## Example extraMounts:
## extraMounts:
## - name: ca-certs
## mountPath: /etc/ssl/certs/ca-certificates.crt
## subPath: ca-bundle.crt
## readOnly: true
## configMap:
## name: ca-certificates
## - name: tls-certs
## mountPath: /etc/ssl/private
## readOnly: true
## secret:
## secretName: planka-tls
## items:
## - key: tls.crt
## path: server.crt
## - key: tls.key
## path: server.key
## - name: temp-storage
## mountPath: /tmp/planka-temp
## readOnly: false
## emptyDir:
## sizeLimit: 1Gi
## Example configuration for OIDC with self-hosted Keycloak using custom CA
## (Requires pre-existing ConfigMap "ca-certificates")
## extraMounts:
## - name: keycloak-ca
## mountPath: /etc/ssl/certs/keycloak-ca.crt
## subPath: ca.crt
## readOnly: true
## configMap:
## name: ca-certificates
##
## extraEnv:
## - name: NODE_EXTRA_CA_CERTS
## value: "/etc/ssl/certs/keycloak-ca.crt"
extraContainers: []
## Extra sidecar containers
## Add additional containers to the PLANKA pod
##
## Example extraContainers:
## extraContainers:
## - name: nginx-sidecar
## image: nginx:latest
## ports:
## - containerPort: 8085
## name: nginx-http
## - name: log-collector
## image: busybox:latest
## command: ['sh', '-c', 'tail -f /var/log/app.log']
## volumeMounts:
## - name: planka
## mountPath: /var/log
## subPath: app-logs
##

41
client/.gitignore vendored
View File

@@ -1,23 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

View File

@@ -1 +0,0 @@
# Planka client

View File

@@ -1,58 +0,0 @@
const fs = require('fs');
const path = require('path');
const BASE_URL_PLACEHOLDER = 'BASE_URL_PLACEHOLDER';
const replaceInFile = (file, search, replace) => {
fs.readFile(file, 'utf8', (readError, data) => {
if (readError) {
throw new Error(`${readError}`);
}
const res = data.replaceAll(search, replace);
fs.writeFile(file, res, 'utf8', (writeError) => {
if (writeError) {
throw new Error(`${writeError}`);
}
});
});
};
const replaceBaseUrl = (compiler) => {
compiler.hooks.assetEmitted.tap('ReplaceBaseUrlPlaceholder', (file, info) => {
if (info.content.indexOf(BASE_URL_PLACEHOLDER) >= 0) {
if (/\.css$/.exec(info.targetPath)) {
// For CSS 'url(...)' import we can use relative import
const relPath = path
.relative(path.dirname(info.targetPath), info.outputPath)
.replace(/\\/g, '/');
replaceInFile(info.targetPath, BASE_URL_PLACEHOLDER, `${relPath}/`);
} else if (/\.js$/.exec(info.targetPath)) {
// For JS 'import ... from "some-asset"' we can get the variable injected in the window object
// eslint-disable-next-line no-template-curly-in-string
replaceInFile(info.targetPath, `"${BASE_URL_PLACEHOLDER}"`, '`${window.BASE_URL}/`');
} else if (/index\.html$/.exec(info.targetPath)) {
// For the main html file, we set a placeholder for sails to inject the correct value as runtime
replaceInFile(info.targetPath, BASE_URL_PLACEHOLDER, '<%= BASE_URL %>');
}
}
});
};
module.exports = function override(config, env) {
if (env === 'production') {
const plugins = config.plugins.map((plugin) => {
if (plugin.constructor.name === 'InterpolateHtmlPlugin') {
const newPlugin = plugin;
newPlugin.replacements.PUBLIC_URL = BASE_URL_PLACEHOLDER;
return newPlugin;
}
return plugin;
});
return {
...config,
output: { ...config.output, publicPath: BASE_URL_PLACEHOLDER },
plugins: [...plugins, { apply: replaceBaseUrl }],
};
}
return config;
};

18
client/index.html Normal file
View File

@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="PLANKA is the kanban-style project mastering tool for everyone" />
<title>PLANKA</title>
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
</head>
<body id="app"></body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.js"></script>
</body>
</html>

25199
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +1,18 @@
{
"name": "planka-client",
"private": true,
"type": "module",
"scripts": {
"build": "react-app-rewired build",
"eject": "react-scripts eject",
"lint": "eslint --ext js,jsx src config-overrides.js",
"start": "react-app-rewired start",
"test": "react-app-rewired test",
"test:acceptance": "cucumber-js --require tests/acceptance/cucumber.conf.js --require tests/acceptance/stepDefinitions/**/*.js --format @cucumber/pretty-formatter"
"build": "vite build",
"postinstall": "patch-package",
"lint": "eslint --ext js,jsx src --report-unused-disable-directives",
"start": "vite",
"test": "jest",
"test:acceptance": "cucumber-js --import tests/acceptance/cucumber.conf.js --import tests/acceptance/steps/**/*.js --format @cucumber/pretty-formatter tests"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
"babel": {
"presets": [
"@babel/preset-env"
]
},
"eslintConfig": {
@@ -35,96 +29,166 @@
},
"requireConfigFile": false
},
"plugins": [
"prettier"
],
"extends": [
"airbnb",
"airbnb/hooks",
"../package.json"
"plugin:prettier/recommended"
],
"rules": {
"no-unused-vars": "warn",
"import/no-extraneous-dependencies": [
"import/no-unresolved": [
"error",
{
"devDependencies": [
"src/setupTests.js",
"**/*.test.js"
"ignore": [
"\\?url$",
"\\.svg\\?react$"
]
}
],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
"endOfLine": "auto",
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
}
]
},
"overrides": [
{
"files": [
"tests/acceptance/**/*.js"
],
"rules": {
"import/extensions": "off"
},
"globals": {
"browser": "readonly",
"context": "readonly",
"page": "readonly"
}
}
]
},
"jest": {
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
}
},
"overrides": {
"@diplodoc/transform": {
"lodash": "^4.17.23"
},
"react-mentions": {
"@babel/runtime": "^7.28.6"
}
},
"dependencies": {
"@ballerina/highlightjs-ballerina": "^1.0.1",
"@diplodoc/cut-extension": "^1.1.1",
"@diplodoc/transform": "^4.64.1",
"@gravity-ui/components": "^4.18.0",
"@gravity-ui/markdown-editor": "^15.31.0",
"@gravity-ui/uikit": "^7.31.1",
"@juggle/resize-observer": "^3.4.0",
"@vitejs/plugin-react": "^5.1.3",
"browserslist-to-esbuild": "^2.1.1",
"classnames": "^2.5.1",
"date-fns": "^2.30.0",
"date-fns": "^4.1.0",
"dequal": "^2.0.3",
"easymde": "^2.18.0",
"highlight.js": "^11.11.1",
"highlightjs-4d": "^1.0.6",
"highlightjs-alan": "^0.0.2",
"highlightjs-apex": "^1.5.0",
"highlightjs-blade": "^0.1.0",
"highlightjs-cobol": "^0.3.3",
"highlightjs-cshtml-razor": "^2.2.0",
"highlightjs-gf": "^1.0.1",
"highlightjs-jolie": "^0.1.8",
"highlightjs-lean": "^1.2.0",
"highlightjs-lookml": "^1.0.2",
"highlightjs-macaulay2": "^0.5.0",
"highlightjs-mlir": "^0.0.1",
"highlightjs-qsharp": "^1.0.2",
"highlightjs-redbol": "^2.1.2",
"highlightjs-rpm-specfile": "^1.0.0",
"highlightjs-sap-abap": "^0.3.0",
"highlightjs-solidity": "^2.0.6",
"highlightjs-supercollider": "^1.0.0",
"highlightjs-svelte": "^1.0.6",
"highlightjs-xsharp": "^1.0.0",
"highlightjs-zenscript": "^2.0.0",
"hightlightjs-papyrus": "^0.0.4",
"history": "^5.3.0",
"i18next": "23.15.2",
"i18next-browser-languagedetector": "^8.0.0",
"i18next": "^25.8.1",
"i18next-browser-languagedetector": "^8.2.0",
"initials": "^3.1.2",
"javascript-time-ago": "^2.6.2",
"js-cookie": "^3.0.5",
"jwt-decode": "^4.0.0",
"linkify-react": "^4.1.4",
"linkifyjs": "^4.1.4",
"lodash": "^4.17.21",
"nanoid": "^5.0.9",
"node-sass": "^9.0.0",
"linkify-react": "^4.3.2",
"linkifyjs": "^4.3.2",
"lodash": "^4.17.23",
"lowlight": "^3.3.0",
"markdown-it": "^13.0.2",
"nanoid": "^5.1.6",
"papaparse": "^5.5.3",
"patch-package": "^8.0.1",
"photoswipe": "^5.4.4",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-app-rewired": "^2.2.1",
"react-beautiful-dnd": "^13.1.1",
"react-datepicker": "^4.25.0",
"react-datepicker": "^9.1.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.3.5",
"react-i18next": "^15.1.1",
"react-dropzone": "^14.4.0",
"react-frame-component": "^5.2.7",
"react-hot-toast": "^2.6.0",
"react-i18next": "^16.5.4",
"react-input-mask": "^2.0.4",
"react-markdown": "^8.0.7",
"react-photoswipe-gallery": "^2.2.7",
"react-redux": "^8.1.3",
"react-router-dom": "^6.28.0",
"react-scripts": "5.0.1",
"react-simplemde-editor": "^5.2.0",
"react-textarea-autosize": "^8.5.5",
"redux": "^4.2.1",
"react-intersection-observer": "^10.0.2",
"react-mentions": "^4.4.10",
"react-photoswipe-gallery": "^4.0.0",
"react-redux": "^9.2.0",
"react-router": "^7.13.0",
"react-textarea-autosize": "^8.5.9",
"react-time-ago": "^7.4.1",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
"redux-orm": "^0.16.2",
"redux-saga": "^1.3.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^3.0.1",
"reselect": "^4.1.8",
"redux-saga": "^1.4.2",
"reselect": "^5.1.1",
"sails.io.js": "^1.2.1",
"sass-embedded": "^1.97.3",
"semantic-ui-react": "^2.1.5",
"socket.io-client": "^2.5.0",
"validator": "^13.12.0",
"whatwg-fetch": "^3.6.20",
"socket.io-client": "^4.8.3",
"validator": "^13.15.26",
"vite": "^7.3.1",
"vite-plugin-commonjs": "^0.10.4",
"vite-plugin-node-polyfills": "^0.25.0",
"vite-plugin-svgr": "^4.5.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@cucumber/cucumber": "^7.3.2",
"@cucumber/pretty-formatter": "^1.0.1",
"@playwright/test": "^1.49.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
"axios": "^1.8.2",
"@babel/eslint-parser": "^7.28.6",
"@babel/preset-env": "^7.29.0",
"@cucumber/cucumber": "^12.6.0",
"@cucumber/pretty-formatter": "^3.0.0",
"@playwright/test": "^1.58.1",
"babel-jest": "^30.2.0",
"babel-preset-airbnb": "^5.0.0",
"chai": "^4.5.0",
"eslint": "8.57.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.31.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"playwright": "^1.49.0",
"react-test-renderer": "18.2.0"
"jest": "^30.2.0",
"playwright": "^1.58.0",
"prettier": "3.8.1"
}
}

View File

@@ -0,0 +1,19 @@
diff --git a/node_modules/@diplodoc/transform/lib/md.js b/node_modules/@diplodoc/transform/lib/md.js
index a2d222e..8d1377e 100644
--- a/node_modules/@diplodoc/transform/lib/md.js
+++ b/node_modules/@diplodoc/transform/lib/md.js
@@ -101,8 +101,12 @@ function initPlugins(md, options, pluginOptions) {
}
md.use(ol_attr_conversion_1.olAttrConversion);
plugins.forEach((plugin) => md.use(plugin, pluginOptions));
- if (linkify && linkifyTlds) {
- md.linkify.tlds(linkifyTlds, true);
+ if (linkify) {
+ if (linkifyTlds) {
+ md.linkify.tlds(linkifyTlds, true);
+ } else if (linkifyTlds === null) {
+ md.linkify.set({ fuzzyLink: false });
+ }
}
}
function initParser(md, options, env, pluginOptions) {

View File

@@ -0,0 +1,80 @@
diff --git a/node_modules/@gravity-ui/markdown-editor/build/esm/bundle/wysiwyg-preset.js b/node_modules/@gravity-ui/markdown-editor/build/esm/bundle/wysiwyg-preset.js
index dec01f0..a80b857 100644
--- a/node_modules/@gravity-ui/markdown-editor/build/esm/bundle/wysiwyg-preset.js
+++ b/node_modules/@gravity-ui/markdown-editor/build/esm/bundle/wysiwyg-preset.js
@@ -102,7 +102,6 @@ export const BundlePreset = (builder, opts) => {
enableNewImageSizeCalculation: opts.enableNewImageSizeCalculation,
...opts.imgSize,
},
- checkbox: { checkboxLabelPlaceholder: () => i18nPlaceholder('checkbox'), ...opts.checkbox },
deflist: {
deflistTermPlaceholder: () => i18nPlaceholder('deflist_term'),
deflistDescPlaceholder: () => i18nPlaceholder('deflist_desc'),
@@ -123,11 +122,6 @@ export const BundlePreset = (builder, opts) => {
...opts.yfmTable,
controls: opts.mobile ? false : opts.yfmTable?.controls,
},
- yfmFile: {
- fileUploadHandler: opts.fileUploadHandler,
- needToSetDimensionsForUploadedImages: opts.needToSetDimensionsForUploadedImages,
- ...opts.yfmFile,
- },
yfmHeading: {
h1Key: f.toPM(A.Heading1),
h2Key: f.toPM(A.Heading2),
diff --git a/node_modules/@gravity-ui/markdown-editor/build/esm/core/ExtensionsManager.js b/node_modules/@gravity-ui/markdown-editor/build/esm/core/ExtensionsManager.js
index 8aefe20..99e59e3 100644
--- a/node_modules/@gravity-ui/markdown-editor/build/esm/core/ExtensionsManager.js
+++ b/node_modules/@gravity-ui/markdown-editor/build/esm/core/ExtensionsManager.js
@@ -42,6 +42,9 @@ export class ExtensionsManager {
if (options.linkifyTlds) {
this.#mdForMarkup.linkify.tlds(options.linkifyTlds, true);
this.#mdForText.linkify.tlds(options.linkifyTlds, true);
+ } else if (options.linkifyTlds === null) {
+ this.#mdForMarkup.linkify.set({ fuzzyLink: false });
+ this.#mdForText.linkify.set({ fuzzyLink: false });
}
if (options.pmTransformers) {
this.#pmTransformers = options.pmTransformers;
diff --git a/node_modules/@gravity-ui/markdown-editor/build/esm/extensions/yfm/YfmNote/YfmNoteSpecs/index.js b/node_modules/@gravity-ui/markdown-editor/build/esm/extensions/yfm/YfmNote/YfmNoteSpecs/index.js
index 212c583..b709383 100644
--- a/node_modules/@gravity-ui/markdown-editor/build/esm/extensions/yfm/YfmNote/YfmNoteSpecs/index.js
+++ b/node_modules/@gravity-ui/markdown-editor/build/esm/extensions/yfm/YfmNote/YfmNoteSpecs/index.js
@@ -10,7 +10,7 @@ export { noteType, noteTitleType } from "./utils.js";
export const YfmNoteSpecs = (builder, opts) => {
const schemaSpecs = getSchemaSpecs(opts, builder.context.get('placeholder'));
builder
- .configureMd((md) => md.use(yfmPlugin, { log, lang: getConfig().lang || 'en' }))
+ .configureMd((md) => md.use(yfmPlugin, { log, lang: getConfig().lang || 'en', notesAutotitle: false }))
.addNode(NoteNode.Note, () => ({
spec: schemaSpecs[NoteNode.Note],
toMd: serializerTokens[NoteNode.Note],
diff --git a/node_modules/@gravity-ui/markdown-editor/build/esm/presets/yfm.js b/node_modules/@gravity-ui/markdown-editor/build/esm/presets/yfm.js
index ed2a9db..77f6d08 100644
--- a/node_modules/@gravity-ui/markdown-editor/build/esm/presets/yfm.js
+++ b/node_modules/@gravity-ui/markdown-editor/build/esm/presets/yfm.js
@@ -1,5 +1,5 @@
import { Deflist, Subscript, Superscript, Underline, } from "../extensions/markdown/index.js";
-import { Checkbox, ImgSize, Monospace, Video, YfmConfigs, YfmCut, YfmFile, YfmHeading, YfmNote, YfmTable, YfmTabs, } from "../extensions/yfm/index.js";
+import { ImgSize, Monospace, Video, YfmConfigs, YfmCut, YfmHeading, YfmNote, YfmTable, } from "../extensions/yfm/index.js";
import { DefaultPreset } from "./default.js";
export const YfmPreset = (builder, opts) => {
builder.use(DefaultPreset, { ...opts, image: false, heading: false });
@@ -8,16 +8,13 @@ export const YfmPreset = (builder, opts) => {
.use(Subscript)
.use(Superscript)
.use(Underline, opts.underline ?? {})
- .use(Checkbox, opts.checkbox ?? {})
.use(ImgSize, opts.imgSize ?? {})
.use(Monospace)
.use(Video, opts.video ?? {})
.use(YfmConfigs, opts.yfmConfigs ?? {})
.use(YfmCut, opts.yfmCut ?? {})
.use(YfmNote, opts.yfmNote ?? {})
- .use(YfmFile, opts.yfmFile ?? {})
.use(YfmHeading, opts.yfmHeading ?? {})
- .use(YfmTable, opts.yfmTable ?? {})
- .use(YfmTabs);
+ .use(YfmTable, opts.yfmTable ?? {});
};
//# sourceMappingURL=yfm.js.map

View File

@@ -0,0 +1,24 @@
diff --git a/node_modules/react-mentions/dist/react-mentions.esm.js b/node_modules/react-mentions/dist/react-mentions.esm.js
index 2efebba..b244446 100644
--- a/node_modules/react-mentions/dist/react-mentions.esm.js
+++ b/node_modules/react-mentions/dist/react-mentions.esm.js
@@ -1426,7 +1426,7 @@ var MentionsInput = /*#__PURE__*/function (_React$Component) {
var mentions = getMentions(newValue, config);
- if (ev.nativeEvent.isComposing && selectionStart === selectionEnd) {
+ if ((ev.nativeEvent.isComposing || newValue.length < value.length) && selectionStart === selectionEnd) {
_this.updateMentionsQueries(_this.inputElement.value, selectionStart);
} // Propagate change
// let handleChange = this.getOnChange(this.props) || emptyFunction;
@@ -1454,7 +1454,9 @@ var MentionsInput = /*#__PURE__*/function (_React$Component) {
var el = _this.inputElement;
if (ev.target.selectionStart === ev.target.selectionEnd) {
- _this.updateMentionsQueries(el.value, ev.target.selectionStart);
+ requestAnimationFrame(function () {
+ _this.updateMentionsQueries(el.value, ev.target.selectionStart);
+ });
} else {
_this.clearSuggestions();
} // sync highlighters scroll position

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,87 @@
diff --git a/node_modules/sails.io.js/sails.io.js b/node_modules/sails.io.js/sails.io.js
index 11694b5..bb5e594 100644
--- a/node_modules/sails.io.js/sails.io.js
+++ b/node_modules/sails.io.js/sails.io.js
@@ -138,6 +138,15 @@
CONNECTION_METADATA_PARAMS.platform + '=' + SDK_INFO.platform + '&' +
CONNECTION_METADATA_PARAMS.language + '=' + SDK_INFO.language;
+ var MANAGER_EVENT_NAMES = new Set([
+ 'error',
+ 'reconnect',
+ 'reconnect_attempt',
+ 'reconnect_error',
+ 'reconnect_failed',
+ 'ping'
+ ]);
+
@@ -668,6 +677,7 @@
// Okay to change global headers while socket is connected
if (option == 'headers') {return;}
Object.defineProperty(self, option, {
+ enumerable: true,
get: function() {
if (option == 'url') {
return _opts[option] || (self._raw && self._raw.io && self._raw.io.uri);
@@ -986,7 +996,7 @@
consolog('====================================');
});
- self.on('reconnecting', function(numAttempts) {
+ self.on('reconnect_attempt', function(numAttempts) {
consolog(
'\n'+
' Socket is trying to reconnect to '+(self.url ? self.url : 'Sails')+'...\n'+
@@ -1124,7 +1134,7 @@
// off to the self._raw for consumption
for (var evName in self.eventQueue) {
for (var i in self.eventQueue[evName]) {
- self._raw.on(evName, self.eventQueue[evName][i]);
+ self._getEventTarget(evName).on(evName, self.eventQueue[evName][i]);
}
}
@@ -1150,10 +1160,11 @@
* @return {SailsSocket}
*/
SailsSocket.prototype.on = function (evName, fn){
+ var target = this._getEventTarget(evName);
// Bind the event to the raw underlying socket if possible.
- if (this._raw) {
- this._raw.on(evName, fn);
+ if (target) {
+ target.on(evName, fn);
return this;
}
@@ -1176,10 +1187,11 @@
* @return {SailsSocket}
*/
SailsSocket.prototype.off = function (evName, fn){
+ var target = this._getEventTarget(evName);
// Bind the event to the raw underlying socket if possible.
- if (this._raw) {
- this._raw.off(evName, fn);
+ if (target) {
+ target.off(evName, fn);
return this;
}
@@ -1491,6 +1503,12 @@
throw new Error('`_request()` was a private API deprecated as of v0.11 of the sails.io.js client. Use `.request()` instead.');
};
+ SailsSocket.prototype._getEventTarget = function (evName) {
+ if (!this._raw) return null;
+
+ return MANAGER_EVENT_NAMES.has(evName) ? this._raw.io : this._raw;
+ };
+

View File

@@ -0,0 +1,144 @@
diff --git a/node_modules/semantic-ui-react/dist/es/lib/doesNodeContainClick.js b/node_modules/semantic-ui-react/dist/es/lib/doesNodeContainClick.js
index 6d06078..e22d4f0 100644
--- a/node_modules/semantic-ui-react/dist/es/lib/doesNodeContainClick.js
+++ b/node_modules/semantic-ui-react/dist/es/lib/doesNodeContainClick.js
@@ -17,13 +17,7 @@ var doesNodeContainClick = function doesNodeContainClick(node, e) {
if (_some([e, node], _isNil)) return false; // if there is an e.target and it is in the document, use a simple node.contains() check
if (e.target) {
- _invoke(e.target, 'setAttribute', 'data-suir-click-target', true);
-
- if (document.querySelector('[data-suir-click-target=true]')) {
- _invoke(e.target, 'removeAttribute', 'data-suir-click-target');
-
- return node.contains(e.target);
- }
+ return node.contains(e.target);
} // Below logic handles cases where the e.target is no longer in the document.
// The result of the click likely has removed the e.target node.
// Instead of node.contains(), we'll identify the click by X/Y position.
diff --git a/node_modules/semantic-ui-react/dist/es/modules/Dropdown/Dropdown.js b/node_modules/semantic-ui-react/dist/es/modules/Dropdown/Dropdown.js
index 1cc1bab..0e178ee 100644
--- a/node_modules/semantic-ui-react/dist/es/modules/Dropdown/Dropdown.js
+++ b/node_modules/semantic-ui-react/dist/es/modules/Dropdown/Dropdown.js
@@ -342,7 +342,7 @@ var Dropdown = /*#__PURE__*/function (_Component) {
return;
}
- if (searchQuery.length >= minCharacters || minCharacters === 1) {
+ if (searchQuery.length >= minCharacters || minCharacters === 0) {
_this.open(e);
return;
@@ -480,7 +480,7 @@ var Dropdown = /*#__PURE__*/function (_Component) {
} // close search dropdown if search query is too small
- if (open && minCharacters !== 1 && newQuery.length < minCharacters) _this.close();
+ if (open && minCharacters !== 0 && newQuery.length < minCharacters) _this.close();
};
_this.handleKeyDown = function (e) {
@@ -1048,7 +1048,7 @@ var Dropdown = /*#__PURE__*/function (_Component) {
if (!prevState.focus && this.state.focus) {
if (!this.isMouseDown) {
- var openable = !search || search && minCharacters === 1 && !this.state.open;
+ var openable = !search || search && minCharacters === 0 && !this.state.open;
if (openOnFocus && openable) this.open();
}
} else if (prevState.focus && !this.state.focus) {
@@ -1436,7 +1436,7 @@ Dropdown.defaultProps = {
closeOnEscape: true,
deburr: false,
icon: 'dropdown',
- minCharacters: 1,
+ minCharacters: 0,
noResultsMessage: 'No results found.',
openOnFocus: true,
renderLabel: renderItemContent,
diff --git a/node_modules/semantic-ui-react/dist/es/modules/Modal/Modal.js b/node_modules/semantic-ui-react/dist/es/modules/Modal/Modal.js
index a39f694..c9c616a 100644
--- a/node_modules/semantic-ui-react/dist/es/modules/Modal/Modal.js
+++ b/node_modules/semantic-ui-react/dist/es/modules/Modal/Modal.js
@@ -20,6 +20,7 @@ import ModalDescription from './ModalDescription';
import ModalDimmer from './ModalDimmer';
import ModalHeader from './ModalHeader';
import { canFit, getLegacyStyles, isLegacy } from './utils';
+var IS_WINDOWS = navigator.platform.startsWith('Win');
/**
* A modal displays content that temporarily blocks interactions with the main view of a site.
@@ -41,6 +42,7 @@ var Modal = /*#__PURE__*/function (_Component) {
_this.ref = /*#__PURE__*/createRef();
_this.dimmerRef = /*#__PURE__*/createRef();
_this.latestDocumentMouseDownEvent = null;
+ _this.latestWindowFocusTimeOnWindows = null;
_this.getMountNode = function () {
return isBrowser() ? _this.props.mountNode || document.body : null;
@@ -68,11 +70,17 @@ var Modal = /*#__PURE__*/function (_Component) {
}));
};
+ _this.handleWindowFocusOnWindows = function () {
+ _this.latestWindowFocusTimeOnWindows = Date.now();
+ };
+
_this.handleDocumentMouseDown = function (e) {
+ if (_this.latestWindowFocusTimeOnWindows && Date.now() - _this.latestWindowFocusTimeOnWindows < 50) return;
_this.latestDocumentMouseDownEvent = e;
};
_this.handleDocumentClick = function (e) {
+ if (!_this.latestDocumentMouseDownEvent) return;
var closeOnDimmerClick = _this.props.closeOnDimmerClick;
var currentDocumentMouseDownEvent = _this.latestDocumentMouseDownEvent;
_this.latestDocumentMouseDownEvent = null;
@@ -116,6 +124,13 @@ var Modal = /*#__PURE__*/function (_Component) {
_this.setPositionAndClassNames();
+ if (IS_WINDOWS) {
+ eventStack.sub('focus', _this.handleWindowFocusOnWindows, {
+ pool: eventPool,
+ target: window
+ });
+ }
+
eventStack.sub('mousedown', _this.handleDocumentMouseDown, {
pool: eventPool,
target: _this.dimmerRef.current
@@ -131,6 +146,14 @@ var Modal = /*#__PURE__*/function (_Component) {
_this.handlePortalUnmount = function (e) {
var eventPool = _this.props.eventPool;
cancelAnimationFrame(_this.animationRequestId);
+
+ if (IS_WINDOWS) {
+ eventStack.unsub('focus', _this.handleWindowFocusOnWindows, {
+ pool: eventPool,
+ target: window
+ });
+ }
+
eventStack.unsub('mousedown', _this.handleDocumentMouseDown, {
pool: eventPool,
target: _this.dimmerRef.current
diff --git a/node_modules/semantic-ui-react/src/lib/doesNodeContainClick.js b/node_modules/semantic-ui-react/src/lib/doesNodeContainClick.js
index d1ae271..43e1170 100644
--- a/node_modules/semantic-ui-react/src/lib/doesNodeContainClick.js
+++ b/node_modules/semantic-ui-react/src/lib/doesNodeContainClick.js
@@ -14,12 +14,7 @@ const doesNodeContainClick = (node, e) => {
// if there is an e.target and it is in the document, use a simple node.contains() check
if (e.target) {
- _.invoke(e.target, 'setAttribute', 'data-suir-click-target', true)
-
- if (document.querySelector('[data-suir-click-target=true]')) {
- _.invoke(e.target, 'removeAttribute', 'data-suir-click-target')
- return node.contains(e.target)
- }
+ return node.contains(e.target)
}
// Below logic handles cases where the e.target is no longer in the document.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View File

@@ -1,44 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Planka is an open source project management software"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Planka</title>
</head>
<script>window.BASE_URL = "%PUBLIC_URL%";</script>
<body id="app">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

BIN
client/public/logo192.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
client/public/logo512.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,5 +1,5 @@
{
"name": "Planka",
"name": "PLANKA",
"icons": [
{
"src": "favicon.ico",

View File

@@ -1,39 +1,43 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const fetchActivities = (cardId) => ({
type: ActionTypes.ACTIVITIES_FETCH,
const fetchActivitiesInBoard = (boardId) => ({
type: ActionTypes.ACTIVITIES_IN_BOARD_FETCH,
payload: {
cardId,
boardId,
},
});
fetchActivities.success = (cardId, activities, users) => ({
type: ActionTypes.ACTIVITIES_FETCH__SUCCESS,
fetchActivitiesInBoard.success = (boardId, activities, users) => ({
type: ActionTypes.ACTIVITIES_IN_BOARD_FETCH__SUCCESS,
payload: {
cardId,
boardId,
activities,
users,
},
});
fetchActivities.failure = (cardId, error) => ({
type: ActionTypes.ACTIVITIES_FETCH__FAILURE,
fetchActivitiesInBoard.failure = (boardId, error) => ({
type: ActionTypes.ACTIVITIES_IN_BOARD_FETCH__FAILURE,
payload: {
cardId,
boardId,
error,
},
});
const toggleActivitiesDetails = (cardId, isVisible) => ({
type: ActionTypes.ACTIVITIES_DETAILS_TOGGLE,
const fetchActivitiesInCard = (cardId) => ({
type: ActionTypes.ACTIVITIES_IN_CARD_FETCH,
payload: {
cardId,
isVisible,
},
});
toggleActivitiesDetails.success = (cardId, activities, users) => ({
type: ActionTypes.ACTIVITIES_DETAILS_TOGGLE__SUCCESS,
fetchActivitiesInCard.success = (cardId, activities, users) => ({
type: ActionTypes.ACTIVITIES_IN_CARD_FETCH__SUCCESS,
payload: {
cardId,
activities,
@@ -41,8 +45,8 @@ toggleActivitiesDetails.success = (cardId, activities, users) => ({
},
});
toggleActivitiesDetails.failure = (cardId, error) => ({
type: ActionTypes.ACTIVITIES_DETAILS_TOGGLE__FAILURE,
fetchActivitiesInCard.failure = (cardId, error) => ({
type: ActionTypes.ACTIVITIES_IN_CARD_FETCH__FAILURE,
payload: {
cardId,
error,
@@ -56,24 +60,8 @@ const handleActivityCreate = (activity) => ({
},
});
const handleActivityUpdate = (activity) => ({
type: ActionTypes.ACTIVITY_UPDATE_HANDLE,
payload: {
activity,
},
});
const handleActivityDelete = (activity) => ({
type: ActionTypes.ACTIVITY_DELETE_HANDLE,
payload: {
activity,
},
});
export default {
fetchActivities,
toggleActivitiesDetails,
fetchActivitiesInBoard,
fetchActivitiesInCard,
handleActivityCreate,
handleActivityUpdate,
handleActivityDelete,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createAttachment = (attachment) => ({

View File

@@ -0,0 +1,72 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createBackgroundImage = (backgroundImage) => ({
type: ActionTypes.BACKGROUND_IMAGE_CREATE,
payload: {
backgroundImage,
},
});
createBackgroundImage.success = (localId, backgroundImage) => ({
type: ActionTypes.BACKGROUND_IMAGE_CREATE__SUCCESS,
payload: {
localId,
backgroundImage,
},
});
createBackgroundImage.failure = (localId, error) => ({
type: ActionTypes.BACKGROUND_IMAGE_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleBackgroundImageCreate = (backgroundImage) => ({
type: ActionTypes.BACKGROUND_IMAGE_CREATE_HANDLE,
payload: {
backgroundImage,
},
});
const deleteBackgroundImage = (id) => ({
type: ActionTypes.BACKGROUND_IMAGE_DELETE,
payload: {
id,
},
});
deleteBackgroundImage.success = (backgroundImage) => ({
type: ActionTypes.BACKGROUND_IMAGE_DELETE__SUCCESS,
payload: {
backgroundImage,
},
});
deleteBackgroundImage.failure = (id, error) => ({
type: ActionTypes.BACKGROUND_IMAGE_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleBackgroundImageDelete = (backgroundImage) => ({
type: ActionTypes.BACKGROUND_IMAGE_DELETE_HANDLE,
payload: {
backgroundImage,
},
});
export default {
createBackgroundImage,
handleBackgroundImageCreate,
deleteBackgroundImage,
handleBackgroundImageDelete,
};

View File

@@ -0,0 +1,104 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createBaseCustomFieldGroup = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_CREATE,
payload: {
baseCustomFieldGroup,
},
});
createBaseCustomFieldGroup.success = (localId, baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_CREATE__SUCCESS,
payload: {
localId,
baseCustomFieldGroup,
},
});
createBaseCustomFieldGroup.failure = (localId, error) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleBaseCustomFieldGroupCreate = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_CREATE_HANDLE,
payload: {
baseCustomFieldGroup,
},
});
const updateBaseCustomFieldGroup = (id, data) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_UPDATE,
payload: {
id,
data,
},
});
updateBaseCustomFieldGroup.success = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_UPDATE__SUCCESS,
payload: {
baseCustomFieldGroup,
},
});
updateBaseCustomFieldGroup.failure = (id, error) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleBaseCustomFieldGroupUpdate = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_UPDATE_HANDLE,
payload: {
baseCustomFieldGroup,
},
});
const deleteBaseCustomFieldGroup = (id) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_DELETE,
payload: {
id,
},
});
deleteBaseCustomFieldGroup.success = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_DELETE__SUCCESS,
payload: {
baseCustomFieldGroup,
},
});
deleteBaseCustomFieldGroup.failure = (id, error) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleBaseCustomFieldGroupDelete = (baseCustomFieldGroup) => ({
type: ActionTypes.BASE_CUSTOM_FIELD_GROUP_DELETE_HANDLE,
payload: {
baseCustomFieldGroup,
},
});
export default {
createBaseCustomFieldGroup,
handleBaseCustomFieldGroupCreate,
updateBaseCustomFieldGroup,
handleBaseCustomFieldGroupUpdate,
deleteBaseCustomFieldGroup,
handleBaseCustomFieldGroupDelete,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createBoardMembership = (boardMembership) => ({
@@ -25,10 +30,13 @@ createBoardMembership.failure = (localId, error) => ({
const handleBoardMembershipCreate = (
boardMembership,
isProjectAvailable,
project,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -36,17 +44,25 @@ const handleBoardMembershipCreate = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
) => ({
type: ActionTypes.BOARD_MEMBERSHIP_CREATE_HANDLE,
payload: {
boardMembership,
isProjectAvailable,
project,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -54,18 +70,14 @@ const handleBoardMembershipCreate = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
},
});
handleBoardMembershipCreate.fetchProject = (id, currentUserId, currentBoardId) => ({
type: ActionTypes.BOARD_MEMBERSHIP_CREATE_HANDLE__PROJECT_FETCH,
payload: {
id,
currentUserId,
currentBoardId,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
},
});
@@ -99,17 +111,19 @@ const handleBoardMembershipUpdate = (boardMembership) => ({
},
});
const deleteBoardMembership = (id) => ({
const deleteBoardMembership = (id, isCurrentUser) => ({
type: ActionTypes.BOARD_MEMBERSHIP_DELETE,
payload: {
id,
isCurrentUser,
},
});
deleteBoardMembership.success = (boardMembership) => ({
deleteBoardMembership.success = (boardMembership, isCurrentUser) => ({
type: ActionTypes.BOARD_MEMBERSHIP_DELETE__SUCCESS,
payload: {
boardMembership,
isCurrentUser,
},
});
@@ -121,10 +135,11 @@ deleteBoardMembership.failure = (id, error) => ({
},
});
const handleBoardMembershipDelete = (boardMembership) => ({
const handleBoardMembershipDelete = (boardMembership, isCurrentUser) => ({
type: ActionTypes.BOARD_MEMBERSHIP_DELETE_HANDLE,
payload: {
boardMembership,
isCurrentUser,
},
});

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createBoard = (board) => ({
@@ -24,10 +29,11 @@ createBoard.failure = (localId, error) => ({
},
});
const handleBoardCreate = (board) => ({
const handleBoardCreate = (board, boardMemberships) => ({
type: ActionTypes.BOARD_CREATE_HANDLE,
payload: {
board,
boardMemberships,
},
});
@@ -48,8 +54,12 @@ fetchBoard.success = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.BOARD_FETCH__SUCCESS,
payload: {
@@ -62,8 +72,12 @@ fetchBoard.success = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
@@ -105,6 +119,23 @@ const handleBoardUpdate = (board) => ({
},
});
const updateBoardContext = (id, value) => ({
type: ActionTypes.BOARD_CONTEXT_UPDATE,
payload: {
id,
value,
},
});
const searchInBoard = (id, value, currentListId) => ({
type: ActionTypes.IN_BOARD_SEARCH,
payload: {
id,
value,
currentListId,
},
});
const deleteBoard = (id) => ({
type: ActionTypes.BOARD_DELETE,
payload: {
@@ -140,6 +171,8 @@ export default {
fetchBoard,
updateBoard,
handleBoardUpdate,
updateBoardContext,
searchInBoard,
deleteBoard,
handleBoardDelete,
};

17
client/src/actions/bootstrap.js vendored Normal file
View File

@@ -0,0 +1,17 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const handleBootstrapUpdate = (bootstrap) => ({
type: ActionTypes.BOOTSTRAP_UPDATE_HANDLE,
payload: {
bootstrap,
},
});
export default {
handleBootstrapUpdate,
};

View File

@@ -1,9 +1,67 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createCard = (card) => ({
const fetchCards = (listId) => ({
type: ActionTypes.CARDS_FETCH,
payload: {
listId,
},
});
fetchCards.success = (
listId,
cards,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARDS_FETCH__SUCCESS,
payload: {
listId,
cards,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
fetchCards.failure = (listId, error) => ({
type: ActionTypes.CARDS_FETCH__FAILURE,
payload: {
listId,
error,
},
});
const handleCardsUpdate = (cards, activities) => ({
type: ActionTypes.CARDS_UPDATE_HANDLE,
payload: {
cards,
activities,
},
});
const createCard = (card, autoOpen) => ({
type: ActionTypes.CARD_CREATE,
payload: {
card,
autoOpen,
},
});
@@ -23,14 +81,30 @@ createCard.failure = (localId, error) => ({
},
});
const handleCardCreate = (card, cardMemberships, cardLabels, tasks, attachments) => ({
const handleCardCreate = (
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARD_CREATE_HANDLE,
payload: {
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
@@ -57,46 +131,164 @@ updateCard.failure = (id, error) => ({
},
});
const handleCardUpdate = (card, isFetched, cardMemberships, cardLabels, tasks, attachments) => ({
const handleCardUpdate = (
card,
isFetched,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARD_UPDATE_HANDLE,
payload: {
card,
isFetched,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
const duplicateCard = (id, card, taskIds) => ({
const transferCard = (id, data) => ({
type: ActionTypes.CARD_TRANSFER,
payload: {
id,
data,
},
});
transferCard.success = (
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARD_TRANSFER__SUCCESS,
payload: {
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
transferCard.failure = (
id,
error,
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARD_TRANSFER__FAILURE,
payload: {
id,
error,
card,
users,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
const duplicateCard = (id, localId, data) => ({
type: ActionTypes.CARD_DUPLICATE,
payload: {
id,
card,
taskIds,
localId,
data,
},
});
duplicateCard.success = (localId, card, cardMemberships, cardLabels, tasks) => ({
duplicateCard.success = (
localId,
card,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.CARD_DUPLICATE__SUCCESS,
payload: {
localId,
card,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
duplicateCard.failure = (id, error) => ({
duplicateCard.failure = (localId, error) => ({
type: ActionTypes.CARD_DUPLICATE__FAILURE,
payload: {
id,
localId,
error,
},
});
const copyCard = (id) => ({
type: ActionTypes.CARD_COPY,
payload: {
id,
},
});
const cutCard = (id) => ({
type: ActionTypes.CARD_CUT,
payload: {
id,
},
});
const pasteCard = () => ({
type: ActionTypes.CARD_PASTE,
payload: {},
});
const deleteCard = (id) => ({
type: ActionTypes.CARD_DELETE,
payload: {
@@ -126,21 +318,18 @@ const handleCardDelete = (card) => ({
},
});
const filterText = (boardId, text) => ({
type: ActionTypes.TEXT_FILTER_IN_CURRENT_BOARD,
payload: {
boardId,
text,
},
});
export default {
fetchCards,
handleCardsUpdate,
createCard,
handleCardCreate,
updateCard,
handleCardUpdate,
transferCard,
duplicateCard,
copyCard,
cutCard,
pasteCard,
deleteCard,
handleCardDelete,
filterText,
};

View File

@@ -1,75 +0,0 @@
import ActionTypes from '../constants/ActionTypes';
const createCommentActivity = (activity) => ({
type: ActionTypes.COMMENT_ACTIVITY_CREATE,
payload: {
activity,
},
});
createCommentActivity.success = (localId, activity) => ({
type: ActionTypes.COMMENT_ACTIVITY_CREATE__SUCCESS,
payload: {
localId,
activity,
},
});
createCommentActivity.failure = (localId, error) => ({
type: ActionTypes.COMMENT_ACTIVITY_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const updateCommentActivity = (id, data) => ({
type: ActionTypes.COMMENT_ACTIVITY_UPDATE,
payload: {
id,
data,
},
});
updateCommentActivity.success = (activity) => ({
type: ActionTypes.COMMENT_ACTIVITY_UPDATE__SUCCESS,
payload: {
activity,
},
});
updateCommentActivity.failure = (id, error) => ({
type: ActionTypes.COMMENT_ACTIVITY_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const deleteCommentActivity = (id) => ({
type: ActionTypes.COMMENT_ACTIVITY_DELETE,
payload: {
id,
},
});
deleteCommentActivity.success = (activity) => ({
type: ActionTypes.COMMENT_ACTIVITY_DELETE__SUCCESS,
payload: {
activity,
},
});
deleteCommentActivity.failure = (id, error) => ({
type: ActionTypes.COMMENT_ACTIVITY_DELETE__FAILURE,
payload: {
id,
error,
},
});
export default {
createCommentActivity,
updateCommentActivity,
deleteCommentActivity,
};

View File

@@ -0,0 +1,130 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const fetchComments = (cardId) => ({
type: ActionTypes.COMMENTS_FETCH,
payload: {
cardId,
},
});
fetchComments.success = (cardId, comments, users) => ({
type: ActionTypes.COMMENTS_FETCH__SUCCESS,
payload: {
cardId,
comments,
users,
},
});
fetchComments.failure = (cardId, error) => ({
type: ActionTypes.COMMENTS_FETCH__FAILURE,
payload: {
cardId,
error,
},
});
const createComment = (comment) => ({
type: ActionTypes.COMMENT_CREATE,
payload: {
comment,
},
});
createComment.success = (localId, comment) => ({
type: ActionTypes.COMMENT_CREATE__SUCCESS,
payload: {
localId,
comment,
},
});
createComment.failure = (localId, error) => ({
type: ActionTypes.COMMENT_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleCommentCreate = (comment, users) => ({
type: ActionTypes.COMMENT_CREATE_HANDLE,
payload: {
comment,
users,
},
});
const updateComment = (id, data) => ({
type: ActionTypes.COMMENT_UPDATE,
payload: {
id,
data,
},
});
updateComment.success = (comment) => ({
type: ActionTypes.COMMENT_UPDATE__SUCCESS,
payload: {
comment,
},
});
updateComment.failure = (id, error) => ({
type: ActionTypes.COMMENT_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleCommentUpdate = (comment) => ({
type: ActionTypes.COMMENT_UPDATE_HANDLE,
payload: {
comment,
},
});
const deleteComment = (id) => ({
type: ActionTypes.COMMENT_DELETE,
payload: {
id,
},
});
deleteComment.success = (comment) => ({
type: ActionTypes.COMMENT_DELETE__SUCCESS,
payload: {
comment,
},
});
deleteComment.failure = (id, error) => ({
type: ActionTypes.COMMENT_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleCommentDelete = (comment) => ({
type: ActionTypes.COMMENT_DELETE_HANDLE,
payload: {
comment,
},
});
export default {
fetchComments,
createComment,
handleCommentCreate,
updateComment,
handleCommentUpdate,
deleteComment,
handleCommentDelete,
};

View File

@@ -0,0 +1,59 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const updateConfig = (data) => ({
type: ActionTypes.CONFIG_UPDATE,
payload: {
data,
},
});
updateConfig.success = (config) => ({
type: ActionTypes.CONFIG_UPDATE__SUCCESS,
payload: {
config,
},
});
updateConfig.failure = (error) => ({
type: ActionTypes.CONFIG_UPDATE__FAILURE,
payload: {
error,
},
});
const handleConfigUpdate = (config) => ({
type: ActionTypes.CONFIG_UPDATE_HANDLE,
payload: {
config,
},
});
const testSmtpConfig = () => ({
type: ActionTypes.SMTP_CONFIG_TEST,
payload: {},
});
testSmtpConfig.success = (logs) => ({
type: ActionTypes.SMTP_CONFIG_TEST__SUCCESS,
payload: {
logs,
},
});
testSmtpConfig.failure = (error) => ({
type: ActionTypes.SMTP_CONFIG_TEST__FAILURE,
payload: {
error,
},
});
export default {
updateConfig,
handleConfigUpdate,
testSmtpConfig,
};

View File

@@ -1,11 +1,20 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const initializeCore = (
config,
user,
board,
webhooks,
users,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -13,18 +22,26 @@ const initializeCore = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
activities,
customFieldGroups,
customFields,
customFieldValues,
notifications,
notificationServices,
) => ({
type: ActionTypes.CORE_INITIALIZE,
payload: {
config,
user,
board,
webhooks,
users,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -32,34 +49,59 @@ const initializeCore = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
activities,
customFieldGroups,
customFields,
customFieldValues,
notifications,
notificationServices,
},
});
// TODO: with success?
initializeCore.fetchConfig = (config) => ({
type: ActionTypes.CORE_INITIALIZE__CONFIG_FETCH,
initializeCore.fetchBootstrap = (bootstrap) => ({
type: ActionTypes.CORE_INITIALIZE__BOOTSTRAP_FETCH,
payload: {
config,
bootstrap,
},
});
const logout = (invalidateAccessToken) => ({
const toggleFavorites = (isEnabled) => ({
type: ActionTypes.FAVORITES_TOGGLE,
payload: {
isEnabled,
},
});
const toggleEditMode = (isEnabled) => ({
type: ActionTypes.EDIT_MODE_TOGGLE,
payload: {
isEnabled,
},
});
const updateHomeView = (value) => ({
type: ActionTypes.HOME_VIEW_UPDATE,
payload: {
value,
},
});
const logout = () => ({
type: ActionTypes.LOGOUT,
payload: {
invalidateAccessToken,
},
payload: {},
});
logout.invalidateAccessToken = () => ({
type: ActionTypes.LOGOUT__ACCESS_TOKEN_INVALIDATE,
logout.revokeAccessToken = () => ({
type: ActionTypes.LOGOUT__ACCESS_TOKEN_REVOKE,
payload: {},
});
export default {
initializeCore,
toggleFavorites,
toggleEditMode,
updateHomeView,
logout,
};

View File

@@ -0,0 +1,104 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createCustomFieldGroup = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_CREATE,
payload: {
customFieldGroup,
},
});
createCustomFieldGroup.success = (localId, customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_CREATE__SUCCESS,
payload: {
localId,
customFieldGroup,
},
});
createCustomFieldGroup.failure = (localId, error) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleCustomFieldGroupCreate = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_CREATE_HANDLE,
payload: {
customFieldGroup,
},
});
const updateCustomFieldGroup = (id, data) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_UPDATE,
payload: {
id,
data,
},
});
updateCustomFieldGroup.success = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_UPDATE__SUCCESS,
payload: {
customFieldGroup,
},
});
updateCustomFieldGroup.failure = (id, error) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleCustomFieldGroupUpdate = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_UPDATE_HANDLE,
payload: {
customFieldGroup,
},
});
const deleteCustomFieldGroup = (id) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_DELETE,
payload: {
id,
},
});
deleteCustomFieldGroup.success = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_DELETE__SUCCESS,
payload: {
customFieldGroup,
},
});
deleteCustomFieldGroup.failure = (id, error) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleCustomFieldGroupDelete = (customFieldGroup) => ({
type: ActionTypes.CUSTOM_FIELD_GROUP_DELETE_HANDLE,
payload: {
customFieldGroup,
},
});
export default {
createCustomFieldGroup,
handleCustomFieldGroupCreate,
updateCustomFieldGroup,
handleCustomFieldGroupUpdate,
deleteCustomFieldGroup,
handleCustomFieldGroupDelete,
};

View File

@@ -0,0 +1,72 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const updateCustomFieldValue = (customFieldValue) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_UPDATE,
payload: {
customFieldValue,
},
});
updateCustomFieldValue.success = (localId, customFieldValue) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_UPDATE__SUCCESS,
payload: {
localId,
customFieldValue,
},
});
updateCustomFieldValue.failure = (localId, error) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_UPDATE__FAILURE,
payload: {
localId,
error,
},
});
const handleCustomFieldValueUpdate = (customFieldValue) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_UPDATE_HANDLE,
payload: {
customFieldValue,
},
});
const deleteCustomFieldValue = (id) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_DELETE,
payload: {
id,
},
});
deleteCustomFieldValue.success = (customFieldValue) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_DELETE__SUCCESS,
payload: {
customFieldValue,
},
});
deleteCustomFieldValue.failure = (id, error) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleCustomFieldValueDelete = (customFieldValue) => ({
type: ActionTypes.CUSTOM_FIELD_VALUE_DELETE_HANDLE,
payload: {
customFieldValue,
},
});
export default {
updateCustomFieldValue,
handleCustomFieldValueUpdate,
deleteCustomFieldValue,
handleCustomFieldValueDelete,
};

View File

@@ -0,0 +1,104 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createCustomField = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_CREATE,
payload: {
customField,
},
});
createCustomField.success = (localId, customField) => ({
type: ActionTypes.CUSTOM_FIELD_CREATE__SUCCESS,
payload: {
localId,
customField,
},
});
createCustomField.failure = (localId, error) => ({
type: ActionTypes.CUSTOM_FIELD_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleCustomFieldCreate = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_CREATE_HANDLE,
payload: {
customField,
},
});
const updateCustomField = (id, data) => ({
type: ActionTypes.CUSTOM_FIELD_UPDATE,
payload: {
id,
data,
},
});
updateCustomField.success = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_UPDATE__SUCCESS,
payload: {
customField,
},
});
updateCustomField.failure = (id, error) => ({
type: ActionTypes.CUSTOM_FIELD_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleCustomFieldUpdate = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_UPDATE_HANDLE,
payload: {
customField,
},
});
const deleteCustomField = (id) => ({
type: ActionTypes.CUSTOM_FIELD_DELETE,
payload: {
id,
},
});
deleteCustomField.success = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_DELETE__SUCCESS,
payload: {
customField,
},
});
deleteCustomField.failure = (id, error) => ({
type: ActionTypes.CUSTOM_FIELD_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleCustomFieldDelete = (customField) => ({
type: ActionTypes.CUSTOM_FIELD_DELETE_HANDLE,
payload: {
customField,
},
});
export default {
createCustomField,
handleCustomFieldCreate,
updateCustomField,
handleCustomFieldUpdate,
deleteCustomField,
handleCustomFieldDelete,
};

View File

@@ -1,39 +1,64 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import router from './router';
import socket from './socket';
import bootstrap from './bootstrap';
import login from './login';
import core from './core';
import modals from './modals';
import config from './config';
import webhooks from './webhooks';
import users from './users';
import projects from './projects';
import projectManagers from './project-managers';
import backgroundImages from './background-images';
import baseCustomFieldGroups from './base-custom-field-groups';
import boards from './boards';
import boardMemberships from './board-memberships';
import labels from './labels';
import lists from './lists';
import cards from './cards';
import taskLists from './task-lists';
import tasks from './tasks';
import attachments from './attachments';
import customFieldGroups from './custom-field-groups';
import customFields from './custom-fields';
import customFieldValues from './custom-field-values';
import comments from './comments';
import activities from './activities';
import commentActivities from './comment-activities';
import notifications from './notifications';
import notificationServices from './notification-services';
export default {
...router,
...socket,
...bootstrap,
...login,
...core,
...modals,
...config,
...webhooks,
...users,
...projects,
...projectManagers,
...backgroundImages,
...baseCustomFieldGroups,
...boards,
...boardMemberships,
...labels,
...lists,
...cards,
...taskLists,
...tasks,
...attachments,
...customFieldGroups,
...customFields,
...customFieldValues,
...comments,
...activities,
...commentActivities,
...notifications,
...notificationServices,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createLabel = (label) => ({
@@ -23,6 +28,32 @@ createLabel.failure = (localId, error) => ({
},
});
const createLabelFromCard = (cardId, label) => ({
type: ActionTypes.LABEL_FROM_CARD_CREATE,
payload: {
cardId,
label,
},
});
createLabelFromCard.success = (localId, label, cardLabel) => ({
type: ActionTypes.LABEL_FROM_CARD_CREATE__SUCCESS,
payload: {
localId,
label,
cardLabel,
},
});
createLabelFromCard.failure = (cardId, localId, error) => ({
type: ActionTypes.LABEL_FROM_CARD_CREATE__FAILURE,
payload: {
cardId,
localId,
error,
},
});
const handleLabelCreate = (label) => ({
type: ActionTypes.LABEL_CREATE_HANDLE,
payload: {
@@ -151,24 +182,27 @@ const handleLabelFromCardRemove = (cardLabel) => ({
},
});
const addLabelToBoardFilter = (id, boardId) => ({
const addLabelToBoardFilter = (id, boardId, currentListId) => ({
type: ActionTypes.LABEL_TO_BOARD_FILTER_ADD,
payload: {
id,
boardId,
currentListId,
},
});
const removeLabelFromBoardFilter = (id, boardId) => ({
const removeLabelFromBoardFilter = (id, boardId, currentListId) => ({
type: ActionTypes.LABEL_FROM_BOARD_FILTER_REMOVE,
payload: {
id,
boardId,
currentListId,
},
});
export default {
createLabel,
createLabelFromCard,
handleLabelCreate,
updateLabel,
handleLabelUpdate,

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createList = (list) => ({
@@ -53,10 +58,34 @@ updateList.failure = (id, error) => ({
},
});
const handleListUpdate = (list) => ({
const handleListUpdate = (
list,
isFetched,
users,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
) => ({
type: ActionTypes.LIST_UPDATE_HANDLE,
payload: {
list,
isFetched,
users,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
},
});
@@ -84,25 +113,75 @@ sortList.failure = (id, error) => ({
},
});
const handleListSort = (list, cards) => ({
type: ActionTypes.LIST_SORT_HANDLE,
const moveListCards = (id, nextId, cardIds) => ({
type: ActionTypes.LIST_CARDS_MOVE,
payload: {
list,
cards,
id,
nextId,
cardIds,
},
});
const deleteList = (id) => ({
type: ActionTypes.LIST_DELETE,
moveListCards.success = (list, cards, activities) => ({
type: ActionTypes.LIST_CARDS_MOVE__SUCCESS,
payload: {
list,
cards,
activities,
},
});
moveListCards.failure = (id, error) => ({
type: ActionTypes.LIST_CARDS_MOVE__FAILURE,
payload: {
id,
error,
},
});
const clearList = (id) => ({
type: ActionTypes.LIST_CLEAR,
payload: {
id,
},
});
deleteList.success = (list) => ({
clearList.success = (list) => ({
type: ActionTypes.LIST_CLEAR__SUCCESS,
payload: {
list,
},
});
clearList.failure = (id, error) => ({
type: ActionTypes.LIST_CLEAR__FAILURE,
payload: {
id,
error,
},
});
const handleListClear = (list) => ({
type: ActionTypes.LIST_CLEAR_HANDLE,
payload: {
list,
},
});
const deleteList = (id, trashId, cardIds) => ({
type: ActionTypes.LIST_DELETE,
payload: {
id,
trashId,
cardIds,
},
});
deleteList.success = (list, cards) => ({
type: ActionTypes.LIST_DELETE__SUCCESS,
payload: {
list,
cards,
},
});
@@ -114,10 +193,11 @@ deleteList.failure = (id, error) => ({
},
});
const handleListDelete = (list) => ({
const handleListDelete = (list, cards) => ({
type: ActionTypes.LIST_DELETE_HANDLE,
payload: {
list,
cards,
},
});
@@ -127,7 +207,9 @@ export default {
updateList,
handleListUpdate,
sortList,
handleListSort,
moveListCards,
clearList,
handleListClear,
deleteList,
handleListDelete,
};

View File

@@ -1,9 +1,14 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const initializeLogin = (config) => ({
const initializeLogin = (bootstrap) => ({
type: ActionTypes.LOGIN_INITIALIZE,
payload: {
config,
bootstrap,
},
});
@@ -21,29 +26,38 @@ authenticate.success = (accessToken) => ({
},
});
authenticate.failure = (error) => ({
authenticate.failure = (error, terms) => ({
type: ActionTypes.AUTHENTICATE__FAILURE,
payload: {
error,
terms,
},
});
const authenticateUsingOidc = () => ({
type: ActionTypes.USING_OIDC_AUTHENTICATE,
const authenticateWithOidc = () => ({
type: ActionTypes.WITH_OIDC_AUTHENTICATE,
payload: {},
});
authenticateUsingOidc.success = (accessToken) => ({
type: ActionTypes.USING_OIDC_AUTHENTICATE__SUCCESS,
authenticateWithOidc.success = (accessToken) => ({
type: ActionTypes.WITH_OIDC_AUTHENTICATE__SUCCESS,
payload: {
accessToken,
},
});
authenticateUsingOidc.failure = (error) => ({
type: ActionTypes.USING_OIDC_AUTHENTICATE__FAILURE,
authenticateWithOidc.failure = (error, terms) => ({
type: ActionTypes.WITH_OIDC_AUTHENTICATE__FAILURE,
payload: {
error,
terms,
},
});
authenticateWithOidc.debug = (logs) => ({
type: ActionTypes.WITH_OIDC_AUTHENTICATE__DEBUG,
payload: {
logs,
},
});
@@ -52,9 +66,71 @@ const clearAuthenticateError = () => ({
payload: {},
});
const acceptTerms = (signature) => ({
type: ActionTypes.TERMS_ACCEPT,
payload: {
signature,
},
});
acceptTerms.success = (accessToken) => ({
type: ActionTypes.TERMS_ACCEPT__SUCCESS,
payload: {
accessToken,
},
});
acceptTerms.failure = (error) => ({
type: ActionTypes.TERMS_ACCEPT__FAILURE,
payload: {
error,
},
});
const cancelTerms = () => ({
type: ActionTypes.TERMS_CANCEL,
payload: {},
});
cancelTerms.success = () => ({
type: ActionTypes.TERMS_CANCEL__SUCCESS,
payload: {},
});
cancelTerms.failure = (error) => ({
type: ActionTypes.TERMS_CANCEL__FAILURE,
payload: {
error,
},
});
const updateTermsLanguage = (value) => ({
type: ActionTypes.TERMS_LANGUAGE_UPDATE,
payload: {
value,
},
});
updateTermsLanguage.success = (terms) => ({
type: ActionTypes.TERMS_LANGUAGE_UPDATE__SUCCESS,
payload: {
terms,
},
});
updateTermsLanguage.failure = (error) => ({
type: ActionTypes.TERMS_LANGUAGE_UPDATE__FAILURE,
payload: {
error,
},
});
export default {
initializeLogin,
authenticate,
authenticateUsingOidc,
authenticateWithOidc,
clearAuthenticateError,
acceptTerms,
cancelTerms,
updateTermsLanguage,
};

View File

@@ -1,9 +1,15 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const openModal = (type) => ({
const openModal = (type, params = {}) => ({
type: ActionTypes.MODAL_OPEN,
payload: {
type,
params,
},
});

View File

@@ -0,0 +1,127 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createNotificationService = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_CREATE,
payload: {
notificationService,
},
});
createNotificationService.success = (localId, notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_CREATE__SUCCESS,
payload: {
localId,
notificationService,
},
});
createNotificationService.failure = (localId, error) => ({
type: ActionTypes.NOTIFICATION_SERVICE_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleNotificationServiceCreate = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_CREATE_HANDLE,
payload: {
notificationService,
},
});
const updateNotificationService = (id, data) => ({
type: ActionTypes.NOTIFICATION_SERVICE_UPDATE,
payload: {
id,
data,
},
});
updateNotificationService.success = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_UPDATE__SUCCESS,
payload: {
notificationService,
},
});
updateNotificationService.failure = (id, error) => ({
type: ActionTypes.NOTIFICATION_SERVICE_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleNotificationServiceUpdate = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_UPDATE_HANDLE,
payload: {
notificationService,
},
});
const testNotificationService = (id) => ({
type: ActionTypes.NOTIFICATION_SERVICE_TEST,
payload: {
id,
},
});
testNotificationService.success = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_TEST__SUCCESS,
payload: {
notificationService,
},
});
testNotificationService.failure = (id, error) => ({
type: ActionTypes.NOTIFICATION_SERVICE_TEST__FAILURE,
payload: {
id,
error,
},
});
const deleteNotificationService = (id) => ({
type: ActionTypes.NOTIFICATION_SERVICE_DELETE,
payload: {
id,
},
});
deleteNotificationService.success = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_DELETE__SUCCESS,
payload: {
notificationService,
},
});
deleteNotificationService.failure = (id, error) => ({
type: ActionTypes.NOTIFICATION_SERVICE_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleNotificationServiceDelete = (notificationService) => ({
type: ActionTypes.NOTIFICATION_SERVICE_DELETE_HANDLE,
payload: {
notificationService,
},
});
export default {
createNotificationService,
handleNotificationServiceCreate,
updateNotificationService,
handleNotificationServiceUpdate,
testNotificationService,
deleteNotificationService,
handleNotificationServiceDelete,
};

View File

@@ -1,12 +1,34 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const handleNotificationCreate = (notification, users, cards, activities) => ({
const deleteAllNotifications = () => ({
type: ActionTypes.ALL_NOTIFICATIONS_DELETE,
payload: {},
});
deleteAllNotifications.success = (notifications) => ({
type: ActionTypes.ALL_NOTIFICATIONS_DELETE__SUCCESS,
payload: {
notifications,
},
});
deleteAllNotifications.failure = (error) => ({
type: ActionTypes.ALL_NOTIFICATIONS_DELETE__FAILURE,
payload: {
error,
},
});
const handleNotificationCreate = (notification, users) => ({
type: ActionTypes.NOTIFICATION_CREATE_HANDLE,
payload: {
notification,
users,
cards,
activities,
},
});
@@ -40,6 +62,7 @@ const handleNotificationDelete = (notification) => ({
});
export default {
deleteAllNotifications,
handleNotificationCreate,
deleteNotification,
handleNotificationDelete,

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createProjectManager = (projectManager) => ({
@@ -25,10 +30,15 @@ createProjectManager.failure = (localId, error) => ({
const handleProjectManagerCreate = (
projectManager,
boardIds,
isCurrentUser,
isProjectAvailable,
project,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -36,17 +46,27 @@ const handleProjectManagerCreate = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
) => ({
type: ActionTypes.PROJECT_MANAGER_CREATE_HANDLE,
payload: {
projectManager,
boardIds,
isCurrentUser,
isProjectAvailable,
project,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -54,27 +74,21 @@ const handleProjectManagerCreate = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
},
});
handleProjectManagerCreate.fetchProject = (id, currentUserId, currentBoardId) => ({
type: ActionTypes.PROJECT_MANAGER_CREATE_HANDLE__PROJECT_FETCH,
payload: {
id,
currentUserId,
currentBoardId,
},
});
const deleteProjectManager = (id, isCurrentUser, isCurrentProject) => ({
const deleteProjectManager = (id) => ({
type: ActionTypes.PROJECT_MANAGER_DELETE,
payload: {
id,
isCurrentUser,
isCurrentProject,
},
});
@@ -93,12 +107,10 @@ deleteProjectManager.failure = (id, error) => ({
},
});
const handleProjectManagerDelete = (projectManager, isCurrentUser, isCurrentProject) => ({
const handleProjectManagerDelete = (projectManager) => ({
type: ActionTypes.PROJECT_MANAGER_DELETE_HANDLE,
payload: {
projectManager,
isCurrentUser,
isCurrentProject,
},
});

View File

@@ -1,5 +1,31 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const searchProjects = (value) => ({
type: ActionTypes.PROJECTS_SEARCH,
payload: {
value,
},
});
const updateProjectsOrder = (value) => ({
type: ActionTypes.PROJECTS_ORDER_UPDATE,
payload: {
value,
},
});
const toggleHiddenProjects = (isVisible) => ({
type: ActionTypes.HIDDEN_PROJECTS_TOGGLE,
payload: {
isVisible,
},
});
const createProject = (data) => ({
type: ActionTypes.PROJECT_CREATE,
payload: {
@@ -22,14 +48,28 @@ createProject.failure = (error) => ({
},
});
const handleProjectCreate = (project, users, projectManagers, boards, boardMemberships) => ({
const handleProjectCreate = (
project,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
customFields,
notificationServices,
) => ({
type: ActionTypes.PROJECT_CREATE_HANDLE,
payload: {
project,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
customFields,
notificationServices,
},
});
@@ -56,32 +96,56 @@ updateProject.failure = (id, error) => ({
},
});
const handleProjectUpdate = (project) => ({
const handleProjectUpdate = (
project,
boardIds,
isAvailable,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
lists,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
) => ({
type: ActionTypes.PROJECT_UPDATE_HANDLE,
payload: {
project,
},
});
const updateProjectBackgroundImage = (id) => ({
type: ActionTypes.PROJECT_BACKGROUND_IMAGE_UPDATE,
payload: {
id,
},
});
updateProjectBackgroundImage.success = (project) => ({
type: ActionTypes.PROJECT_BACKGROUND_IMAGE_UPDATE__SUCCESS,
payload: {
project,
},
});
updateProjectBackgroundImage.failure = (id, error) => ({
type: ActionTypes.PROJECT_BACKGROUND_IMAGE_UPDATE__FAILURE,
payload: {
id,
error,
boardIds,
isAvailable,
board,
users,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
lists,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
},
});
@@ -115,11 +179,13 @@ const handleProjectDelete = (project) => ({
});
export default {
searchProjects,
updateProjectsOrder,
toggleHiddenProjects,
createProject,
handleProjectCreate,
updateProject,
handleProjectUpdate,
updateProjectBackgroundImage,
deleteProject,
handleProjectDelete,
};

View File

@@ -1,6 +1,15 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const handleLocationChange = (
pathname,
currentBoardId,
currentCardId,
isEditModeEnabled,
board,
users,
projects,
@@ -10,12 +19,20 @@ const handleLocationChange = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
) => ({
type: ActionTypes.LOCATION_CHANGE_HANDLE,
payload: {
pathname,
currentBoardId,
currentCardId,
isEditModeEnabled,
board,
users,
projects,
@@ -25,12 +42,21 @@ const handleLocationChange = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
deletedNotifications,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
},
});
handleLocationChange.fetchContent = () => ({
type: ActionTypes.LOCATION_CHANGE_HANDLE__CONTENT_FETCH,
payload: {},
});
handleLocationChange.fetchBoard = (id) => ({
type: ActionTypes.LOCATION_CHANGE_HANDLE__BOARD_FETCH,
payload: {

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const handleSocketDisconnect = () => ({
@@ -6,11 +11,16 @@ const handleSocketDisconnect = () => ({
});
const handleSocketReconnect = (
bootstrap,
config,
user,
board,
webhooks,
users,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -18,18 +28,27 @@ const handleSocketReconnect = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
activities,
customFieldGroups,
customFields,
customFieldValues,
notifications,
notificationServices,
) => ({
type: ActionTypes.SOCKET_RECONNECT_HANDLE,
payload: {
bootstrap,
config,
user,
board,
webhooks,
users,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
@@ -37,10 +56,14 @@ const handleSocketReconnect = (
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
activities,
customFieldGroups,
customFields,
customFieldValues,
notifications,
notificationServices,
},
});

View File

@@ -0,0 +1,104 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createTaskList = (taskList) => ({
type: ActionTypes.TASK_LIST_CREATE,
payload: {
taskList,
},
});
createTaskList.success = (localId, taskList) => ({
type: ActionTypes.TASK_LIST_CREATE__SUCCESS,
payload: {
localId,
taskList,
},
});
createTaskList.failure = (localId, error) => ({
type: ActionTypes.TASK_LIST_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleTaskListCreate = (taskList) => ({
type: ActionTypes.TASK_LIST_CREATE_HANDLE,
payload: {
taskList,
},
});
const updateTaskList = (id, data) => ({
type: ActionTypes.TASK_LIST_UPDATE,
payload: {
id,
data,
},
});
updateTaskList.success = (taskList) => ({
type: ActionTypes.TASK_LIST_UPDATE__SUCCESS,
payload: {
taskList,
},
});
updateTaskList.failure = (id, error) => ({
type: ActionTypes.TASK_LIST_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleTaskListUpdate = (taskList) => ({
type: ActionTypes.TASK_LIST_UPDATE_HANDLE,
payload: {
taskList,
},
});
const deleteTaskList = (id) => ({
type: ActionTypes.TASK_LIST_DELETE,
payload: {
id,
},
});
deleteTaskList.success = (taskList) => ({
type: ActionTypes.TASK_LIST_DELETE__SUCCESS,
payload: {
taskList,
},
});
deleteTaskList.failure = (id, error) => ({
type: ActionTypes.TASK_LIST_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleTaskListDelete = (taskList) => ({
type: ActionTypes.TASK_LIST_DELETE_HANDLE,
payload: {
taskList,
},
});
export default {
createTaskList,
handleTaskListCreate,
updateTaskList,
handleTaskListUpdate,
deleteTaskList,
handleTaskListDelete,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createTask = (task) => ({

View File

@@ -1,5 +1,17 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const handleUsersReset = (users) => ({
type: ActionTypes.USERS_RESET_HANDLE,
payload: {
users,
},
});
const createUser = (data) => ({
type: ActionTypes.USER_CREATE,
payload: {
@@ -56,12 +68,64 @@ updateUser.failure = (id, error) => ({
},
});
const handleUserUpdate = (user, users, isCurrent) => ({
const handleUserUpdate = (
user,
projectIds,
boardIds,
bootstrap,
config,
board,
webhooks,
users,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
lists,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
) => ({
type: ActionTypes.USER_UPDATE_HANDLE,
payload: {
user,
projectIds,
boardIds,
bootstrap,
config,
board,
webhooks,
users,
isCurrent,
projects,
projectManagers,
backgroundImages,
baseCustomFieldGroups,
boards,
boardMemberships,
labels,
lists,
cards,
cardMemberships,
cardLabels,
taskLists,
tasks,
attachments,
customFieldGroups,
customFields,
customFieldValues,
notificationsToDelete,
notificationServices,
},
});
@@ -178,6 +242,58 @@ updateUserAvatar.failure = (id, error) => ({
},
});
const createUserApiKey = (id) => ({
type: ActionTypes.USER_API_KEY_CREATE,
payload: {
id,
},
});
createUserApiKey.success = (user, apiKey) => ({
type: ActionTypes.USER_API_KEY_CREATE__SUCCESS,
payload: {
user,
apiKey,
},
});
createUserApiKey.failure = (id, error) => ({
type: ActionTypes.USER_API_KEY_CREATE__FAILURE,
payload: {
id,
error,
},
});
const deleteUserApiKey = (id) => ({
type: ActionTypes.USER_API_KEY_DELETE,
payload: {
id,
},
});
deleteUserApiKey.success = (user) => ({
type: ActionTypes.USER_API_KEY_DELETE__SUCCESS,
payload: {
user,
},
});
deleteUserApiKey.failure = (id, error) => ({
type: ActionTypes.USER_API_KEY_DELETE__FAILURE,
payload: {
id,
error,
},
});
const clearUserApiKeyValue = (id) => ({
type: ActionTypes.USER_API_KEY_VALUE_CLEAR,
payload: {
id,
},
});
const deleteUser = (id) => ({
type: ActionTypes.USER_DELETE,
payload: {
@@ -270,23 +386,27 @@ const handleUserFromCardRemove = (cardMembership) => ({
},
});
const addUserToBoardFilter = (id, boardId) => ({
const addUserToBoardFilter = (id, boardId, replace, currentListId) => ({
type: ActionTypes.USER_TO_BOARD_FILTER_ADD,
payload: {
id,
boardId,
replace,
currentListId,
},
});
const removeUserFromBoardFilter = (id, boardId) => ({
const removeUserFromBoardFilter = (id, boardId, currentListId) => ({
type: ActionTypes.USER_FROM_BOARD_FILTER_REMOVE,
payload: {
id,
boardId,
currentListId,
},
});
export default {
handleUsersReset,
createUser,
handleUserCreate,
clearUserCreateError,
@@ -299,6 +419,9 @@ export default {
updateUserUsername,
clearUserUsernameUpdateError,
updateUserAvatar,
createUserApiKey,
deleteUserApiKey,
clearUserApiKeyValue,
deleteUser,
handleUserDelete,
addUserToCard,

View File

@@ -0,0 +1,104 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import ActionTypes from '../constants/ActionTypes';
const createWebhook = (webhook) => ({
type: ActionTypes.WEBHOOK_CREATE,
payload: {
webhook,
},
});
createWebhook.success = (localId, webhook) => ({
type: ActionTypes.WEBHOOK_CREATE__SUCCESS,
payload: {
localId,
webhook,
},
});
createWebhook.failure = (localId, error) => ({
type: ActionTypes.WEBHOOK_CREATE__FAILURE,
payload: {
localId,
error,
},
});
const handleWebhookCreate = (webhook) => ({
type: ActionTypes.WEBHOOK_CREATE_HANDLE,
payload: {
webhook,
},
});
const updateWebhook = (id, data) => ({
type: ActionTypes.WEBHOOK_UPDATE,
payload: {
id,
data,
},
});
updateWebhook.success = (webhook) => ({
type: ActionTypes.WEBHOOK_UPDATE__SUCCESS,
payload: {
webhook,
},
});
updateWebhook.failure = (id, error) => ({
type: ActionTypes.WEBHOOK_UPDATE__FAILURE,
payload: {
id,
error,
},
});
const handleWebhookUpdate = (webhook) => ({
type: ActionTypes.WEBHOOK_UPDATE_HANDLE,
payload: {
webhook,
},
});
const deleteWebhook = (id) => ({
type: ActionTypes.WEBHOOK_DELETE,
payload: {
id,
},
});
deleteWebhook.success = (webhook) => ({
type: ActionTypes.WEBHOOK_DELETE__SUCCESS,
payload: {
webhook,
},
});
deleteWebhook.failure = (id, error) => ({
type: ActionTypes.WEBHOOK_DELETE__FAILURE,
payload: {
id,
error,
},
});
const handleWebhookDelete = (webhook) => ({
type: ActionTypes.WEBHOOK_DELETE_HANDLE,
payload: {
webhook,
},
});
export default {
createWebhook,
handleWebhookCreate,
updateWebhook,
handleWebhookUpdate,
deleteWebhook,
handleWebhookDelete,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import http from './http';
/* Actions */
@@ -5,13 +10,24 @@ import http from './http';
const createAccessToken = (data, headers) =>
http.post('/access-tokens?withHttpOnlyToken=true', data, headers);
const exchangeForAccessTokenUsingOidc = (data, headers) =>
http.post('/access-tokens/exchange-using-oidc?withHttpOnlyToken=true', data, headers);
const exchangeForAccessTokenWithOidc = (data, headers) =>
http.post('/access-tokens/exchange-with-oidc?withHttpOnlyToken=true', data, headers);
const debugOidc = (data, headers) => http.post('/access-tokens/debug-oidc', data, headers);
// TODO: rename?
const acceptTerms = (data, headers) => http.post('/access-tokens/accept-terms', data, headers);
const revokePendingToken = (data, headers) =>
http.post('/access-tokens/revoke-pending-token', data, headers);
const deleteCurrentAccessToken = (headers) => http.delete('/access-tokens/me', undefined, headers);
export default {
createAccessToken,
exchangeForAccessTokenUsingOidc,
exchangeForAccessTokenWithOidc,
debugOidc,
acceptTerms,
revokePendingToken,
deleteCurrentAccessToken,
};

View File

@@ -1,23 +1,31 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
import { transformUser } from './users';
/* Transformers */
export const transformActivity = (activity) => ({
...activity,
createdAt: new Date(activity.createdAt),
...(activity.createdAt && {
createdAt: new Date(activity.createdAt),
}),
});
/* Actions */
const getActivities = (cardId, data, headers) =>
const getBoardActivities = (boardId, data, headers) =>
socket.get(`/boards/${boardId}/actions`, data, headers).then((body) => ({
...body,
items: body.items.map(transformActivity),
}));
const getCardActivities = (cardId, data, headers) =>
socket.get(`/cards/${cardId}/actions`, data, headers).then((body) => ({
...body,
items: body.items.map(transformActivity),
included: {
...body.included,
users: body.included.users.map(transformUser),
},
}));
/* Event handlers */
@@ -29,13 +37,8 @@ const makeHandleActivityCreate = (next) => (body) => {
});
};
const makeHandleActivityUpdate = makeHandleActivityCreate;
const makeHandleActivityDelete = makeHandleActivityCreate;
export default {
getActivities,
getBoardActivities,
getCardActivities,
makeHandleActivityCreate,
makeHandleActivityUpdate,
makeHandleActivityDelete,
};

View File

@@ -1,3 +1,8 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import http from './http';
import socket from './socket';
@@ -5,17 +10,34 @@ import socket from './socket';
export const transformAttachment = (attachment) => ({
...attachment,
createdAt: new Date(attachment.createdAt),
...(attachment.createdAt && {
createdAt: new Date(attachment.createdAt),
}),
});
/* Actions */
const createAttachment = (cardId, data, requestId, headers) =>
http.post(`/cards/${cardId}/attachments?requestId=${requestId}`, data, headers).then((body) => ({
const createAttachment = (cardId, data, headers) =>
socket.post(`/cards/${cardId}/attachments`, data, headers).then((body) => ({
...body,
item: transformAttachment(body.item),
}));
const createAttachmentWithFile = (cardId, { file, ...data }, requestId, headers) =>
http
.post(
`/cards/${cardId}/attachments?requestId=${requestId}`,
{
...data,
file,
},
headers,
)
.then((body) => ({
...body,
item: transformAttachment(body.item),
}));
const updateAttachment = (id, data, headers) =>
socket.patch(`/attachments/${id}`, data, headers).then((body) => ({
...body,
@@ -43,6 +65,7 @@ const makeHandleAttachmentDelete = makeHandleAttachmentCreate;
export default {
createAttachment,
createAttachmentWithFile,
updateAttachment,
deleteAttachment,
makeHandleAttachmentCreate,

View File

@@ -0,0 +1,27 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import http from './http';
import socket from './socket';
/* Actions */
const createBackgroundImage = (projectId, { file, ...data }, requestId, headers) =>
http.post(
`/projects/${projectId}/background-images?requestId=${requestId}`,
{
...data,
file,
},
headers,
);
const deleteBackgroundImage = (id, headers) =>
socket.delete(`/background-images/${id}`, undefined, headers);
export default {
createBackgroundImage,
deleteBackgroundImage,
};

View File

@@ -0,0 +1,23 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Actions */
const createBaseCustomFieldGroup = (projectId, data, headers) =>
socket.post(`/projects/${projectId}/base-custom-field-groups`, data, headers);
const updateBaseCustomFieldGroup = (id, data, headers) =>
socket.patch(`/base-custom-field-groups/${id}`, data, headers);
const deleteBaseCustomFieldGroup = (id, headers) =>
socket.delete(`/base-custom-field-groups/${id}`, undefined, headers);
export default {
createBaseCustomFieldGroup,
updateBaseCustomFieldGroup,
deleteBaseCustomFieldGroup,
};

View File

@@ -1,50 +1,23 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Transformers */
export const transformBoardMembership = (boardMembership) => ({
...boardMembership,
createdAt: new Date(boardMembership.createdAt),
});
/* Actions */
const createBoardMembership = (boardId, data, headers) =>
socket.post(`/boards/${boardId}/memberships`, data, headers).then((body) => ({
...body,
item: transformBoardMembership(body.item),
}));
socket.post(`/boards/${boardId}/board-memberships`, data, headers);
const updateBoardMembership = (id, data, headers) =>
socket.patch(`/board-memberships/${id}`, data, headers).then((body) => ({
...body,
item: transformBoardMembership(body.item),
}));
socket.patch(`/board-memberships/${id}`, data, headers);
const deleteBoardMembership = (id, headers) =>
socket.delete(`/board-memberships/${id}`, undefined, headers).then((body) => ({
...body,
item: transformBoardMembership(body.item),
}));
/* Event handlers */
const makeHandleBoardMembershipCreate = (next) => (body) => {
next({
...body,
item: transformBoardMembership(body.item),
});
};
const makeHandleBoardMembershipUpdate = makeHandleBoardMembershipCreate;
const makeHandleBoardMembershipDelete = makeHandleBoardMembershipCreate;
socket.delete(`/board-memberships/${id}`, undefined, headers);
export default {
createBoardMembership,
updateBoardMembership,
deleteBoardMembership,
makeHandleBoardMembershipCreate,
makeHandleBoardMembershipUpdate,
makeHandleBoardMembershipDelete,
};

View File

@@ -1,20 +1,17 @@
import socket from './socket';
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import http from './http';
import { transformUser } from './users';
import { transformBoardMembership } from './board-memberships';
import socket from './socket';
import { transformCard } from './cards';
import { transformAttachment } from './attachments';
/* Actions */
const createBoard = (projectId, data, headers) =>
socket.post(`/projects/${projectId}/boards`, data, headers).then((body) => ({
...body,
included: {
...body.included,
boardMemberships: body.included.boardMemberships.map(transformBoardMembership),
},
}));
socket.post(`/projects/${projectId}/boards`, data, headers);
const createBoardWithImport = (projectId, data, requestId, headers) =>
http.post(`/projects/${projectId}/boards?requestId=${requestId}`, data, headers);
@@ -26,8 +23,6 @@ const getBoard = (id, subscribe, headers) =>
...body,
included: {
...body.included,
users: body.included.users.map(transformUser),
boardMemberships: body.included.boardMemberships.map(transformBoardMembership),
cards: body.included.cards.map(transformCard),
attachments: body.included.attachments.map(transformAttachment),
},

14
client/src/api/bootstrap.js vendored Normal file
View File

@@ -0,0 +1,14 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import http from './http';
/* Actions */
const getBootstrap = (headers) => http.get('/bootstrap', undefined, headers);
export default {
getBootstrap,
};

View File

@@ -1,12 +1,17 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Actions */
const createCardLabel = (cardId, data, headers) =>
socket.post(`/cards/${cardId}/labels`, data, headers);
socket.post(`/cards/${cardId}/card-labels`, data, headers);
const deleteCardLabel = (cardId, labelId, headers) =>
socket.delete(`/cards/${cardId}/labels/${labelId}`, undefined, headers);
socket.delete(`/cards/${cardId}/card-labels/labelId:${labelId}`, undefined, headers);
export default {
createCardLabel,

View File

@@ -1,12 +1,17 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Actions */
const createCardMembership = (cardId, data, headers) =>
socket.post(`/cards/${cardId}/memberships`, data, headers);
socket.post(`/cards/${cardId}/card-memberships`, data, headers);
const deleteCardMembership = (cardId, userId, headers) =>
socket.delete(`/cards/${cardId}/memberships?userId=${userId}`, undefined, headers);
socket.delete(`/cards/${cardId}/card-memberships/userId:${userId}`, undefined, headers);
export default {
createCardMembership,

View File

@@ -1,5 +1,14 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import omit from 'lodash/omit';
import socket from './socket';
import { transformAttachment } from './attachments';
import { transformActivity } from './activities';
import { transformNotification } from './notifications';
/* Transformers */
@@ -16,6 +25,12 @@ export const transformCard = (card) => ({
}),
},
}),
...(card.createdAt && {
createdAt: new Date(card.createdAt),
}),
...(card.listChangedAt && {
listChangedAt: new Date(card.listChangedAt),
}),
});
export const transformCardData = (data) => ({
@@ -35,6 +50,16 @@ export const transformCardData = (data) => ({
/* Actions */
const getCards = (listId, data, headers) =>
socket.get(`/lists/${listId}/cards`, data, headers).then((body) => ({
...body,
items: body.items.map(transformCard),
included: {
...body.included,
attachments: body.included.attachments.map(transformAttachment),
},
}));
const createCard = (listId, data, headers) =>
socket.post(`/lists/${listId}/cards`, transformCardData(data), headers).then((body) => ({
...body,
@@ -61,6 +86,20 @@ const duplicateCard = (id, data, headers) =>
socket.post(`/cards/${id}/duplicate`, data, headers).then((body) => ({
...body,
item: transformCard(body.item),
included: {
...body.included,
attachments: body.included.attachments.map(transformAttachment),
},
}));
const readCardNotifications = (id, headers) =>
socket.post(`/cards/${id}/read-notifications`, undefined, headers).then((body) => ({
...body,
item: transformCard(body.item),
included: {
...body.included,
notifications: body.included.notifications.map(transformNotification),
},
}));
const deleteCard = (id, headers) =>
@@ -71,6 +110,17 @@ const deleteCard = (id, headers) =>
/* Event handlers */
const makeHandleCardsUpdate = (next) => (body) => {
next({
...body,
items: body.items.map(transformCard),
included: body.included && {
...omit(body.included, 'actions'),
activities: body.included.actions.map(transformActivity),
},
});
};
const makeHandleCardCreate = (next) => (body) => {
next({
...body,
@@ -80,14 +130,17 @@ const makeHandleCardCreate = (next) => (body) => {
const makeHandleCardUpdate = makeHandleCardCreate;
const makeHandleCardDelete = makeHandleCardCreate;
const makeHandleCardDelete = makeHandleCardUpdate;
export default {
getCards,
createCard,
getCard,
updateCard,
deleteCard,
duplicateCard,
readCardNotifications,
deleteCard,
makeHandleCardsUpdate,
makeHandleCardCreate,
makeHandleCardUpdate,
makeHandleCardDelete,

View File

@@ -1,28 +0,0 @@
import socket from './socket';
import { transformActivity } from './activities';
/* Actions */
const createCommentActivity = (cardId, data, headers) =>
socket.post(`/cards/${cardId}/comment-actions`, data, headers).then((body) => ({
...body,
item: transformActivity(body.item),
}));
const updateCommentActivity = (id, data, headers) =>
socket.patch(`/comment-actions/${id}`, data, headers).then((body) => ({
...body,
item: transformActivity(body.item),
}));
const deleteCommentActivity = (id, headers) =>
socket.delete(`/comment-actions/${id}`, undefined, headers).then((body) => ({
...body,
item: transformActivity(body.item),
}));
export default {
createCommentActivity,
updateCommentActivity,
deleteCommentActivity,
};

View File

@@ -0,0 +1,64 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Transformers */
export const transformComment = (comment) => ({
...comment,
...(comment.createdAt && {
createdAt: new Date(comment.createdAt),
}),
});
/* Actions */
const getComments = (cardId, data, headers) =>
socket.get(`/cards/${cardId}/comments`, data, headers).then((body) => ({
...body,
items: body.items.map(transformComment),
}));
const createComment = (cardId, data, headers) =>
socket.post(`/cards/${cardId}/comments`, data, headers).then((body) => ({
...body,
item: transformComment(body.item),
}));
const updateComment = (id, data, headers) =>
socket.patch(`/comments/${id}`, data, headers).then((body) => ({
...body,
item: transformComment(body.item),
}));
const deleteComment = (id, headers) =>
socket.delete(`/comments/${id}`, undefined, headers).then((body) => ({
...body,
item: transformComment(body.item),
}));
/* Event handlers */
const makeHandleCommentCreate = (next) => (body) => {
next({
...body,
item: transformComment(body.item),
});
};
const makeHandleCommentUpdate = makeHandleCommentCreate;
const makeHandleCommentDelete = makeHandleCommentUpdate;
export default {
getComments,
createComment,
updateComment,
deleteComment,
makeHandleCommentCreate,
makeHandleCommentUpdate,
makeHandleCommentDelete,
};

20
client/src/api/config.js Normal file
View File

@@ -0,0 +1,20 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import socket from './socket';
/* Actions */
const getConfig = (headers) => socket.get('/config', undefined, headers);
const updateConfig = (data, headers) => socket.patch('/config', data, headers);
const testSmtpConfig = (headers) => socket.post('/config/test-smtp', undefined, headers);
export default {
getConfig,
updateConfig,
testSmtpConfig,
};

Some files were not shown because too many files have changed in this diff Show More