-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
1285 lines (884 loc) · 44.4 KB
/
ChangeLog
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
2023-11-09 Shiro Kawai <[email protected]>
* src/wiliki/rssmix.cgi: Overhaul the fetch code. Now we split
the operation into three parts:
1. Load the settings and cached content
2. For each source, if the cache is expired, try to fetch
3. Save the updated cache and return the result.
Only the second part needs to be run in parallel.
We also record the last attempt timestamp separately from the last
fetched time, and we refresh only when the cache-life passed
after the last attempt. If the site is down, it is a waste to
try to fetch every time it is accessed.
2023-11-04 Shiro Kawai <[email protected]>
* examples/blog/blog.scm (blog-index): It turned out the
parameterize issue was a red herring. The real issue was the
change of 'delay' in 0.9.13---now the promise is evaluated
in the dynamic environment of delay (srfi-226 semantics), while
by 0.9.12 it is evaluated in the dynamic environment of force
(R7RS semantics).
2023-10-31 Shiro Kawai <[email protected]>
* Release 0.8.3, because of the parameterize issue.
* src/wiliki/core.scm (wiliki:with-db): Found an issue with
0.9.13's parameter; the combination of parameter and unwind-protect
evaded the compatibility measure. Added explicit use of
gauche.parameter to force it work with compatibility mode.
2023-10-17 Shiro Kawai <[email protected]>
* src/wiliki/scr-macros.scm (srfi-links): Add a reader macro
for schemexref to list existing srfi pages.
2022-07-22 Shiro Kawai <[email protected]>
* src/wiliki/rssmix.scm (fetch): Handle https as source.
2021-05-28 Shiro Kawai <[email protected]>
* src/wiliki.scm (default-format-wikiname): Put the '?' suffix attached
to the wikiname for non-existent page, so that its appearance
can be customized by CSS.
2021-05-14 Shiro Kawai <[email protected]>
* Bumped version to 0.8.2, for some features have been added since
0.8.1, and the configure script requires newer Gauche now.
2019-06-24 Shiro Kawai <[email protected]>
* examples/blob/blog.scm: Allow comment manager to batch delete
comments from a specific IP address.
2018-10-07 Shiro Kawai <[email protected]>
* po/Makefile.in (update-po): preprocess source files to remove
Gauche-specific syntax so that xgettext can process them safely.
Patch from @Hamayama ( https://github.com/shirok/WiLiKi/pull/5 )
2018-09-08 Shiro Kawai <[email protected]>
* Release 0.8.1
* src/wiliki.scm: Run search only via POST method, to avoid
crawlers trigger it. GET request shows a search box with the
key filled in.
2018-09-07 Shiro Kawai <[email protected]>
* Release 0.8
* src/wiliki.scm: Stop making the page title a link to search
'back link' to the page. Lots of crawers follow that link
and kicks search every time. The back link feature is
available in the navigation button.
2017-07-18 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm (<auth-failure>): Make it inherit <error>,
for the unwind-protect doesn't see non-serious-conditions as
escaping condition, and that leads to unexpected behavior when
combined with with-lock-file that uses unwind-protect to remove
lock files.
2017-07-16 Shiro Kawai <[email protected]>
* src/wiliki/parse.scm (table): Experimenting table options.
2016-10-10 Shiro Kawai <[email protected]>
* Release 0.7
2016-09-07 Shiro Kawai <[email protected]>
* src/wiliki/rssmix.scm (extract-from-rdf): Adapted to Atom feed.
2015-04-26 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (img): Changed $$img macro to take 'alt'
and 'caption' arguments, e.g.
[[$$img url alt=image "caption=foo bar"]]
2014-04-01 Shiro Kawai <[email protected]>
* examples/blog/blog.scm (<blog>, blog-option-ref): Added :blog-options
slot to <blog>, to be used for various customization of macros.
One initial example is amazon-affiliate-id.
2014-03-08 Shiro Kawai <[email protected]>
* src/wiliki-server (run-wiliki-server): Fixed a bug that incorrectly
set document-root. start-http-server overrides document-root by
:document-root keyword arg, so parameterizing it outside of
start-http-server doesn't have effect.
2014-02-19 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm (auth-get-session, auth-delete-session!):
Fixed a bug: If the session file doesn't exist, file-uid returns
#f, so we can't compare it with =.
2014-01-01 Shiro Kawai <[email protected]>
* examples/blog/blog.scm: Added the blog script as an example of
heavy WiLiKi customization.
2013-12-30 Shiro Kawai <[email protected]>
* src/wiliki/parse.scm (fmt-line): Experimentally added
delete (strikethrough) markup ~~~deleted-text~~~. Note:
If this markup appear at the beginning of line, null markup
(e.g. '''') must be placed to avoid the first '~' from being
interpreted as line continuation mark.
2013-08-27 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm: Check the owner of session files. Read and
delete only the files that are owned by the euid of the
running process.
2013-05-08 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): Exclude verbatim block from
literal anchor tag check.
2013-04-30 Shiro Kawai <[email protected]>
* src/wiliki/parse.scm (fmt-lines): Fixed a bug that caused an error
when dl is enclosed in blockquote.
2011-12-22 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm: Cleaned up a bit, using file.util's lock
mechanism, and using auth-session-directory parameter to save
the sessions instead of temporary-directory.
2011-12-11 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): Allow mtime to be #f, for
it's convenient when cmd-commit-edit is called within the wiliki
action (e.g. batch edit).
* src/wiliki/core.scm (define-wiliki-action): Allow an alternative
syntax that can receive the whole cgi params list in the action.
2011-12-10 Shiro Kawai <[email protected]>
* src/wiliki/log.scm (wiliki-log-pick): Allow regexp as pagename.
2011-07-08 Shiro Kawai <[email protected]>
* src/wiliki/rss.scm (rdf-content): Fix treatment of ']]>' in CDATA.
2011-06-26 Shiro Kawai <[email protected]>
* emacs/wiliki.el (wiliki-sites): Updated URLs to practical-scheme.net
(thanks to ryoakg).
2011-04-07 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki:ip-blacklist, wiliki:ip-blacklist-append!)
(wiliki:from-blacklisted-ip?): Added IP-based blacklisting.
* src/wiliki/edit.scm (cmd-commit-edit): Use IP blacklist to reject
spam comments.
2011-03-21 Shiro Kawai <[email protected]>
* src/wiliki-passwd : Added a untility to manage simple password
file usable by wiliki.auth.
* src/Makefile.in: Installs wiliki-passwd to the directory determined
by $bindir.
2011-03-14 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (post-comment): Added ad-hoc comment spam
filtering for [url=http://...] pattern.
2011-02-26 Shiro Kawai <[email protected]>
* Repository moved to git.
git://wiliki.git.sourceforge.net/gitroot/wiliki/WiLiKi
2011-01-02 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm: Reorganized API. Changed password file format
to be similar to htpasswd (eventually we may add compatibility to
htpasswd file. For now we only support bcrypt, tho.)
2010-12-12 Shiro Kawai <[email protected]>
* release 0.6.2
* configure.in, */Makefile.in: Modified to work if gauche is
installed under pathnames containing spaces.
2010-12-05 Shiro Kawai <[email protected]>
* src/wiliki/parse.scm (fmt-line): Added a new formatting primitive
"""...""" for <code>...</code>. This is something I had in my mind
for long time. I hope this won't disturb existing content too much.
2010-07-14 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit),
src/wiliki/macro.scm (post-comment): Heuristic spam checks for
# of urls and url ratio are moved from cmd-commit-edit to
post-comment, for legitimate wiki pages may include or consist
of lots of urls. It's unlikely the case for comments.
2010-05-23 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (post-comment): Avoid updating timestamp of
the commented page if the comment is rejected as spam by
cmd-commit-edit.
* src/wiliki/edit.scm (cmd-commit-edit): Record spam rejection reason
to the event log.
2010-05-22 Shiro Kawai <[email protected]>
* src/wiliki.scm (default-format-wikiname): Fixed a bug that can
produce an invalid regexp while searching InterWikiName.
2010-04-25 Shiro Kawai <[email protected]>
* src/wiliki.scm (wiliki:default-head-elements): Allow a list
in :style-sheet.
2010-01-23 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki:spam-blacklist etc.): Added crude
blacklisting mechanism for stealth spamming.
* src/wiliki/edit.scm: Check spam blacklist on commit.
2010-01-16 Shiro Kawai <[email protected]>
* src/wiliki/auth.scm, test/auth.scm: Added simple authentication and
session management module. Note: This module won't work with
Gauche 0.9 or earlier.
2010-01-12 Shiro Kawai <[email protected]>
* src/wiliki/rss.scm (rss-source, rss-url-format): Make the title
and url format customizable.
2010-01-03 Shiro Kawai <[email protected]>
* src/wiliki.scm (<wiliki-formatter>),
src/wiliki/format.scm (<wiliki-formatter-base>): Splitted the base
formatter (with minimal functionality) and the default formatter
(for web rendering). This change allows the new wiliki app to
customize formatting by subclassing <wiliki-formatter> and defining
method specialized for the subclass, instead of setting slots
of (wiliki:formatter). The old way is still supported for the
backward compatibility, but is deprecated.
* src/wiliki.scm (wiliki:default-head-elements),
src/wiliki/format.scm (wiliki:format-head-title):
Allow customizing 'title' element in the html head by specializing
wiliki:format-head-title.
2010-01-02 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (comment): Avoid formatting when the current
page is not set. It occurs during formatting as RSS.
* src/wiliki/page.scm (wiliki:page-circular?): Tolerate having
boolean value inside page-stack.
2010-01-01 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki-main): Fixed a bug that left
wiliki:event-log-drain #<undef> if event-log-file wasn't specified.
2009-11-18 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki:log-event): Added event-log-file slot
to <wiliki>. If it is set, call for wiliki:log-event are recorded
to the named file. (In retrospect, we should name the current
"log file" as "journal" and name this event log as log file...)
* src/wiliki/edit.scm, src/wiliki/macro.scm: Records spam rejection
events by wiliki:log-event.
2009-05-02 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): tighten the threshold of
filtering spams with bunch of URLs.
2009-03-22 Shiro Kawai <[email protected]>
* po/Makefile.in (MSGDIR): Append DESTDIR for proper packaging.
2009-03-16 Shiro Kawai <[email protected]>
* release 0.6.1
* src/wiliki/core.scm (db-try-open): more retries when db is busy.
2009-03-15 Shiro Kawai <[email protected]>
* src/wiliki.scm ('e' action): Redirect to normal view if the
request is via GET and 't' parameter is not given. This is to
prevent search engines from referencing the urls with c=e attached.
('n' action): Wikiname to a nonexistent page now uses c=n instead
of c=e to indicate that it is for new page. This action can be
invoked via GET. It returns normal view if the page already exists.
(wiliki:make-navi-button): Use POST, accordingly.
2009-03-09 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): small tweak against spams.
2008-12-05 Shiro Kawai <[email protected]>
* src/wiliki/rss.scm: Updated for new wiliki.core API. Added ability
to generate per-item 'description' field.
* test/rss.scm: added.
2008-11-10 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): some more ad-hoc spam filters.
2008-07-24 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (db-try-open): Fixed db-open retry for less
'cannot open database for write' error.
* src/wiliki/edit.scm (cmd-preview, cmd-commit-edit): Allow 'limited
in editable? slot of wiliki, which allows limited kind of editing
(e.g. comments).
* src/wiliki.scm: Changed accordingly.
* src/wiliki/macro.scm (comment-input-and-display): Hide comment
input area if wiliki is read-only.
* src/wiliki/history.scm: Hide link to 'edit' if the wiliki is not
editable.
2008-07-23 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (tag): Added simple tagging interface.
[[$$tag name ...]] creates links to a virtual page `Tag:name',
which lists all pages that include '[[$$tag name]]'.
The virtual page caches the search result, in order to avoid
excessive load from crawlers.
* src/wiliki/core.scm (wiliki:db-search-content,
wiliki:db-record-content-find): Exclude comments from search.
2008-07-15 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): Set wiliki:page-stack during
expanding writer macros so that the writer macro can obtain the
current page via wiliki:current-page.
2008-05-05 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): slightly changed ad-hoc spam
detection.
2008-04-01 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (let-macro-keywords*): Changed keyword argument
syntax from key:val to key=val, for ':' is more likely to be in
VAL and confusing.
* src/wiliki/macro.scm (post-comment): Filter more suspicious
spams.
2008-03-29 Shiro Kawai <[email protected]>
* src/wiliki/macro.scm (post-comment): Avoid touching a page
when the comment is rejected.
2008-02-20 Shiro Kawai <[email protected]>
* src/wiliki/scr-macros.scm (srfi-implementors-map): updated the
use of old api wiliki-db-* for the new api wiliki:db-*.
2008-02-13 Shiro Kawai <[email protected]>
* release 0.6
2008-02-12 Shiro Kawai <[email protected]>
* src/wiliki/db.scm: added missing select-module that caused
mysterious failures.
* src/wiliki/core.scm, src/wiliki.scm: some fixes
2008-01-11 Shiro Kawai <[email protected]>
* Migrated repository to Subversion.
2007-12-21 Shiro Kawai <[email protected]>
* src/wiliki/format.scm, src/wiliki/parse.scm: moved wiliki.format's
wiliki:format-line-plainly to wiliki.parse as wiliki-remove-markup.
The old binding is kept for the compatibility.
* src/wiliki/core.scm: added wiliki:db-raw-get and wiliki:db-raw-put!
for accesses without using <wiliki-page>. Mainly for the apps
that want to keep raw data other than pages in the db.
2007-11-05 Shiro Kawai <[email protected]>
* src/wiliki/core.scm: changed wiliki-db-* API to wiliki:db-* API.
Made wiliki:db-record->page a method to take wiliki instance, so
that it can be specialized by subclassing wiliki. Added
wiliki:page->db-record and wiliki:page-class methods for more
customization.
* src/wiliki/db.scm: Compatibility functions (wiliki-db-*) are
moved to here.
2007-10-13 Shiro Kawai <[email protected]>
* src/wiliki/wiliki.scm, src/wiliki/core.scm (wiliki-main):
Moved wiliki-main from wiliki to wiliki.core.
* src/wiliki/core.scm (wiliki:run-action): Wrapped the action body
by a generic function wiliki:run-action. This allows the application
to do preprocess/postprocess request handling by subclassing
<wiliki> and specializing wiliki:run-action.
2007-10-12 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (let-macro-keywords*): Added a macro to handle
named argument handling for macro arguments. Named arguments can
be given in the form of key:arg (note: there's no space around
colon).
* src/wiliki/macro.scm (comment): Allowed to specify comment sort
order and the position of textarea using named arguments,
'order:' and 'textarea:', respectively.
2007-10-11 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki-with-db): when rwmode is :write and
the db has already been open with :read, we reopen the db in write
mode. (The permission check should be done in the caller).
This is needed to create top page automatically within 'v'-command.
(define-wiliki-action): Allow to add authentication procedure.
This is experimental. API may change.
* src/wiliki.scm: removed autoloading of wiliki.util, for it is no
longer used (the functions have been moved to wiliki.core).
* src/wiliki/format.scm (wiliki:format-content): cache the formatted
SXML result to the page's content slot. It allows calling
wiliki:format-content multiple times during page creation without
cost.
2007-07-18 Shiro Kawai <[email protected]>
* src/wiliki/page.scm: A bit of API fix. Planning to make all
wiliki-related APIs named 'wiliki:foo', not 'wiliki-foo'.
* src/wiliki/macro.scm (comment): Changed comment page name so that
they won't appear in $$index macros which intend to pick the parent
pages. Also added a virtual page to navigate clicks from the
breadcrumb links on the comment pages.
2007-07-17 Shiro Kawai <[email protected]>
* src/wiliki/core.scm (wiliki-db-touch!): added. push the specified
page to RecentChanges.
* src/wiliki/macro.scm (post-comment): when comment is posted,
pushes the parent page into RecentChanges.
(comment): Only show summary if $$comment macro appears in the
included page.
2007-07-16 Shiro Kawai <[email protected]>
* src/wiliki/core.scm: make macro alists parameters, so that
the renderer can control macro interpretation (e.g. prohibit
reader macros while rendering exiting comments).
* src/wiliki/macro.scm: changed comment store form; use one page
per a comment, so that we can avoid unclosed markups from
messing up the rest of the page.
2007-07-13 Shiro Kawai <[email protected]>
* src/wiliki/core.scm: Reorganizing the source tree. Features
needed to build a custom wiliki site is put into wiliki.core.
The main wiliki module is an example implementation on top of
wiliki.core.
* src/wiliki/edit.scm: Reorganized to be a separate module
instead of an autoloaded part of wiliki.scm.
* src/wiliki/macro.scm: Reorganized to depend only on wiliki.core,
not wiliki.
* src/wiliki.scm: Moved fundamental framework stuff into wiliki.core.
* src/wiliki/db.scm, src/wiliki/util.scm: integrated to wiliki.core.
These modules are kept just for the compatibility.
2007-06-21 Shiro Kawai <[email protected]>
* src/wiliki.scm (wiliki-main): Sets current-error-port's buffering
mode to :line, in order to avoid messing up Apache log. (Should
it be the default in www.cgi? Or should it be up to the
application's main *.cgi file? Needs to think over.)
Also bind the parameter 'wiliki' before entering cgi-main, so that
it will be avaiable when error page is created.
(cv-in, cv-out): make more permissive, for errors within these
functions prevents error page from being shown, making diagnostic
difficult.
2007-06-03 Shiro Kawai <[email protected]>
* src/wiliki.scm (setup-textdomain): look at language-range
in HTTP_ACCEPT_LANGUAGE a bit more closely to choose the
language catalog.
2007-05-18 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (expand-page): Fixed a bug that drops
stuff following ##()-style macros.
2007-05-02 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (edit-form): put preview/commit button
before preview box for the convenience.
* src/wiliki/rss.scm (rss-format): put (title-of (wiliki)) in
rdf-title.
* src/wiliki.scm (s): Show search key in the page title.
(wiliki:default-head-elements): Fix link element of RDF auto
discoverty (rel=alternative should be rel=alternate).
* src/wiliki/macro.scm (toc): if named page is not found, emit
the original macro form, instead of toc of the current page.
* src/wiliki/parse.scm (fmt-line): changed the formatting order
so that bracket names can be included inside emphasize/strong.
(Patch from Tatsuya BIZENN).
* src/wiliki/history.scm (cmd-history): Paging histories.
Alternate colors every row for readability.
2007-05-01 Shiro Kawai <[email protected]>
* src/wiliki.scm (wiliki:make-navi-button): Change form method of
navi buttons to GET, so that users can get the proper url
on their browser.
* src/wiliki/macro.scm (handle-reader-macro, handle-writer-macro):
Chaneged macro argument syntax---now you can include whitespaces
in an argument by surrounding the argument by double quotes.
To include a double quote inside double-quoted argument, use
two consecutive double quotes (CSV-ish, since we just use text.csv
to parse the arguments, with #\space as a delimiting character).
* 0.6_pre2: not a significant meaning, but rather for the convenience
to register those changes.
* src/wiliki.scm (wiliki:breadcrumb-links): make the $$path macro
feature below to a utility function.
* src/wiliki/macro.scm : renamed $$path -> $$breadcrumb-links
* src/wiliki.scm (wiliki:default-page-header) : include breadcrumb
links.
* src/wiliki.scm (wiliki:top-link etc.) : make those commands
a form button instead of anchor links, to prevent web spiders
from traversing edit & edit history pages, causing heavy server
traffic.
* src/wiliki.scm (wiliki:menu-links) : dropped language switch link.
It has not been very useful.
* src/wiliki.scm (setup-textdomain): honor Accept-Language header
to switch the message catalog.
* po/ja.po: updated.
2007-04-30 Shiro Kawai <[email protected]>
* src/wiliki.scm (wiliki:wikiname-anchor): allow an optional argument
to customize the anchor string.
* src/wiliki/macro.scm (path): added $$path macro that generates
so-called breadcrumb links.
2007-04-05 Shiro Kawai <[email protected]>
* src/wiliki/rssmix.scm (extract-from-rdf): Accept dc:date without
time part.
2007-03-06 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): A fix on the makeshift
spam filtering (includes opening quote in the match, so that
we can pass an HTML A tag in the code, in which usually quotes
are escaped). Also added another spam measure to see if
the same string is written into both contents and log message.
2007-02-20 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (cmd-commit-edit): Added a very ad-hoc filter
to avoid spam---if content or logmsg includes something look like
HTML A tag, we abort commit and redirect to the toppage. A valid
content could include an A tag (when pasted raw HTML into verbatim
block). We'll see how this becomes a problem or not.
2006-04-27 Shiro Kawai <[email protected]>
* src/wiliki.scm (v): allow pagenames with whitespaces to be created.
(fix from yaegashi).
2006-04-26 Shiro Kawai <[email protected]>
* po/Makefile.in, DIST: include *.gmo files in tarball. It appears
that the target environment can have older msgfmt which doesn't
handle encoding well.
* src/wiliki.scm (<wiliki>): added gettext-paths slot to specify
additional paths to search message catalogs.
* src/wiliki/edit.scm, src/wiliki/history.scm: added a feature
of editing older versions. Useful to revert from spams.
* src/wiliki.scm, src/wiliki/log.scm: adjustment for the above change.
* po/ja.po: ditto.
2006-04-21 Shiro Kawai <[email protected]>
* Makefile.in, configure.in, po/Makefile.in, src/wiliki.scm:
switched from makeshift message catalog to text.gettext
for message localization. The message catalogs are installed
under $(datadir)/locale/$lingua/LC_MESSAGES/, thus --prefix
now matters.
* po/ja.po : Japanese message catalog.
* src/wiliki/mcatalog.scm, src/wiliki/msgs.jp.euc, src/extract.scm:
Removed.
2006-04-20 Shiro Kawai <[email protected]>
* src/wiliki/rssmix.scm (rss-page): fix charset output to reflect
gauche's default encoding.
2005-09-04 Shiro Kawai <[email protected]>
* src/wiliki/format.scm, src/wiliki/page.scm : Splitted <wiliki-page>
routines into wiliki.page module, which is independent from
other parts.
2005-08-22 Shiro Kawai <[email protected]>
* src/wiliki.scm: Rewrote the main action dispatcher using
define-wiliki-action. Removed a chunk of legacy code (it may
break some existing macros).
2005-08-20 Shiro Kawai <[email protected]>
* src/wiliki/format.scm, src/wiliki/parse.scm: Splitted string->sxml
parser part into wiliki.parse module, which will be the bottom
level of wiliki formatter (it is self-contained, e.g. does not
depend on any other part of wiliki). This is a part of the large
refactoring towards 0.6.
2005-08-17 Shiro Kawai <[email protected]>
* release 0.5.3
* src/wiliki.scm
(wiliki:default-head-elements): added LINK tag for RSS auto
discovery.
(default-format-wikiname): Allow whitespaces within WikiNames.
(wiliki:search-box): added submit button to the search form.
* src/wiliki/format.scm, src/wiliki/history.scm: added META tag
for the head element of edit-history pages so that robots won't
follow every link of the revisions and differences.
2005-08-10 Shiro Kawai <[email protected]>
* release 0.5.2
2005-07-26 Shiro Kawai <[email protected]>
* src/wiliki/db.scm: added wiliki-db-fold and wiliki-db-for-each
* src/wiliki/macro.scm: fixed the error handling code. fixed
define-reader-macro etc to avoid using receive to bind args,
for the # of arguments given to the macro can exceed the limit
of # of values.
* src/wiliki/scr-macros.scm: added as a sample of auxiliary macros.
* configure.in, Makefile.in, src/Makefile.in: adapted to the new
build scheme.
Now it installs gpd file so that gauche-package can display
the package version. And configure.in no longer depends on
gauche-specific autoconf macros.
2005-05-27 Shiro Kawai <[email protected]>
* release 0.5.1
* src/wiliki/format.scm (fmt-line): accept telnet:// as a valid
protocol, as well as mailto, http(s) and ftp.
* src/wiliki/format.scm (fmt-lines generator): fixed a problem of
context-passing between included pages. We only need to pass
information of nestings of headings, which is required to generate
proper heading IDs for tha page that consists of included ones.
Other context information could screw fmt-lines.
2005-05-12 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (mailto): prevent creating an empty anchor tag
for mailto.
* src/wiliki/macro.scm (toc): fixed a bug in arranging headers
into a tree.
2005-03-26 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (fmt-lines): fixed a call to a local function
with wrong number of arguments.
2004-05-23 Shiro Kawai <[email protected]>
* release 0.5
* doc/Makefile.in : suppress making docs for the time being; it's
not ready.
* src/wiliki/rssmix.scm, src/rssmix.cgi : splitted customizable part
and library part.
2004-04-04 Shiro Kawai <[email protected]>
* doc/* : start adding documentation. Yet to determine the format.
2004-04-03 Shiro Kawai <[email protected]>
* src/wiliki2html: removed. The function is implemented by 'wiliki'
command.
* bin/wiliki: added. A general command-line tool to handle wiliki
database.
* test/test-bin.scm: added.
2004-04-02 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (fmt-lines): fixed a bug that caused infinite
loop (thanks to Kouhei Sutou for a patch). This changes behavior
of ul/ol inside blockquote, but I believe the previous behavior
was wrong.
2004-03-29 Shiro Kawai <[email protected]>
* src/format.scm (fmt-lines) : fixed a bug that caused infinite loop
(thanks to Kouhei Sutou for a patch).
2004-03-21 Shiro Kawai <[email protected]>
* src/wiliki/db.scm, src/wiliki.scm : made wiliki.db only depend on
wiliki.format. The APIs are renamed. Compatibility functions
are moved to wiliki.scm.
* src/wiliki/*.scm : adapted to the new wiliki.db api.
2004-03-19 Shiro Kawai <[email protected]>
* renamed the directory aux/ to util/, for Windows doesn't like the
file name 'aux'. Yuck.
* src/wiliki/format.scm : made formatting customization routines
methods of <wiliki-formatter>. The closure members in
<wiliki-formatter> are retained for the compatibility of 0.5_pre2,
but deprecated. The preferable way is to subclass
<wiliki-formatter> and override methods.
2004-03-07 Shiro Kawai <[email protected]>
* src/wiliki.scm (get-page-name): display toppage when null string
is given to the 'p' parameter in QUERY_STRING (Patch from Tokuya
Kameshima).
2004-02-10 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (fmt-line): fixed a bug that caused infinite
loop when there's an unmatched "[[" in a line.
2004-02-09 Shiro Kawai <[email protected]>
* src/wiliki2.cgi (my-page-content): make 'Topics' of side-bar
a wiki-link (suggested by Zukeran Shin).
* src/wiliki/edit.scm (cmd-commit-edit): make top page not deleted
even if the content is empty (suggested by Kimura Fuyuki).
* src/wiliki/format.scm (fmt-line): let em and strong take the
innermost apostrophes instead of first-match.
2004-02-04 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (fmt-line): fixed a problem of emphasizing
phrase containing apostrophe.
2004-01-31 Shiro Kawai <[email protected]>
* src/wiliki.scm : looking up CGI parameters from cgi-metavariables
first, instead of getting them directly by sys-getenv. This makes
the host program to parameterize wiliki more easily.
2004-01-21 Shiro Kawai <[email protected]>
* src/wiliki/format.scm (fmt-line): added hook to parse ##() macro.
(wiliki:format-macro): ditto.
(<wiliki-formatter>): macro slot for ##()-macro formatter.
2004-01-19 Shiro Kawai <[email protected]>
* src/wiliki.scm (wiliki:version): added procedure to get wiliki
version.
* src/wiliki/edit.scm (edit-form) : make "don't update recent changes"
a label of the checkbox.
2004-01-12 Shiro Kawai <[email protected]>
* src/wiliki/format.scm, src/wiliki/macro.scm, src/wiliki/util.scm :
revised anchoring of headings (uses 'id' instead of 'a', and also
uses hash value rather than ordinal numbers). $$toc macro is
also revised to handle $$included page properly.
2004-01-11 Shiro Kawai <[email protected]>
* various files: more fixes for new format handling.
* src/wiliki.scm : export various formatting functions for
user customization.
* src/wiliki2.cgi, src/wiliki2.css : added a sample cgi to show
how to customize page display.
* src/wiliki.css : renamed from wiliki-sample.css for consistency.
* configure.in : 0.5_pre1
2004-01-08 Shiro Kawai <[email protected]>
* src/wiliki/format.scm : yet another snapshot of refactoring
formatter. format-lines is rewritten using SXML.
2003-12-31 Shiro Kawai <[email protected]>
* another snapshot of refactoring formatter. wiliki.format is
decoupled completely.
2003-12-30 Shiro Kawai <[email protected]>
* working snapshot of refactoring formatter. more changes to come.
2003-12-29 Shiro Kawai <[email protected]>
* src/wiliki.scm (get-page-name): changed to use PATH_INFO instead of
REQUEST_URI
* test/test-wiliki.scm : more tests.
2003-12-21 Shiro Kawai <[email protected]>
* test/test-wiliki.scm : more tests.
* src/wiliki/edit.scm: added missing </p> in the text editing help
message.
2003-12-18 Shiro Kawai <[email protected]>
* aux/*, test/test-wiliki.scm : creating a scaffold for solid testing.
* src/wiliki/db.scm : fix behavior of nested with-db form.
2003-12-17 Shiro Kawai <[email protected]>
* src/wiliki/wiliki.scm (<wiliki>): added 'protocol' and
'server-port' slot.
(full-script-path-of) : calculate full URL of script, with
consideration of protocol scheme and server port.
(url, url-full) : use full-script-path-of. also omit l=lang
parameter if lang matches the wiliki's default language.
(html-page) : use full-script-path-of to emit base path.
* src/wiliki/rss.scm (rss-format): use full-script-path-of to
generate page URL.
* src/wiliki/edit.scm (cmd-commit-edit) : avoid writing log and db
if the content isn't changed.
* src/wiliki/macro.scm
(define-reader-macro) : generates anchor URL without "p=", so that
browser can use cached page to hop around within the page in
normal circumstances.
* src/wiliki.scm
(debug-level): fixed bad method name.
(cmd-view): added code to workaround when top page name is changed.
2003-11-19 Shiro Kawai <[email protected]>
* src/wiliki.scm, src/wiliki/macro.scm : added missing "provide"
directives.
* src/wiliki2html : added.
2003-10-09 YAEGASHI Takeshi <[email protected]>
* debian: new directory: Debian packaging files.
* DIST_EXCLUDE: do not include config.status, config.log and
debian directory in the release distribution.
2003-10-07 Shiro Kawai <[email protected]>
* release 0.4
* src/wiliki/format.scm : allow the InterWikiName list to
have protocol scheme (http, https, ftp, mailto).
Patch by Yaegashi Takeshi.
2003-09-01 Shiro Kawai <[email protected]>
* src/wiliki/edit.scm (edit-form): added class attribute to
textareas of edit screen.
2003-08-31 Shiro Kawai <[email protected]>
* src/wiliki/db.scm (wdb-search-content): use case-insensitive search
* src/wiliki.scm (expand-writer-macros): fix regexp so that args
for writer macros can be handled.
* src/wiliki/format.scm (format-colored-box): use :style attribute
instead of :bgcolor, so that it won't interfere with different
style sheets.
* src/wiliki.scm (language-link): fixed a broken url generation
* src/wiliki/edit.scm, src/wiliki/format.scm, src/wiliki/history.scm:
Incorporated auto-merge feature to conflict handling. If logging
feature is on, wiliki tries to merge both edits. Even if logging
feature is not on, it shows diff, so it's much easier to find out
what is edited.
2003-08-30 Shiro Kawai <[email protected]>
* src/wiliki.scm, src/wiliki/history.scm, src/wiliki/log.scm,
src/wiliki/format.scm:
First snapshot of integrating history module. If the log
file name is given to :log-file slot of wiliki, the history
feature is turned on. There are still some missing features.
2003-08-23 Shiro Kawai <[email protected]>
* src/wiliki/format.scm : rewrote formatting engine to produce
more "correct" html (not quite, but almost correct).
* test/format.scm : added lots of patholocigal cases.
* src/wiliki-sample.css : added blockquote style.
2003-08-19 Shiro Kawai <[email protected]>
* src/wiliki.scm, src/wiliki/format.scm : Oops. Changing the default
link to pathname notation had one undesirable side effect---it
interferes with PageName begins with '/'. So the link use
old ?PageName notation now.
2003-08-18 Shiro Kawai <[email protected]>
* src/wiliki.scm, src/wiliki/format.scm : Changed precedence of
wikiname recoginition in URL. Now the pathname notation
(e.g. http://foo/bar/wiliki.cgi/PageName) is the highest precedence,
"?p=PageName" comes next, and "?PageName" is the last. The default
format of the link of formatted page is also changed to use pathname
notation.
2003-08-17 Shiro Kawai <[email protected]>
* src/wiliki.scm (<wiliki>) : added customization parameter
textarea-rows and textarea-cols (Patch from knok).
* src/wiliki.scm (expand-writer-macros) : bug fix: not to expand
writer macros in verbatim block.
* src/wiliki/format.scm (format-page): changed not to show language
links (->Japanese/->English) at edit and preview pages, for it
causes problems in state tracking.
* src/wiliki.cgi, src/wiliki.scm (error-page),
src/wiliki/db.scm (db-try-open),
src/wiliki/macro.scm (handle-expansion):
Added debug-level to <wiliki>, and controls whether the diagnostic