Skip to content

Tags: CSCfi/pebbles

Tags

5.0-2024-01-30

Toggle 5.0-2024-01-30's commit message
api: fix valid workspace types

WS_TYPE_FIXED_TIME was not accepted as a valid workspace type. Include
it and add a unit test to cover this.

5.0-2024-01-23

Toggle 5.0-2024-01-23's commit message
Add contact field to direct questions to owner

New contact field to workspace form to add workspace owners contact

5.0-2023-11-10

Toggle 5.0-2023-11-10's commit message
kubernetes_driver: increase session start timeout

Increase session start timeout to 30 minutes to allow autodownloads from
slow sources.

5.0-2023-09-25

Toggle 5.0-2023-09-25's commit message
sso: auth method defaultWorkspaceQuota

Add defaultWorkspaceQuota configuration option to auth methods to
automatically promote users from selected identity sources to workspace
owners.

5.0-2023-08-21

Toggle 5.0-2023-08-21's commit message
api: refactor role checks

Refactor manager and owner role checks. Move functions from rules module
to commons module, unify usage.

Fix `membership.is_manager = False` assignment in
`WorkspaceView.handle_status_change()`.

5.0-2023-06-12

Toggle 5.0-2023-06-12's commit message
sso: map any idClaim attribute to existing user

During SSO login, find existing user object using every valid idClaim
attribute listed in selected provider. Add unit testing for sso.py.

Changes:
- sso.py
  - add lookup for existing users
  - refactor terms and conditions rendering to a function
  - improve error detection and reporting
- requirements.txt: add responses and fakefs libraries to mock
  responses from id provider and config and template files
- models.py: fix User.last_login_ts behaviour with None values
- add unit tests for sso.py
- remove redundant test_ext.py

5.0.2023-05-05

Toggle 5.0.2023-05-05's commit message
source and target clusters for workspace restore

Add src_cluster and tgt_cluster to workspace restore tasks to support
migrating workspace data from one cluster to another.

Changes:
- WorkspaceController:
  - use tgt_cluster to select driver
  - check task attribute values
- BaseDriver & KubernetesDriver
  - add src_cluster to restore job creation

5.0.2023-03-02

Toggle 5.0.2023-03-02's commit message
update requirements and .gitignore

- pycrypto has been deprecated, move to pycryptodome
- use psycopg2 binary package for easier and faster installation
- add local virtual environment to .gitignore

5.0.2023-01-12

Toggle 5.0.2023-01-12's commit message
Add service announcements API

``` flask db migrate ```  is needed to make it work

- Added service announcements model
- Added service announcement api
- Added unit test for service announcement api
- announcement with is_public = true would be displayed for now.

5.0.2022-12-05

Toggle 5.0.2022-12-05's commit message
sso: support hybrid flow

Fetch userinfo from server instead of extracting it from the idClaim.
Use idClaim still for verifying request authenticity and to get login
method.