Comments (9)
Yes, since each snapshot has it's own independent decryption key. Access to these doesn't compromise the "future" of the document.
from peer-pad.
@diasdavid @pgte the list of snapshots for a doc are lost when the user refreshes the page, and we don't currently have timestamp info on the objects. Do you want the UI to add them to localstorage / or is it a peerpad-core responsibility?
from peer-pad.
Right now peerpad-core only takes the snapshot, so it's up to the app to do whatever with it.
(Later on we plan to store docs and have a directory view, but right now that's still a bit fuzzy.. (at least for me)).
from peer-pad.
@olizilla while you're at it, could you please make the hash link open in a new window?
from peer-pad.
👍
note to self: fix #54 while we're in here.
from peer-pad.
@pgte It is ok to store the snapshot hash and key in localStorage? I know this is an alpha with no security promises, but I still wanted to check.
from peer-pad.
@pgte last question! Snapshots need to be keyed on current document, so I know which ones to load when we render a new pad. Is it sensible to use the readKey for the current doc, since the name is mutable.
from peer-pad.
The document name should not change, you're probably thinking about the document title, so it's safe.
In regards to the document title changing, let's track this on another issue, I've neglected this part.
from peer-pad.
Ah, I think name and title are currently conflated in the UI. name
is plucked from the the url, set as state, and then mutated when the user edits the title. I'll pull them apart.
from peer-pad.
Related Issues (20)
- Ideas for shorter urls HOT 1
- Snapshots are broken
- UI tweaks for launch (or shortly after) HOT 3
- Pasting a PeerPad link into the browser address bar doesn't change document
- Cursor appears in wrong spot after deleting text
- Open links in separate tabs
- Make editor and preview panes independently scrollable
- Report in the UI if the pinner is unhealthy HOT 3
- Clicking on the back button after creating a new document will create another document HOT 2
- Landscape of Open Collaborative Text Editors HOT 2
- No emoji support HOT 2
- Consider piggybacking on full featured collaborative editors HOT 1
- PeerPad welcome page is gone HOT 4
- peerpad.net does not work if IPFS Companion extension is enabled in Chrome
- Current Status of the project HOT 3
- Your server is about to be hit by a huge load. Good luck managing it! Godspeed! HOT 1
- Site is not working. Uncaught error in private Firefox window and wss connection establish fail in normal window. HOT 1
- ipfs://QmeEezw8Mw25HKbDHWu4iu56RjWZJAmtrkabUwwaoC18ek/PENTHOUSE_Obsidian.glb
- Title can't be blank
- tetris_game HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peer-pad.