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

Development: Theia integration test #9759

Open
wants to merge 113 commits into
base: develop
Choose a base branch
from

Conversation

janthoXO
Copy link
Contributor

@janthoXO janthoXO commented Nov 12, 2024

THIS PR SHOULD NOT BE MERGED AND IS ONLY FOR TESTING PURPOSES

Testserver States

Note

These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.







Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced AllowedTools annotation for method-level access control based on tool permissions.
    • Added ToolTokenType enumeration to represent different tool types.
    • Implemented ToolsInterceptor to manage access control using JWT tokens.
    • Enhanced JWT handling with new methods for token extraction and validation.
    • New endpoint to retrieve programming exercises by project key with access restrictions.
    • Added getToolToken method for generating tool-specific bearer tokens in AccountService.
    • Introduced getBuildConfig method in ProgrammingExerciseService to retrieve build configurations.
  • Enhancements

    • Improved error handling and validation in various resource methods.
    • Detailed logging added to course-related methods for better performance tracking.
    • Enhanced participation management logic with stricter adherence to exercise rules and user permissions.
    • Simplified button rendering logic for programming exercises by removing the online IDE button.
    • Updated the authorize method to return an access token in a more structured format.
  • Tests

    • Expanded test coverage for JWT filter functionality with additional test cases.
    • Updated tests to validate the visibility of buttons based on the new access control logic.
    • Enhanced test suite for CodeButtonComponent to include scenarios for Theia integration and button visibility.

@coderabbitai pause

iyannsch and others added 30 commits September 23, 2024 18:17
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@iyannsch iyannsch added the deploy:artemis-test9 Testserver for Project Theia label Nov 26, 2024
@iyannsch iyannsch temporarily deployed to artemis-test9.artemis.cit.tum.de November 26, 2024 16:38 — with GitHub Actions Inactive
@github-actions github-actions bot added lock:artemis-test9 and removed deploy:artemis-test9 Testserver for Project Theia labels Nov 26, 2024
Copy link

github-actions bot commented Dec 8, 2024

There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 8, 2024
@janthoXO janthoXO removed the stale label Dec 9, 2024
Copy link

There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 21, 2024
@janthoXO janthoXO removed the stale label Dec 21, 2024
@janthoXO janthoXO requested a review from a team as a code owner January 6, 2025 16:11
@github-actions github-actions bot added the assessment Pull requests that affect the corresponding module label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assessment Pull requests that affect the corresponding module client Pull requests that update TypeScript code. (Added Automatically!) config-change Pull requests that change the config in a way that they require a deployment via Ansible. core Pull requests that affect the corresponding module exercise Pull requests that affect the corresponding module lock:artemis-test9 programming Pull requests that affect the corresponding module server Pull requests that update Java code. (Added Automatically!) tests
Projects
Status: Ready For Review
Development

Successfully merging this pull request may close these issues.

3 participants