diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..db6da18 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +encoding//conf/routes=UTF-8 +encoding//conf/routes-default=UTF-8 diff --git a/conf/routes-default b/conf/routes-default index 2579f85..b2ae56e 100644 --- a/conf/routes-default +++ b/conf/routes-default @@ -6,12 +6,12 @@ module:testrunner # Home is My Blog Get / Blog.Index -GET /note Note.index +GET /note Note.Index # leanote home -GET /index Index.index +GET /index Index.Index GET /login Auth.Login -POST /doLogin Auth.doLogin +POST /doLogin Auth.DoLogin GET /logout Auth.Logout Get /demo Auth.Demo diff --git a/mongodb_backup/leanote_install_data/has_share_notes.bson b/mongodb_backup/leanote_install_data/has_share_notes.bson new file mode 100644 index 0000000..87417a7 Binary files /dev/null and b/mongodb_backup/leanote_install_data/has_share_notes.bson differ diff --git a/mongodb_backup/leanote_install_data/has_share_notes.metadata.json b/mongodb_backup/leanote_install_data/has_share_notes.metadata.json new file mode 100644 index 0000000..1a0c071 --- /dev/null +++ b/mongodb_backup/leanote_install_data/has_share_notes.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.has_share_notes", "name" : "_id_" }, { "v" : 1, "key" : { "UserId" : 1, "ToUserId" : 1 }, "unique" : true, "ns" : "leanote_public.has_share_notes", "name" : "UserId_1_ToUserId_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/note_content_histories.bson b/mongodb_backup/leanote_install_data/note_content_histories.bson new file mode 100644 index 0000000..f23d81a Binary files /dev/null and b/mongodb_backup/leanote_install_data/note_content_histories.bson differ diff --git a/mongodb_backup/leanote_install_data/note_content_histories.metadata.json b/mongodb_backup/leanote_install_data/note_content_histories.metadata.json new file mode 100644 index 0000000..0d7035d --- /dev/null +++ b/mongodb_backup/leanote_install_data/note_content_histories.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.note_content_histories", "name" : "_id_" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/note_contents.bson b/mongodb_backup/leanote_install_data/note_contents.bson new file mode 100644 index 0000000..81a60a4 Binary files /dev/null and b/mongodb_backup/leanote_install_data/note_contents.bson differ diff --git a/mongodb_backup/leanote_install_data/note_contents.metadata.json b/mongodb_backup/leanote_install_data/note_contents.metadata.json new file mode 100644 index 0000000..76f46c2 --- /dev/null +++ b/mongodb_backup/leanote_install_data/note_contents.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.note_contents", "name" : "_id_" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/notebooks.bson b/mongodb_backup/leanote_install_data/notebooks.bson new file mode 100644 index 0000000..961ddb2 Binary files /dev/null and b/mongodb_backup/leanote_install_data/notebooks.bson differ diff --git a/mongodb_backup/leanote_install_data/notebooks.metadata.json b/mongodb_backup/leanote_install_data/notebooks.metadata.json new file mode 100644 index 0000000..36e5787 --- /dev/null +++ b/mongodb_backup/leanote_install_data/notebooks.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.notebooks", "name" : "_id_" }, { "v" : 1, "key" : { "UserId" : 1 }, "ns" : "leanote_public.notebooks", "name" : "UserId_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/notes.bson b/mongodb_backup/leanote_install_data/notes.bson new file mode 100644 index 0000000..5f4e5dd Binary files /dev/null and b/mongodb_backup/leanote_install_data/notes.bson differ diff --git a/mongodb_backup/leanote_install_data/notes.metadata.json b/mongodb_backup/leanote_install_data/notes.metadata.json new file mode 100644 index 0000000..e8aa4f3 --- /dev/null +++ b/mongodb_backup/leanote_install_data/notes.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.notes", "name" : "_id_" }, { "v" : 1, "key" : { "UserId" : 1 }, "ns" : "leanote_public.notes", "name" : "UserId_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/share_notebooks.bson b/mongodb_backup/leanote_install_data/share_notebooks.bson new file mode 100644 index 0000000..21a1124 Binary files /dev/null and b/mongodb_backup/leanote_install_data/share_notebooks.bson differ diff --git a/mongodb_backup/leanote_install_data/share_notebooks.metadata.json b/mongodb_backup/leanote_install_data/share_notebooks.metadata.json new file mode 100644 index 0000000..59ba7b8 --- /dev/null +++ b/mongodb_backup/leanote_install_data/share_notebooks.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.share_notebooks", "name" : "_id_" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/share_notes.bson b/mongodb_backup/leanote_install_data/share_notes.bson new file mode 100644 index 0000000..5e549f8 Binary files /dev/null and b/mongodb_backup/leanote_install_data/share_notes.bson differ diff --git a/mongodb_backup/leanote_install_data/share_notes.metadata.json b/mongodb_backup/leanote_install_data/share_notes.metadata.json new file mode 100644 index 0000000..8d224ab --- /dev/null +++ b/mongodb_backup/leanote_install_data/share_notes.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.share_notes", "name" : "_id_" }, { "v" : 1, "key" : { "UserId" : 1, "ToUserId" : 1, "NoteId" : 1 }, "unique" : true, "ns" : "leanote_public.share_notes", "name" : "UserId_1_ToUserId_1_NoteId_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/system.indexes.bson b/mongodb_backup/leanote_install_data/system.indexes.bson new file mode 100644 index 0000000..542137a Binary files /dev/null and b/mongodb_backup/leanote_install_data/system.indexes.bson differ diff --git a/mongodb_backup/leanote_install_data/system.users.bson b/mongodb_backup/leanote_install_data/system.users.bson new file mode 100644 index 0000000..3793a43 Binary files /dev/null and b/mongodb_backup/leanote_install_data/system.users.bson differ diff --git a/mongodb_backup/leanote_install_data/system.users.metadata.json b/mongodb_backup/leanote_install_data/system.users.metadata.json new file mode 100644 index 0000000..0e8679a --- /dev/null +++ b/mongodb_backup/leanote_install_data/system.users.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.system.users", "name" : "_id_" }, { "v" : 1, "key" : { "user" : 1, "userSource" : 1 }, "unique" : true, "ns" : "leanote_public.system.users", "name" : "user_1_userSource_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/tags.bson b/mongodb_backup/leanote_install_data/tags.bson new file mode 100644 index 0000000..e69de29 diff --git a/mongodb_backup/leanote_install_data/tags.metadata.json b/mongodb_backup/leanote_install_data/tags.metadata.json new file mode 100644 index 0000000..b99c16b --- /dev/null +++ b/mongodb_backup/leanote_install_data/tags.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.tags", "name" : "_id_" }, { "v" : 1, "key" : { "UserId" : 1 }, "ns" : "leanote_public.tags", "name" : "UserId_1" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/tokens.bson b/mongodb_backup/leanote_install_data/tokens.bson new file mode 100644 index 0000000..e164514 Binary files /dev/null and b/mongodb_backup/leanote_install_data/tokens.bson differ diff --git a/mongodb_backup/leanote_install_data/tokens.metadata.json b/mongodb_backup/leanote_install_data/tokens.metadata.json new file mode 100644 index 0000000..e3e10b9 --- /dev/null +++ b/mongodb_backup/leanote_install_data/tokens.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.tokens", "name" : "_id_" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/user_blogs.bson b/mongodb_backup/leanote_install_data/user_blogs.bson new file mode 100644 index 0000000..35e56e5 Binary files /dev/null and b/mongodb_backup/leanote_install_data/user_blogs.bson differ diff --git a/mongodb_backup/leanote_install_data/user_blogs.metadata.json b/mongodb_backup/leanote_install_data/user_blogs.metadata.json new file mode 100644 index 0000000..e8e4bc2 --- /dev/null +++ b/mongodb_backup/leanote_install_data/user_blogs.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.user_blogs", "name" : "_id_" } ] } \ No newline at end of file diff --git a/mongodb_backup/leanote_install_data/users.bson b/mongodb_backup/leanote_install_data/users.bson new file mode 100644 index 0000000..d623e13 Binary files /dev/null and b/mongodb_backup/leanote_install_data/users.bson differ diff --git a/mongodb_backup/leanote_install_data/users.metadata.json b/mongodb_backup/leanote_install_data/users.metadata.json new file mode 100644 index 0000000..50d6dcf --- /dev/null +++ b/mongodb_backup/leanote_install_data/users.metadata.json @@ -0,0 +1 @@ +{ "indexes" : [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "leanote_public.users", "name" : "_id_" } ] } \ No newline at end of file