jinda 0.5.4 → 0.5.9

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/generators/jinda/install_generator.rb +6 -2
  4. data/lib/generators/jinda/templates/app/assets/stylesheets/app.scss +11 -5
  5. data/lib/generators/jinda/templates/app/assets/stylesheets/articles.scss +16 -6
  6. data/lib/generators/jinda/templates/app/controllers/concerns/jinda_run_concern.rb +14 -0
  7. data/lib/generators/jinda/templates/app/controllers/jinda_org/application_controller.rb +0 -1
  8. data/lib/generators/jinda/templates/app/controllers/jinda_org/articles_controller.rb +60 -35
  9. data/lib/generators/jinda/templates/app/controllers/jinda_org/comments_controller.rb +12 -10
  10. data/lib/generators/jinda/templates/app/controllers/jinda_org/docs_controller.rb +1 -0
  11. data/lib/generators/jinda/templates/app/controllers/jinda_org/jinda_controller.rb +1 -0
  12. data/lib/generators/jinda/templates/app/controllers/jinda_org/notes_controller.rb +2 -1
  13. data/lib/generators/jinda/templates/app/jinda/index.mm +35 -17
  14. data/lib/generators/jinda/templates/app/jinda/template/index.mm +366 -0
  15. data/lib/generators/jinda/templates/app/views/articles/edit.haml +7 -7
  16. data/lib/generators/jinda/templates/app/views/articles/index.haml +2 -2
  17. data/lib/generators/jinda/templates/app/views/articles/my.haml +3 -3
  18. data/lib/generators/jinda/templates/app/views/articles/new_article/form_article.html.erb +5 -3
  19. data/lib/generators/jinda/templates/app/views/articles/show.html.haml +4 -3
  20. data/lib/generators/jinda/templates/app/views/jinda/_menu.haml +2 -1
  21. data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +1 -1
  22. data/lib/generators/jinda/templates/app/views/layouts/_head.html.erb +7 -10
  23. data/lib/generators/jinda/templates/app/views/layouts/{_metatag.html.erb → _meta_tag.html.erb} +0 -0
  24. data/lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml +1 -9
  25. data/lib/generators/jinda/templates/app/views/notes/new/new_note.html.erb +1 -1
  26. data/lib/jinda/helpers.rb +5 -2
  27. data/lib/jinda/version.rb +1 -1
  28. data/lib/jquery.validate.js +1293 -0
  29. metadata +5 -5
  30. data/lib/generators/jinda/templates/app/views/layouts/_meta_tags.html.erb +0 -5
  31. data/lib/generators/jinda/templates/app/views/new.html.erb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a17b43b4b898dae67bb7c0f10f5ac9b0b4dc804b4d724a98de77575aff7a6122
4
- data.tar.gz: e9e61b49a95d6a88ded3051d4b2f9f55d74fca6be0ee8f07b99f3103bd3e4d6d
3
+ metadata.gz: 58f8c9c5a9588023ef47cf4912479acaf37180533f75d75e98f4b4c7dd3b7b03
4
+ data.tar.gz: 71d2283ea8ecfc29ef3463acc3379a4df75b353d73824308cfb66cdfd916a6cc
5
5
  SHA512:
6
- metadata.gz: 8490aa2e9ef93bdd6b7fadfd6a49fbdf53b4799e11b1b3f26de526b6e4d06aaf83f82cb22081c885951c2097c5e4fbd68241413bc3a55d1e2c3d81afc694d896
7
- data.tar.gz: a29f70fc72a7785a8997720e9231aed38ba145fee7e17fccc5fdbb83af99404c7e912f397129eb656b45f0909eea209f7e35ed0a8f879d0b3415422112d560e6
6
+ metadata.gz: 9a24c3821bb20a9b93679e536a40a6f98909d53b91e5e237a2c140b6195862f1345f5a794a472e9f4663bd54bd2b9973dd92211adc0755b4b31e5b0aa65e7b7b
7
+ data.tar.gz: 7d42c1a2ee58e818c3691bc856a49180dbac2d21f59c307200cd71e49e917177c083494b5f97591fc6e96540e69c278a925517c405741cae81c410c591f23c6e
data/README.md CHANGED
@@ -40,7 +40,7 @@ app without ActiveRecord
40
40
 
41
41
  ## Add jinda to your Gemfile:
42
42
 
43
- gem 'jinda', '~> 0.5.4'
43
+ gem 'jinda', '~> 0.5.9'
44
44
 
45
45
  For Development (most updated)
46
46
 
@@ -110,15 +110,18 @@ module Jinda
110
110
  route "resources :users"
111
111
  route "resources :docs"
112
112
  route "resources :notes"
113
- route "resources :articles"
113
+ route "resources :comments"
114
+ route "resources :articles do resources :comments end"
114
115
  route "get '/jinda/document/:id' => 'jinda#document'"
115
116
  route "get '/notes/destroy/:id' => 'notes#destroy'"
116
117
  route "get '/notes/my/destroy/:id' => 'notes#destroy'"
117
118
  route "get '/docs/my/destroy' => 'docs#destroy'"
118
119
  route "get '/notes/my' => 'notes/my'"
119
120
  route "get '/docs/my' => 'docs/my'"
121
+ route "get '/articles/edit' => 'articles/edit'"
122
+ route "get '/articles/show' => 'articles/show'"
120
123
  route "get '/articles/my/destroy' => 'articles#destroy'"
121
- route "get '/articles/my' => 'articles/my'"
124
+ route "get '/articles/my' => 'articles#my'"
122
125
  route "get '/logout' => 'sessions#destroy', :as => 'logout'"
123
126
  route "get '/auth/failure' => 'sessions#destroy'"
124
127
  route "get '/auth/:provider/callback' => 'sessions#create'"
@@ -130,6 +133,7 @@ module Jinda
130
133
  route "post '/jinda/init' => 'jinda#init'"
131
134
  route "jinda_methods.each do \|aktion\| get \"/jinda/\#\{aktion\}\" => \"jinda#\#\{aktion\}\" end"
132
135
  route "jinda_methods += ['error_logs', 'notice_logs', 'cancel', 'run_output', 'end_output']"
136
+ route "jinda_methods += ['run_redirect', 'run_direct_to','run_if']"
133
137
  route "jinda_methods += ['init', 'run', 'run_mail', 'document', 'run_do', 'run_form', 'end_form']"
134
138
  route "jinda_methods = ['pending', 'status', 'search', 'doc', 'doc_print', 'logs', 'ajax_notice']"
135
139
  route "\# start jiinda method routes"
@@ -1,14 +1,19 @@
1
1
 
2
+ #article-title {
3
+ text-align: left;
4
+ font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
5
+ color:#333;
6
+ }
7
+
2
8
  #title {
3
9
  font-size: 14pt;
4
10
  font-weight: bold;
5
- text-align: center;
6
- background: #d2f0ff;
11
+ text-align: left;
7
12
  font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
8
13
  color:#333;
9
14
 
10
15
  }
11
- #text {
16
+ #text{
12
17
  font-size: 14pt;
13
18
  font-weight: bold;
14
19
  text-align:left;
@@ -41,7 +46,6 @@
41
46
  #table th {
42
47
  background-color: #bcecff;
43
48
  color:#333;
44
- ;
45
49
  width:100%;
46
50
  }
47
51
 
@@ -59,12 +63,14 @@
59
63
  font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
60
64
  /*font-size: 110%;*/
61
65
  }
62
- .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: 7px 75px 7px 15px; display: block; }
66
+ .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: 7px 75px 7px 7px; display: block; }
63
67
  .ui-link-inherit { font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;}
64
68
  label.ui-input-text {
65
69
  font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
66
70
  /*font-size: 110%;*/
67
71
  text-shadow: none;
72
+ margin: 2% 2% 0 0;
73
+
68
74
  }
69
75
  label.ui-select {
70
76
  font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
@@ -1,16 +1,28 @@
1
1
 
2
- #article-title {
2
+
3
+ #article-table {
3
4
  font-size: 14pt;
4
5
  font-weight: bold;
5
- text-align: center;
6
- background: #d2f0ff;
6
+ text-align: left;
7
+ background:#f7f7f7;
7
8
  font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
9
+ padding:2px 5px;
8
10
  color:#333;
9
11
 
10
12
  }
11
- #article-text {
13
+
14
+ #article-title {
12
15
  font-size: 14pt;
13
16
  font-weight: bold;
17
+ text-align: left;
18
+ background:#f7f7f7;
19
+ font-family: 'TH SarabunPSK', Helvetica, Arial, sans-serif;
20
+ padding:2px 5px;
21
+ color:#333;
22
+
23
+ }
24
+ #article-text {
25
+ font-size: 8pt;
14
26
  text-align:left;
15
27
  border:1px solid #c1c1c1;
16
28
  background:#f7f7f7;
@@ -28,7 +40,6 @@
28
40
 
29
41
  #comment-body {
30
42
  font-size: 10pt;
31
- font-weight: bold;
32
43
  text-align:left;
33
44
  color:#333;
34
45
  }
@@ -41,7 +52,6 @@
41
52
  #article-table th {
42
53
  background-color: #bcecff;
43
54
  color:#333;
44
- ;
45
55
  width:100%;
46
56
  }
47
57
 
@@ -60,6 +60,20 @@ module JindaRunConcern
60
60
  end_action(next_runseq)
61
61
  end
62
62
 
63
+ # redirect when finish last runseq
64
+ # eg: http://localhost:3000/notes/my
65
+ def run_direct_to
66
+ init_vars(params[:id])
67
+ next_runseq= @xmain.runseqs.where(:id.ne=>@runseq.id, :code=>@runseq.code).first
68
+ if !@runseq.code.blank?
69
+ @xvars['p']['return'] = @runseq.code
70
+ else
71
+ flash[:notice]= "Error: missing required forward path in Freemind"
72
+ ma_log "Error: require forward path in Freemind"
73
+ end
74
+ end_action(next_runseq)
75
+ end
76
+
63
77
  def run_redirect
64
78
  init_vars(params[:id])
65
79
  # next_runseq= @xmain.runseqs.first :conditions=>["id != ? AND code = ?",@runseq.id, @runseq.code]
@@ -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
- before_action :load_article, only: [:show,]
3
- before_action :load_edit_article, only: [:edit, :destroy]
4
- before_action :load_comments, only: [:show]
2
+ before_action :load_articles, except: [:destroy]
3
+ before_action :load_my_articles, only: [:my]
4
+ before_action :load_article, only: [:destroy, :edit]
5
5
 
6
6
  def index
7
- @articles = Article.desc(:created_at).page(params[:page]).per(10)
7
+ # before_action
8
8
  end
9
9
 
10
- def show
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 = 'Member Login'
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,69 @@ class ArticlesController < ApplicationController
27
34
  @article.save!
28
35
  end
29
36
 
30
- def my
31
- @articles = Article.where(user_id: current_ma_user).desc(:created_at).page(params[:page]).per(10)
32
- @page_title = 'Member Login'
37
+ def update
38
+ @article = Article.find(params[:id])
39
+ @article.update(
40
+ title: params["article"]["title"],
41
+ text: params["article"]["text"],
42
+ keywords: params["article"]["keywords"],
43
+ body: params["article"]["body"]
44
+ )
45
+ redirect_to :action=> 'show', :article_id => @article.id
33
46
  end
34
47
 
35
- def update
36
- # $xvars["select_article"] and $xvars["edit_article"]
37
- # These are variables with params when called
38
- # They contain everything that we get their forms select_article and edit_article
39
-
40
- article_id = $xvars["select_article"] ? $xvars["select_article"]["title"] : $xvars["p"]["article_id"]
41
- @article = Article.find(article_id)
42
- @article.update(title: $xvars["edit_article"]["title"],
43
- text: $xvars["edit_article"]["text"],
44
- keywords: $xvars["edit_article"]["keywords"],
45
- body: $xvars["edit_article"]["body"]
48
+ def j_update
49
+ # Use Jinda $xvars
50
+ @article_id = $xvars["select_article"] ? $xvars["select_article"]["title"] : $xvars["p"]["article_id"]
51
+ @article = Article.find_by :id => @article_id
52
+ @article.update(title: $xvars["edit_article"]["article"]["title"],
53
+ text: $xvars["edit_article"]["article"]["text"],
54
+ keywords: $xvars["edit_article"]["article"]["keywords"],
55
+ body: $xvars["edit_article"]["article"]["body"]
46
56
  )
47
57
  end
48
58
 
49
59
  def destroy
50
- #
51
- # duplicated from jinda_controller
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
60
+ # Use Rails
61
+ # before_action
59
62
 
60
- if current_ma_user.role.upcase.split(',').include?("A") || current_ma_user == @article.user
63
+ if current_admin? || current_ma_user == @article.user
61
64
  @article.destroy
62
65
  end
63
66
 
64
- redirect_to :action=>'my'
67
+ action = (current_admin? ? 'index' : 'my')
68
+ redirect_to :action=> (current_admin? ? 'index' : 'my')
65
69
  end
66
70
 
67
71
  private
72
+
73
+ def current_admin?
74
+ if current_ma_user.role.upcase.split(',').include?("A")
75
+ return true
76
+ else
77
+ return false
78
+ end
79
+ end
68
80
 
69
- def load_edit_article
70
- @article = Article.find(params.require(:article_id))
81
+
82
+ def load_articles
83
+ @articles = Article.desc(:created_at).page(params[:page]).per(10)
71
84
  end
72
-
85
+
86
+ def load_my_articles
87
+ @my_articles = @articles.where(user: current_ma_user)
88
+ end
89
+
73
90
  def load_article
74
- @article = Article.find(params.permit(:id))
91
+ @article = Article.find(params[:article_id])
92
+ end
93
+
94
+ def article_params
95
+ params[:article_id]
96
+ end
97
+
98
+ def load_edit_article
99
+ @article = Article.find(params.require(:article).permit(:article_id))
75
100
  end
76
101
 
77
102
  def load_comments
@@ -1,17 +1,19 @@
1
1
  class CommentsController < ApplicationController
2
2
 
3
3
  def create
4
- # $xvars['p'] is the query parameters like params in rails guide:
5
- # private
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
@@ -14,6 +14,7 @@ class DocsController < ApplicationController
14
14
  end
15
15
 
16
16
  def doc_update
17
+ # Instead of creaete, Doc record was created in form, when upload file
17
18
 
18
19
  if Jinda::Doc.where(:runseq_id => $xvars["doc_form"]["runseq_id"]).exists?
19
20
  @doc = Jinda::Doc.where(:runseq_id => $xvars["doc_form"]["runseq_id"]).first
@@ -23,6 +23,7 @@ class JindaController < ApplicationController
23
23
  #Above line cause error update_attribute in heroku shown in logs and it was proposed to fixed in github:'kul1/g241502'
24
24
  # Main action run with :id
25
25
  redirect_to :action=>'run', :id=>xmain.id
26
+
26
27
  else
27
28
  refresh_to "/", :alert => "Error: cannot process"
28
29
  error_run_xmain = "Error_run_xmain"
@@ -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
@@ -49,7 +49,7 @@
49
49
  <node CREATED="1275788317299" ID="ID_716276608" MODIFIED="1511159716471" TEXT="link: error_logs: /jinda/error_logs"/>
50
50
  <node CREATED="1275788317299" ID="ID_1570419198" MODIFIED="1587858894833" TEXT="link: notice_logs: /jinda/notice_logs"/>
51
51
  </node>
52
- <node CREATED="1589756777499" ID="ID_853155456" MODIFIED="1589772589662" TEXT="docs: Document">
52
+ <node CREATED="1589756777499" FOLDED="true" ID="ID_853155456" MODIFIED="1592785016438" TEXT="docs: Document">
53
53
  <node CREATED="1589757073388" ID="ID_1938238774" MODIFIED="1589772640862" TEXT="link: My Document: /docs/my">
54
54
  <node CREATED="1589757125861" ID="ID_521286668" MODIFIED="1589757136547" TEXT="role:m"/>
55
55
  </node>
@@ -87,11 +87,11 @@
87
87
  </node>
88
88
  </node>
89
89
  </node>
90
- <node CREATED="1493393619430" ID="ID_554831343" MODIFIED="1584996526651" TEXT="notes: Notes">
90
+ <node CREATED="1493393619430" ID="ID_554831343" MODIFIED="1592926786394" TEXT="notes: Notes">
91
91
  <node CREATED="1493489768542" ID="ID_737469676" MODIFIED="1589772615102" TEXT="link:My Notes: /notes/my">
92
92
  <node CREATED="1493490295677" ID="ID_514416082" MODIFIED="1493490302239" TEXT="role:m"/>
93
93
  </node>
94
- <node CREATED="1493419257021" FOLDED="true" ID="ID_553734932" MODIFIED="1589772585873" TEXT="new: New Note">
94
+ <node CREATED="1493419257021" ID="ID_553734932" MODIFIED="1591278856955" TEXT="new: New Note">
95
95
  <node CREATED="1493419299004" ID="ID_723334321" MODIFIED="1581351169990" TEXT="new_note: New ">
96
96
  <icon BUILTIN="attach"/>
97
97
  <node CREATED="1493479075294" ID="ID_1009521360" MODIFIED="1493479079687" TEXT="role:m"/>
@@ -99,8 +99,13 @@
99
99
  <node CREATED="1493419491125" ID="ID_1125779183" MODIFIED="1581180747700" TEXT="create: Create">
100
100
  <icon BUILTIN="bookmark"/>
101
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"/>
102
106
  </node>
103
- <node CREATED="1493419562726" ID="ID_1241171950" MODIFIED="1581180788218" TEXT="edit: Edit">
107
+ </node>
108
+ <node CREATED="1493419562726" FOLDED="true" ID="ID_1241171950" MODIFIED="1591278847249" TEXT="edit: Edit">
104
109
  <node CREATED="1493419577933" ID="ID_1790163920" MODIFIED="1581350888992" TEXT="select_note: Select">
105
110
  <icon BUILTIN="attach"/>
106
111
  <node CREATED="1493479602815" ID="ID_1289003986" MODIFIED="1493479606921" TEXT="role:m"/>
@@ -113,7 +118,7 @@
113
118
  <icon BUILTIN="bookmark"/>
114
119
  </node>
115
120
  </node>
116
- <node CREATED="1495246388313" ID="ID_320521408" MODIFIED="1581340759604" STYLE="fork" TEXT="delete:Delete">
121
+ <node CREATED="1495246388313" FOLDED="true" ID="ID_320521408" MODIFIED="1591278851391" STYLE="fork" TEXT="delete:Delete">
117
122
  <edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
118
123
  <node CREATED="1493419577933" ID="ID_1631275659" MODIFIED="1581350942681" TEXT="select_note: Select">
119
124
  <icon BUILTIN="attach"/>
@@ -123,7 +128,7 @@
123
128
  <icon BUILTIN="bookmark"/>
124
129
  </node>
125
130
  </node>
126
- <node CREATED="1581531446494" ID="ID_1325232876" MODIFIED="1581715693485" TEXT="mail: Mail">
131
+ <node CREATED="1581531446494" FOLDED="true" ID="ID_1325232876" MODIFIED="1591278853597" TEXT="mail: Mail">
127
132
  <node CREATED="1493419577933" FOLDED="true" ID="ID_1817148049" MODIFIED="1581531563343" TEXT="select_note: Select">
128
133
  <icon BUILTIN="attach"/>
129
134
  <node CREATED="1493479602815" ID="ID_1650154281" MODIFIED="1493479606921" TEXT="role:m"/>
@@ -146,16 +151,12 @@
146
151
  </node>
147
152
  </node>
148
153
  </node>
149
- <node CREATED="1493393619430" ID="ID_328863650" MODIFIED="1589327646872" TEXT="articles: Article">
154
+ <node CREATED="1493393619430" ID="ID_328863650" MODIFIED="1592785024002" TEXT="articles: Article">
150
155
  <node CREATED="1493419096527" ID="ID_1521905276" MODIFIED="1493478060121" TEXT="link: All Articles: /articles"/>
151
156
  <node CREATED="1493489768542" FOLDED="true" ID="ID_1376361427" MODIFIED="1589757167952" TEXT="link: My article: /articles/my">
152
157
  <node CREATED="1493490295677" ID="ID_628476988" MODIFIED="1493490302239" TEXT="role:m"/>
153
158
  </node>
154
159
  <node CREATED="1493419257021" ID="ID_1355420049" MODIFIED="1588619429446" TEXT="new_article: New Article">
155
- <node CREATED="1588958814863" ID="ID_576640224" MODIFIED="1589053904119" TEXT="display: DisplayFile">
156
- <icon BUILTIN="idea"/>
157
- <node CREATED="1588959451085" ID="ID_779920893" MODIFIED="1588959473698" TEXT="display: Option"/>
158
- </node>
159
160
  <node CREATED="1493419299004" ID="ID_1468250197" MODIFIED="1493419428686" TEXT="form_article: New Article">
160
161
  <icon BUILTIN="attach"/>
161
162
  <node CREATED="1493479075294" ID="ID_1145618514" MODIFIED="1493479079687" TEXT="role:m"/>
@@ -163,6 +164,11 @@
163
164
  <node CREATED="1493419491125" ID="ID_1687683396" MODIFIED="1493483244848" TEXT="create: Create Article">
164
165
  <icon BUILTIN="bookmark"/>
165
166
  </node>
167
+ <node CREATED="1591278861459" ID="ID_657878492" MODIFIED="1591319807025" TEXT="/articles/my">
168
+ <arrowlink DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" STARTARROW="None" STARTINCLINATION="0;0;"/>
169
+ <linktarget COLOR="#b0b0b0" DESTINATION="ID_657878492" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_883618983" SOURCE="ID_657878492" STARTARROW="None" STARTINCLINATION="0;0;"/>
170
+ <icon BUILTIN="forward"/>
171
+ </node>
166
172
  </node>
167
173
  <node CREATED="1493419562726" ID="ID_922854639" MODIFIED="1590180584955" TEXT="edit_article: Edit Article">
168
174
  <node CREATED="1493419577933" ID="ID_938626803" MODIFIED="1538329139586" TEXT="select_article: Select Article">
@@ -173,9 +179,14 @@
173
179
  <icon BUILTIN="attach"/>
174
180
  <node CREATED="1493479557266" ID="ID_1681993437" MODIFIED="1493479561055" TEXT="role:m"/>
175
181
  </node>
176
- <node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1493489477505" TEXT="update: Update Article">
182
+ <node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1593286858918" TEXT="j_update: Update Article">
177
183
  <icon BUILTIN="bookmark"/>
178
184
  </node>
185
+ <node CREATED="1591278861459" ID="ID_863187878" MODIFIED="1591319807025" TEXT="/articles/my">
186
+ <arrowlink DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" STARTARROW="None" STARTINCLINATION="0;0;"/>
187
+ <linktarget COLOR="#b0b0b0" DESTINATION="ID_863187878" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_604727235" SOURCE="ID_863187878" STARTARROW="None" STARTINCLINATION="0;0;"/>
188
+ <icon BUILTIN="forward"/>
189
+ </node>
179
190
  </node>
180
191
  <node CREATED="1495246388313" ID="ID_1861034169" MODIFIED="1585001527103" TEXT="xedit_article: xEdit Article">
181
192
  <icon BUILTIN="button_cancel"/>
@@ -183,17 +194,24 @@
183
194
  <icon BUILTIN="attach"/>
184
195
  <node CREATED="1495246517185" ID="ID_1224073606" MODIFIED="1495246522964" TEXT="role:m"/>
185
196
  </node>
186
- <node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1495266959360" TEXT="update: Update Article">
197
+ <node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1593286876869" TEXT="j_update: Update Article">
187
198
  <icon BUILTIN="bookmark"/>
188
199
  </node>
189
200
  </node>
190
201
  </node>
191
- <node CREATED="1493664700564" FOLDED="true" ID="ID_704959130" MODIFIED="1583091848193" TEXT="comments: Comment">
192
- <node CREATED="1493665155709" ID="ID_1973520751" MODIFIED="1493665186791" TEXT="new_comment: New Comment">
202
+ <node CREATED="1493664700564" ID="ID_704959130" MODIFIED="1592950100226" TEXT="comments: Comment">
203
+ <icon BUILTIN="button_cancel"/>
204
+ <node CREATED="1493665155709" ID="ID_1973520751" MODIFIED="1591392666652" TEXT="new_comment: New Comment">
205
+ <icon BUILTIN="button_cancel"/>
193
206
  <node CREATED="1493665192413" ID="ID_345629058" MODIFIED="1493665226422" TEXT="create">
194
207
  <icon BUILTIN="bookmark"/>
195
208
  <node CREATED="1493665231940" ID="ID_1645532530" MODIFIED="1493665237018" TEXT="role:m"/>
196
209
  </node>
210
+ <node CREATED="1591278861459" ID="ID_170265872" MODIFIED="1591319807025" TEXT="/articles/my">
211
+ <arrowlink DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" STARTARROW="None" STARTINCLINATION="0;0;"/>
212
+ <linktarget COLOR="#b0b0b0" DESTINATION="ID_170265872" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1468117" SOURCE="ID_170265872" STARTARROW="None" STARTINCLINATION="0;0;"/>
213
+ <icon BUILTIN="forward"/>
214
+ </node>
197
215
  </node>
198
216
  <node CREATED="1494393494180" ID="ID_1101205873" MODIFIED="1495275996686" TEXT="role:m"/>
199
217
  </node>
@@ -223,7 +241,7 @@
223
241
  <node CREATED="1494172758253" ID="ID_961056168" MODIFIED="1494172797972" TEXT="sitemap: Sitemap"/>
224
242
  <node CREATED="1494393494180" ID="ID_242460166" MODIFIED="1494393504971" TEXT="role:a"/>
225
243
  </node>
226
- <node CREATED="1493393619430" ID="ID_35210833" MODIFIED="1585089057213" TEXT="api/v1/notes: Notes API ">
244
+ <node CREATED="1493393619430" FOLDED="true" ID="ID_35210833" MODIFIED="1591392800862" TEXT="api/v1/notes: Notes API ">
227
245
  <node CREATED="1493489768542" ID="ID_1053900670" MODIFIED="1591074318558" TEXT="link:My Notes: /api/v1/notes/my">
228
246
  <icon BUILTIN="button_cancel"/>
229
247
  <node CREATED="1493490295677" ID="ID_1597553308" MODIFIED="1493490302239" TEXT="role:m"/>
@@ -263,7 +281,7 @@
263
281
  <node CREATED="1273819855875" ID="ID_1429503284" MODIFIED="1330477311102" TEXT="a: admin"/>
264
282
  <node CREATED="1273819859775" ID="ID_568365839" MODIFIED="1330477315009" TEXT="d: developer"/>
265
283
  </node>
266
- <node CREATED="1273819456867" ID="ID_1677010054" MODIFIED="1493418874718" POSITION="left" TEXT="models">
284
+ <node CREATED="1273819456867" FOLDED="true" ID="ID_1677010054" MODIFIED="1591392810437" POSITION="left" TEXT="models">
267
285
  <node CREATED="1292122118499" FOLDED="true" ID="ID_1957754752" MODIFIED="1493705885123" TEXT="person">
268
286
  <node CREATED="1292122135809" ID="ID_1617970069" MODIFIED="1332878659106" TEXT="fname"/>
269
287
  <node CREATED="1292122150362" ID="ID_1200135538" MODIFIED="1332878662388" TEXT="lname"/>