Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EW-1061 Course file export with Common Cartridge #5330

Merged
merged 190 commits into from
Jan 24, 2025
Merged

EW-1061 Course file export with Common Cartridge #5330

merged 190 commits into from
Jan 24, 2025

Conversation

psachmann
Copy link
Contributor

@psachmann psachmann commented Nov 8, 2024

Description

Expanding the course export with files. Files uploaded in tasks and cards are now included in the export.

Links to Tickets or other pull requests

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@psachmann psachmann changed the title updating esbuild and plugins for esbuild EW-1061 TBA Nov 8, 2024
Copy link

sonarqubecloud bot commented Nov 8, 2024

package.json Show resolved Hide resolved
@Fshmit Fshmit self-requested a review January 20, 2025 11:55
@Fshmit
Copy link
Contributor

Fshmit commented Jan 21, 2025

the implementation was tested manually again after the review changes ✅

@WahlMartin WahlMartin self-requested a review January 21, 2025 12:55
@WahlMartin WahlMartin merged commit 7b88ebd into main Jan 24, 2025
76 checks passed
@WahlMartin WahlMartin deleted the EW-1061 branch January 24, 2025 07:56
HKayed pushed a commit that referenced this pull request Jan 30, 2025
* EW-1060 testing the new export via a test endpoint

* EW-1060 moved linked task to lesson dto

* updating esbuild and plugins for esbuild

* generating files storage api client

* adding files storage client factory and module infrastructure

* working on export service

* EW-1060 implemented new cc export service via microservice

* EW-1060 resolved dependecy of the new cc mapper

* EW-1060 deleted testing dto of cc export

* EW-1060 created some classes instead of interfaces

* Regenerate lesson api client.

* EW-1060 implemented new mapping of lesson content

* EW-1060 modified mapper

* EW-1060 modified mapper of lesson dto

* EW-1060 removed items from api property

* Regenerate lesson client.

* regen lesson api.

* EW-1060 modified mapper of lesson content

* EW-1060 edited common cartridge mapper

* changing factory to adapter

* adding file resource to common cartridge

* trying file export for boards

* EW-1060 added control options of course element

* adding file export for tasks and boards

* adding modules to the learn room

* added logging

* changing parent id

* changing search id for download files

* changing download mechanics

* EW-1060 changed endpoint name of new export

* adding logging for files storage service

* EW-1060 changed export endpoint to POST

* adding debug logging

* adding more debug logging

* removing some debug logs

* changing async code execution

* EW-1060 modified mapping of some cc elements

* temp changes

* fixing imports for a module

* changing the base path

* changing logging

* changing logging

* EW-1060 deleted the old export endpoint of cc- microservice

* logging

* changing logging

* changing download mechanics

* updating open api definitions

* adding some logging

* changing factory

* changing logging

* changing logging

* adding logging

* some changes

* some changes

* some changes

* changing something

* changing something

* changes

* changes

* some changes

* some changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changing controller

* some changes

* some changes

* updating files storage api

* some changes

* adding logging

* some changes

* EW-1060 fixed export of cards

* changing file resource manifest type

* some bug fixes, probably

* hopefully fixing encoding errors

* changing to streams

* logging

* logging

* some changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* updating the cc micro service

* updating dependencies for c module

* naming resources

* EW-1060 changed showen title of a card

* changes

* changing mappers

* trimming file captions

* removing temp folder

* EW-1060 modified test of export uc

* removing dead code and linting

* reverting two files

* adding tests

* EW-1060 added some logs

* changes

* some changes

* EW-1060 added test for cc controller

* reverting some files and code cleanup

* reverting file and adding unit tests

* EW-1060 changed some variables name

* EW-1060 added logger module to imports

* adding unit tests

* adding unit tests and test factories

* adding unit tests

* moving method into adapter

* EW-1060 added tests for cc export service

* fixing compile errors

* adding unit tests

* code refactoring

* adding check and check:watch npm scripts

* fixing imports

* linting

* skipping one test suit

* skipping another test suit

* removing unused test

* fixing merge error

* removing linter warnings
:

* fixing merge errors

* fixing import error

* fixing imports

* skipping test

* skipping unit test

* some debugging

* test logging

* changing logging

* logging

* logging

* logging

* logging

* di update

* di update

* removing debug logs

* fixing unit tests

* fixing linter warnings

* updating sonar config

* working on coverage

* working on tests

* Update package.json

Co-authored-by: Fshmit <[email protected]>

* Update apps/server/src/modules/common-cartridge/export/interfaces/common-cartridge-resource.interface.ts

Co-authored-by: Fshmit <[email protected]>

* Update apps/server/src/modules/common-cartridge/service/common-cartridge.mapper.ts

Co-authored-by: Fshmit <[email protected]>

* working on review and renaming module

* updating module index.ts

* working on review

* fixing compile error

* fixing review comments

* fixing review comments

* working on review comments

* fixing imports

* fixing compile error

* updating package.json

* reverting lock file

* working on review comments

* fixing review comments

* removing comments

---------

Co-authored-by: Firas Shmit <[email protected]>
Co-authored-by: Maximilian Kreuzkam <[email protected]>
Co-authored-by: Fshmit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants