standardnotes / markdown-basic

[Moved to https://github.com/standardnotes/app] A basic Markdown editor for Standard Notes
https://standardnotes.com
GNU Affero General Public License v3.0
11 stars 12 forks source link

Is this extension outdated? #1

Closed bnjbvr closed 6 years ago

bnjbvr commented 6 years ago

Hi! I'm trying to set up this extension on my server, and I'm running into a few issues:

Am I missing something here? Is the code outdated, or not in sync with https://github.com/standardnotes/web at least?

Thanks for your answer and for making StandardNotes, it's really nice.

moughxyz commented 6 years ago

Hey, sorry for the confusion. Actually, the code you're looking at now is very new code :) So new that it doesn't yet interact with the master branch on the web repo. You should be looking at the "packages" (or v2.1) branch on web. This is an all new (internally) component system which uses the code that is already deployed to master on all the extension repos. This is because I'm gearing up to launch 2.1 some time this month.

Sorry for the confusion. Going forward, check out the packages branch to better understand components and extensions. It'll be merged into master pretty soon.

bnjbvr commented 6 years ago

I think I got it: the extensions are already using the code that's on the packages branch of the web server, so my issue is invalid. (If that's not true, can you correct me, please?) Thanks!

bnjbvr commented 6 years ago

(hah, mid-air collision 🙂 Thanks for confirming!)

moughxyz commented 6 years ago

:) And to address the permissions issue, the new method by which components seek permission is to essentially just perform an action, and the componentsManager will deduce the necessary permissions. You can still do it the old way, but this way is easier since you don't have to explicitly request anything.

moughxyz commented 6 years ago

Oh and lastly, extensions on 2.1 can be installed offline, so you might not even need to set it up on your own server (unless you plan on accessing it from the web). More info here: https://github.com/standardnotes/forum/issues/152