mashlib 1.7.22-cf728d26 → 1.7.22-d23315c0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -85,6 +85,25 @@ For backward compatibility reasons, there are now different ways to make use of
85
85
 
86
86
  You can see example usage in the [SolidOS Databrowser Webapp code](https://github.com/solid/mashlib/blob/main/static/browse.html#L11).
87
87
 
88
+ ## Code changes due to moving authn from solid-ui to solid-logic
89
+
90
+ Some packages have been moved and with them some functions too. Here we report on these changes:
91
+
92
+ ### Solid-ui & Solid-logic related:
93
+
94
+ * There is no more `authn` as you might have known it in solid-ui pre mashlib version 1.7.18 (solid-ui 2.4.16).
95
+ * There are still functions in solid-ui which initially were found under `solid-ui/authn` are now under `solid-ui/login`.
96
+ * Two functions were renamed:
97
+ * logInLoadPreferences -> ensureLoadedPreferences
98
+ * logInLoadProfile -> ensureLoadedProfile
99
+ * logIn -> ensureLoggedIn
100
+
101
+ Functions that moved:
102
+
103
+ * `currentUser`, `checkUser`, `saveUser`, `offlineTestID` are now part of `solid-logic/authn/SolidAuthnLogic.ts`-> this is because `authn` itself moved to solid-logic.
104
+ * `setACLUserPublic`, `fetchACLRel` are not part of `solid-logic/src/acl/aclLogic.ts/` and are exported in [index.ts](https://github.com/solid/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L12).
105
+ * `loadIndex`, `loadTypeIndexes`, `ensureTypeIndexes`, `registerInTypeIndex` and are exported in [index.ts](https://github.com/solid/solid-logic/blob/f606b31382a416ee6188930c3ca05cb4ae73cbda/src/index.ts#L16).
106
+
88
107
  ## The databrowser hack: upgrading your browser
89
108
 
90
109
  This refers to a specific way in which the mashlib is deployed for users who at first only have a conventional web browser - a hypertext browser not a data browser. It is a hack -- in the original computing sense of a crafty, though not beautiful, little thing which gets the job done.
@@ -1,3 +1,3 @@
1
1
  <!doctype html><html><head><meta charset="utf-8"/><title>SolidOS Web App</title><script>document.addEventListener('DOMContentLoaded', function() {
2
2
  panes.runDataBrowser()
3
- })</script><link href="/mash.css" rel="stylesheet"></head><body class="db-layout"><header class="db-layout__header header" id="PageHeader"></header><div class="TabulatorOutline db-layout__content" id="DummyUUID" role="main"><table id="outline"></table><div id="GlobalDashboard"></div></div><footer class="db-layout__footer" id="PageFooter"></footer><script src="/mashlib.min.js"></script></body></html>
3
+ })</script><link href="/mash.css" rel="stylesheet"></head><body id="PageBody"><header id="PageHeader"></header><div class="TabulatorOutline" id="DummyUUID" role="main"><table id="outline"></table><div id="GlobalDashboard"></div></div><footer id="PageFooter"></footer><script src="/mashlib.min.js"></script></body></html>