wiki-server 0.19.4 → 0.20.2

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.
package/AUTHORS.txt CHANGED
@@ -18,3 +18,4 @@ winckell benjamin <winckell.benjamin.isart@gmail.com>
18
18
  Eric Dobbs <eric@dobbse.net>
19
19
  Joshua Benuck <joshua_benuck@yahoo.com>
20
20
  Tom Lieber <tom@alltom.com>
21
+ Andrew Shell <andrew@andrewshell.org>
@@ -149,623 +149,98 @@
149
149
  ],
150
150
  "journal": [
151
151
  {
152
- "id": "7b56f22a4b9ee974",
153
- "type": "edit",
154
- "item": {
155
- "text": "Welcome to the [[Smallest Federated Wiki]]. This page was first drafted Sunday, June 26th, 2011, at [[Indie Web Camp]]. You are welcome to copy this page to any server you own and revise its welcoming message as you see fit. You can assume this has happened many times already. See also [[",
156
- "id": "7b56f22a4b9ee974",
157
- "type": "paragraph"
158
- }
159
- },
160
- {
161
- "id": "7b56f22a4b9ee974",
162
- "type": "edit",
163
- "item": {
164
- "text": "Welcome to the [[Smallest Federated Wiki]]. This page was first drafted Sunday, June 26th, 2011, at [[Indie Web Camp]]. You are welcome to copy this page to any server you own and revise its welcoming message as you see fit. You can assume this has happened many times already, most likely among the [[List of Pioneers]].",
165
- "id": "7b56f22a4b9ee974",
166
- "type": "paragraph"
167
- }
168
- },
169
- {
170
- "item": {
171
- "type": "factory",
172
- "id": "d88b9a104822256b"
173
- },
174
- "id": "d88b9a104822256b",
175
- "type": "add",
176
- "after": "7b56f22a4b9ee974"
177
- },
178
- {
179
- "type": "edit",
180
- "id": "d88b9a104822256b",
181
- "item": {
182
- "type": "paragraph",
183
- "id": "d88b9a104822256b",
184
- "text": "<h2>How To Edit"
185
- }
186
- },
187
- {
188
- "type": "edit",
189
- "id": "d88b9a104822256b",
190
- "item": {
191
- "type": "paragraph",
192
- "id": "d88b9a104822256b",
193
- "text": "<h3>How To Add Content"
194
- }
195
- },
196
- {
197
- "item": {
198
- "type": "factory",
199
- "id": "1012dd3528d4c788"
200
- },
201
- "id": "1012dd3528d4c788",
202
- "type": "add",
203
- "after": "d88b9a104822256b"
204
- },
205
- {
206
- "type": "edit",
207
- "id": "1012dd3528d4c788",
208
- "item": {
209
- "type": "paragraph",
210
- "id": "1012dd3528d4c788",
211
- "text": "How to [[Add Text]] to an existing paragraph."
212
- }
213
- },
214
- {
215
- "item": {
216
- "type": "factory",
217
- "id": "d03bcc1fd0278522"
218
- },
219
- "id": "d03bcc1fd0278522",
220
- "type": "add",
221
- "after": "1012dd3528d4c788"
222
- },
223
- {
224
- "type": "edit",
225
- "id": "d03bcc1fd0278522",
226
- "item": {
227
- "type": "paragraph",
228
- "id": "d03bcc1fd0278522",
229
- "text": "How to [[Move Paragraphs]] within and between wiki pages."
230
- }
231
- },
232
- {
233
- "item": {
234
- "type": "factory",
235
- "id": "f2a7762b712791e5"
236
- },
237
- "id": "f2a7762b712791e5",
238
- "type": "add",
239
- "after": "d03bcc1fd0278522"
240
- },
241
- {
242
- "type": "edit",
243
- "id": "f2a7762b712791e5",
244
- "item": {
245
- "type": "paragraph",
246
- "id": "f2a7762b712791e5",
247
- "text": "How to [[Add Plugins]] to interpret new kinds of data."
248
- }
249
- },
250
- {
251
- "item": {
252
- "type": "factory",
253
- "id": "fa3e22f363cd93d5"
254
- },
255
- "id": "fa3e22f363cd93d5",
256
- "type": "add",
257
- "after": "f2a7762b712791e5"
258
- },
259
- {
260
- "type": "edit",
261
- "id": "fa3e22f363cd93d5",
262
- "item": {
263
- "type": "paragraph",
264
- "id": "fa3e22f363cd93d5",
265
- "text": "How to [[Add Paragraphs]] or paragraph-like items to a story."
266
- }
267
- },
268
- {
269
- "type": "move",
270
- "order": [
271
- "7b56f22a4b9ee974",
272
- "d88b9a104822256b",
273
- "1012dd3528d4c788",
274
- "fa3e22f363cd93d5",
275
- "d03bcc1fd0278522",
276
- "f2a7762b712791e5"
277
- ],
278
- "id": "fa3e22f363cd93d5"
279
- },
280
- {
281
- "item": {
282
- "type": "factory",
283
- "id": "d3a1bd6b0c947378"
284
- },
285
- "id": "d3a1bd6b0c947378",
286
- "type": "add",
287
- "after": "f2a7762b712791e5"
288
- },
289
- {
290
- "type": "edit",
291
- "id": "d3a1bd6b0c947378",
292
- "item": {
293
- "type": "paragraph",
294
- "id": "d3a1bd6b0c947378",
295
- "text": "<h3>How To Improve Wiki"
296
- }
297
- },
298
- {
299
- "type": "move",
300
- "order": [
301
- "7b56f22a4b9ee974",
302
- "d88b9a104822256b",
303
- "1012dd3528d4c788",
304
- "fa3e22f363cd93d5",
305
- "d03bcc1fd0278522",
306
- "d3a1bd6b0c947378",
307
- "f2a7762b712791e5"
308
- ],
309
- "id": "d3a1bd6b0c947378"
310
- },
311
- {
312
- "item": {
313
- "type": "factory",
314
- "id": "4cb87e0352907dfe"
315
- },
316
- "id": "4cb87e0352907dfe",
317
- "type": "add",
318
- "after": "f2a7762b712791e5"
319
- },
320
- {
321
- "type": "edit",
322
- "id": "4cb87e0352907dfe",
323
- "item": {
324
- "type": "paragraph",
325
- "id": "4cb87e0352907dfe",
326
- "text": "How to [[Add Pages]] by adding links to existing pages."
327
- }
328
- },
329
- {
330
- "type": "move",
331
- "order": [
332
- "7b56f22a4b9ee974",
333
- "d88b9a104822256b",
334
- "1012dd3528d4c788",
335
- "fa3e22f363cd93d5",
336
- "d03bcc1fd0278522",
337
- "4cb87e0352907dfe",
338
- "d3a1bd6b0c947378",
339
- "f2a7762b712791e5"
340
- ],
341
- "id": "4cb87e0352907dfe"
342
- },
343
- {
344
- "type": "edit",
345
- "id": "7b56f22a4b9ee974",
346
- "item": {
347
- "text": "Welcome to the [[Smallest Federated Wiki]]. This page was first drafted Sunday, June 26th, 2011, at [[Indie Web Camp]]. These pages describe editing conventions common among the federated sites.",
348
- "id": "7b56f22a4b9ee974",
349
- "type": "paragraph"
350
- }
351
- },
352
- {
353
- "type": "edit",
354
- "id": "7b56f22a4b9ee974",
355
- "item": {
356
- "text": "Welcome to the [[Smallest Federated Wiki]]. This page was first drafted Sunday, June 26th, 2011. These pages describe editing conventions common among the federated sites.",
357
- "id": "7b56f22a4b9ee974",
358
- "type": "paragraph"
359
- }
360
- },
361
- {
362
- "type": "edit",
363
- "id": "7b56f22a4b9ee974",
364
- "item": {
365
- "text": "Welcome to the [[Smallest Federated Wiki]]. This page was first drafted Sunday, June 26th, 2011. The pages on this particular site have been edited to describe how to get things done on many of the federated sites.",
366
- "id": "7b56f22a4b9ee974",
367
- "type": "paragraph"
368
- }
369
- },
370
- {
371
- "item": {
372
- "type": "factory",
373
- "id": "07ef6b0e53a77dd2"
374
- },
375
- "id": "07ef6b0e53a77dd2",
376
- "type": "add",
377
- "after": "f2a7762b712791e5"
378
- },
379
- {
380
- "type": "move",
381
- "order": [
382
- "7b56f22a4b9ee974",
383
- "07ef6b0e53a77dd2",
384
- "d88b9a104822256b",
385
- "1012dd3528d4c788",
386
- "fa3e22f363cd93d5",
387
- "d03bcc1fd0278522",
388
- "4cb87e0352907dfe",
389
- "d3a1bd6b0c947378",
390
- "f2a7762b712791e5"
391
- ],
392
- "id": "07ef6b0e53a77dd2"
393
- },
394
- {
395
- "type": "edit",
396
- "id": "07ef6b0e53a77dd2",
397
- "item": {
398
- "type": "paragraph",
399
- "id": "07ef6b0e53a77dd2",
400
- "text": "Read a little bit. Then move on to our [http://sandbox.fed.wiki.org Sandbox] and give your new knowledge a workout."
401
- }
402
- },
403
- {
404
- "type": "edit",
405
- "id": "07ef6b0e53a77dd2",
406
- "item": {
407
- "type": "paragraph",
408
- "id": "07ef6b0e53a77dd2",
409
- "text": "Read a little bit. Then move on to our [http://sandbox.fed.wiki.org Sandbox] and give your new knowledge a workout. Still confused? Add something to our [[Frequently Asked Questions]]."
410
- }
411
- },
412
- {
413
- "item": {
414
- "type": "factory",
415
- "id": "c8fda36855c0da59"
416
- },
417
- "id": "c8fda36855c0da59",
418
- "type": "add",
419
- "after": "f2a7762b712791e5"
420
- },
421
- {
422
- "type": "edit",
423
- "id": "c8fda36855c0da59",
424
- "item": {
425
- "type": "paragraph",
426
- "id": "c8fda36855c0da59",
427
- "text": "How to [[Host a Site]] of your own."
428
- }
429
- },
430
- {
431
- "type": "move",
432
- "order": [
433
- "07ef6b0e53a77dd2",
434
- "d88b9a104822256b",
435
- "1012dd3528d4c788",
436
- "fa3e22f363cd93d5",
437
- "d03bcc1fd0278522",
438
- "4cb87e0352907dfe",
439
- "d3a1bd6b0c947378",
440
- "c8fda36855c0da59",
441
- "f2a7762b712791e5"
442
- ],
443
- "id": "c8fda36855c0da59"
444
- },
445
- {
446
- "type": "edit",
447
- "id": "c8fda36855c0da59",
448
- "item": {
449
- "type": "paragraph",
450
- "id": "c8fda36855c0da59",
451
- "text": "How to [[Host a Site]] to share your work."
452
- }
453
- },
454
- {
455
- "item": {
456
- "type": "factory",
457
- "id": "243033dc6528eab1"
458
- },
459
- "id": "243033dc6528eab1",
460
- "type": "add",
461
- "after": "f2a7762b712791e5"
462
- },
463
- {
464
- "type": "edit",
465
- "id": "243033dc6528eab1",
466
- "item": {
467
- "type": "paragraph",
468
- "id": "243033dc6528eab1",
469
- "text": "<h3>How to Remove Content"
470
- }
471
- },
472
- {
473
- "type": "move",
474
- "order": [
475
- "07ef6b0e53a77dd2",
476
- "d88b9a104822256b",
477
- "1012dd3528d4c788",
478
- "fa3e22f363cd93d5",
479
- "d03bcc1fd0278522",
480
- "4cb87e0352907dfe",
481
- "243033dc6528eab1",
482
- "d3a1bd6b0c947378",
483
- "c8fda36855c0da59",
484
- "f2a7762b712791e5"
485
- ],
486
- "id": "243033dc6528eab1"
487
- },
488
- {
489
- "item": {
490
- "type": "factory",
491
- "id": "73e9a16ca95be40e"
492
- },
493
- "id": "73e9a16ca95be40e",
494
- "type": "add",
495
- "after": "f2a7762b712791e5"
496
- },
497
- {
498
- "type": "move",
499
- "order": [
500
- "07ef6b0e53a77dd2",
501
- "d88b9a104822256b",
502
- "1012dd3528d4c788",
503
- "fa3e22f363cd93d5",
504
- "d03bcc1fd0278522",
505
- "4cb87e0352907dfe",
506
- "243033dc6528eab1",
507
- "73e9a16ca95be40e",
508
- "d3a1bd6b0c947378",
509
- "c8fda36855c0da59",
510
- "f2a7762b712791e5"
511
- ],
512
- "id": "73e9a16ca95be40e"
513
- },
514
- {
515
- "type": "edit",
516
- "id": "73e9a16ca95be40e",
517
- "item": {
518
- "type": "paragraph",
519
- "id": "73e9a16ca95be40e",
520
- "text": "How to [[Remove Paragraphs]] and some other editable items."
521
- }
522
- },
523
- {
524
- "item": {
525
- "type": "factory",
526
- "id": "c63dc8ff04ecdc31"
527
- },
528
- "id": "c63dc8ff04ecdc31",
529
- "type": "add",
530
- "after": "f2a7762b712791e5"
531
- },
532
- {
533
- "type": "move",
534
- "order": [
535
- "07ef6b0e53a77dd2",
536
- "d88b9a104822256b",
537
- "1012dd3528d4c788",
538
- "fa3e22f363cd93d5",
539
- "d03bcc1fd0278522",
540
- "4cb87e0352907dfe",
541
- "243033dc6528eab1",
542
- "73e9a16ca95be40e",
543
- "c63dc8ff04ecdc31",
544
- "d3a1bd6b0c947378",
545
- "c8fda36855c0da59",
546
- "f2a7762b712791e5"
547
- ],
548
- "id": "c63dc8ff04ecdc31"
549
- },
550
- {
551
- "type": "edit",
552
- "id": "c63dc8ff04ecdc31",
553
- "item": {
554
- "type": "paragraph",
555
- "id": "c63dc8ff04ecdc31",
556
- "text": "How to [[Remove Pages]] or direct readers to other sites."
557
- }
558
- },
559
- {
560
- "item": {
561
- "type": "factory",
562
- "id": "208e32f178e91c99"
563
- },
564
- "id": "208e32f178e91c99",
565
- "type": "add",
566
- "after": "f2a7762b712791e5"
567
- },
568
- {
569
- "type": "edit",
570
- "id": "208e32f178e91c99",
571
- "item": {
572
- "type": "paragraph",
573
- "id": "208e32f178e91c99",
574
- "text": "How to [[Add Weird Characters]] to a paragraph."
575
- }
576
- },
577
- {
578
- "type": "move",
579
- "order": [
580
- "07ef6b0e53a77dd2",
581
- "d88b9a104822256b",
582
- "1012dd3528d4c788",
583
- "208e32f178e91c99",
584
- "fa3e22f363cd93d5",
585
- "d03bcc1fd0278522",
586
- "4cb87e0352907dfe",
587
- "243033dc6528eab1",
588
- "73e9a16ca95be40e",
589
- "c63dc8ff04ecdc31",
590
- "d3a1bd6b0c947378",
591
- "c8fda36855c0da59",
592
- "f2a7762b712791e5"
593
- ],
594
- "id": "208e32f178e91c99"
595
- },
596
- {
597
- "type": "edit",
598
- "id": "07ef6b0e53a77dd2",
599
- "item": {
600
- "type": "paragraph",
601
- "id": "07ef6b0e53a77dd2",
602
- "text": "Read a little bit. Then move on to our [http://sandbox.fed.wiki.org Sandbox] and give your new knowledge a workout. Still confused? Look through our our [[Frequently Asked Questions]]."
603
- }
604
- },
605
- {
606
- "item": {
607
- "type": "factory",
608
- "id": "1db26c2e0c7ed126"
609
- },
610
- "id": "1db26c2e0c7ed126",
611
- "type": "add",
612
- "after": "f2a7762b712791e5"
613
- },
614
- {
615
- "type": "edit",
616
- "id": "1db26c2e0c7ed126",
617
- "item": {
618
- "type": "paragraph",
619
- "id": "1db26c2e0c7ed126",
620
- "text": "How to [[Add Formatting]] to a paragraph."
621
- }
622
- },
623
- {
624
- "type": "move",
625
- "order": [
626
- "07ef6b0e53a77dd2",
627
- "d88b9a104822256b",
628
- "1012dd3528d4c788",
629
- "1db26c2e0c7ed126",
630
- "208e32f178e91c99",
631
- "fa3e22f363cd93d5",
632
- "d03bcc1fd0278522",
633
- "4cb87e0352907dfe",
634
- "243033dc6528eab1",
635
- "73e9a16ca95be40e",
636
- "c63dc8ff04ecdc31",
637
- "d3a1bd6b0c947378",
638
- "c8fda36855c0da59",
639
- "f2a7762b712791e5"
640
- ],
641
- "id": "1db26c2e0c7ed126"
642
- },
643
- {
644
- "item": {
645
- "type": "factory",
646
- "id": "8bb136a087a9710f"
647
- },
648
- "id": "8bb136a087a9710f",
649
- "type": "add",
650
- "after": "f2a7762b712791e5"
651
- },
652
- {
653
- "type": "move",
654
- "order": [
655
- "07ef6b0e53a77dd2",
656
- "d88b9a104822256b",
657
- "1012dd3528d4c788",
658
- "1db26c2e0c7ed126",
659
- "208e32f178e91c99",
660
- "fa3e22f363cd93d5",
661
- "d03bcc1fd0278522",
662
- "4cb87e0352907dfe",
663
- "8bb136a087a9710f",
664
- "243033dc6528eab1",
665
- "73e9a16ca95be40e",
666
- "c63dc8ff04ecdc31",
667
- "d3a1bd6b0c947378",
668
- "c8fda36855c0da59",
669
- "f2a7762b712791e5"
670
- ],
671
- "id": "8bb136a087a9710f"
672
- },
673
- {
674
- "type": "edit",
675
- "id": "8bb136a087a9710f",
676
- "item": {
677
- "type": "paragraph",
678
- "id": "8bb136a087a9710f",
679
- "text": "How to [[Import Documents]] from various sources."
680
- }
681
- },
682
- {
683
- "item": {
684
- "type": "factory",
685
- "id": "69fd0eba8fefe2aa"
686
- },
687
- "id": "69fd0eba8fefe2aa",
688
- "type": "add",
689
- "after": "f2a7762b712791e5"
690
- },
691
- {
692
- "type": "edit",
693
- "id": "69fd0eba8fefe2aa",
694
- "item": {
695
- "type": "paragraph",
696
- "id": "69fd0eba8fefe2aa",
697
- "text": "How to [[Add Links]] to paragraphs."
698
- }
699
- },
700
- {
701
- "type": "move",
702
- "order": [
703
- "07ef6b0e53a77dd2",
704
- "d88b9a104822256b",
705
- "1012dd3528d4c788",
706
- "69fd0eba8fefe2aa",
707
- "1db26c2e0c7ed126",
708
- "208e32f178e91c99",
709
- "fa3e22f363cd93d5",
710
- "d03bcc1fd0278522",
711
- "4cb87e0352907dfe",
712
- "8bb136a087a9710f",
713
- "243033dc6528eab1",
714
- "73e9a16ca95be40e",
715
- "c63dc8ff04ecdc31",
716
- "d3a1bd6b0c947378",
717
- "c8fda36855c0da59",
718
- "f2a7762b712791e5"
719
- ],
720
- "id": "69fd0eba8fefe2aa"
721
- },
722
- {
723
- "type": "edit",
724
- "id": "69fd0eba8fefe2aa",
725
- "item": {
726
- "type": "paragraph",
727
- "id": "69fd0eba8fefe2aa",
728
- "text": "How to [[Add Links]] to a paragraph."
729
- }
730
- },
731
- {
732
- "item": {
733
- "type": "factory",
734
- "id": "a2bb10949e81f2c6"
735
- },
736
- "id": "a2bb10949e81f2c6",
737
- "type": "add"
738
- },
739
- {
740
- "type": "move",
741
- "order": [
742
- "07ef6b0e53a77dd2",
743
- "d88b9a104822256b",
744
- "1012dd3528d4c788",
745
- "69fd0eba8fefe2aa",
746
- "1db26c2e0c7ed126",
747
- "208e32f178e91c99",
748
- "fa3e22f363cd93d5",
749
- "d03bcc1fd0278522",
750
- "4cb87e0352907dfe",
751
- "8bb136a087a9710f",
752
- "243033dc6528eab1",
753
- "73e9a16ca95be40e",
754
- "c63dc8ff04ecdc31",
755
- "d3a1bd6b0c947378",
756
- "a2bb10949e81f2c6",
757
- "c8fda36855c0da59",
758
- "f2a7762b712791e5"
759
- ]
760
- },
761
- {
762
- "type": "edit",
763
- "id": "a2bb10949e81f2c6",
764
- "item": {
765
- "type": "paragraph",
766
- "id": "a2bb10949e81f2c6",
767
- "text": "How to [[Review Changes]] to any page or site."
768
- }
152
+ "type": "create",
153
+ "item": {
154
+ "title": "How To Wiki",
155
+ "story": [
156
+ {
157
+ "type": "paragraph",
158
+ "id": "07ef6b0e53a77dd2",
159
+ "text": "Read a little bit. Then move on to our [http://sandbox.fed.wiki.org Sandbox] and give your new knowledge a workout. Still confused? Look through our our [[Frequently Asked Questions]]."
160
+ },
161
+ {
162
+ "type": "html",
163
+ "id": "d88b9a104822256b",
164
+ "text": "<h3>How To Add Content"
165
+ },
166
+ {
167
+ "type": "paragraph",
168
+ "id": "1012dd3528d4c788",
169
+ "text": "How to [[Add Text]] to an existing paragraph."
170
+ },
171
+ {
172
+ "type": "paragraph",
173
+ "id": "69fd0eba8fefe2aa",
174
+ "text": "How to [[Add Links]] to a paragraph."
175
+ },
176
+ {
177
+ "type": "paragraph",
178
+ "id": "1db26c2e0c7ed126",
179
+ "text": "How to [[Add Formatting]] to a paragraph."
180
+ },
181
+ {
182
+ "type": "paragraph",
183
+ "id": "208e32f178e91c99",
184
+ "text": "How to [[Add Weird Characters]] to a paragraph."
185
+ },
186
+ {
187
+ "type": "paragraph",
188
+ "id": "fa3e22f363cd93d5",
189
+ "text": "How to [[Add Paragraphs]] or paragraph-like items to a story."
190
+ },
191
+ {
192
+ "type": "paragraph",
193
+ "id": "d03bcc1fd0278522",
194
+ "text": "How to [[Move Paragraphs]] within and between wiki pages."
195
+ },
196
+ {
197
+ "type": "paragraph",
198
+ "id": "4cb87e0352907dfe",
199
+ "text": "How to [[Add Pages]] by adding links to existing pages."
200
+ },
201
+ {
202
+ "type": "paragraph",
203
+ "id": "8bb136a087a9710f",
204
+ "text": "How to [[Import Documents]] from various sources."
205
+ },
206
+ {
207
+ "type": "html",
208
+ "id": "243033dc6528eab1",
209
+ "text": "<h3>How to Remove Content"
210
+ },
211
+ {
212
+ "type": "paragraph",
213
+ "id": "73e9a16ca95be40e",
214
+ "text": "How to [[Remove Paragraphs]] and some other editable items."
215
+ },
216
+ {
217
+ "type": "paragraph",
218
+ "id": "c63dc8ff04ecdc31",
219
+ "text": "How to [[Remove Pages]] or direct readers to other sites."
220
+ },
221
+ {
222
+ "type": "html",
223
+ "id": "d3a1bd6b0c947378",
224
+ "text": "<h3>How To Improve Wiki"
225
+ },
226
+ {
227
+ "type": "paragraph",
228
+ "id": "a2bb10949e81f2c6",
229
+ "text": "How to [[Review Changes]] to any page or site."
230
+ },
231
+ {
232
+ "type": "paragraph",
233
+ "id": "c8fda36855c0da59",
234
+ "text": "How to [[Host a Site]] to share your work."
235
+ },
236
+ {
237
+ "type": "paragraph",
238
+ "id": "f2a7762b712791e5",
239
+ "text": "How to [[Add Plugins]] to interpret new kinds of data."
240
+ }
241
+ ]
242
+ },
243
+ "date": 1344124800000
769
244
  },
770
245
  {
771
246
  "type": "edit",
@@ -991,7 +466,8 @@
991
466
  },
992
467
  {
993
468
  "type": "fork",
994
- "site": "fed.wiki.org"
469
+ "site": "fed.wiki.org",
470
+ "date": 1358732351905
995
471
  },
996
472
  {
997
473
  "type": "edit",
@@ -1004,10 +480,6 @@
1004
480
  "site": "fed.wiki.org",
1005
481
  "date": 1358732351906
1006
482
  },
1007
- {
1008
- "type": "fork",
1009
- "date": 1358732385734
1010
- },
1011
483
  {
1012
484
  "item": {
1013
485
  "type": "paragraph",
@@ -1420,7 +892,7 @@
1420
892
  {
1421
893
  "type": "fork",
1422
894
  "site": "fed.wiki.org",
1423
- "date": 1490577179025
895
+ "date": 1488473254245
1424
896
  }
1425
897
  ]
1426
898
  }
@@ -50,7 +50,7 @@ module.exports = (argv) ->
50
50
 
51
51
  argv.security_type or= './security'
52
52
  if argv.security_type is './security'
53
- console.log "\n\nWARNING: Using default security module."
53
+ console.log "\n\nINFORMATION: Using default security module."
54
54
  else
55
55
  argv.security_type = 'wiki-security-' + argv.security_type
56
56
  argv.security_legacy or= false
package/lib/search.coffee CHANGED
@@ -165,18 +165,18 @@ module.exports = exports = (argv) ->
165
165
  try
166
166
  switch currentItem.type
167
167
  when 'paragraph'
168
- pageText += ' ' + currentItem.text.replace /\[{1,2}|\]{1,2}/g, ''
168
+ pageText += ' ' + currentItem.text.replace /\[{2}|\[(?:[\S]+)|\]{1,2}/g, ''
169
169
  when 'markdown'
170
- # really need to extract text from the markdown, but for now just remove link brackets...
171
- pageText += ' ' + currentItem.text.replace /\[{1,2}|\]{1,2}/g, ''
170
+ # really need to extract text from the markdown, but for now just remove link brackets, urls...
171
+ pageText += ' ' + currentItem.text.replace /\[{2}|\[(?:[\S]+)|\]{1,2}/g, ''
172
172
  when 'html'
173
173
  pageText += ' ' + currentItem.text.replace /<[^>]*>/g, ''
174
174
  else
175
175
  if currentItem.text?
176
176
  for line in currentItem.text.split /\r\n?|\n/
177
- pageText += ' ' + line.replace /\[{1,2}|\]{1,2}/g, '' unless line.match /^[A-Z]+[ ].*/
177
+ pageText += ' ' + line.replace /\[{2}|\[(?:[\S]+)|\]{1,2}/g, '' unless line.match /^[A-Z]+[ ].*/
178
178
  catch err
179
- console.log "SITE INDEX *** #{wikiName} Error extracting text from '#{currentIndex}' of #{JSON.stringify(array)}", err.message
179
+ throw new Error("Error extracting text from #{currentIndex}")
180
180
  pageText
181
181
 
182
182
 
package/lib/server.coffee CHANGED
@@ -226,7 +226,7 @@ module.exports = exports = (argv) ->
226
226
  plugins.map (plugin) ->
227
227
  pluginName = plugin.slice(12, -7)
228
228
  pluginPath = '/plugins/' + pluginName
229
- app.use(pluginPath, express.static(path.join(argv.packageDir, plugin), staticPathOptions))
229
+ app.use(pluginPath, cors, express.static(path.join(argv.packageDir, plugin), staticPathOptions))
230
230
 
231
231
  # Add static routes to the security client.
232
232
  if argv.security != './security'
@@ -58,6 +58,9 @@ module.exports = exports = (argv) ->
58
58
  while (match = linkRe.exec(currentItem.text)) != null
59
59
  if not collaborativeLinks.has(asSlug(match[1]))
60
60
  collaborativeLinks.set(asSlug(match[1]), currentItem.id)
61
+ if 'reference' == currentItem.type
62
+ if not collaborativeLinks.has(currentItem.slug)
63
+ collaborativeLinks.set(currentItem.slug, currentItem.id)
61
64
  catch err
62
65
  console.log "METADATA *** #{wikiName} Error extracting links from #{currentIndex} of #{JSON.stringify(array)}", err.message
63
66
  collaborativeLinks
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wiki-server",
3
3
  "description": "A Federated Wiki Server",
4
- "version": "0.19.4",
4
+ "version": "0.20.2",
5
5
  "author": {
6
6
  "name": "Ward Cunningham",
7
7
  "email": "ward@c2.com",
@@ -50,10 +50,10 @@
50
50
  "grunt-git-authors": "^3.2.0",
51
51
  "grunt-mocha-test": "^0.13.2",
52
52
  "grunt-retire": "^1.0.8",
53
- "mocha": "^8.0.1",
53
+ "mocha": "^9.2.2",
54
54
  "should": "^13.2.3",
55
55
  "supertest": "^4.0.2",
56
- "wiki-client": "^0.22.1",
56
+ "wiki-client": "^0.23.0",
57
57
  "wiki-plugin-activity": "^0.4.6",
58
58
  "wiki-plugin-video": "^0.2.10"
59
59
  },