git ssb

9+

cel / ssb-viewer



Commit 14bbf6e0017057d1cfdc67da57ae0ce8cd23a0b6

add basic git update render with hardcoded links to gitmx (for right now)

Ev Bogue committed on 6/24/2017, 2:41:53 PM
Parent: 06006298b251c466af0410a45b6fca547de5995b

Files changed

index.jschanged
package.jsonchanged
yarn.lockchanged
index.jsView
@@ -610,15 +610,17 @@
610610 name = c.contactAbout.name
611611 return ' unfollowed <a href="/' + c.contact + '">' + name + "</a>"
612612 }
613613 else if (typeof c == 'string')
614- return ' wrote something private '
614 + return ' sent a private message '
615615 else if (c.type == 'about')
616616 return ' changed something in about'
617617 else if (c.type == 'issue')
618618 return ' created an issue'
619619 else if (c.type == 'git-update')
620- return ' pushed to git-ssb'
620 + return ' pushed to <a href="http://gitmx.com/'+ encodeURI(c.repo) + '/">' + c.repo.substring(0, 10)+'...' + '</a><ul>' +
621 + (c.commits != undefined ?
622 + c.commits.map(com => { return '<li>' + com.title + '</li>' }).join('') : "</ul>")
621623 else if (c.type == 'ssb-dns')
622624 return ' updated dns'
623625 else if (c.type == 'pub')
624626 return ' connected to a pub'
package.jsonView
@@ -1,7 +1,7 @@
11 {
22 "name": "ssb-viewer-ev",
3- "version": "1.0.0",
3 + "version": "1.0.1",
44 "description": "serve ssb threads as (embeddable) web pages",
55 "main": "index.js",
66 "bin": "bin.js",
77 "dependencies": {
yarn.lockView
@@ -16,12 +16,8 @@
1616 dependencies:
1717 balanced-match "^1.0.0"
1818 concat-map "0.0.1"
1919
20-browser-split@0.0.0:
21- version "0.0.0"
22- resolved "https://registry.yarnpkg.com/browser-split/-/browser-split-0.0.0.tgz#41419caef769755929dd518967d3eec0a6262771"
23-
2420 chloride-test@^1.1.0:
2521 version "1.2.2"
2622 resolved "https://registry.yarnpkg.com/chloride-test/-/chloride-test-1.2.2.tgz#178686a85e9278045112e96e8c791793f9a10aea"
2723 dependencies:
@@ -37,14 +33,8 @@
3733 sodium-chloride "^1.1.0"
3834 optionalDependencies:
3935 sodium-native "^1.10.0"
4036
41-class-list@~0.1.0, class-list@~0.1.1:
42- version "0.1.1"
43- resolved "https://registry.yarnpkg.com/class-list/-/class-list-0.1.1.tgz#9b9745192c4179b5da0a0d7633658e3c70d796cb"
44- dependencies:
45- indexof "0.0.1"
46-
4737 concat-map@0.0.1:
4838 version "0.0.1"
4939 resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
5040
@@ -138,34 +128,16 @@
138128 resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
139129 dependencies:
140130 function-bind "^1.0.2"
141131
142-html-element@^2.0.0:
143- version "2.2.0"
144- resolved "https://registry.yarnpkg.com/html-element/-/html-element-2.2.0.tgz#c3c1ff88c261db74d0af6391eef90c346f900730"
145- dependencies:
146- class-list "~0.1.1"
147-
148132 human-time@^0.0.1:
149133 version "0.0.1"
150134 resolved "https://registry.yarnpkg.com/human-time/-/human-time-0.0.1.tgz#280d0336379199306b2e1518e3d5f6381cb8507d"
151135
152-hyperscript@2.0.2:
153- version "2.0.2"
154- resolved "https://registry.yarnpkg.com/hyperscript/-/hyperscript-2.0.2.tgz#3839cba45554bdfe27bb81c2142d1684f8135af5"
155- dependencies:
156- browser-split "0.0.0"
157- class-list "~0.1.0"
158- html-element "^2.0.0"
159-
160136 increment-buffer@~1.0.0:
161137 version "1.0.1"
162138 resolved "https://registry.yarnpkg.com/increment-buffer/-/increment-buffer-1.0.1.tgz#65076d75189d808b39ad13ab5b958e05216f9e0d"
163139
164-indexof@0.0.1:
165- version "0.0.1"
166- resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d"
167-
168140 inflight@^1.0.4:
169141 version "1.0.6"
170142 resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
171143 dependencies:
@@ -504,8 +476,17 @@
504476 split-buffer@~1.0.0:
505477 version "1.0.0"
506478 resolved "https://registry.yarnpkg.com/split-buffer/-/split-buffer-1.0.0.tgz#b7e8e0ab51345158b72c1f6dbef2406d51f1d027"
507479
480 +ssb-avatar@^0.2.0:
481 + version "0.2.0"
482 + resolved "https://registry.yarnpkg.com/ssb-avatar/-/ssb-avatar-0.2.0.tgz#06cd70795ee58d1462d100a45c660df3179d3b39"
483 + dependencies:
484 + pull-cat "^1.1.9"
485 + pull-stream "^3.4.3"
486 + ssb-msgs "^5.2.0"
487 + ssb-ref "^2.3.2"
488 +
508489 ssb-client@^4.4.0:
509490 version "4.4.1"
510491 resolved "https://registry.yarnpkg.com/ssb-client/-/ssb-client-4.4.1.tgz#aa0914c1ef0747fc360bc19defce2cebfaff4115"
511492 dependencies:
@@ -535,9 +516,15 @@
535516 ssb-marked@^0.7.2:
536517 version "0.7.2"
537518 resolved "https://registry.yarnpkg.com/ssb-marked/-/ssb-marked-0.7.2.tgz#160e24113782a9ca5e806072aa7a65e7c865dbf2"
538519
539-ssb-ref@^2.3.0, ssb-ref@^2.6.2:
520 +ssb-msgs@^5.2.0:
521 + version "5.2.0"
522 + resolved "https://registry.yarnpkg.com/ssb-msgs/-/ssb-msgs-5.2.0.tgz#c681da5cd70c574c922dca4f03c521538135c243"
523 + dependencies:
524 + ssb-ref "^2.0.0"
525 +
526 +ssb-ref@^2.0.0, ssb-ref@^2.3.0, ssb-ref@^2.3.2, ssb-ref@^2.6.2:
540527 version "2.7.1"
541528 resolved "https://registry.yarnpkg.com/ssb-ref/-/ssb-ref-2.7.1.tgz#5d4effc545ec0ffd7fc15ba27829a640b8a2afba"
542529 dependencies:
543530 ip "^1.1.3"

Built with git-ssb-web