dolt 0.29.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/dolt.gemspec +1 -1
  2. data/lib/dolt/sinatra/multi_repo_browser.rb +11 -31
  3. data/lib/dolt/sinatra/repo_browser.rb +47 -0
  4. data/lib/dolt/sinatra/single_repo_browser.rb +15 -29
  5. metadata +4 -75
  6. data/vendor/ui/.gitignore +0 -4
  7. data/vendor/ui/.gitmodules +0 -39
  8. data/vendor/ui/Makefile +0 -48
  9. data/vendor/ui/autolint.js +0 -13
  10. data/vendor/ui/buster.js +0 -31
  11. data/vendor/ui/css/gitorious.css +0 -660
  12. data/vendor/ui/css/syntax-highlight.css +0 -140
  13. data/vendor/ui/dist/gitorious3-capillary.min.js +0 -12
  14. data/vendor/ui/dist/gitorious3.min.css +0 -1
  15. data/vendor/ui/dist/gitorious3.min.js +0 -3
  16. data/vendor/ui/favicon.ico +0 -0
  17. data/vendor/ui/iconic/lock_stroke.svg +0 -17
  18. data/vendor/ui/images/f5f5f5-980x1.png +0 -0
  19. data/vendor/ui/images/gitorious.png +0 -0
  20. data/vendor/ui/images/gitorious2013.png +0 -0
  21. data/vendor/ui/images/powered-by.png +0 -0
  22. data/vendor/ui/images/white-980x1.png +0 -0
  23. data/vendor/ui/js/src/app.js +0 -20
  24. data/vendor/ui/js/src/cache.js +0 -27
  25. data/vendor/ui/js/src/capillary.js +0 -7
  26. data/vendor/ui/js/src/components/abbrev.js +0 -24
  27. data/vendor/ui/js/src/components/blob.js +0 -154
  28. data/vendor/ui/js/src/components/capillary.js +0 -51
  29. data/vendor/ui/js/src/components/clone-name-suggestion.js +0 -38
  30. data/vendor/ui/js/src/components/clone-url-selection.js +0 -35
  31. data/vendor/ui/js/src/components/collapse.js +0 -17
  32. data/vendor/ui/js/src/components/comments.js +0 -111
  33. data/vendor/ui/js/src/components/commit-linker.js +0 -26
  34. data/vendor/ui/js/src/components/dropdown.js +0 -74
  35. data/vendor/ui/js/src/components/ganalytics.js +0 -19
  36. data/vendor/ui/js/src/components/live-markdown-preview.js +0 -35
  37. data/vendor/ui/js/src/components/loading.js +0 -33
  38. data/vendor/ui/js/src/components/oid-ref-interpolator.js +0 -9
  39. data/vendor/ui/js/src/components/profile-menu.js +0 -36
  40. data/vendor/ui/js/src/components/rails-links.js +0 -24
  41. data/vendor/ui/js/src/components/ref-selector.js +0 -116
  42. data/vendor/ui/js/src/components/repository.js +0 -162
  43. data/vendor/ui/js/src/components/select-details.js +0 -20
  44. data/vendor/ui/js/src/components/slugify.js +0 -32
  45. data/vendor/ui/js/src/components/timeago.js +0 -38
  46. data/vendor/ui/js/src/components/tree-history.js +0 -140
  47. data/vendor/ui/js/src/components/url.js +0 -65
  48. data/vendor/ui/js/src/components/user-repo-view-state.js +0 -4
  49. data/vendor/ui/js/src/gitorious.js +0 -171
  50. data/vendor/ui/js/src/json-request.js +0 -6
  51. data/vendor/ui/js/src/logger.js +0 -84
  52. data/vendor/ui/js/src/spacer.js +0 -5
  53. data/vendor/ui/js/test-libs/jquery-1.9.1.min.js +0 -5
  54. data/vendor/ui/js/test/cache-test.js +0 -47
  55. data/vendor/ui/js/test/components/abbrev-test.js +0 -22
  56. data/vendor/ui/js/test/components/blob-test.js +0 -90
  57. data/vendor/ui/js/test/components/clone-name-suggestion-test.js +0 -37
  58. data/vendor/ui/js/test/components/clone-url-selection-test.js +0 -25
  59. data/vendor/ui/js/test/components/comments-test.js +0 -139
  60. data/vendor/ui/js/test/components/commit-linker-test.js +0 -46
  61. data/vendor/ui/js/test/components/live-markdown-preview-test.js +0 -37
  62. data/vendor/ui/js/test/components/profile-menu-test.js +0 -46
  63. data/vendor/ui/js/test/components/ref-selector-test.js +0 -140
  64. data/vendor/ui/js/test/components/repository-admin-test.js +0 -37
  65. data/vendor/ui/js/test/components/repository-watching-test.js +0 -74
  66. data/vendor/ui/js/test/components/timeago-test.js +0 -74
  67. data/vendor/ui/js/test/components/tree-history-test.js +0 -324
  68. data/vendor/ui/js/test/components/url-template-test.js +0 -65
  69. data/vendor/ui/js/test/test-helper.js +0 -2
  70. data/vendor/ui/lib/bootstrap/css/bootstrap-responsive.min.css +0 -9
  71. data/vendor/ui/lib/bootstrap/css/bootstrap.min.css +0 -9
  72. data/vendor/ui/lib/bootstrap/img/glyphicons-halflings-white.png +0 -0
  73. data/vendor/ui/lib/bootstrap/img/glyphicons-halflings.png +0 -0
  74. data/vendor/ui/lib/bootstrap/js/bootstrap.min.js +0 -6
  75. data/vendor/ui/package.json +0 -21
  76. data/vendor/ui/todo.org +0 -4
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- paths: ["js/src/**/*.js", "js/test/**/*.js"],
3
- linter: "jslint",
4
- linterOptions: {
5
- sloppy: true,
6
- vars: true,
7
- browser: true,
8
- plusplus: true,
9
- nomen: true,
10
- predef: []
11
- },
12
- excludes: []
13
- };
@@ -1,31 +0,0 @@
1
- exports["Baseline"] = {
2
- sources: [
3
- "js/src/cache.js",
4
- "js/src/json-request.js",
5
- "js/src/components/**/*.js"
6
- ],
7
- testHelpers: ["js/test-libs/*.js", "js/test/test-helper.js"],
8
- tests: ["js/test/**/*-test.js"],
9
- extensions: [require("buster-html-doc")]
10
- };
11
-
12
- exports["Build test"] = {
13
- extends: "Baseline",
14
- libs: ["dist/gitorious3.min.js"]
15
- };
16
-
17
- exports["Browser tests"] = {
18
- extends: "Baseline",
19
- libs: [
20
- "js/lib/culljs/lib/cull.js",
21
- "js/lib/dome/lib/dome.js",
22
- "js/lib/dome/lib/event.js",
23
- "js/lib/spin.js/spin.js",
24
- "js/lib/when/when.js",
25
- "js/lib/bane/lib/bane.js",
26
- "js/lib/reqwest/reqwest.js",
27
- "js/lib/uinit/lib/uinit.js",
28
- "js/lib/showdown/src/showdown.js",
29
- "js/lib/timeago/timeago.js"
30
- ]
31
- };
@@ -1,660 +0,0 @@
1
- @import "syntax-highlight.css";
2
-
3
- /** Bootstrap tweaks */
4
-
5
- /* The default responsive Bootstrap layout is too wide */
6
- .container,
7
- .navbar-fixed-top .container,
8
- .navbar-fixed-bottom .container {
9
- max-width: 940px;
10
- }
11
-
12
- body h1 {
13
- margin-bottom: 0.25em;
14
- }
15
-
16
- .collapse {
17
- max-height: 0;
18
- -webkit-transition: max-height 1.35s ease;
19
- -moz-transition: max-height 1.35s ease;
20
- -ms-transition: max-height 1.35s ease;
21
- -o-transition: max-height 1.35s ease;
22
- transition: max-height 1.35s ease;
23
- }
24
-
25
- .collapse.in {
26
- max-height: 2000px;
27
- }
28
-
29
- .span8 .input-xxlarge {
30
- width: 95%;
31
- }
32
-
33
- /** Header */
34
- body .gts-masthead {
35
- margin-bottom: 0;
36
- }
37
-
38
- .gts-masthead .navbar-inner {
39
- border-radius: 0;
40
- background-image: -moz-linear-gradient(center top, #201e1e, #222222);
41
- background-color: #201e1e;
42
- }
43
-
44
- /** Get the logo and top bar alignment right. */
45
- .gts-masthead .container {
46
- padding-bottom: 8px;
47
- padding-top: 20px;
48
- }
49
-
50
- .gts-logo {
51
- float: left;
52
- margin: -4px 20px 6px 0;
53
- }
54
-
55
- .gts-masthead .navbar-inner .btn-group {
56
- padding-right: 0;
57
- }
58
-
59
- /** Repo "boxes" */
60
- .gts-site-header {
61
- background: #f5f5f5;
62
- border-bottom: 1px solid #ddd;
63
- margin-bottom: 20px;
64
- padding: 20px 0 0;
65
- }
66
-
67
- .gts-clone-source {
68
- margin-left: 30px;
69
- }
70
-
71
- tt {
72
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
73
- }
74
-
75
- .gts-private .gts-site-header {
76
- background: url(../images/f5f5f5-980x1.png) repeat-y 50% 0 #222;
77
- border-bottom: none;
78
- }
79
-
80
- .gts-new-repo {
81
- padding-bottom: 40px;
82
- }
83
-
84
- .gts-site-header + .footer {
85
- margin-top: -21px;
86
- }
87
-
88
- .gts-notification {
89
- background: #fff;
90
- border-bottom: 1px solid #ddd;
91
- padding: 20px 0 0;
92
- }
93
-
94
- .gts-site-header .nav-tabs {
95
- margin-bottom: -1px;
96
- }
97
-
98
- .nav-tabs .dropdown-menu {
99
- margin-top: -1px;
100
- }
101
-
102
- .dropdown-label {
103
- border-radius: 5px 5px 0 0;
104
- -moz-border-radius: 5px 5px 0 0;
105
- margin-top: -5px;
106
- overflow: hidden;
107
- }
108
-
109
- .dropdown-label strong {
110
- background: #f5f5f5;
111
- border-bottom: 1px solid #ccc;
112
- border-top: 1px solid #ccc;
113
- display: block;
114
- padding: 3px 15px;
115
- }
116
-
117
- li + .dropdown-label {
118
- border-radius: 0;
119
- margin-top: 12px;
120
- }
121
-
122
- .dropdown-toggle em {
123
- font-style: normal;
124
- color: #48484c;
125
- }
126
-
127
- .open .dropdown-toggle em {
128
- color: #000;
129
- }
130
-
131
- .gts-site-header .row,
132
- .gts-description {
133
- margin-bottom: 10px;
134
- }
135
-
136
- .gts-site-header .gts-help {
137
- clear: both;
138
- margin-bottom: 0;
139
- }
140
-
141
- .gts-site-header .gts-branch-selector +
142
- .gts-branch-selector {
143
- padding-left: 0;
144
- }
145
-
146
- .gts-branch-selector .disabled {
147
- color: #999;
148
- }
149
-
150
- .gts-branch-selector {
151
- margin: 0 12px 12px 0;
152
- position: relative;
153
- z-index: 1;
154
- }
155
-
156
- .gts-browser .gts-branch-selector {
157
- margin-top: 8px;
158
- }
159
-
160
- .gts-file {
161
- margin-bottom: 12px;
162
- }
163
-
164
- .gts-file h1 {
165
- margin: 12px 0;
166
- }
167
-
168
- .gts-download {
169
- padding-right: 12px;
170
- }
171
-
172
- .gts-file .breadcrumb {
173
- margin: 0 0 -2px;
174
- position: relative;
175
- }
176
-
177
- .gts-inline {
178
- display: inline-block;
179
- line-height: 1;
180
- padding-right: 12px;
181
- vertical-align: middle;
182
- }
183
-
184
- .gts-markup {
185
- font-size: 1.1em;
186
- line-height: 1.5;
187
- }
188
-
189
- .gts-markup h1 {
190
- margin-top: 1em;
191
- }
192
-
193
- .gts-markup h1,
194
- .gts-markup h2,
195
- .gts-markup h3,
196
- .gts-markup h4,
197
- .gts-markup h5,
198
- .gts-markup h6 {
199
- margin-bottom: 0.25em;
200
- }
201
-
202
- .gts-markup p,
203
- .gts-markup ul,
204
- .gts-markup ol,
205
- .gts-markup pre {
206
- margin-bottom: 1em;
207
- }
208
-
209
- .prettyprint ol.linenums {
210
- margin-bottom: 0;
211
- }
212
-
213
- .table td ul {
214
- margin-left: 15px;
215
- }
216
-
217
- .gts-blob-view {
218
- margin-right: 12px;
219
- margin-top: 8px;
220
- min-height: 21px;
221
- position: relative;
222
- z-index: 1;
223
- }
224
-
225
- ul.gts-blob-view li {
226
- display: inline-block;
227
- padding: 0 6px;
228
- }
229
-
230
- .gts-tree-explorer {
231
- display: inline-table;
232
- position: relative;
233
- top: -8px;
234
- }
235
-
236
- .gts-branch-selector + .gts-tree-explorer {
237
- display: inline-table;
238
- position: relative;
239
- top: -38px;
240
- }
241
-
242
- /* Allocate as much space as possible to the commit column */
243
- .gts-tree-explorer .gts-col-commit,
244
- .gts-cell-big {
245
- width: 80%;
246
- }
247
-
248
- .gts-tree-explorer .icon {
249
- padding-right: 6px;
250
- }
251
-
252
- .gts-tree-explorer .gts-name {
253
- white-space: nowrap;
254
- }
255
-
256
- .gts-tree-explorer .gts-commit-oid {
257
- padding-right: 0;
258
- }
259
-
260
- /** Private repositories */
261
- .gts-private {
262
- background: url(../images/white-980x1.png) repeat-y 50% 0 #222;
263
- }
264
-
265
- .gts-private .gts-site-header .container {
266
- background-image: url(../iconic/lock_stroke.svg);
267
- background-repeat: no-repeat;
268
- background-position: 100% 0;
269
- }
270
-
271
- /** Repo URLs */
272
- .gts-repo-url {
273
- position: relative;
274
- z-index: 1;
275
- }
276
-
277
- .gts-repo-url .url {
278
- display: none;
279
- }
280
-
281
- input[type=url].gts-current-repo-url {
282
- float: left;
283
- left: -2px;
284
- padding-left: 6px;
285
- position: relative;
286
- z-index: 0;
287
- }
288
-
289
- .gts-repo-urls button.gts-repo-url-help {
290
- float: right;
291
- margin-left: -4px;
292
- }
293
-
294
- .gts-body {
295
- margin-bottom: 35px;
296
- }
297
-
298
- /** Date headings */
299
- .gts-date-heading {
300
- background-color: #f7f7f9;
301
- border-bottom: 1px solid #e1e1e8;
302
- clear: both;
303
- font-weight: bold;
304
- }
305
-
306
- .gts-date-heading-inner {
307
- background-color: #f7f7f9;
308
- border-bottom: 1px solid #fff;
309
- color: #333;
310
- display: block;
311
- padding: 4px 8px;
312
- text-shadow: 0 1px 0 #fff;
313
- }
314
-
315
- .gts-avatar {
316
- margin: 0 6px;
317
- -webkit-border-radius: 3px;
318
- -moz-border-radius: 3px;
319
- border-radius: 3px;
320
- }
321
-
322
- .gts-comment-summary {
323
- color: #48484c;
324
- padding-left: 10px;
325
- }
326
-
327
- .gts-log-message {
328
- font-size: 1.2em;
329
- }
330
-
331
- .gts-commit {
332
- padding: 6px 6px 8px;
333
- }
334
-
335
- .gts-commit + .gts-commit {
336
- border-top: 1px solid #e1e1e8;
337
- padding-top: 12px;
338
- }
339
-
340
- .gts-commit .gts-avatar {
341
- margin-left: 0;
342
- }
343
-
344
- .gts-commit-linker .gts-commit-oid {
345
- color: #08c;
346
- cursor: pointer;
347
- }
348
-
349
- .gts-commit-linker .gts-commit-oid:hover {
350
- color: #005580;
351
- text-decoration: underline;
352
- }
353
-
354
- /** Footer */
355
- .footer {
356
- border-top: 1px solid #e5e5e5;
357
- margin-top: 45px;
358
- }
359
-
360
- .footer .container {
361
- padding: 20px 0;
362
- }
363
-
364
- .gts-private .footer {
365
- border-color: #222;
366
- }
367
-
368
- .gts-footer-blurb {
369
- border-top: 1px solid #f5f5f5;
370
- margin-top: 12px;
371
- padding-top: 12px;
372
- }
373
-
374
- /* Branch graph */
375
- .capillary p {
376
- white-space: normal;
377
- }
378
-
379
- .capillary li {
380
- overflow: hidden;
381
- text-overflow: ellipsis;
382
- white-space: nowrap;
383
- }
384
-
385
- .capillary .ref-name {
386
- background: #ddd;
387
- color: #4e4e4e;
388
- border-radius: 4px;
389
- display: inline-block;
390
- margin: 0 5px 0 0;
391
- padding: 0 5px;
392
- }
393
-
394
- .capillary .ref-type-tag {
395
- background: #eeb;
396
- }
397
-
398
- .capillary a.ref-name:hover {
399
- text-decoration: underline;
400
- }
401
-
402
- .capillary li .msg {
403
- color: #48484c;
404
- }
405
-
406
- .capillary li a:hover {
407
- text-decoration: underline;
408
- }
409
-
410
- .capillary {
411
- margin-left: -10px;
412
- }
413
-
414
- /* Code listing tables */
415
- .gts-code-listing {
416
- border: 1px solid #e1e1e8;
417
- position: relative;
418
- top: -5px;
419
- width: 100%;
420
- }
421
-
422
- .gts-code-listing tr:first-child td {
423
- padding-top: 6px;
424
- }
425
-
426
- .gts-code-listing tr:last-child td {
427
- padding-bottom: 6px;
428
- }
429
-
430
- .gts-code-listing td {
431
- padding: 0;
432
- vertical-align: top;
433
- }
434
-
435
- .gts-code-listing .gts-code {
436
- background: #fefefe;
437
- }
438
-
439
- .gts-code-listing code {
440
- background: transparent;
441
- border: none;
442
- color: #48484c;
443
- display: block;
444
- line-height: 18px;
445
- min-height: 18px;
446
- padding: 0 0 0 12px;
447
- white-space: pre-wrap;
448
- }
449
-
450
- .gts-code-listing .linenum {
451
- background-color: #f7f7f9;
452
- border: 1px solid #e1e1e8;
453
- color: #bebec5;
454
- padding: 0 12px;
455
- text-align: right;
456
- text-shadow: 0 1px 0 #fff;
457
- /* Basically: "No more than needed"
458
- Table cells auto-expand to fit content */
459
- width: 10px;
460
- }
461
-
462
- .gts-code-listing .gts-commit-oid {
463
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
464
- }
465
-
466
- .gts-code-listing .gts-annotated {
467
- border-top: 1px solid #e1e1e8;
468
- }
469
-
470
- .gts-code-listing .gts-blame-annotation {
471
- white-space: nowrap;
472
- background: #f0f0f0;
473
- padding-left: 12px;
474
- padding-right: 12px;
475
- }
476
-
477
- .gts-code-listing .line {
478
- white-space: nowrap;
479
- }
480
-
481
- /* Diff */
482
- .gts-code-listing .gts-diff-rm .gts-code {
483
- background: #fdd;
484
- }
485
-
486
- .gts-code-listing del {
487
- background: #f2acad;
488
- text-decoration: none;
489
- }
490
-
491
- .gts-neg,
492
- .gts-diff-summary .gts-diff-rm {
493
- color: #9d261d;
494
- }
495
-
496
- .gts-code-listing .gts-diff-add .gts-code {
497
- background: #dfd;
498
- }
499
-
500
- .gts-code-listing ins {
501
- background: #bafbad;
502
- text-decoration: none;
503
- }
504
-
505
- .gts-pos,
506
- .gts-diff-summary .gts-diff-add {
507
- color: #46a546;
508
- }
509
-
510
- .gts-diff-summary .gts-diff-rm,
511
- .gts-diff-summary .gts-diff-add {
512
- font-weight: bold;
513
- }
514
-
515
- .gts-diffs h1 {
516
- margin-bottom: 18px;
517
- }
518
-
519
- /* Commit */
520
- .gts-commit blockquote p {
521
- margin-bottom: 12px;
522
- }
523
-
524
- .gts-commit-sha1 {
525
- float: left;
526
- font-size: 13px;
527
- line-height: 18px;
528
- }
529
-
530
- .gts-commit-parent {
531
- float: right;
532
- }
533
-
534
- .gts-commit h1 {
535
- clear: both;
536
- }
537
-
538
- .gts-side-by-side .gts-code {
539
- width: 50%;
540
- }
541
-
542
- .gts-commit-summary {
543
- margin-bottom: 12px;
544
- }
545
-
546
- .gts-comment {
547
- padding-top: 8px;
548
- margin-bottom: 12px;
549
- }
550
-
551
- .gts-comment + .gts-comment {
552
- border-top: 1px solid #e5e5e5;
553
- }
554
-
555
- .gts-bordered-row {
556
- background: #f5f5f5;
557
- border-bottom: 1px solid #e5e5e5;
558
- border-top: 1px solid #e5e5e5;
559
- padding: 8px;
560
- }
561
-
562
- .form-horizontal div.gts-markdown-preview {
563
- margin: -12px 160px 24px;
564
- }
565
-
566
- .gts-help .table {
567
- width: auto;
568
- }
569
-
570
- .gts-item-author,
571
- .gts-item-status,
572
- .gts-item-age {
573
- white-space: nowrap;
574
- }
575
-
576
- .form-horizontal legend + p {
577
- margin: -20px 0 27px;
578
- }
579
-
580
- .gts-ref-input,
581
- input[type=text].gts-ref-input {
582
- border: none;
583
- border-radius: 0;
584
- -moz-border-radius: 0;
585
- box-shadow: 0;
586
- display: inline;
587
- height: 18px;
588
- margin: 0;
589
- padding: 1px 4px 3px;
590
- position: relative;
591
- top: 0;
592
- width: 10em;
593
- }
594
-
595
- .gts-branch-selector .dropdown-menu {
596
- min-width: 246px;
597
- }
598
-
599
- .gts-dropdown-input {
600
- border-radius: 5px 5px 0 0;
601
- -moz-border-radius: 5px 5px 0 0;
602
- margin-top: -5px;
603
- overflow: hidden;
604
- }
605
-
606
- .gts-dropdown-input strong {
607
- background: #f5f5f5;
608
- border-bottom: 1px solid #ccc;
609
- border-top: 1px solid #ccc;
610
- display: block;
611
- padding: 0 15px;
612
- }
613
-
614
- .gts-dropdown-input + .dropdown-label {
615
- margin-top: -1px;
616
- }
617
-
618
- .gts-commit-date,
619
- .table .gts-cell-small {
620
- white-space: nowrap;
621
- }
622
-
623
- .table td.gts-commit-oid {
624
- /* Make it fit snugly, crazy table rendering algorithms will
625
- make it as big as needed. The intention here is "as small as
626
- possible" */
627
- width: 1em;
628
- }
629
-
630
- .gts-markup code {
631
- border: none;
632
- color: inherit;
633
- font-size: 0.9em;
634
- padding: 2px;
635
- }
636
-
637
- .gts-markup pre code {
638
- font-size: inherit;
639
- }
640
-
641
- .gts-readme {
642
- background-color: #fff;
643
- border: 1px solid #E3E3E3;
644
- border-radius: 4px 4px 4px 4px;
645
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
646
- margin-bottom: 20px;
647
- min-height: 20px;
648
- padding: 19px;
649
- }
650
-
651
- .gts-readme .gts-page-header {
652
- background-color: #f5f5f5;
653
- border-radius: 4px 0px 0px 4px;
654
- margin: -19px -19px 10px -19px;
655
- padding: 10px 20px 10px 20px;
656
- }
657
-
658
- .gts-placeholder {
659
- display: none;
660
- }