Coder Social home page Coder Social logo

notepages's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

notepages's Issues

Remote path to mdext submodule

It looks like the mdext and quickdiff submodules use "[email protected]" paths, so others can't access it. Here's what a fresh (recursive) clone looks like:

$ git clone --recursive https://github.com/fivesixty/notepages.git
...
Resolving deltas: 100% (698/698), done.
Submodule 'public/lib/ace' (git://github.com/ajaxorg/ace.git) registered for path 'support/ace'
Submodule 'public/lib/mdext' ([email protected]:fivesixty/mdext.git) registered for path 'support/mdext'
Submodule 'public/lib/quickdiff' ([email protected]:fivesixty/quickdiff.git) registered for path 'support/quickdiff'
Submodule 'support/store' (git://github.com/marcuswestin/store.js.git) registered for path 'support/store'
...
Initialized empty Git repository in /home/caseywstark/development/notepages/support/mdext/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of '[email protected]:fivesixty/mdext.git' into submodule path 'support/mdext' failed
$

So the rest of the submodules aren't updated either. I changed the relevant lines in .git/config to:

[submodule "public/lib/mdext"]
url = git://github.com/fivesixty/mdext.git
[submodule "public/lib/quickdiff"]
url = git://github.com/fivesixty/quickdiff.git

After "git submodule update", it looks good.

Error with Firefox 4

Hitting the home page with Firefox 4 seems to create the new page and redirect me to it, but the editing view doesn't show up. There's an error visible in the Firebug console:

uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionEnd]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://notepag.es/assets/lib/fieldSelection.jquery.js :: <TOP_LEVEL> :: line 22" data: no]

jade protect filter broken?

I got everything up and running, but going to a notepages page throws a SyntaxError. That is, the front page renders fine, but going to any other url, I get:

500 SyntaxError: Unexpected token ILLEGAL
at Object.Function (unknown source)
at Object.compile (/home/caseywstark/notepages/node_modules/jade/lib/jade.js:160:8)
at Function.compile (/home/caseywstark/notepages/node_modules/express/lib/view.js:68:33)
at ServerResponse._render (/home/caseywstark/notepages/node_modules/express/lib/view.js:417:18)
at ServerResponse.render (/home/caseywstark/notepages/node_modules/express/lib/view.js:318:17)
at Promise. (/home/caseywstark/notepages/notepages/server.js:149:11)
at Promise. (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:120:8)
at Promise. (events.js:67:17)
at Promise.emit (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:59:38)
at Promise.complete (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:70:20)

I searched around and it sounded like a Jade syntax error. I tried debugging with the jade bin and it was fine after I took out the MathJax script include and all references to the page var. I tried adding each piece in one at a time -- the references to page work fine and the page renders, but as soon as I include the MathJax block, I get the same error.

I'm sorry I don't have a fix to this, but I've never worked with node, express, or jade.

Is there a backup of the notepag.es database?

I wrote many documents on notepag.es about 1 year ago, and it seems like the website is not up now. Unfortunately, I'm not sure if I backed up those articles, and even if I did, I cannot find them now.

Is there any chance that you still have a database dump from which I might be able to extract the articles? I have the relevant links to notepag.es URLs, if that might help. I would highly appreciate if that might be possible. Thanks!

express 3

Just tried installing node and dependencies following readme. Apparently picked up express 3.0.0beta7, and running notepages app gives:

console.log("Express server listening on port %d", app.address().port);
                                                     ^
TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'address'
    at Object.<anonymous> (/Users/khalid/Development/notepages/server.js:186:58)

This issue seems to be mentioned in https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x, I guess the app needs updates for express 3.

Delimiters for inline math

Maybe I didn't know where to look, but the current usage seems undiscoverable to a user unless they look at the mathjax chunk in the HTML source of the preview.

Currently, %% is used to start/end inline math. Would it be possible for notepag.es to support starting/ending inline math with $, since that's standard LaTeX usage (% is typically used for comments in LaTeX). I think this would make things more convenient while writing math and would also make the format more compatible with LaTeX.

I wonder if changing the format would make it more cumbersome to freely use $s in the document without some escape sequence.

Password protection

Hello!

It would be awsome to be able to use the password protection in notepag.es also to hide a page from those who don't know the password.

Regards,

Jakov

notepag.es Down

As of the creation of this issue, http://notepag.es/ is down. All pages return err 502:

502 Bad Gateway
nginx/0.7.65

I assume this is a server configuration change, and not you abandoning the project. I'd be very happy to see the site back online. If not, and you're abandoning it for whatever reason, please drop me a line, at the very least I'd like to get a couple of my own documents off; I might even be interested in continuing hosting the project.

As a side note, it's a fantastic site. Props.

Equation editor

Some kind of mini editor to help build equations (symbol insertion etc).

Feature request: Save on `cmd + s` or `ctrl + s`

Would be cool if it saved on cmd + s or ctrl + s.
Cheers and thanks for a great service!
D

PS Might also be cool if the rendered markdown had a little less space between bullet points. This is kinda minor though and very much personal preference, just thought I'd mention it in case you happen to agree.

break out markdown Ace plugin

I really like your markdown support for Ace but I can't really use it in another project because it's kind of hard to detangle. Would you consider breaking it out in to it's own library?

site is down

Hey, is the notepag.es site ever coming back? I'm looking for a doc I wrote about 7 months ago that I'd really like to get back, but it looks like the site has been down for a while now. I know I probably should have backed up the doc elsewhere, but if you could put the site back up even for a short while, I'd be very grateful.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.