Giter VIP home page Giter VIP logo

leanote-all's People

Contributors

lealife avatar

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  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

leanote-all's Issues

Server continuous error

When I copy paste a web page to leanote desktop app I got these errors:

shell console output:
.......
017/07/12 10:06:26.432 192.168.40.1 500 50.42736ms GET /api/note/getNoteContent
2017/07/12 10:06:26.430 192.168.40.1 500 58.104752ms GET /api/note/getNoteContent
2017/07/12 10:06:28.577 192.168.40.1 500 40.058768ms GET /api/note/getNoteContent
2017/07/12 10:06:28.580 192.168.40.1 500 46.328897ms GET /api/note/getNoteContent
2017/07/12 10:06:28.583 192.168.40.1 500 52.381446ms GET /api/note/getNoteContent
2017/07/12 10:06:28.586 192.168.40.1 500 56.627447ms GET /api/note/getNoteContent
2017/07/12 10:06:30.420 192.168.40.1 500 23.992911ms GET /api/note/getNoteContent
..........

Desktop application always loading can do nothing.

tail -f /opt/leanote/leanote-all/src/github.com/leanote/leanote/leanote.log:

net/http.serverHandler.ServeHTTP(0x44200b5970, 0xde7cc0, 0x44204170a0, 0x44206ffb00)
/usr/lib/go/src/net/http/server.go:2568 +0x7c
net/http.(*conn).serve(0x442054e780, 0xde8500, 0x44208d6f00)
/usr/lib/go/src/net/http/server.go:1825 +0x474
created by net/http.(*Server).Serve
/usr/lib/go/src/net/http/server.go:2668 +0x240
TRACE 2017/07/12 10:01:41 i18n.go:218: Unable to read locale cookie with name 'LEANOTE_LANG': http: named cookie not present
TRACE 2017/07/12 10:01:41 i18n.go:187: Unable to find locale in cookie or header, using empty string
TRACE 2017/07/12 10:01:41 i18n.go:218: Unable to read locale cookie with name 'LEANOTE_LANG': http: named cookie not present
TRACE 2017/07/12 10:01:41 i18n.go:187: Unable to find locale in cookie or header, using empty string
ERROR 2017/07/12 10:01:41 panic.go:34: runtime error: slice bounds out of range
/opt/leanote/leanote-all/src/github.com/leanote/leanote/app/service/NoteService.go:1070 +0xf74
github.com/leanote/leanote/app/controllers/api.ApiNote.GetNoteContent(0x44202a7800, 0x442013cd44, 0x18, 0x48c540, 0xa1fc40)
/opt/leanote/leanote-all/src/github.com/leanote/leanote/app/controllers/api/ApiNoteController.go:201 +0x1e0
github.com/leanote/leanote/app/controllers/api.(*ApiNote).GetNoteContent(0x44202e5188, 0x442013cd44, 0x18, 0x0, 0x0)
:313 +0x60
reflect.Value.call(0xa1fc40, 0x44202e5188, 0x2a13, 0xa2a1fe, 0x4, 0x442019b720, 0x1, 0x1, 0x953101, 0x0, ...)
/usr/lib/go/src/reflect/value.go:434 +0x8b4
reflect.Value.Call(0xa1fc40, 0x44202e5188, 0x2a13, 0x442019b720, 0x1, 0x1, 0x0, 0x1, 0x13)
/usr/lib/go/src/reflect/value.go:302 +0x7c
github.com/revel/revel.ActionInvoker(0x44202a7800, 0x4420070b90, 0x0, 0x0)
/opt/leanote/leanote-all/src/github.com/revel/revel/invoker.go:48 +0x4d0
github.com/revel/revel.CompressFilter(0x44202a7800, 0x4420070b90, 0x1, 0x1)
/opt/leanote/leanote-all/src/github.com/revel/revel/compress.go:55 +0x64

I copy paste part of https://jingyan.baidu.com/article/295430f1d6dc800c7e00508d.html with images.

post.html的一点问题

主题的post.html的第32行在URL地址为leanote.com/blog/post/admin/*时导致头像地址错误,修改成

后正常。

single.html中也存在这个问题。

how to disable ace_content

How to disable automatic content format/style changing/colour function in webpage based leanote.

When I copy paste big webpages into leanote this function seems slow. And quite often mistake the content. Such as copy from stackoverflow with content like "#include "

c.RenderArgs undefined (type Oauth has no field or method RenderArgs)

The Go code ..\src\github.com\leanote\leanote\app\controllers\OauthController.go does not compile: c.RenderArgs undefined (type Oauth has no field or method RenderArgs).

func (c Oauth) GithubCallback(code string) revel.Result {
	t := &oauth.Transport{Config: oauthCfg}

	// Exchange the received code for a token
	tok, err := t.Exchange(code)
	token := tok.AccessToken
	if err != nil || token == "" {
		c.RenderArgs["title"] = "error"
		return c.RenderTemplate("oauth/oauth_callback_error.html")
	}

        ...
}

窗体更改存在问题

macOS 10.12.6 + leanote v2.6
leanote和其他程序分屏打开后,无法恢复为原来窗体,通过窗体关闭按钮关闭leanote会黑屏(只是leanote程序界面,其他程序界面正常),只能通过退出leanote重新打开恢复正常
email:[email protected]
@leanote

arch里无法运行

./Leanote
./Leanote: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

archlinux+openbox

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.