Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
691 commits
Select commit Hold shift + click to select a range
f5652f3
Merge pull request #1777 from nodeSolidServer/fix/issue#1774
bourgeoa Mar 18, 2024
e949377
shaky fix for issue#1692
zg009 Mar 21, 2024
4d029be
removed resource from originally failing tests
zg009 Mar 21, 2024
d5a6103
Update lib/handlers/put.js
zg009 Mar 21, 2024
1a8987e
Update lib/handlers/put.js
zg009 Mar 21, 2024
08886af
Update lib/handlers/put.js
zg009 Mar 21, 2024
52480a3
moved invalid suffix logic to LDP class, write test for patch in patc…
zg009 Mar 21, 2024
4becb86
force resolve
zg009 Mar 21, 2024
51163e9
added invalid suffix check to ldp and test in http-test
zg009 Mar 22, 2024
d56cdf0
only for containers
bourgeoa Mar 23, 2024
e4bb2e9
fixed todo and added .meta test in patch-test
zg009 Mar 25, 2024
3afe36b
added example test and recursive suffix checking in ldp.post
zg009 Mar 29, 2024
c68a304
renamed example test
zg009 Mar 29, 2024
d419882
update POST create container test
bourgeoa Mar 29, 2024
7f8ff3f
Merge branch 'fix/issue#1692' of https://github.com/solid/node-solid-…
bourgeoa Mar 29, 2024
a5b8e48
removed some comments
zg009 Mar 29, 2024
f6ef443
Update lib/ldp.js
zg009 Apr 1, 2024
141868d
Update lib/ldp.js
zg009 Apr 1, 2024
be1429e
Update test/integration/http-test.js
zg009 Apr 1, 2024
47a66d6
Update test/integration/http-test.js
zg009 Apr 1, 2024
d9a6865
Update test/integration/http-test.js
zg009 Apr 1, 2024
81d8dfd
Update test/integration/http-test.js
zg009 Apr 1, 2024
0b6df62
Merge pull request #1778 from nodeSolidServer/fix/issue#1692
bourgeoa Apr 3, 2024
f97d7db
mashlib@1.8.10
bourgeoa Apr 3, 2024
21096e2
5.7.10
bourgeoa Apr 3, 2024
86784bd
describe AccountManager (OIDC account creation tests) working with no…
zg009 Apr 20, 2024
6fd2354
describe Singue User Signup page working with node v15
zg009 Apr 20, 2024
8590a8f
account-creation-oidc-test passing all with node 15
zg009 Apr 20, 2024
ab4dc83
account template test has weird expectation, not sure how related?
zg009 Apr 20, 2024
2971101
acl-oidc-test appears to be passing, should 4 test cases that are ski…
zg009 Apr 20, 2024
9781e02
authentication-oidc-test appears to be passing on node v 15
zg009 Apr 20, 2024
2a6ea44
header-test commented out code works node v15
zg009 Apr 20, 2024
0c1dce0
fixing ldp tests
zg009 Apr 20, 2024
81577bf
fixing ldp tests more
zg009 Apr 20, 2024
2fbb0b1
fixed more ldp tests
zg009 Apr 20, 2024
aaa82b8
fixed graph tests
zg009 Apr 20, 2024
cbaae77
putGraph and getGraph work in ldp-test
zg009 Apr 20, 2024
73456f3
delete passing in ldp-test
zg009 Apr 20, 2024
0d59524
ldp-test mostly working, need way to test listContainer and overQuota
zg009 Apr 20, 2024
5a60c6f
all but listContainer working in ldp-test
zg009 Apr 20, 2024
cdc052d
remove debug console.log statements
zg009 Apr 21, 2024
e589850
ldp tests all passing
zg009 Apr 21, 2024
49e8e81
all FIX1502 addressed
zg009 Apr 21, 2024
d173bca
4 tests in LDP Skipped - do not evaluate properly, conditionals also …
zg009 Apr 21, 2024
0806b7f
added cleanup for account manager test, need two tests to be fixed
zg009 Apr 21, 2024
f3e34c1
fixed broken account manager tests, added files for support
zg009 Apr 21, 2024
60ef3aa
Merge pull request #1763 from ewingson/main
bourgeoa Apr 22, 2024
bb1e52b
Merge pull request #1782 from nodeSolidServer/fix/issue#1502
bourgeoa Apr 30, 2024
f69653b
mashlib@1.8.11
bourgeoa Apr 30, 2024
07ee53c
5.7.11
bourgeoa Apr 30, 2024
0ad5455
test: added accountTemplate for registering hostname at app creation …
zg009 May 11, 2024
eee6488
added logic for relative uri maybe
zg009 May 11, 2024
2a1f7e4
removed training wheels to not break test cases
zg009 May 11, 2024
b795602
added test cases for relative webid change
zg009 May 11, 2024
72b20b4
minor cleaning and variable clarity
zg009 May 13, 2024
18b7cb3
renamed example var
zg009 May 13, 2024
1034123
check against externalWebId
bourgeoa May 17, 2024
99b3219
webId relative to pod
bourgeoa May 21, 2024
a5ab656
removed hostname registration deleted fn
zg009 May 21, 2024
3f2eb27
added function to also strip port, updated test cases
zg009 May 21, 2024
6a44656
use webUri.origin and update tests
bourgeoa May 22, 2024
5e71231
Update put.js send 200 or 201 depending on prexistance of resource
jeff-zucker May 24, 2024
d602ad8
Update put.js
jeff-zucker May 24, 2024
12d3405
Update put.js 200->204 when replacing
jeff-zucker May 25, 2024
df9beab
Update lib/handlers/put.js
CxRes May 29, 2024
43bf813
tests and cleaning
bourgeoa May 30, 2024
f589a20
Merge pull request #1785 from nodeSolidServer/jeff-zucker-patch-1
bourgeoa May 31, 2024
d7b7bd9
fix: Return 201 when PATCH creates a new resource
CxRes May 31, 2024
a69da13
replace res.sendStatus with res.status and update tests
bourgeoa Jun 2, 2024
b8e9aed
Use Double Quotes in package.json > scripts
CxRes Jun 2, 2024
843c771
Merge pull request #1787 from nodeSolidServer/CxRes-patch-lint-script…
bourgeoa Jun 15, 2024
f5b2b5c
Merge pull request #1786 from nodeSolidServer/CxRes-patch-set-status-…
jeff-zucker Aug 28, 2024
21b15be
feat: PREP Notifications
CxRes Aug 30, 2024
f4fb5a0
feat: Add Solid-PREP Notifications
CxRes Aug 30, 2024
109ce09
Bump CI and Docker to node v22
CxRes Aug 30, 2024
7b23e57
Replace nyc with c8
CxRes Aug 30, 2024
3d93e13
fix: Correct Parenting for Solid-PREP Notifications
CxRes Sep 8, 2024
fd99081
Step Down to Node 20
CxRes Sep 8, 2024
8021633
fix: Relax Content-Type Checks in Integration Tests
CxRes Sep 8, 2024
e0ebc31
fix: Repository for Surface Tests
CxRes Sep 9, 2024
beaaa03
chore: Bump Express PREP
CxRes Oct 7, 2024
bda034a
feat: Add Tests for PREP
CxRes Oct 8, 2024
b0e7eb0
feat: Add Flag to disable PREP
CxRes Oct 10, 2024
6a287e4
refactor: Remove Commented Code in `get.js`
CxRes Oct 13, 2024
a6067e3
chore: Bump PREP Dependencies
CxRes Oct 19, 2024
568b58a
fix: Send Parent Notifications on Root
CxRes Oct 23, 2024
3fa2be9
fix: Activity is `as:Add` on Container POST
CxRes Oct 23, 2024
6f4b22b
fix: Set `target` on Container POST
CxRes Oct 23, 2024
2a277ff
fix: Set `origin` when Contained Resource is Removed
CxRes Oct 23, 2024
d08a88f
test: Notification when Creating a Container with POST
CxRes Oct 23, 2024
33997ae
chore: Bump Express PREP
CxRes Oct 23, 2024
1f6c16f
fix: Do Not Overwrite `req.url` on Container PUT
CxRes Oct 23, 2024
c933a74
test: Notification when Creating/Deleting Container in Container
CxRes Oct 23, 2024
2da77b0
refactor: Add Debugging for Failed Notifications
CxRes Oct 23, 2024
44dc0bc
fix: Correctly Set Location on non-RDF Notifications
CxRes Oct 23, 2024
29f3e08
rewrite create container to keep req
bourgeoa Nov 4, 2024
fd5837c
Merge pull request #1797 from nodeSolidServer/basic-prep
bourgeoa Nov 4, 2024
671586c
Update README.md
bourgeoa Nov 4, 2024
953785d
5.8.0
bourgeoa Nov 5, 2024
a8bf8c4
Update test_image_foundations.py
bourgeoa Nov 5, 2024
417bf13
Merge branch 'resourceMapper' of https://github.com/solid/node-solid-…
bourgeoa Nov 5, 2024
1b1989e
package-lock.json
bourgeoa Nov 5, 2024
cb804ab
Merge branch 'main' into fix#1783
bourgeoa Nov 5, 2024
fa7e7e5
Merge pull request #1784 from nodeSolidServer/fix#1783
bourgeoa Nov 5, 2024
a3ab58e
5.8.1
bourgeoa Nov 6, 2024
4ce0c0e
Merge branch 'main' of https://github.com/solid/node-solid-server int…
bourgeoa Nov 6, 2024
41a2ba3
5.8.2
bourgeoa Nov 6, 2024
fef1ea2
fix: Use XML Date Format in Notifications
CxRes Nov 8, 2024
ad7073b
fix: Swapped `object` and `target`/`origin` in Notifications
CxRes Nov 8, 2024
c33bc32
fix: Notification Templates
CxRes Nov 10, 2024
6c31436
feat/refactor: Event-ID Generated for Notifications Only
CxRes Nov 10, 2024
d6a992f
chore: Ensure CI runs Node 20
CxRes Nov 10, 2024
d86d150
fix: Wrap IRIs in <> in Turtle Notification Templete
CxRes Nov 11, 2024
96ce2f0
Merge pull request #1801 from nodeSolidServer/basic-prep-fix-1
bourgeoa Nov 23, 2024
108f5fe
mashlib@1.10.2
bourgeoa Nov 23, 2024
86748d8
5.8.3
bourgeoa Nov 23, 2024
4a2d5ba
replace deprecated defaultForNew
bourgeoa Nov 26, 2024
5dc908c
Merge pull request #1804 from nodeSolidServer/fix-templates
bourgeoa Jan 13, 2025
0ce11b1
replace res.set()
bourgeoa Feb 11, 2025
edd5a52
add res.statusCode for prep
bourgeoa Feb 12, 2025
887a94e
Clean up status code
CxRes Feb 12, 2025
67fc385
Merge pull request #1808 from nodeSolidServer/fix/issue#1807
bourgeoa Feb 12, 2025
87740a8
5.8.4
bourgeoa Feb 12, 2025
552b7c4
res.set(headers) and mashlib@1.10.4
bourgeoa Feb 14, 2025
9b6a44c
mashlib text/markdown
bourgeoa Feb 21, 2025
cb17bac
remove comment
bourgeoa Feb 21, 2025
2b5d78b
update minor dependencuies
bourgeoa Feb 21, 2025
d32d45f
Merge pull request #1809 from nodeSolidServer/fix/issue#1807
bourgeoa Feb 21, 2025
19ba5e5
5.8.5
bourgeoa Feb 21, 2025
471c99e
remove --experimental-require-module
bourgeoa Apr 9, 2025
6b667bf
c8 -n
bourgeoa Apr 9, 2025
3011c50
mocha -n
bourgeoa Apr 9, 2025
5ceab36
-n experimental-require-module
bourgeoa Apr 9, 2025
8e3f3c3
Update ci.yml
bourgeoa Apr 9, 2025
82b0ffb
Merge branch 'fix/issue#1798' of https://github.com/solid/node-solid-…
bourgeoa Apr 9, 2025
1fe3a95
skip single-user
bourgeoa Apr 9, 2025
ba5c8eb
nyc to replace c8
bourgeoa Apr 9, 2025
0431dcf
remove test/integration
bourgeoa Apr 10, 2025
eb8d1e8
rm account-creation-oidc-test.js
bourgeoa Apr 11, 2025
78f574b
rm('resources/accounts/single-user/')
bourgeoa Apr 12, 2025
ca769c6
resolve
bourgeoa Apr 12, 2025
f66a8ea
remove test single-user
bourgeoa Apr 12, 2025
7fa1039
restore test account-creation-oidc-test.js
bourgeoa Apr 14, 2025
3c2ce8a
run test/unit first
bourgeoa Apr 17, 2025
eaeba0a
rename to www
bourgeoa Apr 17, 2025
1fcedb2
Merge pull request #1813 from nodeSolidServer/fix/issue#1798
bourgeoa Apr 17, 2025
8ed4e77
update mashlib@1.11.1
bourgeoa Oct 29, 2025
3f5adfa
npm upgrade jwa see issue 1823
bourgeoa Oct 31, 2025
e88c20d
Merge pull request #1828 from nodeSolidServer/jwa
bourgeoa Nov 1, 2025
f029cba
5.8.6
bourgeoa Nov 1, 2025
9b0a3f4
replace deprecated request critical issue
bourgeoa Nov 3, 2025
4ddec6b
use basic-request in tests
bourgeoa Nov 3, 2025
b3333e5
edit .git
bourgeoa Nov 4, 2025
2a100f4
Merge pull request #1829 from nodeSolidServer/fix/request
bourgeoa Nov 4, 2025
9f12bba
replace npm request in tests
bourgeoa Nov 6, 2025
d75a7cd
high security audit fixes
bourgeoa Nov 7, 2025
35b4ff0
add rdflib
bourgeoa Nov 7, 2025
b3b3de3
Merge pull request #1831 from nodeSolidServer/fix/request
bourgeoa Nov 7, 2025
8f26c81
5.8.7
bourgeoa Nov 7, 2025
b60acb1
missing common/css/bootstrap.min.css
bourgeoa Nov 7, 2025
11b8d9d
5.8.8
bourgeoa Nov 7, 2025
6f6e708
mixed ESM
bourgeoa Nov 13, 2025
6e0b966
more mixed for app
bourgeoa Nov 13, 2025
78c0558
more mixed for app and test
bourgeoa Nov 13, 2025
f3f3968
index.mjs
bourgeoa Nov 13, 2025
d5d0e75
Fix line endings in bin/solid for Docker compatibility
Nov 13, 2025
13e5054
package.json
Nov 13, 2025
0357fea
.gitattributes
Nov 13, 2025
5b65f43
test/ migrated to esm in test-esm/
Nov 13, 2025
ac4eec7
ESM Migration: Convert main lib files and lib/api to ESM
Nov 13, 2025
73b2626
ESM Migration: Complete lib/api/ and lib/handlers/ conversion
Nov 13, 2025
277633e
Add ESM test command to CI workflow
bourgeoa Nov 14, 2025
562a91b
add missing test-esm/resources
Nov 20, 2025
d2ebe52
update esm and tests
Nov 20, 2025
86da28f
add missing .mjs files
Nov 22, 2025
04fef95
missing mjs file
Nov 25, 2025
f3d0a1b
add esm entry point
Nov 25, 2025
60e2f93
missing content in ldp.mjs
Nov 25, 2025
53c8278
miscellaneous updates
Nov 25, 2025
635f7b2
updates lib/api
Nov 25, 2025
ebf457f
updates to lib/srvices
Nov 25, 2025
7bd6cdd
updates to lib/models
Nov 25, 2025
aba64d9
updates to lib/payment-pointer-discovery.mjs
Nov 25, 2025
b935bdf
updates to lib/ldp-container.mjs
Nov 25, 2025
3f536ab
updates to lib/requests/auth-request.mjs
Nov 25, 2025
beb6dad
updates to lib/rdf-notification-template.mjs
Nov 25, 2025
c668ad3
updates to lib/handlers
Nov 25, 2025
5c258b2
lib/server-config.mjs
Nov 25, 2025
b370ff7
updates .mjs
Nov 30, 2025
1bf6b36
Revert "updates .mjs"
Nov 30, 2025
fd1a323
fix critical node-forge
Nov 30, 2025
7828cb6
fix critical issue on node-forge
Nov 30, 2025
f8ff940
esm account-manager and test
Dec 1, 2025
1706ce9
add default-templates/emails .mjs
Dec 2, 2025
ec340b2
update unit test to esm
Dec 2, 2025
32e473c
return to CJS utils.js
Dec 2, 2025
7afef98
update to esm only
Dec 6, 2025
21798f6
lint issues
Dec 6, 2025
128fc7c
add nyc-esm
Dec 6, 2025
be487db
some cleaning
Dec 6, 2025
89395b3
standard lint issues
Dec 8, 2025
924d4b8
Merge branch 'main' into nss2esm-hybrid
bourgeoa Dec 8, 2025
1e3025d
update require() and debug's
bourgeoa Dec 21, 2025
3f1fba3
delete patch.mjs.old
bourgeoa Dec 21, 2025
6db0f28
updates
bourgeoa Dec 22, 2025
7610c97
resources/config
bourgeoa Dec 22, 2025
23f2403
rename test-esm to test
bourgeoa Dec 23, 2025
94454d1
standard issues
bourgeoa Dec 23, 2025
951d712
remove test-esm from workflow
bourgeoa Dec 23, 2025
9424280
rm *.js to keep *.mjs
bourgeoa Dec 23, 2025
e1b12bb
update bin/solid and import index.mjs
bourgeoa Dec 23, 2025
3544e9b
c8 in CI workflow
bourgeoa Dec 23, 2025
40da84a
add missing test files
bourgeoa Dec 23, 2025
c65a248
some cleaning
bourgeoa Dec 23, 2025
bb700b5
mashlib was not loading and server OIDC listening issue
bourgeoa Dec 24, 2025
f1cbcc9
npm publish
bourgeoa Dec 24, 2025
9436591
oidc to include ES256/384/512
bourgeoa Dec 27, 2025
954a10d
update patch tests to rdflib@2.3.2
bourgeoa Dec 27, 2025
0d93949
update to rfc9702, eslint@9
bourgeoa Jan 2, 2026
bb4f708
eslint.config.mjs
bourgeoa Jan 2, 2026
9b10841
Merge pull request #1835 from nodeSolidServer/esm2
bourgeoa Jan 2, 2026
5598850
fix critical
bourgeoa Jan 2, 2026
6f51539
Merge pull request #1836 from nodeSolidServer/esm2
bourgeoa Jan 2, 2026
0ca48fc
replace node-fetch with fetch native
bourgeoa Jan 2, 2026
6889633
update minor
bourgeoa Jan 2, 2026
d8831d9
update mime-types
bourgeoa Jan 2, 2026
423774e
whatwg-url
bourgeoa Jan 2, 2026
183f113
supertest
bourgeoa Jan 2, 2026
d6dc935
mocha
bourgeoa Jan 2, 2026
b3f295e
fs-extra
bourgeoa Jan 2, 2026
91f9520
@fastify/busboy
bourgeoa Jan 2, 2026
96553e5
glob
bourgeoa Jan 2, 2026
48b9d35
is-ip
bourgeoa Jan 2, 2026
eaab15a
cross-env
bourgeoa Jan 2, 2026
809f996
into-stream
bourgeoa Jan 2, 2026
957b66e
commander
bourgeoa Jan 2, 2026
27cfb89
update to mashlib>=2.0.0
bourgeoa Jan 6, 2026
afc4929
remove some defaults .js
bourgeoa Jan 7, 2026
f9f9ef1
update minor dependencies
bourgeoa Jan 7, 2026
1876c4b
6.0.0
bourgeoa Jan 7, 2026
e470e61
V6.0.0
bourgeoa Jan 7, 2026
fd8426c
Update CHANGELOG for version 6.0.0
bourgeoa Jan 7, 2026
2caddca
Add upgrade notes for version <6.0.0
bourgeoa Jan 11, 2026
2ba5a9b
Remove unused resource parameter from getPermissionsFor
Jul 28, 2026
9930190
Potential fix for pull request finding
NaderMohamed325 Jul 28, 2026
bf77c4b
Merge pull request #1870 from NaderMohamed325/fix/remove-unused-resou…
bourgeoa Aug 8, 2026
af81129
mashlib@2.2.2
bourgeoa Aug 8, 2026
1c4ccaa
replaced the stale TabulatorOutline marker with runDataBrowser
bourgeoa Aug 8, 2026
e0ee057
Merge pull request #1872 from nodeSolidServer/fix/remove-unused-resou…
bourgeoa Aug 8, 2026
8f511a1
fix: CVE-2026-33937 security vulnerability
anupamme Aug 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .acl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Root ACL resource for the root
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.

<#public>
a acl:Authorization;
acl:agentClass foaf:Agent; # everyone
acl:accessTo </>;
acl:default </common/>;
acl:mode acl:Read.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Force bash scripts to have unix line endings
*.sh text eol=lf

# Force bin files (executable scripts) to have unix line endings
bin/* text eol=lf

# Ensure batch files on Windows keep CRLF line endings
*.bat text eol=crlf

# Binary files should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.tgz binary
163 changes: 163 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on:
push:
branches: [ main ]
tags: ['*']
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [ '^22.14.0' ]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4

# extract repository name
- if: github.event_name == 'pull_request'
run: echo "REPO_NAME=${{ github.event.pull_request.head.repo.full_name }}" >> $GITHUB_ENV

- if: github.event_name != 'pull_request'
run: echo "REPO_NAME=${GITHUB_REPOSITORY}" >> $GITHUB_ENV

# extract branch name
- if: github.event_name == 'pull_request'
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF}" >> $GITHUB_ENV

- if: github.event_name != 'pull_request'
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV

# print repository name
- name: Get repository name
run: echo 'The repository name is' $REPO_NAME

# print branch name
- name: Get branch name
run: echo 'The branch name is' $BRANCH_NAME

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
# test code
- run: npm run lint
- run: npm run validate
- run: npm run c8
# Test global install of the package
- run: npm pack .
- run: npm install -g solid-server-*.tgz
# Run the Solid test-suite
- run: bash test/surface/run-solid-test-suite.sh $BRANCH_NAME $REPO_NAME
- name: Save build
# if: matrix.node-version == '20.x'
uses: actions/upload-artifact@v5
with:
name: build
path: |
.
!node_modules
retention-days: 1

# The pipeline automate publication to npm, so that the docker build gets the correct version
npm-publish-build:
needs: [build]
name: Publish to npm
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v6
with:
name: build
- uses: actions/setup-node@v6
with:
node-version: 22.x
- uses: rlespinasse/github-slug-action@v3.x
- name: Append commit hash to package version
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
- name: Disable pre- and post-publish actions
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
- uses: JS-DevTools/npm-publish@v4.1.0
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
with:
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ env.GITHUB_REF_SLUG }}

npm-publish-latest:
needs: [build, npm-publish-build]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/download-artifact@v6
with:
name: build
- uses: actions/setup-node@v6
with:
node-version: 20.x
- name: Disable pre- and post-publish actions
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
- uses: JS-DevTools/npm-publish@v4.1.0
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
with:
token: ${{ secrets.NPM_TOKEN }}
tag: latest

# This job will only dockerize solid-server@latest / solid-server@<tag-name> from npmjs.com!
docker-hub:
needs: build
name: Publish to docker hub
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- uses: olegtarasov/get-tag@v2.1
id: tagName
with:
tagRegex: "v?(?<version>.*)"

- name: Lint dockerfile
working-directory: docker-image
run: pwd && ls -lah && make lint

- name: Run tests
working-directory: docker-image
run: SOLID_SERVER_VERSION=${{ steps.tagName.outputs.version }} make test

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: nodesolidserver/node-solid-server

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./docker-image/src
build-args: SOLID_SERVER_VERSION=${{ steps.tagName.outputs.version }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
/data
/coverage
/node_modules
/npm-debug.log
/npm-debug.log
.history/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v13.2.0
v18.19.0
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .well-known/.acl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ACL for the default .well-known/ resource
# Server operators will be able to override it as they wish
# Public-readable

@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.

<#public>
a acl:Authorization;

acl:agentClass foaf:Agent; # everyone

acl:accessTo </.well-known/>;

acl:mode acl:Read.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
# History
## 6.0.0
- CommonJs to ESM (.mjs)
- support for mashlib >= 2.0.0
- support solid-OIDC with WebID scope, es256, and rfc9702

## 6.0.0 Upgrade Notes

1.0 Automatically recreated
- delete `.db/oidc/op/provider.json`
- delete `config/templates/emails`
If not recreated then copy from `default-emails`
If there was some personalisation these need to be redone

2.0 Manuel update the `index.html` in server root `data/<serverOrigin>/index.html`
edit `common/js/index-buttons.js` to `index-buttons.mjs`

## 5.3.0
- Support for webid-oidc with DPop tokens

## 5.3.0 Upgrade Notes
You may have a `.db/oidc/op/provider.json` file that was generated by an older version
of node-solid-server, which may still specify `"response_types_supported"` without listing
`"id_token code"`. You can move this file out of the way and restart node-solid-server,
it will be created again. See https://github.com/solid/node-solid-server/issues/1433 for
more info.

## 5.0.0

Expand Down
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
FROM node:8.11.2-onbuild
FROM node:lts

# build
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
COPY package-lock.json /usr/src/app/
RUN npm install
COPY . /usr/src/app

# start
EXPOSE 8443
COPY config.json-default config.json
RUN openssl req \
Expand Down
Loading