archsight 0.5.3 → 0.5.4
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/docs/configuration.md +1 -1
- data/docs/import.md +27 -2
- data/docs/modeling.md +1 -1
- data/docs/pages.md +1 -1
- data/lib/archsight/git_source.rb +5 -3
- data/lib/archsight/helpers.rb +3 -1
- data/lib/archsight/import/handlers/gitea.rb +195 -0
- data/lib/archsight/import/handlers/github.rb +1 -0
- data/lib/archsight/import/handlers/gitlab.rb +1 -0
- data/lib/archsight/import/handlers/repository.rb +7 -4
- data/lib/archsight/reading_time.rb +66 -0
- data/lib/archsight/resources/implementation_work_package.rb +2 -0
- data/lib/archsight/version.rb +1 -1
- data/lib/archsight/web/api/openapi/spec.yaml +20 -1
- data/lib/archsight/web/api/page_helpers.rb +5 -1
- data/lib/archsight/web/public/vue/{DocPage-B2AVspsD.js → DocPage-BHffBQ3u.js} +1 -1
- data/lib/archsight/web/public/vue/{EditorPage-BYSZG_O0.js → EditorPage-BHZtvtnN.js} +1 -1
- data/lib/archsight/web/public/vue/{ErrorPage-eL_Woec4.js → ErrorPage-BQARAwF8.js} +1 -1
- data/lib/archsight/web/public/vue/{GraphView-YEiPBxPd.js → GraphView-D84CH00D.js} +1 -1
- data/lib/archsight/web/public/vue/{HomePage-BeLTwv2y.js → HomePage-BJpTPWFz.js} +2 -2
- data/lib/archsight/web/public/vue/{InstanceRouter-DgvdUouW.js → InstanceRouter-C1Da3nWo.js} +1 -1
- data/lib/archsight/web/public/vue/{KindList-BkYvYpnh.js → KindList-DNRUVuEJ.js} +1 -1
- data/lib/archsight/web/public/vue/PageView-DzKj212I.js +1 -0
- data/lib/archsight/web/public/vue/{QueryError-DzGMgvyb.js → QueryError-CTVAL1Tm.js} +1 -1
- data/lib/archsight/web/public/vue/{ResourceList-Cr9ExUDn.js → ResourceList-CRt_FpfS.js} +1 -1
- data/lib/archsight/web/public/vue/{SearchResults-D6tx3Atc.js → SearchResults-BMwBz4BB.js} +1 -1
- data/lib/archsight/web/public/vue/{WikiPage-BhaaveRq.js → WikiPage-DSEL2gmd.js} +1 -1
- data/lib/archsight/web/public/vue/{index-le1guGp1.js → index-JZkWwfYg.js} +2 -2
- data/lib/archsight/web/public/vue.html +1 -1
- metadata +16 -14
- data/lib/archsight/web/public/vue/PageView-B3SnDw9S.js +0 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: archsight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vincent Landgraf
|
|
@@ -390,6 +390,7 @@ files:
|
|
|
390
390
|
- lib/archsight/import/handlers/cpp_grapher.rb
|
|
391
391
|
- lib/archsight/import/handlers/crystal_grapher.rb
|
|
392
392
|
- lib/archsight/import/handlers/elixir_grapher.rb
|
|
393
|
+
- lib/archsight/import/handlers/gitea.rb
|
|
393
394
|
- lib/archsight/import/handlers/github.rb
|
|
394
395
|
- lib/archsight/import/handlers/gitlab.rb
|
|
395
396
|
- lib/archsight/import/handlers/go_dep_resolver.rb
|
|
@@ -451,6 +452,7 @@ files:
|
|
|
451
452
|
- lib/archsight/query/lexer.rb
|
|
452
453
|
- lib/archsight/query/parser.rb
|
|
453
454
|
- lib/archsight/query/text_search.rb
|
|
455
|
+
- lib/archsight/reading_time.rb
|
|
454
456
|
- lib/archsight/references.rb
|
|
455
457
|
- lib/archsight/renderer.rb
|
|
456
458
|
- lib/archsight/requirements.rb
|
|
@@ -2912,35 +2914,35 @@ files:
|
|
|
2912
2914
|
- lib/archsight/web/public/vendor/redoc/redoc.standalone.js
|
|
2913
2915
|
- lib/archsight/web/public/vendor/redoc/redoc.standalone.js.LICENSE.txt
|
|
2914
2916
|
- lib/archsight/web/public/vue.html
|
|
2915
|
-
- lib/archsight/web/public/vue/DocPage-
|
|
2916
|
-
- lib/archsight/web/public/vue/EditorPage-
|
|
2917
|
+
- lib/archsight/web/public/vue/DocPage-BHffBQ3u.js
|
|
2918
|
+
- lib/archsight/web/public/vue/EditorPage-BHZtvtnN.js
|
|
2917
2919
|
- lib/archsight/web/public/vue/EditorPage-CbG4mc9T.css
|
|
2920
|
+
- lib/archsight/web/public/vue/ErrorPage-BQARAwF8.js
|
|
2918
2921
|
- lib/archsight/web/public/vue/ErrorPage-Ck9izEUS.css
|
|
2919
|
-
- lib/archsight/web/public/vue/ErrorPage-eL_Woec4.js
|
|
2920
2922
|
- lib/archsight/web/public/vue/GraphView-B_EJRCcO.css
|
|
2921
|
-
- lib/archsight/web/public/vue/GraphView-
|
|
2922
|
-
- lib/archsight/web/public/vue/HomePage-
|
|
2923
|
+
- lib/archsight/web/public/vue/GraphView-D84CH00D.js
|
|
2924
|
+
- lib/archsight/web/public/vue/HomePage-BJpTPWFz.js
|
|
2923
2925
|
- lib/archsight/web/public/vue/InstanceRouter-B-iG7ps_.css
|
|
2924
|
-
- lib/archsight/web/public/vue/InstanceRouter-
|
|
2925
|
-
- lib/archsight/web/public/vue/KindList-
|
|
2926
|
+
- lib/archsight/web/public/vue/InstanceRouter-C1Da3nWo.js
|
|
2927
|
+
- lib/archsight/web/public/vue/KindList-DNRUVuEJ.js
|
|
2926
2928
|
- lib/archsight/web/public/vue/KindList-xB91PWox.css
|
|
2927
|
-
- lib/archsight/web/public/vue/PageView-B3SnDw9S.js
|
|
2928
2929
|
- lib/archsight/web/public/vue/PageView-B93woeN3.css
|
|
2930
|
+
- lib/archsight/web/public/vue/PageView-DzKj212I.js
|
|
2929
2931
|
- lib/archsight/web/public/vue/QueryError-3EqjpbyV.css
|
|
2930
|
-
- lib/archsight/web/public/vue/QueryError-
|
|
2931
|
-
- lib/archsight/web/public/vue/ResourceList-
|
|
2932
|
+
- lib/archsight/web/public/vue/QueryError-CTVAL1Tm.js
|
|
2933
|
+
- lib/archsight/web/public/vue/ResourceList-CRt_FpfS.js
|
|
2932
2934
|
- lib/archsight/web/public/vue/ResourceList-D75O87zG.css
|
|
2935
|
+
- lib/archsight/web/public/vue/SearchResults-BMwBz4BB.js
|
|
2933
2936
|
- lib/archsight/web/public/vue/SearchResults-BV6UHriJ.css
|
|
2934
|
-
- lib/archsight/web/public/vue/SearchResults-D6tx3Atc.js
|
|
2935
|
-
- lib/archsight/web/public/vue/WikiPage-BhaaveRq.js
|
|
2936
2937
|
- lib/archsight/web/public/vue/WikiPage-CuUi4C8v.css
|
|
2938
|
+
- lib/archsight/web/public/vue/WikiPage-DSEL2gmd.js
|
|
2937
2939
|
- lib/archsight/web/public/vue/architecture-WOLXFQ4H-BGN-TV5r.js
|
|
2938
2940
|
- lib/archsight/web/public/vue/cynefin-EF2NZ3EQ-CZd6g_tq.js
|
|
2939
2941
|
- lib/archsight/web/public/vue/eventmodeling-K75KTNOO-CYnbEx8O.js
|
|
2940
2942
|
- lib/archsight/web/public/vue/gitGraph-VSP46ZUC-DialfQSk.js
|
|
2941
2943
|
- lib/archsight/web/public/vue/graphviz.worker-mvAaBzAH.js
|
|
2942
2944
|
- lib/archsight/web/public/vue/index-BP-NH0dn.css
|
|
2943
|
-
- lib/archsight/web/public/vue/index-
|
|
2945
|
+
- lib/archsight/web/public/vue/index-JZkWwfYg.js
|
|
2944
2946
|
- lib/archsight/web/public/vue/info-OHQRW6UA-BuhOW7ss.js
|
|
2945
2947
|
- lib/archsight/web/public/vue/katex-B_JcIwqj.js
|
|
2946
2948
|
- lib/archsight/web/public/vue/mermaid-C3bOamfn.js
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-COiEfhsA.js";import{$ as t,B as n,H as r,I as i,L as a,P as o,Q as s,R as c,U as l,V as u,X as d,Z as f,a as p,at as m,ct as h,it as g,nt as _,ot as v,s as ee,t as y,tt as b,x,z as S}from"./index-le1guGp1.js";import{c as C,i as w}from"./ResourceList-Cr9ExUDn.js";import{t as T}from"./WikiPage-BhaaveRq.js";var E={confluence:`Confluence`,jira:`Jira`,github:`GitHub`,gitlab:`GitLab`,servicenow:`ServiceNow`,grafana:`Grafana`,prometheus:`Prometheus`,sonar:`SonarQube`,slack:`Slack`,drive:`Google Drive`};function D(e){let[t,...n]=e.split(`-`),r=E[t.toLowerCase()];return r?[r,...n].join(` `):e}function O(e){return Object.hasOwn(E,e.split(`-`)[0].toLowerCase())}function k(e){try{return new URL(e).host}catch{return``}}function A(e){return Object.entries(e||{}).sort(([e],[t])=>Number(O(t))-Number(O(e))||e.localeCompare(t))}function j(e){let t={};for(let[n,r]of e){let e=w(r);(t[e]||=[]).push({name:n,url:r})}return Object.entries(t).sort(([e],[t])=>e.localeCompare(t))}var M={key:0,class:`link-groups`},N=[`href`,`title`],P={key:1,class:`chip-group`},F=[`href`,`title`],I={key:0,class:`link-host`},L=p({__name:`ResourceLinks`,props:{links:{type:Object,default:()=>({})}},setup(e){let t=e,s=i(()=>A(t.links)),c=i(()=>s.value.length>10?j(s.value):null);return(e,t)=>c.value?(d(),n(`div`,M,[(d(!0),n(o,null,f(c.value,([e,t])=>(d(),n(`section`,{key:e},[a(`strong`,null,h(e),1),a(`ul`,null,[(d(!0),n(o,null,f(t,e=>(d(),n(`li`,{key:e.name},[a(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,title:e.url},[a(`i`,{class:v(m(C)(e.url)),"aria-hidden":`true`},null,2),r(` `+h(e.name),1)],8,N)]))),128))])]))),128))])):s.value.length?(d(),n(`span`,P,[(d(!0),n(o,null,f(s.value,([e,t])=>(d(),n(`a`,{key:e,class:`chip link-chip`,href:t,target:`_blank`,rel:`noopener noreferrer`,title:`Open ${t}`},[a(`i`,{class:v(`${m(C)(t)} link-icon`),"aria-hidden":`true`},null,2),a(`span`,null,h(m(D)(e)),1),m(k)(t)?(d(),n(`span`,I,h(m(k)(t)),1)):S(``,!0)],8,F))),128))])):S(``,!0)}},[[`__scopeId`,`data-v-5c834d2b`]]),R=e({default:()=>$}),z={key:0,class:`page-properties`},B={key:0,class:`prop`},V={key:1,class:`prop`},H=[`href`],U={key:2,class:`prop`},W=[`href`],G={key:3,class:`prop`},K=[`title`],q={key:4,class:`prop`},J=[`title`],Y={key:5,class:`prop`},X=[`innerHTML`],Z={key:6,class:`prop`},Q={key:1},te={key:2},$={__name:`PageView`,props:{name:String},setup(e){let p=e,m=g(null),C=g(null),w=i(()=>{let e=m.value;return!!(e&&(e.status||e.author||e.owner||e.created||e.updated||e.tags.length||e.properties?.length||Object.keys(e.links||{}).length))});async function E(){C.value=null;try{m.value=await x(p.name)}catch(e){m.value=null,C.value=e.message,y(`Not found`);return}y(m.value.title)}b(()=>p.name,E,{immediate:!0});function D(e){return`status-${String(e).toLowerCase().replace(/[^a-z0-9]+/g,`-`)}`}function O(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})}function k(e){return{name:`search`,query:ee(`Page: page/tags == "${e}"`,`pages`)}}return(e,i)=>{let p=t(`router-link`);return m.value?(d(),c(T,{key:0,title:m.value.title,html:m.value.html,breadcrumb:m.value.breadcrumb,toc:m.value.toc,backlinks:m.value.backlinks,"edit-name":m.value.name,slides:m.value.slides},u({properties:_(()=>[w.value?(d(),n(`dl`,z,[m.value.status?(d(),n(`div`,B,[i[0]||=a(`dt`,null,`Status`,-1),a(`dd`,null,[a(`span`,{class:v([`status-pill`,D(m.value.status)])},h(m.value.status),3)])])):S(``,!0),m.value.author?(d(),n(`div`,V,[i[1]||=a(`dt`,null,`Author`,-1),a(`dd`,null,[m.value.author.email?(d(),n(`a`,{key:0,href:`mailto:${m.value.author.email}`},h(m.value.author.name),9,H)):(d(),n(o,{key:1},[r(h(m.value.author.name),1)],64))])])):S(``,!0),m.value.owner?(d(),n(`div`,U,[i[2]||=a(`dt`,null,`Owner`,-1),a(`dd`,null,[m.value.owner.email?(d(),n(`a`,{key:0,href:`mailto:${m.value.owner.email}`},h(m.value.owner.name),9,W)):(d(),n(o,{key:1},[r(h(m.value.owner.name),1)],64))])])):S(``,!0),m.value.created?(d(),n(`div`,G,[i[3]||=a(`dt`,null,`Created`,-1),a(`dd`,{title:m.value.created},h(O(m.value.created)),9,K)])):S(``,!0),m.value.updated?(d(),n(`div`,q,[i[4]||=a(`dt`,null,`Updated`,-1),a(`dd`,{title:m.value.updated},h(O(m.value.updated)),9,J)])):S(``,!0),m.value.tags.length?(d(),n(`div`,Y,[i[5]||=a(`dt`,null,`Tags`,-1),a(`dd`,null,[(d(!0),n(o,null,f(m.value.tags,(e,t)=>(d(),n(o,{key:e},[l(p,{to:k(e)},{default:_(()=>[r(h(e),1)]),_:2},1032,[`to`]),t<m.value.tags.length-1?(d(),n(o,{key:0},[r(`, `)],64)):S(``,!0)],64))),128))])])):S(``,!0),(d(!0),n(o,null,f(m.value.properties,e=>(d(),n(`div`,{key:e.key,class:`prop`},[a(`dt`,null,h(e.key),1),a(`dd`,{innerHTML:e.html},null,8,X)]))),128)),Object.keys(m.value.links||{}).length?(d(),n(`div`,Z,[i[6]||=a(`dt`,null,`Links`,-1),a(`dd`,null,[l(L,{links:m.value.links},null,8,[`links`])])])):S(``,!0)])):S(``,!0)]),_:2},[e.$slots.actions?{name:`actions`,fn:_(()=>[s(e.$slots,`actions`)]),key:`0`}:void 0]),1032,[`title`,`html`,`breadcrumb`,`toc`,`backlinks`,`edit-name`,`slides`])):C.value?(d(),n(`article`,Q,[a(`p`,null,h(C.value),1)])):(d(),n(`article`,te,[...i[7]||=[a(`p`,null,`Loading...`,-1)]]))}}};export{$ as n,L as r,R as t};
|