Skip to content

Latest commit

 

History

History
1582 lines (927 loc) · 42.6 KB

CHANGELOG.md

File metadata and controls

1582 lines (927 loc) · 42.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Allowed Types of change: Added, Changed, Deprecated, Removed, Fixed, Security

[Unreleased]

Added

  • BC-388 - add simple script for end sjw
  • BC-319 - add route to change the position of a course dashboard element
  • BC-343 - run unstable e2e tests on label run unstable tests

Changed

  • BC-25 - sort database seeds ascending by date of creation (_id, createdAt)
  • BC-25 - move logic of npm run setup into console application and add management application with same behavior
  • BC-237 - Clean up global entity registration
  • BC-331 - BC-354 - rename ansible variables for OnePassword
  • BC-269 - check in firstLogin that students can only pass with existing birthdate

Fixed

Security

  • BC-386 - added CREATE tests for consentVersionService
  • BC-297 - fixed set-value dependency vulnerabilities
  • BC-377 - fixed axios dependency vulnerabilities

[26.11.3] - 2021-10-05

Fixed

  • BC-121 - run add bucket to files migration in parallel

[26.11.2] - 2021-09-29

Fixed

  • BC-111 wait for mongodb to spin up in deployment

  • BC-370 - fixed file directory creation

[26.11.1] - 2021-09-29

Fixed

  • BC-365 - fixed task overview pagination

[26.11.0] - 2021-09-22

Changed

  • BC-274 Change Course Colors
  • BC-213 - rewrite file deletion with deletion marker
  • BC-68 - e2e run dependent on build image job
  • BC-179 - refactor task and entity and relations
  • BC-315 - stabilized resolve user roles workflow by use roles from requested user and not from jwt

Added

  • BC-121 add bucket and storage provider to file documents
  • BC-164 - refactored the supportJWTservice and added roles information to its jwt data
  • BC-279 - introduce console application interface to call providers via console command
  • BC-9 add entity and repo for course dashboards
  • BC-9 add a route to recieve dummy data for course dashboards
  • BC-318 implement persistance for course dashboards

Fixed

  • BC-232 prevent users from changing schoolyears
  • BC-233 - when an LDAP system is removed from a school, the ldapschoolidentifier and lastLdapSync are removed as well
  • moved some changelog entries into their correct place

Removed

  • BC-262 - remove S3 lifecycle configuration code
  • BC-247 - remove timestamp from LDAP search Query for sync

[26.10.3] - 2021-09-09

Fixed

  • BC-267 - skip whitelist-check for api requests on /wopi

[26.10.2] - 2021-09-03

Added

  • BC-120 - add feature flag for S3 CORS
  • BS-112 - insert missing attribute during school creation

[26.10.1] - 2021-09-03

Fixed

  • BC-187 - secures the system route

[26.10.0] - 2021-09-03

Fixed

  • remove broken systemid from seed data
  • SC-9083 - expose env variables for school administration
  • BC-44 - remove JWT_WHITELIST_ACCEPT_ALL feature flag
  • BC-44 - integrate jwt whitelist check in nestjs jwt authentication
  • BC-42 - cycle detection in role inheritance
  • BC-64 - enable e2e test execution for push event on main branch
  • BC-41 - adds feature flag for S3 storage lifecycle management (currently not supported by Strato Hidrive)
  • BC-37 - BC-54 - reduce resource consumption for deployed server
  • BC-81 - remove old Lern-Store
  • BC-119 - remove malfunction S3 lifecycle migration
  • BC-38 - BC-124 - Add ansible files for Bosscloud (default)
  • BC-110 - fileStorage/security should only be called from within the cluster

Added

  • BC-5 - Show completed tasks for students

Changed

  • Refactor nestjs task module and resort imports for course and coursegroup entities and repositories. Add testHelpers.

[26.9.3] - 2021-09-10

Fixed

  • BC-239 - fix date parsing for students birth date

[26.9.2] - 2021-08-27

Changed

  • BC-137 - fix bug with display of Blue Bar
  • BC-106 - exit maintenance & change school year for LDAP schools on Boss and NBC

[26.9.1] - 2021-08-18

Changed

  • SC-9192 - enable cors for nestjs app routes
  • SC-9130 - use whiltelisted filenames at the s3 file storage backend

[26.9.0] - 2021-08-14

Changed

  • OPS-2491 - Change the hydra service url
  • SC-9231 - add permissions to SuperHero to edit admin role
  • SC-9269 - let eslint ensure no tests with .only exist anymore
  • SC-9192 - mount feathers and nestjs apps under dedicated version paths and allow general path prefix for the whole server

Added

  • add inital learnroom module with support of course and coursegroups for preparing the next refactoring iteration in tasks module
  • SC-9231 - add permissions to SuperHero to edit admin role

[26.8.0] - 2021-08-10

[26.7.1] - 2021-08-03

  • SC-9233 - fix Lern-Store on THR to load also WLO content

[26.7.0] - 2021-07-28

Added

  • SC-9213 - Consider group submissions when deciding what open tasks a student has
  • SC-9150 - add script to change school year
  • SC-9211 - enable maildrop and mailcatcher for e2e tests (see docker-compose)
  • SC-9177 - allow superheros to delete admins

Changed

  • SC-9219 - limited jest workers for not taking all workers within of a single github action

Fixed

  • SC-9212 - fix changing classes via CSV import
  • SC-9053 - fix sending registration link via checkbox for student/teacher creation

[26.6.4] - 2021-07-23

Changed

  • move S3 expiration migration to the end

[26.6.3] - 2021-07-21

Fixed

  • SC-9092 - add missing S3 key decryption in migration

[26.6.2] - 2021-07-21

Changed

  • use edusharing lernstore mode on production

[26.6.1] - 2021-07-21

Changed

  • change default lernstore mode to edusharing

[26.6.0] - 2021-07-20

Added

  • SC-9018; SC-9003 - created schoolsList public endpoint, and jwt secured /schools endpoint
  • SC-9093 - make configured default language and timezone available in config service
  • SC-9092 - delete S3 files after 7 days from user deletion
  • SC-8959 - Add messenger to deletion concept
  • SC-9157 - Add RabbitMQ connection to new mail service
  • SC-9157 - Improve config handling for RabbitMQ
  • SC-9213 - Consider group submissions when deciding what open tasks a student has
  • OPS-2574 - Removeing autodeployed branches for developers if branch deleted
  • OPS-2579 - Add Ansible task and templates for adding storage

Changed

  • SC-9190 - publish news target names
  • SC-8887 - allow public access to consentVersion service
  • SC-8448 - Not storing temporary Merlin links and fixed concurrency bug
  • remove unnecessary timeout definitions from tests and avoid promise chains
  • SC-6294 Restructure NestJS Sources: Testing, Core Module, Entities, Shared. See details in https://hpi-schul-cloud.github.io/schulcloud-server/
  • execute unit tests via github action instead of using travis

Fixed

  • SC-9197 - Limiting the max workers for jest to 2 workers, if the default mechanism runs it's go up to infinity workers and if one die the test never stop
  • SC-9202 - fix sending of registration link mails

[26.5.0] - 2021-06-28

Added

  • SC-9431 - add teacher view to task/open over permission TASK_DASHBOARD_VIEW_V3, solving permissions after authenticate and add v3/user/me route.

Changed

[26.4.9] - 2021-06-29

Fixed

  • api route forwarding

Removed

  • SC-9159 removed news from feathers except remove team event, which already is replaced by v3/news

[26.4.8] - 2021-06-29

Fixed

  • route forwarding

[26.4.7] - 2021-06-22

Added

  • SC-9148 - Add migration for change of school year on BRB

Fixed

  • SC-9170 - let superhero delete other users

[26.4.6] - 2021-06-24

Changed

  • OPS-2466 - changes build pipeline to github actions

[26.4.5] - 2021-06-21

Added

  • SC-9156 - Add maintenance mode for LDAP rewrite

[26.4.4] - 2021-06-16

Change

  • rename permission TASK_DASHBOARD_VIEW_V3

[26.4.3] - 2021-06-16

Change

  • SC-9139 - Add a check if user roles should be updated or not to the repo

[26.4.2] - 2021-06-16

Fixed

  • npm run syncIndex work for not existing collections in the db

[26.4.1] - 2021-06-15

Change

  • SC-9029 - Change place of the channel creation for RabbitMQ

[26.4.0] - 2021-06-11

  • SC-9004 - Sync env variables between backend and frontend

[26.3.1] - 2021-06-14

Added

  • SC-9134 - Add missing mongo indexes for LDAP Sync

[26.3.0] - 2021-06-07

Changed

  • SC-8898 - parallelize LDAP sync using RabbitMQ

[26.2.2] - 2021-06-04

Fixed

  • Fixed dependencies issue

[26.2.1] - 2021-06-02

Added

  • SC-9103 - add logging for syncIndexes script

[26.2.0] - 2021-06-01

Added

  • OPS-2418 - Change buildpipelines (Server, Client, Nuxt) to execute E2E tests according QF decision
  • SC-8250 - add bulk deletion to user service v2
  • SC-8341 - add tombstone school to tombstone user
  • SC-8408 - added delete events by scope Id route
  • SC-7937 - Allow adding multiple materials to lesson
  • SC-7868 - Deletion concept for personal file connections
  • SC-8873 - Add prioritization for Matrix messenger tasks
  • SC-8982 - add inital service ressource messuring test setup
  • OPS-1499 - Add feature to CI Pipeline and provide manual deployments of branches and automatic deploy of release to staging
  • Add run script for sync indexes based on existing and registered schemas.
  • SC-9085 - add registration pin deletion for parent emails
  • SC-9004 - Sync env variables between backend and frontend
  • OPS-1499 - Add feature to CI Pipeline and provide manual deployments of branches
  • Add run script for sync indexes based on existing and registered schemas.

Changed

  • SC-8440 - fixed open api validation for manual consent
  • SC-9055 - changed Edu-Sharing permissions for Brandenburg Sportinhalt content
  • SC-6950 - validation for officialSchoonNumber now allows 5 or 6 digits
  • SC-8599 - added helparea contact dropdown and send value
  • SC-7944 - use persistent ids for Lern-Store content items
  • OPS-1508 - added limits for cpu and ram to the docker compose files
  • SC-8500 - refactoring in error handling
  • SC-7021 - automatic deletion documents in the trashbins collection after 7 days.
  • SC-5202 - homework tests refactoring
  • SC-7868 - filestorage integration tests are skipped on local test environments if minio is not setup
  • SC-8779 - messenger: use user-based fixed device ids

Fixed

  • SC-8933 - fix date format on first login
  • SC-8728 - fix configuration reset in tests
  • SC-8873 - fix addUser prioritization for full school Matrix messenger sync
  • SC-8982 - fix test setup for on the fly building test like routes jwt

[26.1.0]

Added

  • SC-8910 - added an isExternal check to the adminUsers service remove method

Changed

  • SC-8732 - change search filter gate and weight of values in indexes. Will reduce amount of results
  • SC-8880 - changed the validation for search queries in NAT, now it allows empty

[26.0.16] - 2021-04-20

Removed

    • SC-8748 - revert: bump feathers-mongoose from 6.3.0 to 8.3.1

[26.0.15] - 2021-04-19

Changed

  • SC-8909 - messenger: use user-based fixed device ids

[26.0.14] - 2021-04-16

Changed

  • SC-8934 - no more autosync for the migrations for the mongodb

[26.0.13] - 2021-04-15

Fixed

  • SC-8917 - verify configuration missing school

[26.0.12] - 2021-04-14

Changed

  • SC-8929 - increase performance for alert requests

[26.0.11] - 2021-04-13

Changed

  • SC-8748 - bump feathers-mongoose from 6.3.0 to 8.3.1

[26.0.10] - 2021-04-09

Fixed

  • SC-8908 ldap sync: fix lock

[26.0.9] - 2021-04-06

  • SC-8779 - fix partial LDAP sync

[26.0.8] - 2021-03-31

Fixed

  • SC-8691 ldap sync: fix potential deadlock while loadind ldap data

[26.0.7] - 2021-03-31

Fixed

  • SC-8768 ldap sync: in user search include current school

[26.0.6] - 2021-03-30

Fixed

  • SC-8836 - teachers can add classes from other teachers to their courses

[26.0.5] - 2021-03-29

Fixed

  • SC-8691 - LDAP sync can be run with multiple school in parallel

[26.0.4] - 2021-03-25

Changed

  • SC-8829 - status of logging in rocket chat user is set to offline

[26.0.3] - 2021-03-17

Changed

  • merged hotfixes 25.6.11 and following into 26.0 branch

[26.0.2] - 2021-03-10

Fixed

  • SC-5202 - fixed an issue with internal pagination in homework-submissions

[26.0.1] - 2021-03-09

Changed

  • merged 25.6.10 into new version

[26.0.0]

Fixed

  • SC-6679 - fixed table styling in topic text-component
  • SC-8534 - fix registration link generation
  • SC-8682 - fix students are editable in externally managed schools
  • SC-8534 fix registration link generation
  • Allow sorting after search

[25.6.11] - 2021-03-17

[25.6.13] - 2021-03-16

  • SC-8782 Migration for changing urls

[25.6.12] - 2021-03-15

  • SC-8782 Fixed lesson context Query

[25.6.11] - 2021-03-15

Fixed

  • SC-8211 - Fixed course events duplications

[25.6.10] - 2021-03-09

  • SC-8770 Fixed issue where parent consents were overwritten

[25.6.9] - 2021-02-26

Fixed

  • SC-8714 Fixed an issue in school creation that could cause the iserv-sync to fail

[25.6.8] - 2021-02-19

Changed

  • SC-8477 LDAP-Sync: Speed up class sync by holding all the school's users in map while creating/populating classes
  • SC-8477 LDAP-Sync: Speed up user sync by grouping users into chunks and loading the chunks from DB instead of individual users

[25.6.7] - 2021-02-18

Security

  • SC-8655 - prevent changes to immutable user attributes

[25.6.6] - 2021-02-18

Fixed

  • SC-8657 - Recreate shared links for homework

[25.6.5] - 2021-02-17

Fixed

  • SC-8634 - Recreate shared links for homework

[25.6.4] - 2021-02-17

Changed

  • Reverted Changes for SC-8410

[25.6.3] - 2021-02-15

Security

  • VOR-3 - Enable and replace old file links.

[25.6.2] - 2021-02-11

Changed

  • VOR-2 - Adjusted business rules for adding team members from external school.

[25.6.1] - 2021-02-11

Fixed

  • VOR-1 - Fix passwordRecovery id validation.

[25.6.0] - 2021-02-09

Fixed

  • SC-8514 - QR Code generation fails
  • SC-8390 - Lern-Store collections feature flag was not excluding collections in search
  • SC-8322 prevent wrong assignment from school to storage provider

Added

  • SC-8482 - Deletion concept orchestration integration
  • SC-8029 - Add deletion concept handling for pseudonyms and registration pins
  • SC-6950 - Add access for superhero to change kreisid and officialSchoolNumber
  • SC-8206 - Add school tombstone for deleting concept
  • SC-7825 - Deletion concept for user data in tasks

Changed

  • SC-8541 - restrict class modifing requests to the teachers, who are inside these classes
  • SC-8380 removed reqlib, replaced by normal require to keep referenced types known
  • SC-8213 error handling concept
  • SC-4576 - sanitize bbb room and member names
  • SC-8300 Added user information to LDAP Sync in case of errors

[25.5.16] - 2021-02-08

Added

  • SC-8512 - Creating a migration for duplicated events

[25.5.15]

Fixed

  • SC-8571 - New courses does not appear in bettermarks

[25.5.14] - 2021-02-02

Changed

  • SC-8420 - Fix old missing indexes that migration for new indexes can executed. 25.5.3

[25.5.13]

Changed

  • SC-8462 - Add logging for homework deletion

[25.5.12]

Fixed

  • SC-8499 - Change order of migrations

[25.5.11]

Fixed

  • SC-8499 - Prevent duplicated pseudonyms

[25.5.10]

  • SC-8506 - add origin server name to bbb create and join requests

[25.5.9]

Fixed

  • SC-8503 - Clicking on task in BRB and THR shows pencil page

[25.5.8]

Changed

  • SC-8480 - Return GeneralError if unknown error code is given to error pipeline

[25.5.7]

Added

  • SC-8489 - Added permission check for homework deletion

[25.5.6]

Fixed

  • SC-8410 - Verify ldap connection reads the first page of users only to avoid timeouts
  • SC-8444 - resolve eventual consistency in course shareToken generation

[25.5.5]

Fixed

  • SC-8303 - fix wrong assignment from school to storage provider

[25.5.4]

Added

  • SC-8358 - bettermarks: show hint for safari users
  • SC-8412 - update swagger documentation of pseudonym/roster/ltitools

Fixed

  • SC-5287 - Fixed OAuth2 rostering
  • SC-5287 - Repair Bettermark's depseudonymization
  • SC-8313 - Bettermarks: depseudonymization iframe needs to use Storage Access API in Safari
  • SC-8379 - Secure ltiTools route
  • SC-8315 - bettermarks: security check and production configuration

[25.5.3]

Added

  • SC-8420 - Migration for sync new indexes.

[25.5.2]

Fixed

  • SC-8189 - fix duplicate events by returning updated object at findOneAndUpdate

[25.5.1]

Fixed

  • SC-8303 - fix wrong assignment from school to storage provider

[25.5.0]

Added

  • SC-7835 - Add deletion concept handling for helpdesk problems
  • SC-8229 - Added invalid DN error to ldap-config service error handling
  • SC-7825 - Remove user relations from courses
  • SC-7827 - Add deletion concept handling for file permissions.
  • SC-8030 - Setup orchestrator for deleting concept
  • SC-8060 - increase unit test coverage for lernstore counties
  • SC-8179 - repaired unit test
  • SC-7763 - adds searchable feature flag for lernstore.
  • SC-8020 - adds collections filter to edu-sharing service
  • SC-8260 - new team indexes and migration to add this

Fixed

  • SC-8230 - fix deletion of teachers via new route

Removed

  • SC-8233 - Removed attribute and member as required attributes for the LDAP-config service

Fixed

  • SC-8329 - Cluster returns old verison of Pin object after patch

[25.4.1]

  • Update from 25.3.9 into master

[25.3.9]

  • SC-8198 continue school sync on user issues

[25.3.8]

Changed

  • SC-8198 - handle eventually consistent database in THR sync

[25.3.7] - 2020-12-18

Changed

  • SC-8209 - prevent sync from stopping if error occurs for a single student

[25.3.6]

Fixed

  • SC-8235 - repaired reigstration link for students

[25.3.5]

Changed

  • SC-8149 - no longer require a registrationPin for internal calls

[25.3.4]

Changed

  • SC-7998 - use default service setup for /version

[25.3.3] (pick from 25.2)

Removed

  • SC-8101 - Sanitization for read operations

Fixed

  • SC-8101 - Make it possible to disable sentry by removing SENTRY_DSN
  • OPS-1735 - Fixes transaction handling in file service by using the mongoose transaction helper, properly closing the session, and using the correct readPreference (everything except primary fails)

[25.3.2]

Added

  • SC-7734 - Added a hook that takes care of merlin content to generate valid urls for users
  • SC-7483 - Updating terms of use for all users for each instance separately

[25.3.1]

Fixed

SC-8077 - the migration copy-parents-data-into-children-entities-and-delete-parent-users is broken

[25.3.0]

Added

  • SC-7841 - remove deleted user from classes
  • SC-7836 - Removing registration pin by removing the user
  • SC-7838 - move pseudonyms to trashbin
  • SC-7142 - Counties/Kreise added to federal states.
  • SC-7555 - move user and account to trashbin
  • SC-4666 - Added a pool based LDAP system and school sync. LDAP_SYSTEM_SYNCER_POOL_SIZE and LDAP_SCHOOL_SYNCER_POOL_SIZE variables determine how many system/school syncers will be run in parallel (at most) during the LDAP sync.
  • SC-7615 - reduces the errors in lernstore
  • SC-5476 - Extend tests for Matrix messenger config and permission service
  • SC-6690 - refactors edu-sharing service and sets defaults
  • SC-6738 - Extend search input field in new admin tables to search for full name
  • SC-7293 - added Lern-Store view permission and a feature flag
  • SC-7357 - Add config service
  • SC-7083 - Added officialSchoolNumber to school-model
  • Introduce plainSecrets in Configuration
  • Introduce FEATURE_PROMETHEUS_ENABLED to have a flag for enable prometheus api metrics
  • SC-7411 - add API Specification and validation for /me service
  • SC-7411 - add API Specification and validation for /version service
  • SC-7205 - create new data seed for QA
  • SC-7614 - creates documentation for edu sharing endpoints
  • SC-7370 - Add optional rootPath attribute modifier to iserv-idm strategy
  • SC-4667 - persist time of last attempted and last successful LDAP sync to database (based on system)
  • SC-4667 - Only request and compare LDAP entities that have changed since the last sync (using operational attribute modifyTimestamp with fallback)
  • SC-4667 - Add optional forceFullSync option (as get param or json payload) to force a full LDAP sync
  • SC-7499 - add API Specification for public services
  • SC-7915 - facade locator
  • SC-7571 - solved performance issues - bulk QR-code generation
  • SC-6294 - Introduce Typescript in schulcloud-server
  • SC-7543 - Adds ldap-config service to create, load, and patch LDAP-configs (replaces /ldap endpoints for new client)
  • SC-7028 - Add Course Component API Specification document
  • SC-7476 - Prevent hash generation if user has account
  • SC-6692 - Added Lern-Store counties support for Niedersachsen (Merlin)

Changed

  • request logging disabled for non development environment
  • OPS-1289 - moved and updated commons (to hpi-schul-cloud/commons)
  • SC-6596 - Changed route for messenger permissions service
  • SC-7331 - introduce axios for external requests, implemented in status api
  • SC-7395 - Changed ldap general strategy fetching of users from parallel to serialized
  • SC-6080 - move REQUEST_TIMEOUT from globals to Configuration
  • Dependencies: querystring replaced by qs
  • SC-6060 - Updated error handling
  • SC-7404 - automatic forwarding for requests without versionnumber if no matching route is found
  • SC-7411 - api versioning for /me service
  • SC-7411 - api versioning for /version service
  • IMP-160 - integration-tests repo renamed to end-to-end-tests
  • SC-5900 - Move Synapse synchronization logic into server
  • SC-7499 - Fixes documentation for edu sharing endpoints
  • SC-7872 - Fix audience of the jwt to new organisation name.
  • SC-7543 - deprecates GET /ldap/:id and PATCH /ldap/:id routes
  • SC-7868 - Move external request helpers to more present file location
  • SC-7474 pull docker container for tests if commit id exists on docker hub

Fixed

  • SC-6294 fix mocha test execution and build, summarize coverage results
  • SC-1589 Trim strings to avoid empty team names
  • ARC-138 fix changelog action
  • ARC-137 avoid DoS on alerts in error state
  • SC-7353 course sharing between teachers
  • SC-7530 rename SHOW_VERSION to FEATURE_SHOW_VERSION_ENABLED
  • SC-7517 improve oauth test stability
  • SC-6586 Repaired migration script
  • SC-7454 - Restored invalid birth date fix in adminUsers service
  • fixed README badges
  • Fix mocha tests
  • SC-6151 fixed a bug that prevented api docu from being accessible
  • SC-6151 fixed paths to openapi documentation
  • Fixed searching for names including a dash
  • SC-7572 - Find /users route after hooks - extremely slow
  • SC-7573 - Route/hash-broken promise chain
  • SC-7884 - Authentication error when accessing any nuxt page in the client.
  • Fix typescript compiling error

Removed

  • SC-7413 - Cleanup UnhandledRejection code that is handled from winston now

[25.2.6]

Removed

  • SC-8101 - Sanitization for read operations

Fixed

  • SC-8101 - Make it possible to disable sentry by removing SENTRY_DSN

[25.2.5]

Fixed

  • OPS-1735 - Fixes transaction handling in file service by using the mongoose transaction helper, properly closing the session, and using the correct readPreference (everything except primary fails)

[25.2.4]

Changed

  • SC-6727 - Change email addresses for tickets for Niedersachsen - fixed after review

[25.2.3]

Changed

  • SC-6727 - Change email addresses for tickets for Niedersachsen

[25.2.2]

Changed

  • SC-7773 - moved config values for antivirus file service

[25.2.1]

Fixed

  • SC-7714 - Fixes script injection issue

[25.2.0]

Added

  • SC-4385 - Added a user exclusion regex to IServ strategy
  • SC-7049 - Added unit tests for Merlin Service
  • SC-7157 - add feature flag for Merlin feature with fallback
  • SC-6567 - add new application errros
  • SC-6766 - Added ESLint rules with Promise rules
  • SC-6830 - Added hook to parse request to arrays when > 20 users are requested in adminUsers service
  • SC-6769 - Introduce API validation module
  • SC-6769 - API validation for users/admin routes
  • SC-6510 - Added Merlin Url Generator for Lern Store / Edu-sharing
  • SC-5476 - Added school settings to enable students to open own chat rooms
  • SC-6567 - Add utils to cleanup incomingMessage stacks by logging errors

Removed

  • SC-6586- Remove parents from users collection to improve maintainability

Changed

  • SC-6986 - Changed a hook in the accounts service that restricts get requests to the same school, it expects a valid userID and matching schoolIds for both the requester and requested users
  • SC-6567 - clean up error pipline
  • SC-6510, fix a minor syntax error when exporting module
  • Update commons to 1.2.7: print configuration on startup, introduce hierarchical configuration file setup
  • Support asynchronous calls during server startup
  • SC-7091 - Migration to enable the Matrix Messenger for all schools that had RocketChat enabled before

Fixed

  • fixed README badges
  • SC-6151 - fixed a bug that prevented api docu from being accessible
  • Fix mocha tests

[25.1.13] - 2020-11-12

Changed

  • SC-7395 - Changed ldap general strategy fetching of users from parallel to serialized

[25.1.12] - 2020-11-09

Added

  • SC-7683 - add request logging options

[25.1.11] - 2020-11-06

Security

  • SC-7695 - prevent csv user override operations on other schools

[25.1.10] - 2020-11-05

Added

  • SC-7683 - Add log metic for memory usage, add async error logging util, catch one unhandledRejection error and remove cronjob task from server.

[25.1.9] - 2020-11-03

Fixed

  • SC-7638 - fixed pin creation for users with accounts

[25.1.8] - 2020-10-22

Fixed

  • SC-7333 - fixed creation of homeworks within lessons

[25.1.7] - 2020-10-28

Added

  • SC-7491 - Add missing index on users.email to speed up slow query in registrationLink service

[25.1.6] - 2020-10-23

Changed

  • SC-7413 - Remove event listener for unhandled rejections and move this to winston

[25.1.5] - 2020-10-22

Fixed

  • SC-7452 - fixed time window check for LDAP users

[25.1.4] - 2020-10-20

Changed

  • SC-6986 - Changed permission check for PATCH method in the account service from STUDENT_CREATE to STUDENT_EDIT to allow teachers to change students' password

[25.1.3] - 2020-10-20

Fixed

  • SC-6986 - Changed a hook in the accounts service that restricts get requests to the same school, it expects a valid userID and matching schoolIds for both the requester and requested users

[25.1.2] - 2020-10-15

Fixed

  • SC-7085 - fixed importHash error when asking parent consent

Added

Removed

[25.1.1] - 2020-10-12

Security

  • SC-7165 package update for sanitization and add onload handler

[25.1.0] - 2020-10-12

Added

Removed

  • SC-6784 - Removed duplicated birth date formatting code in adminUsers service, which was causing an "Invalid date" output
  • SC-6743 - Removed usersForConsent related things in adminUsers service because the client does not send that parameter anymore
  • SC-6506 - Remove dependecy to feathers-swagger in routes.test.js

Changed

  • SC-6774 remove no-await-in-loop from eslint exceptions
  • Rename statistic mails route, secure it over sync api key now
  • SC-6809 - Maintain RabbitMQ connection and channels
  • SC-5230 - Unblock Account-Page in Nuxt (securing /accounts and /users routes)

Security

  • Added hotfix merges

[25.0.12] - 2020-10-12

Fixed

  • SC-6676 allows only following roles for registration: teacher/student…

[25.0.11] - 2020-10-07

Fixed

  • SC-7180 homework create now validates data properly

[25.0.12] - 2020-10-12

Fixed

  • SC-6676 allows only following roles for registration: teacher/student…

[25.0.11] - 2020-10-07

Fixed

  • SC-7180 homework create now validates data properly

[25.0.10] - 2020-10-07

Added

  • configured prometheus metrics - bucket sizes
  • SC-6766 log unhandledRejection and unhandledException

[25.0.9] - 2020-10-07

Added

  • SC-7115 - Reduce mongoose DB role request by enabling minor caching

[25.0.8] - 2020-10-06

Fixed

  • SC-6676 - Registration: User with role parent should not be able to log-in
  • SC-6960 - instead of deleting and recreating users during the rollback of a failed registration, use replace if necessary
  • SC-6960 - properly raise exceptions during the registration process

[25.0.7] - 2020-10-01

Removed

  • OPS-1316 - removed custom keep-alive header creation in express middleware

[25.0.6] - 2020-10-01

Added

  • OPS-1316 - add indexes for slow files and submission queries

[25.0.5] - 2020-10-01

Added

  • SC-6973 - add time window for pin creation

[25.0.4] - 2020-09-30

Added

  • Added lead time detection

[25.0.3]

Added

  • SC-6942 - add parse method to TSP strategy to declare it can handle the request and to keep authentication params clean

Fixed

  • SC-6942 - don't override payload defined by authentication method
  • SC-6942 - don't search for account to populate if no username is given in injectUsername

[25.0.2]

Changed

  • send mail for registration pin after add pin to db

[25.0.1]

Fixed

  • SC-6696 - Fixed query used to determine course membership when checking permissions for course group lessons

[25.0.0]

Changed

  • Extend JWT payload by schoolId and roleIds

[24.5.1] - 2020-09-16

Secrutiy

  • Secure admin routes (update, patch, create)

[24.5.0] - 2020-09-14

  • Ignore database seed data with prettier, eslint, and codacy
  • SC-6640 - Fixed email check within registration (case insensitive)
  • SC-2710 - Adding time zones, default for school and theme

Added - 24.5.0

  • Test changelog has been updated for feature or hotfix branches
  • SC-5612 - Adding search feature to the admintables for nuxt-client.

[24.4.6] - 2020-09-11

Changed

  • SC-6733: central personal data does not get updated via CSV import

[24.4.5] - 2020-09-10

Fixed in 24.4.5

  • SC-6637: generate QR codes for consent print sheets if group size exceeds 20

[24.4.4] - 2020-09-08

Fixed in 24.4.4]

  • SC-6697: updates/sync account username when user is updated

[24.4.3] - 2020-09-09

Fixed in 24.4.3

  • SC-6533 - Login not possible if admin reset password

[24.4.2] - 2020-08-31

Fixed in 24.4.2

  • SC-6554: CSV-Importer no longer allows patching users with different roles

[24.4.1] - 2020-08-31

Fixed in 24.4.1

  • SC-6511 - LDAP edit button missing.

Changed in 24.4.1

  • SC-5987 Internationalisation: extend user and school model with default language

Added 24.4.1

  • SC-6172: added hooks and checks to look for unique and not disposable emails in adminUsers service

[24.4.0] - 2020-8-31

Fixed in 24.4.0

  • SC-6122 - Edusharing preload thumbnails in parallel. Edusharing authentication stabilisation.

[24.3.3] - 2020-08-28

  • SC-6469: prevent admin access to lessons admins shouldnt have access to.

[24.3.2] - 2020-08-26

  • SC-6382: fix handling of consents for users with unknown birthdays. consentStatus: 'ok' will be returned for valid consents without birthday.

[24.3.1] - 2020-08-25

  • SC-5420: TSC Schuljahreswechsel

[24.3.0] - 2020-08-25

[24.2.5] - 2020-08-24

  • SC-6328 add migration to set student_list settings in all non n21 clouds schools to false.

[24.2.4] - 2020-08-20

[24.2.3] - 2020-08-20

[24.2.2] - 2020-08-20

Added in 24.2.2

  • SC-5280: the LDAP service will try to reconnect up to three times if the connection was lost or could not be established
  • SC-5280: the LDAP service and LDAP syncers now report more errors to the stats object
  • SC-5808: added an isExternal check to the create method of AdminUsers service, only users from not external schools can create users

Fixed in 24.2.2

  • SC-5280: the LDAP sync now handles (timeout/firewall) errors much more gracefully
  • SC-5280: LDAP bind operations will only be issued if the connection was established successfully
  • SC-5280: aggregated LDAP statistics will now show the number of succesful and failed sub-syncs instead of just 1 or 0

Changed in 24.2.2

  • SC-5280: if disconnected prematurely, the LDAP service will not try to connect again just to unbind from the server

[24.0.2] - 2020-08-05

Fixed in 24.0.2

  • SC-5835: Starting the new school year automatically - Cluster 4

[24.0.1] - 2020-07-31

Fixed in 24.0.1

  • SC-5917 Fix activation of LDAP system

[23.6.4] - 2020-07-29

Fixed in 23.6.4

  • SC-5883: Choose current schoolyear based on the school instead of the date for creating classes.

[23.6.3] - 2020-07-28

Added in 23.6.3

  • SC-5754 Added isExternal attribute to school model. If ldapSchoolIdentifier or source is defined, isExternal will be set to true otherwise, if none of them are defined it wil be set to false.
  • SC-4520 created a new Service called Activation Service; with which jobs can be defined and are only executed when an activation link (activation code) is confirmed (e.g.: change of e-mail address/username) Also added a sub-service for changing email/username in Activation Service
  • SC-5280: the LDAP service will try to reconnect up to three times if the connection was lost or could not be established
  • SC-5280: the LDAP service and LDAP syncers now report more errors to the stats object

Fixed in 23.6.3

  • SC-5250: Fixes the CSV-Import, if there are whitespaces in the columnnames
  • SC-5686: only users with the team permission "RENAME_TEAM" can execute the patch method in teams route
  • SC-5280: the LDAP sync now handles (timeout/firewall) errors much more gracefully
  • SC-5280: LDAP bind operations will only be issued if the connection was established successfully
  • SC-5280: aggregated LDAP statistics will now show the number of succesful and failed sub-syncs instead of just 1 or 0
  • SC-5416: Enable maintenance Mode for LDAP Schools and change the currentSchoolYear for non-LDAP Schools

Changed in 23.6.3

  • SC-5542: Added an after hook for AdminUsers find method which formats birthday date to DD.MM.YYYY format.
  • SC-4289 Changed aggregations in admin tables, classes are now taken only from current year or max grade level, and are sorted by numeric ordering.
  • SC-5280: if disconnected prematurely, the LDAP service will not try to connect again just to unbind from the server

[23.6.2] - 2020-07-22

Fixed in 23.6.2

  • SC-5773: LDAPSchoolSyncer now correctly populates classes synced from an LDAP server, even if only students or only teachers are assigned to the class.
  • SC-5250: Fixes the CSV-Import, if there are whitespaces in the columnnames

[23.6.1] - 2020-07-22

Fixed in 23.6.1

  • SC-5733: LDAPSchoolSyncer now uses the Users model service to avoid ignoring indexes due to automatic collation

[23.6.0] - 2020-07-21

Added in 23.6.0

  • SC-4142: Added indexes on TSP sync related attributes in user and school schema.
  • SC-4142: Adds info about unchanged entities to TSP sync statistics

[23.5.4] - 2020-07-08

Added in 23.5.4

  • SC-2714 Added the federal state "Internationale Schule"

[23.5.0] - 2020-06-15

Added in 23.5.0

  • SC-4192 add tests that ensure classes on other schools cant be manipulated

Fixed in 23.5.0

Changed in 23.5.0

  • SC-4957 user.ldapId and user.ldapDn are now indexed to improve performance

[23.4.7] - 2020-07-01

Fixed in 23.4.7

  • SC-4965 Converted "consent" subdocument in "users" to a nested document to fix changing consents in administration and removing a bug in registration that resulted in deleted users.

[23.4.5] - 2020-06-17

Fixed in 23.4.5

  • SC-5007 re-introduces ldap system root path to API result to fix issue with duplicating schools

[23.4.3-nbc] - 2020-06-15

Fixed in 23.4.3-nbc

  • SC-5054 Revert hook restrictions that prevented registration with custom deata privacy documents enabled

[23.4.0-nbc] - 2020-06-11

Added in 23.4.0-nbc

  • SC-4577 extend consentversions with school specific privacy policy, which can be added by the school admin

[23.2.4] - 2020-06-05

Fixed in 23.2.4

  • SC-4876 soften sanitization to allow editor actions to be persisted correctly

[23.2.1] - 2020-06-04

Security - 23.2.1

  • SC-4720 improve importhashes for registrationlinks

[23.2.0] - 2020-06-03

Security - 23.2.0

  • SC-4506 Secure Find User Route. Access user list by students is allowed only if they are eligible to create teams.
  • SC-4506 Secure Get User Route. Read user details may only users with STUDENT_LIST or TEACHER_LIST permissions

[23.1.4] - 2020-05-29

Fixed in 23.1.4

  • SC-4749 avoid xss in image onerror event attribute for submissions

[23.0.0] - 2020-05-19

Changed in 23.0.0

  • SC-4075 Teams creation by students logic was changed. New environment enumeration variable STUDENT_TEAM_CREATION with possible values disabled, enabled, opt-in, opt-out was introduced. The feature value is set by instance deployment. In case of disabled, enabled it is valid for all schools of the instance and cannot be changed by the admin. In case of opt-in and opt-out the feature should be enabled/disabled by the school admin.

[22.10.3] - 2020-05-13

Fixed in 22.10.3

  • Unbind errors no longer stop the LDAP sync if more systems follow

[22.10.2] - 2020-05-12

Fixed in 22.10.2

  • fixed pagination for students/teacher table

[22.10.0] - 2020-05-11

Added in 22.10.0

  • SC-3719 Files now have a creator attribute that references the ID of the user that created the file. For old files, it is set to the first user permission inside the permissions array (legacy creator check).
  • SC-3719 The files collection now has two additional indexes: {creator} and {permissions.refId, permissions.refPermModel}.
  • add MongoDB Collation Support to control sorting behaviour in regards to capitalization.
  • SC-3607 CSVSyncer now allows the optional birthday field (formats: dd/mm/yyyy, dd.mm.yyyy, dd-mm-yyyy) in CSV data
  • SC-3948 support users query in adminusers routes
  • SC-4018 Add additional nexboard permissions
  • SC-4008 Migrated generateRegistrationLink Hook from SC-Client into Server
  • SC-3686 Added new Registration Link Service for sending mails
  • SC-4094 Teachers can now provide feedback in the form of uploaded files

Fixed in 22.10.0

  • SC-3892 Update Filter of submission in order to work with older submissions
  • SC-3395 if fetching the release fails, a error will be thrown
  • backup.js now outputs valid json exports
  • SC-4105 fixed a problem with new users tests not working with recent hotfix.
  • Checks of user consent calculated correct now

Changed in 22.10.0

  • User delete now accepts bulk delete requests
  • SC-3958: the "general" LDAP strategy now returns an empty array if classes are not configured properly
  • Increase performance - error logging in sentry
  • Mergify: add and modified some configs

Removed in 22.10.0

  • SC-3958: the LDAP strategy interface no longer supports synchronizing team members to the never-used original N21-IDM
  • SC-3958: the environment variables NBC_IMPORTURL, NBC_IMPORTUSER, and NBC_IMPORTPASSWORD are no longer used and have been removed
  • Removed the obsolete commentSchema from the homework service. It was not in use.

[22.9.20]

Added in 22.9.20

  • SC-4042: Added support for a central IServ-Connector

Changed in 22.9.20

  • LDAP syncs on servers with multiple schools now only sync one school at a time to avoid issues when paging search requests
  • LDAP syncs use less memory (because they do a lot less in parallel)
  • LDAPSchoolSyncer now returns user and class statistics

Fixed in 22.9.20

  • Fixed LDAP-Service disconnect method
  • LDAPSystemSyncers now properly close their connections after syncing
  • Authentication via LDAP now tries to close the connection after login
  • Fixed a warning message appearing when patching users via internal request

[22.9.18]

Fixed in 22.9.18

  • SC-4215: Do not allow unprivileged users to find users with non-school roles (expert, parent, etc.)

[22.9.17]

Fixed in 22.9.17

  • SC-4121: File uploads no longer fail if the security scan is misconfigured or errors during enqueuing

[22.9.10]

Added in 22.9.10

  • enable API key for /mails route

Fixed in 22.9.10

  • fixed an issue that prevented api-key authenticated calls to function with query.

[22.9.9]

Added in 22.9.9

  • Sync can now be authenticated with an api-key.

[22.9.8]

Fixed in 22.9.8

  • Fixed an error where ldap users without proper uuid where not filtered correctly.

[22.9.7]

Security in 22.9.7

  • the /ldap route can now only be triggered for the users own school.

[22.9.6]

Added in 22.9.6

  • users without SCHOOL_EDIT permission, but with SCHOOL_STUDENT_TEAM_MANAGE permission can now toggle the school feature disableStudentTeamCreation.

Fixed in 22.9.6

  • Admins in Thuringia can now prevent students from creating teams

[22.9.5]

Security in 22.9.5

  • increased security for the publicTeachers route.

[22.9.4]

Fixed in 22.9.4

  • fixes an issue with LDAP account updates if more than one account exists for the user (migration from local login to LDAP)

[22.9.3]

Fixed in 22.9.3

  • fixes regression in LDAP sync, that caused incomplete user updates

[22.9.2]

Security in 22.9.2

  • increased security for user PUT operation

[22.9.1]

Fixed in 22.9.1

  • SC-3994: remove unnecessary bucket creation call that caused school administration and LDAP Sync to throw errors

Changed in 22.9.1

  • use collation for /homeworks, /users, /publicTeachers, /users/admin/teachers, /users/admin/students, /classes, and /courses.

[22.9.0]

  • Security updates

[22.8.0]

Added in 22.8.0

  • This changelog has been added

Removed in 22.8.0

  • Clipboard sockets
  • This changelog has been added
  • Backend route to confirm analog consents in bulk
  • Changed Seed Data + Migration Script: Added feature flag for new Editor to klara.fall@schul-cloud.org
  • SC-2922: Enable use of multiple S3 instances as file storage provider
    • A new collection is added to administrate multiple S3 instances
    • A migration will automatically use the AWS environment variables to add those as default provider for all existing schools
    • For new schools the less used provider is assigned as storage provider
    • Environment Variables:
      • FEATURE_MULTIPLE_S3_PROVIDERS_ENABLED=true will activate the feature
      • S3_KEY, used for symmetric encryption, already required for the migration because of the secret access key encryption

Changed in 22.8.0

  • SC-3767: moved env variables to globals.js, NODE_ENV required to equal 'test' for test execution and right database selection
  • migrated backup.sh script to node, so it can run platform independant and works on windows.

Fixed in 22.8.0

  • SC-3821: Fix Co-Teachers and Substitution teachers not being able to Grade Homeworks

22.7.1

Fixed in 22.7.1

  • Admin and teacher user could change other users without changing them self