-
Notifications
You must be signed in to change notification settings - Fork 5
/
test-in.json
1010 lines (1000 loc) · 52.4 KB
/
test-in.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[{
"Version": "0.10.0",
"CountUtf8": [{
"In": ["\\xf0\\x9f\\x8f\\x81", "\\xf0\\x9f", "\\x8f\\x81",
"\\xf0", "\\x9f\\x8f\\x81", "\\xf0\\x9f\\x8f", "\\x81",
"\\xc0\\xf0\\x9f\\x8f\\x81", "\\xf0\\x9f\\x8f\\x81\\xc0",
"\\xc0\\xf0", "\\x9f\\x8f\\x81", "\\xf0\\x9f\\x8f", "\\x81\\xc0"],
"Out": ["\ud83c\udfc1\ud83c\udfc1",
"\ud83c\udfc1\ud83c\udfc1",
"\ufffd\ud83c\udfc1\ud83c\udfc1\ufffd",
"\ufffd\ud83c\udfc1\ud83c\udfc1\ufffd"]
},{
"In": ["p\\u00d7p", "pp\\xc0\\xe0\\xf0", "\\xff\\xff", "pp"],
"Out": ["p\u00d7ppp\ufffd\ufffd\ufffd\ufffd\ufffdpp"]
}],
"Formspec": {"ffn":"mnmnotmail.github.io/registry/test1", "spec":[
{"name":"nr", "status":"required", "type":"number" },
{"name":"so", "status":"optional", "type":"string" },
{"name":"bd", "status":"deprecated", "type":"bool" },
{"name":"or", "status":"required", "type":"object", "spec":[
{"name":"anr", "status":"required", "type":"number", "array":2},
{"name":"aso", "status":"optional", "type":"string", "array":1}] }
]},
"Name": "local1", "SvcId": "local",
"Orders": [{
"Updt": {"Op":"open"},
"Result": {
"/t": [{"Name":"BlueFile.txt", "Size":26, "Date":"*d"},
{"Name":"Gold/File.txt", "Size":26, "Date":"*d"}] ,
"/f": [{"Name":"Blue", "Spec":true, "Revs":[{"Id":"original", "Date":"*d"},
{"Id":"spec", "Date":"*d"}] }] ,
"/g": [{"Name":"Todo", "Id":"Todo"}] ,
"/v": [{"Name":"Blue", "NoticeN":0, "UnreadN":-1},
{"Name":"Gold", "NoticeN":0, "UnreadN":-1}] ,
"/l": {"Addr":"*", "Pin":"*"} }
},{
"Updt": {"Op":"site_add", "Site":{"Addr":"test"}},
"Result": {
"cs": {"Site":{"Addr":"*site", "Name":"", "Auth":0, "Pending":true, "AuthBy":null,
"Token":{"Scope":"", "Token_type":"", "Expires_in":0,
"Id_token":"", "Access_token":""}},
"Thread":"none", "History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"test", "Test":{"Request":["cs"]}},
"Poll": 6,
"Result": {
"cs": {"Site":{"Addr":"*site", "Name":"*", "Auth":1, "Pending":false,
"AuthBy":[{"Label":"*", "Login":["*", "*"], "Token":["*", "*"]}],
"Token":{"Scope":"openid", "Token_type":"Bearer", "Expires_in":3600,
"Id_token":"id", "Access_token":"access"}},
"Thread":"none", "History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"site_drop", "Site":{"Addr":""}},
"Result": {
"cs": {"Thread":"none", "History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
}]
},{
"Name": "Blue1", "SvcId": "Blue",
"Cfg": {"Name":"Blue", "Alias":"Blue"},
"Files": [{
"Name":"BlueFile.txt", "Data":"abcdefghijklmnopqrstuvwxyz"
}],
"Forms": [{
"Name":"Blue.spec", "ffn":"mnmnotmail.github.io/registry/test1"
},{
"Name":"Blue.original", "fields": [
{"label":"Text (opt)", "model":"so", "type":"input", "inputType":"text"},
{"label":"Num (req)", "model":"nr", "type":"input", "inputType":"number"},
{"label":"Text-A1 (opt)", "model":"or.aso", "type":"checklist", "listBox":true,
"values":["a","b"]},
{"label":"Num-A2 (req)", "model":"or.anr", "type":"checklist", "listBox":true,
"values":[{"name":"12", "value":[1,2]},
{"name":"22", "value":[2,2]}] }]
}],
"Orders": [{
"Updt": {"Op":"node_add", "Node":{"Addr":"localhost", "Pin":"localpin", "Newnode":"early"}},
"Poll": 3,
"Result": {
"cf": {"Name":"Blue", "HistoryLen":128, "LoginPeriod":0, "Addr":"*", "Verify":false,
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97, "Local":true},
{"Name":"early", "Status":97}] } ,
"cn": {"Addr":"localhost:8123", "Pin":"*", "Xfer":">100"} },
"Name": "node_add.a"
},{
"Client": {"Name":"BlueE", "SvcId":"Blue.early"},
"Updt": {"Op":"open"},
"Result": {
"/t": [{"Name":"BlueFile.txt", "Size":26, "Date":"*d"},
{"Name":"Gold/File.txt", "Size":26, "Date":"*d"}] ,
"/f": [{"Name":"Blue", "Spec":true, "Revs":[{"Id":"original", "Date":"*d"},
{"Id":"spec", "Date":"*d"}] }] ,
"/g": [{"Name":"Todo", "Id":"Todo"}] ,
"/v": [{"Name":"Blue", "NoticeN":0, "UnreadN":-1},
{"Name":"Blue.early", "NoticeN":0, "UnreadN":0},
{"Name":"Gold", "NoticeN":0, "UnreadN":-1}] ,
"/l": {"Addr":"*", "Pin":"*"} ,
"of": [] ,
"ot": [] ,
"ps": [] ,
"pt": [] ,
"pf": [] ,
"gl": [] ,
"sd": {"Name":"Test Site"} ,
"cf": {"Name":"Blue.early", "HistoryLen":128, "LoginPeriod":0, "Addr":"*", "Verify":false,
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97},
{"Name":"early", "Status":97, "Local":true}] } ,
"cn": {"Addr":"", "Pin":"", "Xfer":0} ,
"ml": [] ,
"cl": [[],[]] ,
"al": [] ,
"mo": [] ,
"fl": [] ,
"tl": [] ,
"cs": {"Thread":"none", "History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"thread_save", "Thread":{"New":1, "Alias":"Blue", "Subject":"ohi"}},
"Result": {
"mo": [{"From":"self", "Id":"*midt", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"", "Subject":"ohi",
"Cc":[{"Who":"Blue#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true}] },
"msg_data":"" }] ,
"tl": [{"Id":"*midt", "Count":0, "Subject":"ohi", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"cs": {"Thread":"*midt",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Blue#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false}] ] ,
"al": [] },
"Name": "thread_save.a"
},{
"Updt": {"Op":"thread_save", "Thread":{
"Id":"last", "Alias":"Blue", "Subject":"ohi there", "Data":"one"}},
"Result": {
"mn": [{"From":"self", "Id":"*midt", "Size":3, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"", "Subject":"ohi there",
"Cc":[{"Who":"Blue#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true}] },
"msg_data":"one" }] ,
"tl": [{"Id":"*midt", "Count":0, "Subject":"ohi there", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"ohi there",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"cl": "thread_save.a" ,
"al": "thread_save.a" }
},{
"Updt": {"Op":"thread_discard", "Thread":{"Id":"last"}},
"Result": {
"mo": [] ,
"tl": [] ,
"ml": [] ,
"cl": [[],[]] ,
"al": [] ,
"cs": {"Thread":"none", "History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} },
"Name": "thread_discard.a"
},{
"Updt": {"Op":"ping_save", "Ping":{"Alias":"Blue", "To":"Gold"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Qid":"*", "Text":""}] }
},{
"Updt": {"Op":"ping_send", "Ping":{"Qid":"last"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Qid":"*", "Text":"", "Queued":true}] }
},{
"Updt": {"Op":"test", "Test":{"Request":["pf", "nl"]}},
"Poll": 5,
"Result": {
"pf": [{"Type":8, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td", "Qid":"*",
"Gid":"Gold-G#tdg", "Uid":"*uid", "MsgId":"*mid", "Response":{}}] ,
"nl": [{"Type":"i", "Alias":"Gold#td", "Gid":"Gold-G#tdg", "MsgId":"*mid", "Date":"*d", "Seen":0}] }
},{
"Updt": {"Op":"accept_send", "Accept":{"Qid":"lastqid"}},
"Result": {
"pf": [{"Type":8, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td", "Queued":true,
"Gid":"Gold-G#tdg", "Uid":"*uid", "MsgId":"*mid", "Response":{}}] }
},{
"Updt": {"Op":"ping_save", "Ping":{"Alias":"Blue", "To":"Gold", "Text":"followup"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Qid":"*", "Text":"followup"}] }
},{
"Updt": {"Op":"ping_send", "Ping":{"Qid":"last"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Qid":"*", "Text":"followup", "Queued":true}] }
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":1, "Alias":"Blue", "Subject":"ohi",
"Cc":[{"Who":"Gold", "WhoUid":"lookup", "Note":"initial recipient"}],
"Attach":[{"Name":"upload/BlueFile.txt"},
{"Name":"form/Blue.original"}] }},
"Result": {
"mo": [{"From":"self", "Id":"*midt", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"", "Subject":"ohi",
"Attach":[{"Name":"u:BlueFile.txt", "IsNew":true},
{"Name":"f:Blue.original", "IsNew":true,
"Ffn":"mnmnotmail.github.io/registry/test1"}],
"Cc":[{"Who":"Blue#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true},
{"Who":"Gold#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"initial recipient", "Subscribe":true}] },
"msg_data":"" }] ,
"tl": [{"Id":"*midt", "Count":0, "Subject":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"cs": {"Thread":"*midt",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Blue#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false},
{"Who":"Gold#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"initial recipient", "Subscribe":true, "Queued":false}] ] ,
"al": [{"File":"Blue.original", "Size":416, "Who":"", "MsgId":"*midt", "Id":"*", "Date":"*d"},
{"File":"BlueFile.txt", "Size":26, "Who":"", "MsgId":"*midt", "Id":"*", "Date":"*d"}] },
"Name": "thread_save.b"
},{
"Updt": {"Op":"thread_save", "Thread":{
"Id":"last", "Alias":"Blue", "Subject":"ohi",
"Cc":[{"Who":"Gold", "WhoUid":"lookup", "Note":"initial recipient"}],
"Attach":[{"Name":"upload/BlueFile.txt"},
{"Name":"form/Blue.original"},
{"Name":"form_fill/Blue.original", "FfKey":"lastfile"}],
"Data":"all good and true words\u00d7",
"FormFill":{"lastfile":"{\"nr\":101,\"or\":{\"anr\":[[1],[2]]}}"} }},
"Result": {
"mn": [{"From":"self", "Id":"*midt", "Size":25, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"", "Subject":"ohi",
"Attach":[{"Name":"u:BlueFile.txt", "IsNew":true},
{"Name":"f:Blue.original", "IsNew":true,
"Ffn":"mnmnotmail.github.io/registry/test1"},
{"Name":"r:Blue.original", "FfKey":"*", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}],
"Cc":[{"Who":"Blue#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true},
{"Who":"Gold#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"initial recipient", "Subscribe":true}] },
"msg_data":"all good and true words\u00d7",
"form_fill":"{\"nr\":101,\"or\":{\"anr\":[[1],[2]]}}" }] ,
"ml": "thread_save.b" ,
"cl": "thread_save.b" ,
"al": "thread_save.b" }
},{
"Updt": {"Op":"tag_add", "Tag":{"Name":"ondraft"}},
"Result": null
},{
"Updt": {"Op":"test", "Test":{"Request":["/g"]}},
"Poll": 3,
"Result": {
"/g": [{"Name":"ondraft", "Id":"*d" },
{"Name":"Todo", "Id":"Todo"}] }
},{
"Updt": {"Op":"thread_tag", "Touch":{"MsgId":"last", "Act":116, "TagId":"ondraft"}},
"Result": {
"/g": [{"Name":"ondraft", "Id":"*d" },
{"Name":"Todo", "Id":"Todo"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo", "*d"]}] }
},{
"Updt": {"Op":"thread_send", "Thread":{"Id":"last"}},
"Result": {
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":true, "Tags":["Todo", "*d"]}] },
"Name": "thread_send.a"
},{
"Updt": {"Op":"test", "Test":{"Request":["ml"]}},
"Poll": 3,
"Result": {
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo", "*d"]}] },
"Name": "poll_ack.a"
},{
"Updt": {"Op":"thread_save", "Thread":{"New":2, "Alias":"Blue"}},
"Result": {
"tl": [{"Id":"*mid", "Count":1, "Subject":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Blue#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"", "Seen":".", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo", "*d"]}] ,
"mn": [{"From":"self", "Id":"*midm", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"*mid", "Subject":""},
"msg_data":"" }] ,
"al": [{"File":"Blue.original", "Size":416, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"},
{"File":"BlueFile.txt", "Size":26, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"}] },
"Name": "thread_save.c"
},{
"Updt": {"Op":"thread_discard", "Thread":{"Id":"last"}},
"Result": {
"tl": "thread_save.c" ,
"ml": "poll_ack.a" ,
"al": "thread_save.c" }
},{
"Updt": {"Op":"test", "Test":{"Request":["tl"]}},
"Poll": 6,
"Result": {
"tl": [{"Id":"*mid", "Count":2, "Unread":true, "Subject":"to forward", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Gold#td"},
{"Id":"*mid", "Count":2, "Unread":true, "Subject":"reply ohi", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] },
"Name": "poll_delivery.a"
},{
"Updt": {"Op":"navigate_thread", "Navigate":{"ThreadId":"last"}},
"Poll": 4,
"Result": {
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"", "Seen":"", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward", "Seen":"",
"Queued":false}] ,
"mo": [] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":true, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Gold#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false},
{"Who":"Blue#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"add Blue", "Subscribe":true, "Queued":false}] ] ,
"al": [{"File":"Gold/File.txt", "Size":26, "Who":"Gold#td", "MsgId":"*mid", "Id":"*", "Date":"*d"}] }
},{
"Updt": {"Op":"test", "Test":{"Request":["mn", "2ndlast"]}},
"Result": {
"mn": [{"From":"*uid", "Id":"*mid", "Size":0, "Posted":"*d",
"SubHead":{"Alias":"Gold#td", "ThreadId":"*mid", "Subject":"to forward",
"Attach":[{"Name":"u:Gold/File.txt", "Size":26},
{"Name":"r:Blue.original", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"" }] }
},{
"Updt": {"Op":"thread_open", "Touch":{"Act":115, "ThreadId":"last", "MsgId":"last"}},
"Result": {
"tl": "poll_delivery.a" ,
"/v": [{"Name":"Blue", "NoticeN":1, "UnreadN":-1},
{"Name":"Blue.early", "NoticeN":1, "UnreadN":2},
{"Name":"Gold", "NoticeN":2, "UnreadN":-1}] ,
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"",
"Seen":"", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":"*d", "Queued":false}] },
"Name": "thread_open.a"
},{
"Updt": {"Op":"thread_tag", "Touch":{"MsgId":"last", "Act":116, "TagId":"Todo"}},
"Result": {
"/g": [{"Name":"flag", "Id":"*d" },
{"Name":"ondraft", "Id":"*d" },
{"Name":"Todo", "Id":"Todo"}] ,
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"",
"Seen":"", "Queued":false, "Tags":["Todo"]},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":"*d", "Queued":false}] },
"Name": "thread_tag.a"
},{
"Updt": {"Op":"thread_tag", "Touch":{"MsgId":"last", "Act":116, "TagId":"flag"}},
"Result": {
"/g": "thread_tag.a" ,
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"",
"Seen":"", "Queued":false, "Tags":["Todo", "*d"]},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":"*d", "Queued":false}] }
},{
"Updt": {"Op":"thread_tag", "Touch":{"MsgId":"last", "Act":117, "TagId":"flag"}},
"Result": {
"/g": "thread_tag.a" ,
"ml": "thread_tag.a" }
},{
"Updt": {"Op":"thread_close", "Touch":{"MsgId":"last"}},
"Result": null
},{
"Updt": {"Op":"tab_add", "Tab":{"Type":0, "Term":"#Todo"}},
"Result": {
"mo": [{"From":"*uid", "Id":"*mid", "Size":0, "Posted":"*d",
"SubHead":{"Alias":"Gold#td", "ThreadId":"*mid", "Subject":"",
"Attach":[{"Name":"r:Blue.second", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"},
{"Name":"r:Blue.badata", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"" }] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":"#Todo"}], "Type":0},
"History":{"Prev":true, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"navigate_history", "Navigate":{"History":-1}},
"Result": {
"mo": [{"From":"*uid", "Id":"*mid", "Size":25, "Posted":"*d",
"SubHead":{"Alias":"Blue#td", "ThreadId":"*mid", "Subject":"ohi",
"Attach":[{"Name":"u:BlueFile.txt", "Size":26},
{"Name":"f:Blue.original", "Size":416,
"Ffn":"mnmnotmail.github.io/registry/test1"},
{"Name":"r:Blue.original", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"all good and true words\u00d7" }] ,
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"reply ohi", "Seen":"", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo", "*d"]}] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Blue#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false},
{"Who":"Gold#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"initial recipient", "Subscribe":true, "Queued":false}] ] ,
"al": "thread_save.c" },
"Name": "navigate_history.a"
},{
"Updt": {"Op":"navigate_link", "Navigate":{"Label":"navlink", "ThreadId":"2ndlast", "MsgId":"2ndlast"}},
"Result": {
"mo": "navigate_history.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":"*", "Label":"navlink"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_drop", "Tab":{"Type":0}},
"Result": {
"mo": "navigate_history.a" ,
"cs": "navigate_history.a" }
},{
"Updt": {"Op":"tab_add", "Tab":{"Type":0, "Term":":reply ohi"}},
"Result": {
"mo": [{"From":"*uid", "Id":"*mid", "Size":0, "Posted":"*d",
"SubHead":{"Alias":"Gold#td", "ThreadId":"*mid", "Subject":"reply ohi",
"Attach":[{"Name":"r:Blue.original", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"" }] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":":reply ohi"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_drop", "Tab":{"Type":0}},
"Result": {
"mo": "navigate_history.a" ,
"cs": "navigate_history.a" }
},{
"Updt": {"Op":"tab_add", "Tab":{"Type":0, "Term":"good"}},
"Result": {
"mo": "navigate_history.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_select", "Tab":{"Type":0, "PosFor":0, "Pos":0}},
"Result": {
"mo": "navigate_history.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_select", "Tab":{"Type":1, "PosFor":0, "Pos":2}},
"Result": {
"tl": "poll_delivery.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":2, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_add", "Tab":{"Type":1, "Term":"-- -+ohi +"}},
"Result": {
"tl": [{"Id":"*mid", "Count":2, "Unread":true, "Subject":"reply ohi", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":"-- -+ohi +"}], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_pin", "Tab":{"Type":1}},
"Result": {
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":1, "Terms":[], "Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_add", "Tab":{"Type":1, "Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}},
"Result": {
"tl": {"Ffn":"mnmnotmail.github.io/registry/test1_recv", "Table":[
{"nr":201, "or":{"anr":[[1],[2]]}, "$threadid":"*mid", "$msgid":"*mid",
"$name":"r:Blue.original", "$offset":3, "$size":33, "$checksum":"**"},
{"nr":202, "or":{"anr":[[1],[2]]}, "$threadid":"*mid", "$msgid":"*mid",
"$name":"r:Blue.original", "$offset":"**", "$size":33, "$checksum":"**"},
{"nr":203, "or":{"anr":[[1],[2]]}, "$threadid":"*mid", "$msgid":"*mid",
"$name":"r:Blue.second", "$offset":"**", "$size":33, "$checksum":"**"},
{"$text":"{\"nr\":204,\"or\":{\"anr\":[[1],[2]]}|", "$threadid":"*mid", "$msgid":"*mid",
"$name":"r:Blue.badata", "$offset":"**", "$size":33, "$checksum":"**"} ]} ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":2, "Terms":[{"Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}],
"Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_select", "Tab":{"Type":1, "PosFor":0, "Pos":1}},
"Result": {
"tl": "poll_delivery.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":1, "PosFor":0, "Terms":[{"Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}],
"Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"tab_select", "Tab":{"Type":1, "PosFor":0, "Pos":0}},
"Result": {
"tl": "poll_delivery.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}],
"Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"sort_select", "Sort":{"Type":"cl", "Field":"Date"}},
"Result": {
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"good"}], "Type":0},
"History":{"Prev":false, "Next":true},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}],
"Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Date", "al":"Date", "t":"Date", "f":"Date"}} },
"Name": "sort_select.a"
},{
"Updt": {"Op":"adrsbk_search", "Adrsbk":{"Type":3, "Term":"go"}},
"Result": {
"_n": ["Gold#td", "*uid", "Gold-G#tdg", "Gold-G#tdg"] }
},{
"Updt": {"Op":"adrsbk_search", "Adrsbk":{"Type":3, "Term":"td"}},
"Result": {
"_n": ["Blue#td", "*uid", "Gold#td", "*uid", "Gold-G#tdg", "Gold-G#tdg"] }
},{
"Updt": {"Op":"open"},
"Result": {
"/t": [{"Name":"BlueFile.txt", "Size":26, "Date":"*d"},
{"Name":"Gold/File.txt", "Size":26, "Date":"*d"}] ,
"/f": [{"Name":"Blue", "Spec":true, "Revs":[{"Id":"original", "Date":"*d"},
{"Id":"spec", "Date":"*d"}] }] ,
"/g": "thread_tag.a" ,
"/v": [{"Name":"Blue", "NoticeN":1, "UnreadN":2},
{"Name":"Blue.early", "NoticeN":1, "UnreadN":2},
{"Name":"Gold", "NoticeN":2, "UnreadN":-1}] ,
"/l": {"Addr":"*", "Pin":"*"} ,
"of": [{"Alias":"Gold#td", "Uid":"*uid", "Date":"*d"}] ,
"ot": [] ,
"ps": [] ,
"pt": [{"Type":3, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Text":"followup", "Response":{}},
{"Type":3, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Response":{"Type":8, "Date":"*d", "Uid":"*uid", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Gid":"Gold-G#tdg", "MsgId":"*mid", "Qid":"*", "Response":{}}}] ,
"pf": [{"Type":8, "Date":"*d", "Uid":"*uid", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Gid":"Gold-G#tdg", "MsgId":"*mid", "Response":{},
"ResponseInvt":{"Type":9, "Date":"*d", "Gid":"Gold-G#tdg", "Response":{}}}] ,
"gl": [{"Gid":"Gold-G#tdg", "Date":"*d", "Admin":false}] ,
"sd": {"Name":"Test Site"} ,
"cf": "node_add.a" ,
"cn": "node_add.a" ,
"ml": "navigate_history.a" ,
"cl": "navigate_history.a" ,
"al": "navigate_history.a" ,
"mo": "navigate_history.a" ,
"fl": [{"Id":"mnmnotmail.github.io/registry/test1_recv", "Date":"*d"},
{"Id":"mnmnotmail.github.io/registry/test1_sent", "Date":"*d"}] ,
"tl": "poll_delivery.a" ,
"cs": "sort_select.a" },
"Name": "open.a"
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":2, "Alias":"Blue", "Subject":"no replica",
"Attach":[{"Name":"upload/BlueFile.txt"}] }},
"Result": {
"mn": [{"From":"self", "Id":"*midm", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"*mid", "Subject":"no replica",
"Attach":[{"Name":"u:BlueFile.txt", "IsNew":true}] },
"msg_data":"" }] ,
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"no replica", "Seen":".", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"reply ohi", "Seen":"", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi",
"Seen":".", "Queued":false, "Tags":["Todo", "*d"]}] ,
"al": [{"File":"BlueFile.txt", "Size":26, "Who":"", "MsgId":"*midm", "Id":"*", "Date":"*d"},
{"File":"Blue.original", "Size":416, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"},
{"File":"BlueFile.txt", "Size":26, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"}] ,
"tl": [{"Id":"*mid", "Count":2, "Unread":true, "Subject":"to forward", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Gold#td"},
{"Id":"*mid", "Count":2, "Unread":true, "Subject":"no replica", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] }
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":1, "Alias":"Blue", "Subject":"unreplicated \ud83d\ude0e",
"Attach":[{"Name":"upload/BlueFile.txt"}] }},
"Result": {
"mo": [{"From":"self", "Id":"*midt", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Blue#td", "ThreadId":"", "Subject":"unreplicated \ud83d\ude0e",
"Attach":[{"Name":"u:BlueFile.txt", "IsNew":true}],
"Cc":[{"Who":"Blue#td", "WhoUid":"*uid", "By":"Blue#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true}] },
"msg_data":"" }] ,
"tl": [{"Id":"*midt", "Count":0, "Subject":"unreplicated \ud83d\ude0e", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"", "OrigDate":"*d", "OrigAuthor":"Blue#td"},
{"Id":"*mid", "Count":2, "Unread":true, "Subject":"to forward", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Gold#td"},
{"Id":"*mid", "Count":2, "Unread":true, "Subject":"no replica", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"unreplicated \ud83d\ude0e",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"cl": [[],
[{"Who":"Blue#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false}] ] ,
"al": [{"File":"BlueFile.txt", "Size":26, "Who":"", "MsgId":"*midt", "Id":"*", "Date":"*d"}] ,
"cs": {"Thread":"*midt",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":true, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[{"Term":"ffn:mnmnotmail.github.io/registry/test1_recv"}],
"Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"node_add", "Node":{"Addr":"localhost", "Pin":"localpin", "Newnode":"later"}},
"Result": {
"cf": {"Name":"Blue", "HistoryLen":128, "LoginPeriod":0, "Addr":"*", "Verify":false,
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97, "Local":true},
{"Name":"early", "Status":97},
{"Name":"later", "Status":112, "Qid":"*"}] } ,
"cn": {"Addr":"localhost:8123", "Pin":"*", "Xfer":0} }
},{
"Updt": {"Op":"test", "Test":{"Request":["cf", "cn"]}},
"Poll": 12,
"Result": {
"cf": {"Name":"Blue", "HistoryLen":128, "LoginPeriod":0, "Addr":"*", "Verify":false,
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97, "Local":true},
{"Name":"early", "Status":97},
{"Name":"later", "Status":97}] } ,
"cn": {"Addr":"localhost:8123", "Pin":"*", "Xfer":">4800"} }
},{
"Client": {"Name":"Blue2", "SvcId":"Blue.later"},
"Updt": {"Op":"open"},
"Poll": 3,
"Result": {
"/t": "open.a" ,
"/f": "open.a" ,
"/g": "open.a" ,
"/v": [{"Name":"Blue", "NoticeN":0, "UnreadN":2},
{"Name":"Blue.early", "NoticeN":0, "UnreadN":2},
{"Name":"Blue.later", "NoticeN":0, "UnreadN":2},
{"Name":"Gold", "NoticeN":2, "UnreadN":-1}] ,
"/l": "open.a" ,
"of": "open.a" ,
"ot": "open.a" ,
"ps": "open.a" ,
"pt": "open.a" ,
"pf": "open.a" ,
"gl": "open.a" ,
"sd": "open.a" ,
"cf": {"Name":"Blue.later", "HistoryLen":88, "LoginPeriod":0, "Addr":"*", "Verify":false,
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97},
{"Name":"early", "Status":97},
{"Name":"later", "Status":97, "Local":true}] } ,
"cn": {"Addr":"", "Pin":"", "Xfer":0} ,
"ml": [] ,
"cl": [[], []] ,
"al": [] ,
"mo": [] ,
"fl": "open.a" ,
"tl": "open.a" ,
"cs": {"Thread":"none",
"History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} },
"Name": "open.b"
},{
"Updt": {"Op":"config_update", "Config":{"HistoryLen":88, "LoginPeriod":99}},
"Result": {
"cf": {"Name":"Blue", "HistoryLen":88, "LoginPeriod":99, "Addr":"*", "Verify":"**",
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97, "Local":true},
{"Name":"early", "Status":97},
{"Name":"later", "Status":97}] } }
},{
"Updt": {"Op":"config_update", "Config":{"Addr":"orig", "LoginPeriod":0}},
"Result": {
"cf": {"Name":"Blue", "HistoryLen":88, "LoginPeriod":0, "Addr":"*", "Verify":"**",
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97, "Local":true},
{"Name":"early", "Status":97},
{"Name":"later", "Status":97}] } }
},{
"Client": {"Name":"Blue3", "SvcId":"Blue.early"},
"Updt": {"Op":"open"},
"Poll": 5,
"Result": {
"/t": "open.b" ,
"/f": "open.b" ,
"/g": "open.b" ,
"/v": "open.b" ,
"/l": "open.b" ,
"of": "open.b" ,
"ot": "open.b" ,
"ps": "open.b" ,
"pt": [{"Type":3, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td", "MsgId":"*mid",
"Text":"followup", "Response":{}},
{"Type":3, "Date":"*d", "Alias":"Gold#td", "MyAlias":"Blue#td", "MsgId":"*mid",
"Response":{"Type":8, "Date":"*d", "Uid":"*uid", "Alias":"Gold#td", "MyAlias":"Blue#td",
"Gid":"Gold-G#tdg", "MsgId":"*mid", "Qid":"*", "Response":{}}}] ,
"pf": "open.b" ,
"gl": "open.b" ,
"sd": "open.b" ,
"cf": {"Name":"Blue.early", "HistoryLen":88, "LoginPeriod":0, "Addr":"*", "Verify":"**",
"Uid":"*uid", "Alias":"Blue#td",
"NodeSet":[{"Name":"first", "Status":97},
{"Name":"early", "Status":97, "Local":true},
{"Name":"later", "Status":97}] } ,
"cn": "open.b" ,
"ml": [] ,
"cl": [[], []] ,
"al": [] ,
"mo": [] ,
"fl": "open.b" ,
"tl": "open.b" ,
"cs": "open.b" },
"Name": "open.c"
},{
"Client": {"Name":"^"},
"Updt": {"Op":"navigate_thread", "Navigate":{"ThreadId":"2ndlast"}},
"Result": {
"ml": "open.a" ,
"cl": "open.a" ,
"al": "open.a" ,
"mo": "open.a" ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[{"Term":"-- -+ohi +"}], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} }
},{
"Updt": {"Op":"test", "Test":{"Notice":[
{"Type":"i", "MsgId":"0", "Date":"-9", "Seen":1, "Alias":"discard"},
{"Type":"i", "MsgId":"1", "Date":"-8", "Seen":1, "Alias":"discard"},
{"Type":"i", "MsgId":"2", "Date":"-8", "Seen":2, "Alias":"keep"},
{"Type":"i", "MsgId":"3", "Date":"-7", "Seen":2, "Alias":"keep"},
{"Type":"i", "MsgId":"4", "Date":"-6", "Seen":3, "Alias":"keep"},
{"Type":"i", "MsgId":"5", "Date":"-1", "Seen":0, "Alias":"seen"},
{"Type":"i", "MsgId":"6", "Date":"-1", "Seen":0, "Alias":"seen"}] }},
"Result": null
},{
"Updt": {"Op":"notice_seen", "Notice":{"MsgId":"6"}},
"Result": null
},{
"Updt": {"Op":"test", "Test":{"Request":["/v", "nl"]}},
"Poll": 3,
"Result": {
"/v": "open.c" ,
"nl": [{"Type":"i", "MsgId":"6", "Date":"*dyo", "Seen":4, "Alias":"seen"},
{"Type":"i", "MsgId":"5", "Date":"*dyo", "Seen":4, "Alias":"seen"},
{"Type":"i", "MsgId":"4", "Date":"*dyo", "Seen":3, "Alias":"keep"},
{"Type":"i", "MsgId":"3", "Date":"*dyo", "Seen":2, "Alias":"keep"},
{"Type":"i", "MsgId":"2", "Date":"*dyo", "Seen":2, "Alias":"keep"}] },
"Name": "end.z"
}]
},{
"Name": "Gold1", "SvcId": "Gold",
"Cfg": {"Name":"Gold", "Alias":"Gold"},
"Files": [{
"Name":"Gold/File.txt", "Data":"abcdefghijklmnopqrstuvwxyz"
}],
"Orders": [{
"Updt": {"Op":"test", "Test":{"Request":["pf", "nl"]}},
"Poll": 5,
"Result": {
"pf":[{"Type":4, "Date":"*d", "Alias":"Blue#td", "MyAlias":"Gold#td", "Uid":"*uid", "MsgId":"*mid"}] ,
"nl": [{"Type":"i", "Alias":"Blue#td", "MsgId":"*mid", "Date":"*d", "Seen":0}] }
},{
"Updt": {"Op":"ping_save", "Ping":{"Alias":"Gold", "To":"Blue"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Blue#td", "MyAlias":"Gold#td",
"Qid":"*", "Text":""}] }
},{
"Updt": {"Op":"ping_discard", "Ping":{"To":"Blue"}},
"Result": {
"ps": [] }
},{
"Updt": {"Op":"ping_save", "Ping":{"Alias":"Gold", "To":"Blue", "Gid":"Gold-G"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Blue#td", "Gid":"Gold-G#tdg", "MyAlias":"Gold#td",
"Qid":"*", "Text":""}] }
},{
"Updt": {"Op":"ping_send", "Ping":{"Qid":"last"}},
"Result": {
"ps": [{"Type":1, "Date":"*d", "Alias":"Blue#td", "Gid":"Gold-G#tdg", "MyAlias":"Gold#td",
"Qid":"*", "Text":"", "Queued":true}] }
},{
"Updt": {"Op":"test", "Test":{"Request":["tl"]}},
"Poll": 4,
"Result": {
"tl": [{"Id":"*mid", "Count":1, "Unread":true, "Subject":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Blue#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] },
"Name": "poll_delivery.b"
},{
"Updt": {"Op":"ohi_add", "Ohi":{"Alias":"Blue", "Uid":"last"}},
"Poll": 1,
"Result": {
"ot": [{"Alias":"Blue#td", "Uid":"*uid", "Date":"*d"}] }
},{
"Updt": {"Op":"ohi_drop", "Ohi":{"Uid":"last"}},
"Poll": 1,
"Result": {
"ot": [] }
},{
"Updt": {"Op":"ohi_add", "Ohi":{"Alias":"Blue", "Uid":"last"}},
"Poll": 1,
"Result": {
"ot": [{"Alias":"Blue#td", "Uid":"*uid", "Date":"*d"}] }
},{
"Updt": {"Op":"navigate_thread", "Navigate":{"ThreadId":"last"}},
"Result": {
"mo": [] ,
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi", "Seen":"", "Queued":false}] ,
"cs": {"Thread":"*mid",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":false, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Blue#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false},
{"Who":"Gold#td", "By":"Blue#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"initial recipient", "Subscribe":true, "Queued":false}] ] ,
"al": [{"File":"Blue.original", "Size":416, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"},
{"File":"BlueFile.txt", "Size":26, "Who":"Blue#td", "MsgId":"*mid", "Id":"*", "Date":"*d"}] },
"Name": "navigate_thread.a"
},{
"Updt": {"Op":"test", "Test":{"Request":["mn", "last"]}},
"Result": {
"mn": [{"From":"*uid", "Id":"*mid", "Size":25, "Posted":"*d",
"SubHead":{"Alias":"Blue#td", "ThreadId":"*mid", "Subject":"ohi",
"Attach":[{"Name":"u:BlueFile.txt", "Size":26},
{"Name":"f:Blue.original", "Size":416,
"Ffn":"mnmnotmail.github.io/registry/test1"},
{"Name":"r:Blue.original", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"all good and true words\u00d7" }] }
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":2, "Alias":"Gold", "Subject":"reply ohi",
"Attach": [{"Name":"form_fill/Blue.original", "FfKey":"lastfile"}],
"FormFill":{"lastfile":"{\"nr\":201,\"or\":{\"anr\":[[1],[2]]}}"} }},
"Result": {
"tl": [{"Id":"*mid", "Count":1, "Unread":true, "Subject":"reply ohi", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Blue#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"reply ohi", "Seen":".", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi", "Seen":"", "Queued":false}] ,
"mn": [{"From":"self", "Id":"*midm", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Gold#td", "ThreadId":"*mid", "Subject":"reply ohi",
"Attach":[{"Name":"r:Blue.original", "FfKey":"*", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}] },
"msg_data":"", "form_fill":"{\"nr\":201,\"or\":{\"anr\":[[1],[2]]}}" }] ,
"al": "navigate_thread.a" }
},{
"Updt": {"Op":"thread_send", "Thread":{"Id":"last"}},
"Result": {
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"reply ohi", "Seen":".", "Queued":true},
{"Id":"*mid", "From":"*uid", "Alias":"Blue#td", "Date":"*d", "Subject":"ohi", "Seen":"", "Queued":false}] }
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":1, "Alias":"Gold", "Subject":"to forward", "Cc":[],
"Attach":[{"Name":"upload/Gold/File.txt"},
{"Name":"form_fill/Blue.original", "FfKey":"0123456789ab_f:Blue.original"}],
"FormFill":{"0123456789ab_f:Blue.original":"{\"nr\":202,\"or\":{\"anr\":[[1],[2]]}}"} }},
"Result": {
"mo": [{"From":"self", "Id":"*midt", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Gold#td", "ThreadId":"", "Subject":"to forward",
"Attach":[{"Name":"u:Gold/File.txt", "IsNew":true},
{"Name":"r:Blue.original", "FfKey":"*", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"}],
"Cc":[{"Who":"Gold#td", "WhoUid":"*uid", "By":"Gold#td", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true}] },
"msg_data":"", "form_fill":"{\"nr\":202,\"or\":{\"anr\":[[1],[2]]}}" }] ,
"tl": [{"Id":"*midt", "Count":0, "Subject":"to forward", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"", "OrigDate":"*d", "OrigAuthor":"Gold#td"},
{"Id":"*mid", "Count":1, "Unread":true, "Subject":"reply ohi", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Blue#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] ,
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"to forward",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"cs": {"Thread":"*midt",
"ThreadTabs":{"Pos":0, "PosFor":0, "Terms":[], "Type":0},
"History":{"Prev":true, "Next":false},
"SvcTabs":{"Pos":0, "PosFor":0, "Terms":[], "Pinned":[], "Type":1},
"Sort":{"cl":"Who", "al":"Date", "t":"Date", "f":"Date"}} ,
"cl": [[],
[{"Who":"Gold#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false}] ] ,
"al": [{"File":"Gold/File.txt", "Size":26, "Who":"", "MsgId":"*midt", "Id":"*", "Date":"*d"}] }
},{
"Updt": {"Op":"thread_send", "Thread":{"Id":"last"}},
"Result": {
"ml": [{"Id":"*midt", "From":"", "Alias":"", "Date":"*d", "Subject":"to forward",
"Seen":".", "Queued":true, "Tags":["Todo"]}] }
},{
"Updt": {"Op":"test", "Test":{"Request":["tl"]}},
"Poll": 4,
"Result": {
"tl": [{"Id":"*mid", "Count":1, "Subject":"to forward", "OrigCc":[],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Gold#td"},
{"Id":"*mid", "Count":2, "Unread":true, "Subject":"reply ohi", "SubjectWas":"ohi", "OrigCc":["Gold#td"],
"LastDate":"*d", "LastAuthor":"Gold#td", "OrigDate":"*d", "OrigAuthor":"Blue#td"}] },
"Name": "poll_ack.b"
},{
"Updt": {"Op":"thread_save", "Thread":{
"New":2, "Alias":"Gold",
"Attach":[{"Name":"form_fill/Blue.second", "FfKey":"0123456789ab_f:Blue.second"},
{"Name":"form_fill/Blue.badata", "FfKey":"0123456789ab_f:Blue.badata",
"AllowAnyData":true}],
"FormFill":{"0123456789ab_f:Blue.second":"{\"nr\":203,\"or\":{\"anr\":[[1],[2]]}}",
"0123456789ab_f:Blue.badata":"{\"nr\":204,\"or\":{\"anr\":[[1],[2]]}|"} }},
"Result": {
"tl": "poll_ack.b" ,
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"", "Seen":".", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":".", "Queued":false, "Tags":["Todo"]}] ,
"mn": [{"From":"self", "Id":"*midm", "Size":0, "Posted":"draft",
"SubHead":{"Alias":"Gold#td", "ThreadId":"*mid", "Subject":"",
"Attach":[{"Name":"r:Blue.second", "FfKey":"*", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1"},
{"Name":"r:Blue.badata", "FfKey":"*", "Size":33,
"Ffn":"mnmnotmail.github.io/registry/test1",
"AllowAnyData":true}] },
"msg_data":"",
"form_fill":"{\"nr\":203,\"or\":{\"anr\":[[1],[2]]}}{\"nr\":204,\"or\":{\"anr\":[[1],[2]]}|" }] ,
"al": [{"File":"Gold/File.txt", "Size":26, "Who":"Gold#td", "MsgId":"*mid", "Id":"*", "Date":"*d"}] }
},{
"Updt": {"Op":"thread_send", "Thread":{"Id":"last"}},
"Result": {
"ml": [{"Id":"*midm", "From":"", "Alias":"", "Date":"*d", "Subject":"", "Seen":".", "Queued":true},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":".", "Queued":false, "Tags":["Todo"]}] }
},{
"Updt": {"Op":"test", "Test":{"Request":["ml"]}},
"Poll": 3,
"Result": {
"ml": [{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"", "Seen":".", "Queued":false},
{"Id":"*mid", "From":"*uid", "Alias":"Gold#td", "Date":"*d", "Subject":"to forward",
"Seen":".", "Queued":false, "Tags":["Todo"]}] }
},{
"Updt": {"Op":"forward_save", "Forward":{
"ThreadId":"last",
"Cc":[{"Who":"Blue", "WhoUid":"lookup", "Note":"add Blue"}] }},
"Result": {
"cl": [[{"Who":"Blue#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"add Blue", "Subscribe":true, "Queued":false, "Qid":"*"}],
[{"Who":"Gold#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false}] ] }
},{
"Updt": {"Op":"forward_send", "Forward":{"ThreadId":"last", "Qid":"last"}},
"Result": {
"cl": [[],
[{"Who":"Gold#td", "By":"Gold#td", "WhoUid":"*uid", "ByUid":"*uid",
"Date":"*d", "Note":"author", "Subscribe":true, "Queued":false},