jinda 0.5.3 → 0.5.8

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 (29) 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 +6 -8
  13. data/lib/generators/jinda/templates/app/jinda/index.mm +43 -47
  14. data/lib/generators/jinda/templates/app/views/articles/edit.haml +7 -7
  15. data/lib/generators/jinda/templates/app/views/articles/index.haml +2 -2
  16. data/lib/generators/jinda/templates/app/views/articles/my.haml +3 -3
  17. data/lib/generators/jinda/templates/app/views/articles/new_article/form_article.html.erb +5 -3
  18. data/lib/generators/jinda/templates/app/views/articles/show.html.haml +4 -3
  19. data/lib/generators/jinda/templates/app/views/jinda/index.html.haml +1 -1
  20. data/lib/generators/jinda/templates/app/views/layouts/_head.html.erb +7 -10
  21. data/lib/generators/jinda/templates/app/views/layouts/{_metatag.html.erb → _meta_tag.html.erb} +0 -0
  22. data/lib/generators/jinda/templates/app/views/layouts/jqm/_full.haml +1 -9
  23. data/lib/generators/jinda/templates/app/views/notes/new/new_note.html.erb +1 -1
  24. data/lib/jinda/helpers.rb +3 -1
  25. data/lib/jinda/version.rb +1 -1
  26. data/lib/jquery.validate.js +1293 -0
  27. metadata +4 -5
  28. data/lib/generators/jinda/templates/app/views/layouts/_meta_tags.html.erb +0 -5
  29. 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: 69bfafef87f66a61669d13ec1fb0e35b33856d04c4c0576a3195db8f4afa2cd4
4
- data.tar.gz: a9e44d8bdb20895533f9f98386df69fd9a1b5d70e80202bca462842cd518489b
3
+ metadata.gz: 5437584419d20b8bf830bee5b254f52d79da72b0c7a63e4cff973a7c10156394
4
+ data.tar.gz: ec3d5a1838787b031e5072fb682b39a592edec96efabf8d3760327a4f832fb27
5
5
  SHA512:
6
- metadata.gz: b8b323cfb30d466d54619b7df410e11ee6cdf0c1c3527ec1be81e775228d1d47803ed51441054bbeb31e950e95e583b14431a41bc26f3236bd8e13cd232378ce
7
- data.tar.gz: 34ba2f9c60c3934aa957ae288161126566255dc83401840477a37fd19b22d4b010fa2bc20deb4de2517365045912fb67306bdcfcee718e1d6619bde276821946
6
+ metadata.gz: 332c30c673a0107c09994ba8c394751789a018d9957adac57839413d86f8dea0f306714f435afeb22d0c9a6e6b34e8278be6f1306c096824e422ef9605a8052c
7
+ data.tar.gz: 110fb30d49712728b1988754995712612dd1c820c79f829c571fb89e02466fa37d7d300b72276355f2a47e8d0c537474bc24dbddefc5902be7a5002fb761943b
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.3'
43
+ gem 'jinda', '~> 0.5.8'
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
@@ -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
@@ -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,23 +151,31 @@
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"/>
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: &quot;next&quot;"/>
158
163
  </node>
159
164
  <node CREATED="1493419299004" ID="ID_1468250197" MODIFIED="1493419428686" TEXT="form_article: New Article">
160
165
  <icon BUILTIN="attach"/>
161
166
  <node CREATED="1493479075294" ID="ID_1145618514" MODIFIED="1493479079687" TEXT="role:m"/>
167
+ <node CREATED="1592785043843" ID="ID_962055360" MODIFIED="1592785146999" TEXT="match: &quot;end&quot;">
168
+ <icon BUILTIN="help"/>
169
+ </node>
162
170
  </node>
163
171
  <node CREATED="1493419491125" ID="ID_1687683396" MODIFIED="1493483244848" TEXT="create: Create Article">
164
172
  <icon BUILTIN="bookmark"/>
165
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"/>
178
+ </node>
166
179
  </node>
167
180
  <node CREATED="1493419562726" ID="ID_922854639" MODIFIED="1590180584955" TEXT="edit_article: Edit Article">
168
181
  <node CREATED="1493419577933" ID="ID_938626803" MODIFIED="1538329139586" TEXT="select_article: Select Article">
@@ -173,9 +186,14 @@
173
186
  <icon BUILTIN="attach"/>
174
187
  <node CREATED="1493479557266" ID="ID_1681993437" MODIFIED="1493479561055" TEXT="role:m"/>
175
188
  </node>
176
- <node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1493489477505" TEXT="update: Update Article">
189
+ <node CREATED="1493419735921" ID="ID_1575963748" MODIFIED="1593286858918" TEXT="j_update: Update Article">
177
190
  <icon BUILTIN="bookmark"/>
178
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>
179
197
  </node>
180
198
  <node CREATED="1495246388313" ID="ID_1861034169" MODIFIED="1585001527103" TEXT="xedit_article: xEdit Article">
181
199
  <icon BUILTIN="button_cancel"/>
@@ -183,47 +201,24 @@
183
201
  <icon BUILTIN="attach"/>
184
202
  <node CREATED="1495246517185" ID="ID_1224073606" MODIFIED="1495246522964" TEXT="role:m"/>
185
203
  </node>
186
- <node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1495266959360" TEXT="update: Update Article">
204
+ <node CREATED="1495246466176" ID="ID_1635586443" MODIFIED="1593286876869" TEXT="j_update: Update Article">
187
205
  <icon BUILTIN="bookmark"/>
188
206
  </node>
189
207
  </node>
190
- <node CREATED="1587909407412" ID="ID_1468305343" MODIFIED="1588910402612" TEXT="doc_list: Doc List">
191
- <node CREATED="1588958814863" ID="ID_560142027" MODIFIED="1589049756609" TEXT="display: DisplayFile">
192
- <icon BUILTIN="list"/>
193
- <node CREATED="1588959451085" ID="ID_1584950345" MODIFIED="1588959473698" TEXT="display: Option"/>
194
- <node CREATED="1589053886230" ID="ID_737872984" MODIFIED="1589053890706" TEXT="role: m"/>
195
- </node>
196
- </node>
197
- <node CREATED="1587909407412" ID="ID_1146843472" MODIFIED="1588909113502" TEXT="doc_folder: Doc Folder">
198
- <node CREATED="1588875666991" ID="ID_549324429" MODIFIED="1588907940839" TEXT="folder: Article Folder 1">
199
- <arrowlink DESTINATION="ID_549324429" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1094355522" STARTARROW="None" STARTINCLINATION="0;0;"/>
200
- <linktarget COLOR="#b0b0b0" DESTINATION="ID_549324429" ENDARROW="Default" ENDINCLINATION="0;0;" ID="Arrow_ID_1094355522" SOURCE="ID_549324429" STARTARROW="None" STARTINCLINATION="0;0;"/>
201
- <icon BUILTIN="folder"/>
202
- </node>
203
- <node CREATED="1588875666991" ID="ID_650279375" MODIFIED="1588907966960" TEXT="folder_article: Article Folder2"/>
204
- </node>
205
- <node CREATED="1495246388313" ID="ID_1073115355" MODIFIED="1589635771727" TEXT="test_article: Test Article">
206
- <node CREATED="1589635773545" ID="ID_809041299" MODIFIED="1589655664057" TEXT="document1: display">
207
- <icon BUILTIN="bookmark"/>
208
- </node>
209
- <node CREATED="1495246432533" ID="ID_1329009190" MODIFIED="1589635849441" TEXT="test article: Test Article">
210
- <icon BUILTIN="attach"/>
211
- <node CREATED="1495246517185" ID="ID_724933955" MODIFIED="1495246522964" TEXT="role:m"/>
212
208
  </node>
213
- <node CREATED="1495246466176" ID="ID_790539896" MODIFIED="1589755604652" TEXT="update_test: Update Test Article">
214
- <icon BUILTIN="bookmark"/>
215
- </node>
216
- <node CREATED="1589635773545" ID="ID_1912048591" MODIFIED="1589740973954" TEXT="document2: display">
217
- <icon BUILTIN="bookmark"/>
218
- </node>
219
- </node>
220
- </node>
221
- <node CREATED="1493664700564" FOLDED="true" ID="ID_704959130" MODIFIED="1583091848193" TEXT="comments: Comment">
222
- <node CREATED="1493665155709" ID="ID_1973520751" MODIFIED="1493665186791" TEXT="new_comment: New Comment">
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"/>
223
213
  <node CREATED="1493665192413" ID="ID_345629058" MODIFIED="1493665226422" TEXT="create">
224
214
  <icon BUILTIN="bookmark"/>
225
215
  <node CREATED="1493665231940" ID="ID_1645532530" MODIFIED="1493665237018" TEXT="role:m"/>
226
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>
227
222
  </node>
228
223
  <node CREATED="1494393494180" ID="ID_1101205873" MODIFIED="1495275996686" TEXT="role:m"/>
229
224
  </node>
@@ -253,8 +248,9 @@
253
248
  <node CREATED="1494172758253" ID="ID_961056168" MODIFIED="1494172797972" TEXT="sitemap: Sitemap"/>
254
249
  <node CREATED="1494393494180" ID="ID_242460166" MODIFIED="1494393504971" TEXT="role:a"/>
255
250
  </node>
256
- <node CREATED="1493393619430" ID="ID_35210833" MODIFIED="1585089057213" TEXT="api/v1/notes: Notes API ">
257
- <node CREATED="1493489768542" ID="ID_1053900670" MODIFIED="1582131857208" TEXT="link:My Notes: /api/v1/notes/my">
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"/>
258
254
  <node CREATED="1493490295677" ID="ID_1597553308" MODIFIED="1493490302239" TEXT="role:m"/>
259
255
  </node>
260
256
  <node CREATED="1493419257021" ID="ID_1182560700" MODIFIED="1581180635669" TEXT="new: New Note">
@@ -292,7 +288,7 @@
292
288
  <node CREATED="1273819855875" ID="ID_1429503284" MODIFIED="1330477311102" TEXT="a: admin"/>
293
289
  <node CREATED="1273819859775" ID="ID_568365839" MODIFIED="1330477315009" TEXT="d: developer"/>
294
290
  </node>
295
- <node CREATED="1273819456867" ID="ID_1677010054" MODIFIED="1493418874718" POSITION="left" TEXT="models">
291
+ <node CREATED="1273819456867" FOLDED="true" ID="ID_1677010054" MODIFIED="1591392810437" POSITION="left" TEXT="models">
296
292
  <node CREATED="1292122118499" FOLDED="true" ID="ID_1957754752" MODIFIED="1493705885123" TEXT="person">
297
293
  <node CREATED="1292122135809" ID="ID_1617970069" MODIFIED="1332878659106" TEXT="fname"/>
298
294
  <node CREATED="1292122150362" ID="ID_1200135538" MODIFIED="1332878662388" TEXT="lname"/>