jinda 0.5.2 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/generators/jinda/install_generator.rb +10 -2
- data/lib/generators/jinda/templates/README.md +1 -1
- data/lib/generators/jinda/templates/app/assets/stylesheets/app.scss +11 -5
- data/lib/generators/jinda/templates/app/assets/stylesheets/articles.scss +16 -6
- data/lib/generators/jinda/templates/app/controllers/concerns/jinda_general_concern.rb +27 -4
- data/lib/generators/jinda/templates/app/controllers/concerns/jinda_run_concern.rb +135 -6
- data/lib/generators/jinda/templates/app/controllers/jinda_org/application_controller.rb +0 -1
- data/lib/generators/jinda/templates/app/controllers/jinda_org/articles_controller.rb +58 -35
- data/lib/generators/jinda/templates/app/controllers/jinda_org/comments_controller.rb +12 -10
- data/lib/generators/jinda/templates/app/controllers/jinda_org/docs_controller.rb +56 -0
- data/lib/generators/jinda/templates/app/controllers/jinda_org/jinda_controller.rb +23 -2
- data/lib/generators/jinda/templates/app/controllers/jinda_org/notes_controller.rb +6 -8
- data/lib/generators/jinda/templates/app/jinda/index.mm +90 -25
- data/lib/generators/jinda/templates/app/jinda/template/view.html.erb +22 -23
- data/lib/generators/jinda/templates/app/models/jinda/doc.rb +5 -0
- data/lib/generators/jinda/templates/app/views/articles/index.haml +2 -2
- data/lib/generators/jinda/templates/app/views/articles/my.haml +3 -3
- data/lib/generators/jinda/templates/app/views/articles/new_article/form_article.html.erb +5 -3
- data/lib/generators/jinda/templates/app/views/articles/show.html.haml +4 -3
- data/lib/generators/jinda/templates/app/views/docs/doc_edit/doc_edit.html.erb +21 -0
- data/lib/generators/jinda/templates/app/views/docs/doc_edit/doc_select.html.erb +14 -0
- data/lib/generators/jinda/templates/app/views/docs/doc_new/doc_form.html.erb +26 -0
- data/lib/generators/jinda/templates/app/views/docs/doc_new/doc_form.md +36 -0
- data/lib/generators/jinda/templates/app/views/docs/doc_xedit/doc_edit.html.erb +21 -0
- data/lib/generators/jinda/templates/app/views/docs/edit/select_note.html.erb +14 -0
- data/lib/generators/jinda/templates/app/views/docs/index.haml +21 -0
- data/lib/generators/jinda/templates/app/views/docs/my.haml +27 -0
- data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +3 -3
- data/lib/generators/jinda/templates/app/views/jinda/run_output.haml +3 -3
- data/lib/generators/jinda/templates/app/views/layouts/_head.html.erb +7 -10
- data/lib/generators/jinda/templates/app/views/layouts/{_metatag.html.erb → _meta_tag.html.erb} +0 -0
- data/lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml +1 -9
- data/lib/generators/jinda/templates/app/views/notes/new/new_note.html.erb +1 -1
- data/lib/jinda/helpers.rb +11 -16
- data/lib/jinda/version.rb +1 -1
- data/lib/jquery.validate.js +1293 -0
- metadata +13 -8
- data/lib/generators/jinda/templates/app/views/layouts/_meta_tags.html.erb +0 -5
- data/lib/generators/jinda/templates/app/views/new.html.erb +0 -7
- data/lib/jinda/ template/view.html.erb +0 -25
- data/lib/jinda/app/jinda/index.mm +0 -309
- data/lib/jinda/app/jinda/template/view.html.erb +0 -27
@@ -1,5 +1,4 @@
|
|
1
1
|
class ApplicationController < ActionController::Base
|
2
|
-
# https://www.cookieshq.co.uk/posts/easy-seo-metatags-with-rails-4#a-word-about-turbolinks
|
3
2
|
before_action :prepare_meta_tags, if: -> { request.get? }
|
4
3
|
# CSRF protection is turned on with the protect_from_forgery method.
|
5
4
|
protect_from_forgery unless: -> { request.format.json? }
|
@@ -1,23 +1,30 @@
|
|
1
1
|
class ArticlesController < ApplicationController
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
before_action :load_articles, except: [:destroy]
|
3
|
+
before_action :load_my_articles, only: [:my]
|
4
|
+
before_action :load_article, only: [:destroy, :update]
|
5
5
|
|
6
6
|
def index
|
7
|
-
|
7
|
+
# before_action
|
8
8
|
end
|
9
9
|
|
10
|
-
def
|
10
|
+
def my
|
11
|
+
# before_action
|
12
|
+
end
|
13
|
+
|
14
|
+
def show
|
15
|
+
@article = Article.find(params[:article_id])
|
16
|
+
@comments = @article.comments.desc(:created_at).page(params[:page]).per(10)
|
11
17
|
prepare_meta_tags(title: @article.title,
|
12
18
|
description: @article.text,
|
13
19
|
keywords: @article.keywords)
|
14
20
|
end
|
15
21
|
|
16
22
|
def edit
|
17
|
-
@page_title = '
|
23
|
+
@page_title = 'Edit Article'
|
18
24
|
end
|
19
25
|
|
20
26
|
def create
|
27
|
+
# Use Jinda $xvars
|
21
28
|
@article = Article.new(
|
22
29
|
title: $xvars["form_article"]["title"],
|
23
30
|
text: $xvars["form_article"]["text"],
|
@@ -27,51 +34,67 @@ class ArticlesController < ApplicationController
|
|
27
34
|
@article.save!
|
28
35
|
end
|
29
36
|
|
30
|
-
def
|
31
|
-
|
32
|
-
@
|
37
|
+
def my_update
|
38
|
+
# before_action
|
39
|
+
@article.update(title: $xvars["edit_article"]["article"]["title"],
|
40
|
+
text: $xvars["edit_article"]["article"]["text"],
|
41
|
+
keywords: $xvars["edit_article"]["article"]["keywords"],
|
42
|
+
body: $xvars["edit_article"]["article"]["body"]
|
43
|
+
)
|
33
44
|
end
|
34
45
|
|
35
|
-
def
|
36
|
-
#
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
text: $xvars["edit_article"]["text"],
|
44
|
-
keywords: $xvars["edit_article"]["keywords"],
|
45
|
-
body: $xvars["edit_article"]["body"]
|
46
|
+
def j_update
|
47
|
+
# Use Jinda $xvars
|
48
|
+
@article_id = $xvars["select_article"] ? $xvars["select_article"]["title"] : $xvars["p"]["article_id"]
|
49
|
+
@article = Article.find_by :id => @article_id
|
50
|
+
@article.update(title: $xvars["edit_article"]["article"]["title"],
|
51
|
+
text: $xvars["edit_article"]["article"]["text"],
|
52
|
+
keywords: $xvars["edit_article"]["article"]["keywords"],
|
53
|
+
body: $xvars["edit_article"]["article"]["body"]
|
46
54
|
)
|
47
55
|
end
|
48
56
|
|
49
57
|
def destroy
|
50
|
-
#
|
51
|
-
|
52
|
-
# Expected to use in jinda)controller
|
53
|
-
current_ma_user = User.where(:auth_token => cookies[:auth_token]).first if cookies[:auth_token]
|
54
|
-
|
55
|
-
if Rails.env.test? #Temp solution until fix test of current_ma_user
|
56
|
-
current_ma_user = $xvars["current_ma_user"]
|
57
|
-
#current_ma_user = @article.user
|
58
|
-
end
|
58
|
+
# Use Rails
|
59
|
+
# before_action
|
59
60
|
|
60
|
-
if
|
61
|
+
if current_admin? || current_ma_user == @article.user
|
61
62
|
@article.destroy
|
62
63
|
end
|
63
64
|
|
64
|
-
|
65
|
+
action = (current_admin? ? 'index' : 'my')
|
66
|
+
redirect_to :action=> (current_admin? ? 'index' : 'my')
|
65
67
|
end
|
66
68
|
|
67
69
|
private
|
70
|
+
|
71
|
+
def current_admin?
|
72
|
+
if current_ma_user.role.upcase.split(',').include?("A")
|
73
|
+
return true
|
74
|
+
else
|
75
|
+
return false
|
76
|
+
end
|
77
|
+
end
|
68
78
|
|
69
|
-
|
70
|
-
|
79
|
+
|
80
|
+
def load_articles
|
81
|
+
@articles = Article.desc(:created_at).page(params[:page]).per(10)
|
71
82
|
end
|
72
|
-
|
83
|
+
|
84
|
+
def load_my_articles
|
85
|
+
@my_articles = @articles.where(user: current_ma_user)
|
86
|
+
end
|
87
|
+
|
73
88
|
def load_article
|
74
|
-
|
89
|
+
@article = Article.find(params[:article_id])
|
90
|
+
end
|
91
|
+
|
92
|
+
def article_params
|
93
|
+
params[:article_id]
|
94
|
+
end
|
95
|
+
|
96
|
+
def load_edit_article
|
97
|
+
@article = Article.find(params.require(:article).permit(:article_id))
|
75
98
|
end
|
76
99
|
|
77
100
|
def load_comments
|
@@ -1,17 +1,19 @@
|
|
1
1
|
class CommentsController < ApplicationController
|
2
2
|
|
3
3
|
def create
|
4
|
-
|
5
|
-
|
6
|
-
# def comment_params
|
7
|
-
# params.require(:comment).permit(:commenter, :body)
|
8
|
-
# end
|
9
|
-
#
|
10
|
-
@article = Article.find($xvars['p']['comment']['article_id'])
|
11
|
-
@comment = @article.comments.new(
|
12
|
-
body: $xvars['p']['comment']['body'],
|
13
|
-
user_id: $xvars["user_id"])
|
4
|
+
@article = Article.find(article_params["article_id"])
|
5
|
+
@comment = @article.comments.new(comment_params)
|
14
6
|
@comment.save!
|
7
|
+
redirect_to controller: 'articles', action: 'show', article_id: @article
|
15
8
|
end
|
16
9
|
|
10
|
+
private
|
11
|
+
|
12
|
+
def article_params
|
13
|
+
params.require(:comment).permit(:article_id)
|
14
|
+
end
|
15
|
+
|
16
|
+
def comment_params
|
17
|
+
params.require(:comment).permit(:body, :article_id, :user_id)
|
18
|
+
end
|
17
19
|
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
class DocsController < ApplicationController
|
2
|
+
before_action :load_doc, only: [:destroy]
|
3
|
+
before_action :load_doc_form, only: [:doc_update, :edit, :my]
|
4
|
+
|
5
|
+
def index
|
6
|
+
@documents = Jinda::Doc.desc(:created_at).page(params[:page]).per(10)
|
7
|
+
end
|
8
|
+
|
9
|
+
def edit
|
10
|
+
end
|
11
|
+
|
12
|
+
def my
|
13
|
+
@page_title = 'My Document'
|
14
|
+
end
|
15
|
+
|
16
|
+
def doc_update
|
17
|
+
# Instead of creaete, Doc record was created in form, when upload file
|
18
|
+
|
19
|
+
if Jinda::Doc.where(:runseq_id => $xvars["doc_form"]["runseq_id"]).exists?
|
20
|
+
@doc = Jinda::Doc.where(:runseq_id => $xvars["doc_form"]["runseq_id"]).first
|
21
|
+
@doc.update(description: $xvars["doc_form"]["description"],
|
22
|
+
category: $xvars["doc_form"]["jinda_doc"]["category"],
|
23
|
+
keywords: $xvars["doc_form"]["keywords"],
|
24
|
+
user_id: $xvars["user_id"]
|
25
|
+
)
|
26
|
+
else
|
27
|
+
# create here
|
28
|
+
# Todo
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def destroy
|
33
|
+
# duplicated from jinda_controller
|
34
|
+
# Expected to use in jinda_controller
|
35
|
+
current_ma_user = User.where(:auth_token => cookies[:auth_token]).first if cookies[:auth_token]
|
36
|
+
|
37
|
+
if Rails.env.test? #Temp solution until fix test of current_ma_user
|
38
|
+
current_ma_user = $xvars["current_ma_user"]
|
39
|
+
#current_ma_user = @doc.user
|
40
|
+
end
|
41
|
+
|
42
|
+
if current_ma_user.role.upcase.split(',').include?("A") || current_ma_user == @doc.user
|
43
|
+
@doc.destroy
|
44
|
+
end
|
45
|
+
redirect_to :action=>'my'
|
46
|
+
end
|
47
|
+
|
48
|
+
private
|
49
|
+
|
50
|
+
def load_doc_form
|
51
|
+
@docs = Jinda::Doc.all.desc(:created_at).page(params[:page]).per(10)
|
52
|
+
end
|
53
|
+
def load_doc
|
54
|
+
@doc = Jinda::Doc.find(params[:doc_id])
|
55
|
+
end
|
56
|
+
end
|
@@ -13,7 +13,7 @@ class JindaController < ApplicationController
|
|
13
13
|
xmain = create_xmain(@service)
|
14
14
|
result = create_runseq(xmain)
|
15
15
|
unless result
|
16
|
-
message = "cannot find action for xmain #{xmain.id}"
|
16
|
+
message = "Node missing action icon: cannot find action for xmain #{xmain.id}, the node required action(icon) in freemind eg: form, list, method"
|
17
17
|
ma_log(message)
|
18
18
|
flash[:notice]= message
|
19
19
|
redirect_to "pending" and return
|
@@ -21,9 +21,13 @@ class JindaController < ApplicationController
|
|
21
21
|
xmain.update_attribute(:xvars, @xvars)
|
22
22
|
xmain.runseqs.last.update_attribute(:end,true)
|
23
23
|
#Above line cause error update_attribute in heroku shown in logs and it was proposed to fixed in github:'kul1/g241502'
|
24
|
+
# Main action run with :id
|
24
25
|
redirect_to :action=>'run', :id=>xmain.id
|
26
|
+
|
25
27
|
else
|
26
28
|
refresh_to "/", :alert => "Error: cannot process"
|
29
|
+
error_run_xmain = "Error_run_xmain"
|
30
|
+
ma_log(error_run_xmain)
|
27
31
|
end
|
28
32
|
end
|
29
33
|
|
@@ -32,6 +36,24 @@ class JindaController < ApplicationController
|
|
32
36
|
# action from @r.action == do, form, if, output
|
33
37
|
# Then will call def run_do, run_form, run_if, run_output
|
34
38
|
########################################################################]
|
39
|
+
#
|
40
|
+
# run
|
41
|
+
# init_vars
|
42
|
+
# To get all var from global and runseq, action
|
43
|
+
# (@runseq.action)
|
44
|
+
#
|
45
|
+
# run_do, run_form, run_if, run_output
|
46
|
+
# run_do => controller => action eg: update, create, document
|
47
|
+
# run_form =>
|
48
|
+
# run_form.haml => - next step => def end_form
|
49
|
+
# - next_step = end_form
|
50
|
+
# run_if =>
|
51
|
+
# run_output =>
|
52
|
+
#
|
53
|
+
# end_action
|
54
|
+
# => save local var to database :current_runseq
|
55
|
+
# :current_runseq => next_runseq
|
56
|
+
#
|
35
57
|
def run
|
36
58
|
init_vars(params[:id])
|
37
59
|
if authorize?
|
@@ -41,5 +63,4 @@ class JindaController < ApplicationController
|
|
41
63
|
redirect_to_root
|
42
64
|
end
|
43
65
|
end
|
44
|
-
|
45
66
|
end
|
@@ -3,7 +3,8 @@ class NotesController < ApplicationController
|
|
3
3
|
# before_action :xload_current_ma_user, only: [:destroy]
|
4
4
|
|
5
5
|
def index
|
6
|
-
@notes = Note.desc(:created_at).page(params[:page]).per(10)
|
6
|
+
# @notes = Note.desc(:created_at).page(params[:page]).per(10)
|
7
|
+
@notes = Note
|
7
8
|
end
|
8
9
|
|
9
10
|
def my
|
@@ -20,8 +21,8 @@ class NotesController < ApplicationController
|
|
20
21
|
|
21
22
|
def create
|
22
23
|
@note = Note.new(
|
23
|
-
title: $xvars["new_note"]["title"],
|
24
|
-
body: $xvars["new_note"]["body"],
|
24
|
+
title: $xvars["new_note"]["note"]["title"],
|
25
|
+
body: $xvars["new_note"]["note"]["body"],
|
25
26
|
user_id: $xvars["user_id"])
|
26
27
|
@note.save!
|
27
28
|
# if @note.save!
|
@@ -31,7 +32,6 @@ class NotesController < ApplicationController
|
|
31
32
|
# format.html { render :new }
|
32
33
|
# format.json { render json: @note.errors, status: :unprocessable_entity }
|
33
34
|
# end
|
34
|
-
redirect_to @note
|
35
35
|
|
36
36
|
end
|
37
37
|
|
@@ -42,10 +42,8 @@ class NotesController < ApplicationController
|
|
42
42
|
# They contain everything that we get their forms select_note and edit_note
|
43
43
|
note_id = $xvars["select_note"] ? $xvars["select_note"]["id"] : $xvars["p"]["note_id"]
|
44
44
|
@note = Note.find(note_id)
|
45
|
-
@note.update(title: $xvars["edit_note"]["title"],
|
46
|
-
body: $xvars["edit_note"]["body"])
|
47
|
-
redirect_to @note
|
48
|
-
|
45
|
+
@note.update(title: $xvars["edit_note"]["note"]["title"],
|
46
|
+
body: $xvars["edit_note"]["note"]["body"])
|
49
47
|
end
|
50
48
|
|
51
49
|
def delete
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<map version="1.0.1">
|
2
2
|
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
|
3
3
|
<node CREATED="1273819432637" ID="ID_1098419600" MODIFIED="1334737006485" TEXT="Jinda">
|
4
|
-
<node CREATED="1273819462973" ID="ID_282419531" MODIFIED="
|
4
|
+
<node CREATED="1273819462973" ID="ID_282419531" MODIFIED="1589756758387" POSITION="right" TEXT="services">
|
5
5
|
<node CREATED="1275756501221" FOLDED="true" ID="ID_1720745721" MODIFIED="1583097151076" TEXT="users:User">
|
6
6
|
<node CREATED="1278491598711" ID="ID_1662699954" MODIFIED="1494393920347" TEXT="role:m"/>
|
7
7
|
<node CREATED="1279700865182" ID="ID_1266797279" MODIFIED="1357798847781" TEXT="link:info: /users"/>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
</node>
|
26
26
|
</node>
|
27
27
|
</node>
|
28
|
-
<node CREATED="1275752678377"
|
28
|
+
<node CREATED="1275752678377" ID="ID_1348489452" MODIFIED="1588883079396" TEXT="admins:Admin">
|
29
29
|
<node CREATED="1275752688167" ID="ID_229996461" MODIFIED="1275752690948" TEXT="role:a"/>
|
30
30
|
<node CREATED="1282722836614" ID="ID_1213363124" MODIFIED="1330477902602" TEXT="edit_role:edit user role">
|
31
31
|
<node CREATED="1282722862918" ID="ID_1190117882" MODIFIED="1330477922159" TEXT="select_user:select user">
|
@@ -44,15 +44,54 @@
|
|
44
44
|
<node CREATED="1275790679363" ID="ID_829325467" MODIFIED="1511159696044" TEXT="link: logs: /jinda/logs"/>
|
45
45
|
<node CREATED="1507573166973" ID="ID_351025910" MODIFIED="1511159700908" TEXT="link: docs: /jinda/doc"/>
|
46
46
|
</node>
|
47
|
-
<node CREATED="1273706796854"
|
47
|
+
<node CREATED="1273706796854" ID="ID_1003882979" MODIFIED="1588964401951" TEXT="devs: Developer">
|
48
48
|
<node CREATED="1275373154914" ID="ID_340725299" MODIFIED="1275373158632" TEXT="role:d"/>
|
49
49
|
<node CREATED="1275788317299" ID="ID_716276608" MODIFIED="1511159716471" TEXT="link: error_logs: /jinda/error_logs"/>
|
50
|
+
<node CREATED="1275788317299" ID="ID_1570419198" MODIFIED="1587858894833" TEXT="link: notice_logs: /jinda/notice_logs"/>
|
50
51
|
</node>
|
51
|
-
<node CREATED="
|
52
|
-
<node CREATED="
|
52
|
+
<node CREATED="1589756777499" FOLDED="true" ID="ID_853155456" MODIFIED="1592785016438" TEXT="docs: Document">
|
53
|
+
<node CREATED="1589757073388" ID="ID_1938238774" MODIFIED="1589772640862" TEXT="link: My Document: /docs/my">
|
54
|
+
<node CREATED="1589757125861" ID="ID_521286668" MODIFIED="1589757136547" TEXT="role:m"/>
|
55
|
+
</node>
|
56
|
+
<node CREATED="1589756879955" ID="ID_899042293" MODIFIED="1589910229085" TEXT="doc_new: New Document">
|
57
|
+
<node CREATED="1589756946117" ID="ID_1840278804" MODIFIED="1589910235469" TEXT="doc_form: Doc Form">
|
58
|
+
<icon BUILTIN="attach"/>
|
59
|
+
<node CREATED="1589757054618" ID="ID_642998203" MODIFIED="1589757059003" TEXT="role: m"/>
|
60
|
+
</node>
|
61
|
+
<node CREATED="1589757264764" ID="ID_1352102524" MODIFIED="1589772413612" TEXT="doc_update: Doc update">
|
62
|
+
<icon BUILTIN="bookmark"/>
|
63
|
+
</node>
|
64
|
+
</node>
|
65
|
+
<node CREATED="1493419562726" ID="ID_339628868" MODIFIED="1590424956484" TEXT="doc_edit: Edit Document">
|
66
|
+
<icon BUILTIN="button_cancel"/>
|
67
|
+
<node CREATED="1493419577933" ID="ID_801950372" MODIFIED="1590180699851" TEXT="doc_select: Select Document">
|
68
|
+
<icon BUILTIN="attach"/>
|
69
|
+
<node CREATED="1493479602815" ID="ID_761787946" MODIFIED="1493479606921" TEXT="role:m"/>
|
70
|
+
</node>
|
71
|
+
<node CREATED="1493419612720" ID="ID_1190499756" MODIFIED="1590180735204" TEXT="doc_edit: Edit Document">
|
72
|
+
<icon BUILTIN="attach"/>
|
73
|
+
<node CREATED="1493479557266" ID="ID_1216426484" MODIFIED="1493479561055" TEXT="role:m"/>
|
74
|
+
</node>
|
75
|
+
<node CREATED="1581400438157" ID="ID_447781815" MODIFIED="1590180242343" TEXT="doc_update: Doc_update">
|
76
|
+
<icon BUILTIN="bookmark"/>
|
77
|
+
</node>
|
78
|
+
</node>
|
79
|
+
<node CREATED="1495246388313" ID="ID_278169779" MODIFIED="1590180135106" TEXT="doc_xedit: Doc_hidden_menu">
|
80
|
+
<icon BUILTIN="button_cancel"/>
|
81
|
+
<node CREATED="1493419612720" ID="ID_541432768" MODIFIED="1590180160498" TEXT="doc_edit: Edit">
|
82
|
+
<icon BUILTIN="attach"/>
|
83
|
+
<node CREATED="1493479557266" ID="ID_1339913531" MODIFIED="1493479561055" TEXT="role:m"/>
|
84
|
+
</node>
|
85
|
+
<node CREATED="1581400438157" ID="ID_802199910" MODIFIED="1590180242343" TEXT="doc_update: Doc_update">
|
86
|
+
<icon BUILTIN="bookmark"/>
|
87
|
+
</node>
|
88
|
+
</node>
|
89
|
+
</node>
|
90
|
+
<node CREATED="1493393619430" ID="ID_554831343" MODIFIED="1592926786394" TEXT="notes: Notes">
|
91
|
+
<node CREATED="1493489768542" ID="ID_737469676" MODIFIED="1589772615102" TEXT="link:My Notes: /notes/my">
|
53
92
|
<node CREATED="1493490295677" ID="ID_514416082" MODIFIED="1493490302239" TEXT="role:m"/>
|
54
93
|
</node>
|
55
|
-
<node CREATED="1493419257021" ID="ID_553734932" MODIFIED="
|
94
|
+
<node CREATED="1493419257021" ID="ID_553734932" MODIFIED="1591278856955" TEXT="new: New Note">
|
56
95
|
<node CREATED="1493419299004" ID="ID_723334321" MODIFIED="1581351169990" TEXT="new_note: New ">
|
57
96
|
<icon BUILTIN="attach"/>
|
58
97
|
<node CREATED="1493479075294" ID="ID_1009521360" MODIFIED="1493479079687" TEXT="role:m"/>
|
@@ -60,8 +99,13 @@
|
|
60
99
|
<node CREATED="1493419491125" ID="ID_1125779183" MODIFIED="1581180747700" TEXT="create: Create">
|
61
100
|
<icon BUILTIN="bookmark"/>
|
62
101
|
</node>
|
102
|
+
<node CREATED="1591278861459" ID="ID_985992723" MODIFIED="1591319329198" TEXT="/notes/my">
|
103
|
+
<arrowlink DESTINATION="ID_985992723" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_650435572" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
104
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_985992723" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_650435572" SOURCE="ID_985992723" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
105
|
+
<icon BUILTIN="forward"/>
|
106
|
+
</node>
|
63
107
|
</node>
|
64
|
-
<node CREATED="1493419562726" ID="ID_1241171950" MODIFIED="
|
108
|
+
<node CREATED="1493419562726" FOLDED="true" ID="ID_1241171950" MODIFIED="1591278847249" TEXT="edit: Edit">
|
65
109
|
<node CREATED="1493419577933" ID="ID_1790163920" MODIFIED="1581350888992" TEXT="select_note: Select">
|
66
110
|
<icon BUILTIN="attach"/>
|
67
111
|
<node CREATED="1493479602815" ID="ID_1289003986" MODIFIED="1493479606921" TEXT="role:m"/>
|
@@ -74,7 +118,7 @@
|
|
74
118
|
<icon BUILTIN="bookmark"/>
|
75
119
|
</node>
|
76
120
|
</node>
|
77
|
-
<node CREATED="1495246388313" ID="ID_320521408" MODIFIED="
|
121
|
+
<node CREATED="1495246388313" FOLDED="true" ID="ID_320521408" MODIFIED="1591278851391" STYLE="fork" TEXT="delete:Delete">
|
78
122
|
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
|
79
123
|
<node CREATED="1493419577933" ID="ID_1631275659" MODIFIED="1581350942681" TEXT="select_note: Select">
|
80
124
|
<icon BUILTIN="attach"/>
|
@@ -84,7 +128,7 @@
|
|
84
128
|
<icon BUILTIN="bookmark"/>
|
85
129
|
</node>
|
86
130
|
</node>
|
87
|
-
<node CREATED="1581531446494" ID="ID_1325232876" MODIFIED="
|
131
|
+
<node CREATED="1581531446494" FOLDED="true" ID="ID_1325232876" MODIFIED="1591278853597" TEXT="mail: Mail">
|
88
132
|
<node CREATED="1493419577933" FOLDED="true" ID="ID_1817148049" MODIFIED="1581531563343" TEXT="select_note: Select">
|
89
133
|
<icon BUILTIN="attach"/>
|
90
134
|
<node CREATED="1493479602815" ID="ID_1650154281" MODIFIED="1493479606921" TEXT="role:m"/>
|
@@ -96,7 +140,7 @@
|
|
96
140
|
<icon BUILTIN="bookmark"/>
|
97
141
|
</node>
|
98
142
|
</node>
|
99
|
-
<node CREATED="1495246388313" ID="ID_807216843" MODIFIED="
|
143
|
+
<node CREATED="1495246388313" FOLDED="true" ID="ID_807216843" MODIFIED="1590180066630" TEXT="xedit: Future use">
|
100
144
|
<icon BUILTIN="button_cancel"/>
|
101
145
|
<node CREATED="1493419612720" ID="ID_6864095" MODIFIED="1584999031935" TEXT="edit_note: Edit">
|
102
146
|
<icon BUILTIN="attach"/>
|
@@ -107,21 +151,33 @@
|
|
107
151
|
</node>
|
108
152
|
</node>
|
109
153
|
</node>
|
110
|
-
<node CREATED="1493393619430" ID="ID_328863650" MODIFIED="
|
154
|
+
<node CREATED="1493393619430" ID="ID_328863650" MODIFIED="1592785024002" TEXT="articles: Article">
|
111
155
|
<node CREATED="1493419096527" ID="ID_1521905276" MODIFIED="1493478060121" TEXT="link: All Articles: /articles"/>
|
112
|
-
<node CREATED="1493489768542" ID="ID_1376361427" MODIFIED="
|
156
|
+
<node CREATED="1493489768542" FOLDED="true" ID="ID_1376361427" MODIFIED="1589757167952" TEXT="link: My article: /articles/my">
|
113
157
|
<node CREATED="1493490295677" ID="ID_628476988" MODIFIED="1493490302239" TEXT="role:m"/>
|
114
158
|
</node>
|
115
|
-
<node CREATED="1493419257021" ID="ID_1355420049" MODIFIED="
|
159
|
+
<node CREATED="1493419257021" ID="ID_1355420049" MODIFIED="1588619429446" TEXT="new_article: New Article">
|
160
|
+
<node CREATED="1592785043843" ID="ID_345287367" MODIFIED="1592799450248" TEXT="condition=1">
|
161
|
+
<icon BUILTIN="help"/>
|
162
|
+
<node CREATED="1592786104568" ID="ID_282788674" MODIFIED="1592802765385" TEXT="redirect: "next""/>
|
163
|
+
</node>
|
116
164
|
<node CREATED="1493419299004" ID="ID_1468250197" MODIFIED="1493419428686" TEXT="form_article: New Article">
|
117
165
|
<icon BUILTIN="attach"/>
|
118
166
|
<node CREATED="1493479075294" ID="ID_1145618514" MODIFIED="1493479079687" TEXT="role:m"/>
|
167
|
+
<node CREATED="1592785043843" ID="ID_962055360" MODIFIED="1592785146999" TEXT="match: "end"">
|
168
|
+
<icon BUILTIN="help"/>
|
169
|
+
</node>
|
119
170
|
</node>
|
120
171
|
<node CREATED="1493419491125" ID="ID_1687683396" MODIFIED="1493483244848" TEXT="create: Create Article">
|
121
172
|
<icon BUILTIN="bookmark"/>
|
122
173
|
</node>
|
174
|
+
<node CREATED="1591278861459" ID="ID_657878492" MODIFIED="1591319807025" TEXT="/articles/my">
|
175
|
+
<arrowlink DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
176
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" SOURCE="ID_657878492" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
177
|
+
<icon BUILTIN="forward"/>
|
123
178
|
</node>
|
124
|
-
|
179
|
+
</node>
|
180
|
+
<node CREATED="1493419562726" ID="ID_922854639" MODIFIED="1590180584955" TEXT="edit_article: Edit Article">
|
125
181
|
<node CREATED="1493419577933" ID="ID_938626803" MODIFIED="1538329139586" TEXT="select_article: Select Article">
|
126
182
|
<icon BUILTIN="attach"/>
|
127
183
|
<node CREATED="1493479602815" ID="ID_753056881" MODIFIED="1493479606921" TEXT="role:m"/>
|
@@ -130,9 +186,14 @@
|
|
130
186
|
<icon BUILTIN="attach"/>
|
131
187
|
<node CREATED="1493479557266" ID="ID_1681993437" MODIFIED="1493479561055" TEXT="role:m"/>
|
132
188
|
</node>
|
133
|
-
<node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="
|
189
|
+
<node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1593286858918" TEXT="j_update: Update Article">
|
134
190
|
<icon BUILTIN="bookmark"/>
|
135
191
|
</node>
|
192
|
+
<node CREATED="1591278861459" ID="ID_863187878" MODIFIED="1591319807025" TEXT="/articles/my">
|
193
|
+
<arrowlink DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
194
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" SOURCE="ID_863187878" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
195
|
+
<icon BUILTIN="forward"/>
|
196
|
+
</node>
|
136
197
|
</node>
|
137
198
|
<node CREATED="1495246388313" ID="ID_1861034169" MODIFIED="1585001527103" TEXT="xedit_article: xEdit Article">
|
138
199
|
<icon BUILTIN="button_cancel"/>
|
@@ -140,17 +201,24 @@
|
|
140
201
|
<icon BUILTIN="attach"/>
|
141
202
|
<node CREATED="1495246517185" ID="ID_1224073606" MODIFIED="1495246522964" TEXT="role:m"/>
|
142
203
|
</node>
|
143
|
-
<node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="
|
204
|
+
<node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1593286876869" TEXT="j_update: Update Article">
|
144
205
|
<icon BUILTIN="bookmark"/>
|
145
206
|
</node>
|
146
207
|
</node>
|
147
208
|
</node>
|
148
|
-
<node CREATED="1493664700564"
|
149
|
-
<
|
209
|
+
<node CREATED="1493664700564" ID="ID_704959130" MODIFIED="1592950100226" TEXT="comments: Comment">
|
210
|
+
<icon BUILTIN="button_cancel"/>
|
211
|
+
<node CREATED="1493665155709" ID="ID_1973520751" MODIFIED="1591392666652" TEXT="new_comment: New Comment">
|
212
|
+
<icon BUILTIN="button_cancel"/>
|
150
213
|
<node CREATED="1493665192413" ID="ID_345629058" MODIFIED="1493665226422" TEXT="create">
|
151
214
|
<icon BUILTIN="bookmark"/>
|
152
215
|
<node CREATED="1493665231940" ID="ID_1645532530" MODIFIED="1493665237018" TEXT="role:m"/>
|
153
216
|
</node>
|
217
|
+
<node CREATED="1591278861459" ID="ID_170265872" MODIFIED="1591319807025" TEXT="/articles/my">
|
218
|
+
<arrowlink DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
219
|
+
<linktarget COLOR="#b0b0b0" DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" SOURCE="ID_170265872" STARTARROW="None" STARTINCLINATION="0;0;"/>
|
220
|
+
<icon BUILTIN="forward"/>
|
221
|
+
</node>
|
154
222
|
</node>
|
155
223
|
<node CREATED="1494393494180" ID="ID_1101205873" MODIFIED="1495275996686" TEXT="role:m"/>
|
156
224
|
</node>
|
@@ -180,8 +248,9 @@
|
|
180
248
|
<node CREATED="1494172758253" ID="ID_961056168" MODIFIED="1494172797972" TEXT="sitemap: Sitemap"/>
|
181
249
|
<node CREATED="1494393494180" ID="ID_242460166" MODIFIED="1494393504971" TEXT="role:a"/>
|
182
250
|
</node>
|
183
|
-
<node CREATED="1493393619430" ID="ID_35210833" MODIFIED="
|
184
|
-
<node CREATED="1493489768542" ID="ID_1053900670" MODIFIED="
|
251
|
+
<node CREATED="1493393619430" FOLDED="true" ID="ID_35210833" MODIFIED="1591392800862" TEXT="api/v1/notes: Notes API ">
|
252
|
+
<node CREATED="1493489768542" ID="ID_1053900670" MODIFIED="1591074318558" TEXT="link:My Notes: /api/v1/notes/my">
|
253
|
+
<icon BUILTIN="button_cancel"/>
|
185
254
|
<node CREATED="1493490295677" ID="ID_1597553308" MODIFIED="1493490302239" TEXT="role:m"/>
|
186
255
|
</node>
|
187
256
|
<node CREATED="1493419257021" ID="ID_1182560700" MODIFIED="1581180635669" TEXT="new: New Note">
|
@@ -194,10 +263,6 @@
|
|
194
263
|
</node>
|
195
264
|
</node>
|
196
265
|
<node CREATED="1493419562726" ID="ID_963001770" MODIFIED="1581180788218" TEXT="edit: Edit">
|
197
|
-
<node CREATED="1493419577933" ID="ID_1640736660" MODIFIED="1581350888992" TEXT="select_note: Select">
|
198
|
-
<icon BUILTIN="attach"/>
|
199
|
-
<node CREATED="1493479602815" ID="ID_1623444138" MODIFIED="1493479606921" TEXT="role:m"/>
|
200
|
-
</node>
|
201
266
|
<node CREATED="1493419612720" ID="ID_1362613316" MODIFIED="1581350996674" TEXT="edit_note: Edit">
|
202
267
|
<icon BUILTIN="attach"/>
|
203
268
|
<node CREATED="1493479557266" ID="ID_1838104057" MODIFIED="1493479561055" TEXT="role:m"/>
|
@@ -223,7 +288,7 @@
|
|
223
288
|
<node CREATED="1273819855875" ID="ID_1429503284" MODIFIED="1330477311102" TEXT="a: admin"/>
|
224
289
|
<node CREATED="1273819859775" ID="ID_568365839" MODIFIED="1330477315009" TEXT="d: developer"/>
|
225
290
|
</node>
|
226
|
-
<node CREATED="1273819456867" ID="ID_1677010054" MODIFIED="
|
291
|
+
<node CREATED="1273819456867" FOLDED="true" ID="ID_1677010054" MODIFIED="1591392810437" POSITION="left" TEXT="models">
|
227
292
|
<node CREATED="1292122118499" FOLDED="true" ID="ID_1957754752" MODIFIED="1493705885123" TEXT="person">
|
228
293
|
<node CREATED="1292122135809" ID="ID_1617970069" MODIFIED="1332878659106" TEXT="fname"/>
|
229
294
|
<node CREATED="1292122150362" ID="ID_1200135538" MODIFIED="1332878662388" TEXT="lname"/>
|