Skip to content

Commit c476fb2

Browse files
Merge branch 'master' into dev/precommit
2 parents fa3d808 + 11ab513 commit c476fb2

File tree

134 files changed

+5775
-2305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+5775
-2305
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: NSS-5.0.0 Regressions
3+
about: To report regressions in 5.0.0 (i.e. things that used to work in earlier releases),
4+
use this template
5+
title: ''
6+
labels: ''
7+
assignees: ''
8+
9+
---
10+
11+
## Please describe what you did in reproducible steps
12+
13+
14+
## How did it work with 4.x series servers?
15+
16+
17+
## What happened when you tried the same with the 5.x series server?
18+
19+
20+
## Any material that will help, logs, error messages, etc.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
/data
1515
/coverage
1616
/node_modules
17-
/npm-debug.log
17+
/npm-debug.log

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ install:
2323
script:
2424
# Test the code
2525
- npm run standard
26+
- npm run validate
2627
- npm run nyc
2728
# Test global install of the package
2829
- npm pack .
@@ -31,6 +32,8 @@ script:
3132
after_success:
3233
- snyk monitor
3334

35+
cache: npm
36+
3437
notifications:
3538
email:
3639

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# History
22

3+
## 5.0.0
4+
5+
- Node versions greater than 8 are supported.
6+
- Changes to vocabulary use:
7+
- `solid:inbox` is deprecated in favour of `ldp:inbox`.
8+
- `acl:defaultForNew` is deprecated in favour of `acl:default`.
9+
- Terms of Service may be added and enforced for new registrations,
10+
but is disabled by default.
11+
- DELETE operations on a resource now require that the user has write permissions on
12+
the file's container
13+
- Improved support for logout ensures users can use different
14+
identities.
15+
- The profile container is now public readable by default.
16+
- Access Control:
17+
- The Access Control List system has undergone extensive
18+
changes. Security has been tightened, and some unsafe practices that
19+
where web apps was authorized access in the past are now not
20+
permitted.
21+
- The browser-reported `Origin` header will now be checked by
22+
default, and the ACL system can be used to restrict access
23+
to applications for added security.
24+
- Users can add `trustedApp` entries to their profile using a new databrowser pane.
25+
You will see an 'A' icon added while you view a Person's profile URL
26+
with the data browser (might have to hit refresh in your browser and make sure you
27+
are viewing a WebId URL like https://localhost:8443/profile/card#me).
28+
- Logging is now verbose by default so the `-v` option has been
29+
removed and a `--quiet` option has been added to mute the log.
30+
- To be bug compliant with 4.x releases, if a rule for public readable
31+
root / does not exist, it will check in /index.html.acl (see issue #1063)
32+
- Command line options are now kebab-cased rather than camelCased,
33+
config options may be both.
34+
- Resource with no extension now have '$.ttl' appended in the filename (see upgrades notes below).
35+
- Many smaller fixes.
36+
37+
#### 5.0.0 Upgrade Notes
38+
39+
- As of v5.0.0, all Turtle files need an extension. (**Intervention needed when updating from < 5.0.0!**)
40+
- **How to upgrade?**
41+
1. Stop the server.
42+
2. Update node-solid-server to 5.0.0.
43+
3. Make a backup of your `data/` and `config/` folders.
44+
4. Invoke `solid migrate-legacy-resources -v`.
45+
This makes the files in your `data/` and `config/` folders
46+
automatically compatible with the new system.
47+
You only need to do this once.
48+
Different data folders can be migrated as well with the `-p` option:
49+
`solid migrate-legacy-resources -p my/custom/data/folder -v`
50+
5. You can now start the server again as usual.
51+
- **Why?**
52+
Before version 5.0.0, `https://pod.example/profile/card`
53+
would map to `file:///solid/profile/card`, with the _assumption_
54+
that it uses content-type `text/turtle`.
55+
Now, this URL will map to `file:///solid/profile/card$.ttl` instead,
56+
which makes the content-type automatically detectable.
57+
This fixes many of the old Content-Type-related bugs.
58+
_More information: https://www.w3.org/DesignIssues/HTTPFilenameMapping.html_
59+
60+
## 4.4.0
61+
62+
- Introduce a quota system. Delete the /settings/serverSide.ttl in the
63+
user's POD to disable, or edit to fit your resource constraints.
64+
65+
#### Changelog is incomplete for much of the 4.x series
66+
367
## 4.1.0
468

569
- Add support for Group Access Control Lists.

CONTRIBUTORS.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Contributors to the solid-server npm module
2+
3+
The Solid community wants to acknowledge the hard work and dedication put in by many people, several of whom are listed below.
4+
5+
Please [let us know](https://github.com/solid/node-solid-server/edit/master/CONTRIBUTORS.md) if anyone is missing from this list, or if you wish to add yourself.
6+
7+
## Project lead
8+
- [Tim Berners-Lee](https://www.w3.org/People/Berners-Lee/)
9+
10+
## Current code contributors
11+
People with significant code contributions over the past couple of months, in alphabetical order:
12+
13+
- [Arne Hassel](http://icanhasweb.net/)
14+
- [Kjetil Kjernsmo](http://kjetil.kjernsmo.net/)
15+
- [Ruben Taelman](https://www.rubensworks.net/)
16+
17+
## Previous code contributors
18+
People with significant code contributions further in the past, in alphabetical order:
19+
20+
- [Nicola Greco](https://nicola.io/)
21+
- [Martin Martinez Rivera](https://github.com/martinmr)
22+
- [Andrei Sambra](https://deiu.me/)
23+
- [Ruben Verborgh](https://ruben.verborgh.org/)
24+
- [Dmitri Zagidulin](http://computingjoy.com/)
25+
26+
## Project contributors
27+
People who have significantly contributed to issues, testing, and/or discussions, in alphabetical order:
28+
- [Justin Bingham](https://github.com/justinwb)
29+
- [Sarven Capadisli](http://csarven.ca/)
30+
- [Melvin Carvalho](https://melvincarvalho.com/)
31+
- [Amy Guy](https://rhiaro.co.uk/)
32+
- [Kingsley Idehen](https://github.com/kidehen)
33+
34+
## Community contributors
35+
Thanks to everyone who has tried solid-server, discussed about it, created issues and/or pull requests.
36+
Your input is necessary to help Solid grow!

EXAMPLES.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

LICENSE renamed to LICENSE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
The MIT License (MIT)
22

3-
Copyright © 2014
3+
Copyright © 2014–present Arne Hassel, Nicola Greco, Kjetil Kjernsmo,
4+
Martin Martinez Rivera, Andrei Sambra, Ruben Taelman, Ruben Verborgh,
5+
and Dmitri Zagidulin
46

57
Permission is hereby granted, free of charge, to any person obtaining a copy
68
of this software and associated documentation files (the "Software"), to deal
@@ -15,8 +17,7 @@ copies or substantial portions of the Software.
1517
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1618
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1719
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
22+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2223

0 commit comments

Comments
 (0)