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

Basic prep #1792

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Basic prep #1792

wants to merge 8 commits into from

Commits on Aug 30, 2024

  1. feat: PREP Notifications

    Implements Per Resource Events notifications in Node Solid Server.
    
    Implementation Notes:
    + Uses `--experimental-require-module` to load esm packages natively. Requires node > 22.0.0. Start scripts and test invocations have been appropriately modified.
    + NSS converts strings into an older streaming format which was not being detected by Express-PREP. Express-PREP was modified to ask the user if the body provided is a stream, thus circumventing this issue.
    + Notifications are triggered from a common middleware, which is invoked after the response has been succesfully sent.
    + Uses Express PREP supplied default template for notifications.
    CxRes committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    21b15be View commit details
    Browse the repository at this point in the history
  2. feat: Add Solid-PREP Notifications

    Add Solid/Activity Streams format notifications:
    + Provides notifictions in JSON-LD and Turtle.
    + Extends notifications to PUT and POST methods.
    + Add Event-ID header field to the response of a write method.
    CxRes committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    f4fb5a0 View commit details
    Browse the repository at this point in the history
  3. Bump CI and Docker to node v22

    CxRes committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    109ce09 View commit details
    Browse the repository at this point in the history
  4. Replace nyc with c8

    nyc does not work with ESM called with require().
    CxRes committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    7b23e57 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. fix: Correct Parenting for Solid-PREP Notifications

    Parent path is correctly determined only for non root resources. Parent notifications are only generated when resources have a parent.
    CxRes committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    3d93e13 View commit details
    Browse the repository at this point in the history
  2. Step Down to Node 20

    Node 20.17.0 LTS supports require(ESM). Therefore, allowing current Node LTS as well.
    CxRes committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    fd99081 View commit details
    Browse the repository at this point in the history
  3. fix: Relax Content-Type Checks in Integration Tests

    When checking response `Content-Type` during integration tests, relaxed all media-type values to regex.
    CxRes committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    8021633 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. fix: Repository for Surface Tests

    Picks the repository from where the PR branch exists.
    CxRes committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e0ebc31 View commit details
    Browse the repository at this point in the history