1 |
2008-11-24 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* sw.cgi: Moved most parts to |lib/suikawiki/main.pl| |
4 |
<http://suika.fam.cx/gate/cvs/webroot/swe/lib/suikawiki/main.pl>. |
5 |
|
6 |
2008-11-24 Wakaba <wakaba@suika.fam.cx> |
7 |
|
8 |
* sw.cgi (percent_encode, percent_encode_na, percent_decode, |
9 |
htescape, get_absolute_url): Moved to manakai's Message::CGI::Util |
10 |
module. |
11 |
|
12 |
2008-11-24 Wakaba <wakaba@suika.fam.cx> |
13 |
|
14 |
* sw.cgi: Fullwidth/halfwidth normalization split into a separate |
15 |
module. |
16 |
|
17 |
2008-11-23 Wakaba <wakaba@suika.fam.cx> |
18 |
|
19 |
* sw.cgi: Load database modules as late as possible. |
20 |
|
21 |
2008-11-23 Wakaba <wakaba@suika.fam.cx> |
22 |
|
23 |
* sw.cgi: Facted out database path names. |
24 |
|
25 |
2008-11-23 Wakaba <wakaba@suika.fam.cx> |
26 |
|
27 |
* sw.cgi: Bug fix: Set action="" of new-page form. |
28 |
|
29 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
30 |
|
31 |
* sw.cgi: Don't put toolbar in the label. |
32 |
|
33 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
34 |
|
35 |
* sw.cgi: Insert placeholders for editor toolbars. Insert a |
36 |
script element for JavaScript codes. |
37 |
|
38 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
39 |
|
40 |
* sw.cgi: Bug fix: use a key from hash, not the hashref. |
41 |
|
42 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
43 |
|
44 |
* sw.cgi: Insert a nav element outside of same-id page list. |
45 |
|
46 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
47 |
|
48 |
* sw.cgi: Don't log user name for normal page edits. |
49 |
|
50 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
51 |
|
52 |
* sw.cgi: Bug fix: for (@{child_nodes}) {append_child} does not |
53 |
work. |
54 |
|
55 |
2008-11-16 Wakaba <wakaba@suika.fam.cx> |
56 |
|
57 |
* sw.cgi: Set <meta name=ROBOTS content=NOINDEX> for |
58 |
non-page-content pages. Insert article heading. Added support |
59 |
for page title. Remove empty page name when new page names are |
60 |
submitted. |
61 |
|
62 |
2008-11-14 Wakaba <wakaba@suika.fam.cx> |
63 |
|
64 |
* sw.cgi: Make the h1 element a permalink for the page name. |
65 |
|
66 |
2008-11-14 Wakaba <wakaba@suika.fam.cx> |
67 |
|
68 |
* sw.cgi: SWML/HTML convertion was moved to another Perl module |
69 |
file (SWE::Lang::XML2HTML). |
70 |
|
71 |
2008-11-14 Wakaba <wakaba@suika.fam.cx> |
72 |
|
73 |
* sw.cgi: sw:anchor/@sw:anchor was not reflected to the HTML |
74 |
output. td/@colspan was not reflected to the HTML rendering. |
75 |
Show the HTML-rendered page after saving the posted page (future |
76 |
version should support "save"-only feature by using ajax). |
77 |
Generate rel=alternate links to text/XML versions from HTML |
78 |
version. |
79 |
(set_head_content): Support arbitrary link elements. |
80 |
|
81 |
2008-11-14 Wakaba <wakaba@suika.fam.cx> |
82 |
|
83 |
* sw3listsplit.pl: New file. |
84 |
|
85 |
* sw.cgi: Use SWE::DB::SuikaWiki3PageList2 instead of |
86 |
SWE::DB::SuikaWiki3PageList, to avoid CVS's rcs file size (and |
87 |
process load) problem caused by the monolisic file database. |
88 |
|
89 |
2008-11-12 Wakaba <wakaba@suika.fam.cx> |
90 |
|
91 |
* sw.cgi: Oops, syntax error. |
92 |
|
93 |
2008-11-12 Wakaba <wakaba@suika.fam.cx> |
94 |
|
95 |
* sw.cgi: Avoid cvs being too loading by not to commit the sw3 |
96 |
page list every time. |
97 |
|
98 |
2008-11-11 Wakaba <wakaba@suika.fam.cx> |
99 |
|
100 |
* sw.cgi: Oops, $html_doc was not set when the page is not created |
101 |
yet. |
102 |
|
103 |
2008-11-11 Wakaba <wakaba@suika.fam.cx> |
104 |
|
105 |
* sw.cgi: Caching of generated HTML articles implemented. |
106 |
|
107 |
2008-11-11 Wakaba <wakaba@suika.fam.cx> |
108 |
|
109 |
* sw.cgi (get_xml_data): Get the cache-prop object outside of the |
110 |
function, too. |
111 |
|
112 |
2008-11-11 Wakaba <wakaba@suika.fam.cx> |
113 |
|
114 |
* sw.cgi (get_xml_data): Lock the id outside of the function. |
115 |
|
116 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
117 |
|
118 |
* sw.cgi: <link rel=archives> added. |
119 |
|
120 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
121 |
|
122 |
* sw.cgi: Put edit-body-content form into a section element. Use |
123 |
new style sheet URL. Use |div| instead of |p| for |
124 |
|sw10:comment-p| and |sw10:ed| elements for compatibility with |
125 |
HTML syntax (where block-level elements such as |ul| can't be |
126 |
inserted in |p| elemnets). |
127 |
|
128 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
129 |
|
130 |
* sw.cgi: Normalize white space characters and fullwidth/halfwidth |
131 |
characters in names and contents. Add links to the content page |
132 |
in the edit page. Typo fixed. |
133 |
|
134 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
135 |
|
136 |
* sw.cgi: Don't use PATH_INFO but use our own PATH_INFO created |
137 |
from REQUEST_URI since it turns out that PATH_INFO is |
138 |
percent-decoded such that '$' or ';' can't be distinguished in |
139 |
percent-encoded and non-encode forms. Error pages and |
140 |
redirections are implemented. |
141 |
(sw:anchor): Support for './', '../', and '//' links for backward |
142 |
compatibility. Normalize spaces in names. |
143 |
(get_page_url): Don't normalize spaces here. |
144 |
(percent_encode_na): New function. |
145 |
|
146 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
147 |
|
148 |
* sw.cgi: The STDOUT was not set to UTF-8 in some mode. Fact out |
149 |
<link rel=stylesheet> code and add <link rel=license>. Add link |
150 |
to the license page for all edit and content pages. |
151 |
(get_page_url): Support link from another hierarchy. |
152 |
|
153 |
2008-11-10 Wakaba <wakaba@suika.fam.cx> |
154 |
|
155 |
* sw.cgi: Show a link to page creation page if there is no |
156 |
associated page for a name. Fact out |get_content_type_parameter| |
157 |
and |set_content_type_options| functions. Use "(no title)" for |
158 |
the name for an anonymous page so that no page turns into really |
159 |
no title. 'new-page' implemented. |
160 |
(http_redirect): New. |
161 |
|
162 |
2008-11-09 Wakaba <wakaba@suika.fam.cx> |
163 |
|
164 |
* sw3.cgi (convert_sw3_page): Set the |hash| property of the |
165 |
id-prop. |
166 |
|
167 |
2008-11-09 Wakaba <wakaba@suika.fam.cx> |
168 |
|
169 |
* mksw3list.pl: Append index to duplicate keywords to remove |
170 |
duplication such that migration process in sw.cgi is simplified. |
171 |
|
172 |
* sw.cgi: "n/name$index" syntax introduced. Lock & unlock is now |
173 |
done outside of |convert_sw3_page| function. Generate list of |
174 |
same-name pages. Remove ";metadata" parameter support for |
175 |
debugging. Commit changes to CVS repository after modification of |
176 |
a content. Generate names form, too, in ";edit" page. Support |
177 |
for name changing. Property name for identifiers in the name-prop |
178 |
changed from "ids" to "id" for consistency. |
179 |
(get_page_url): Support for "$index" suffix. |
180 |
(convert_sw3_page): Don't lock in thie function. Commit changes |
181 |
to CVS repository. |
182 |
(get_xml_data): Don't update id-prop, since the database might not |
183 |
be locked in the context where this function is invoked. |
184 |
|
185 |
2008-11-09 Wakaba <wakaba@suika.fam.cx> |
186 |
|
187 |
* sw.cgi: The code to generate HTML headers and body element |
188 |
container itself is moved from |convert_swml_to_html| to the main |
189 |
code. Insert an "edit" link to the HTML document. Page-edit |
190 |
feature implemented. |
191 |
(get_page_url): "/" was not converted to "+". |
192 |
(get_xml_data): Lock before accessing to the cache. Save the hash |
193 |
of the cached copy of the source text and check whether the cache |
194 |
is up to date before returning a cached copy. |
195 |
(get_hash): New function. |
196 |
(convert_sw3_page): Lock the id before new copy is stored, to |
197 |
avoid race condition (access by id before the end of convertion). |
198 |
|
199 |
2008-11-09 Wakaba <wakaba@suika.fam.cx> |
200 |
|
201 |
* mksw3list: Don't replace namespace separator '//' by a space, |
202 |
for compatibility with existing WikiNames that contains '//' as |
203 |
part of semantic name, e.g. 'http://www.w3.org/1999/xhtml'; |
204 |
|
205 |
* sw.cgi (get_page_url): No longer split name by '//'. Normalize |
206 |
white space in the name. |
207 |
|
208 |
2008-11-09 Wakaba <wakaba@suika.fam.cx> |
209 |
|
210 |
* sw.cgi: Changed to name-id indirection mode for page/data |
211 |
identification and implemented |
212 |
(most part of) incremental convertion from SuikaWiki3 data to new |
213 |
database structure. |
214 |
|
215 |
* mksw3list.pl: New script. |
216 |
|
217 |
2008-11-08 Wakaba <wakaba@suika.fam.cx> |
218 |
|
219 |
* sw.cgi: Support for metadata view. |
220 |
|
221 |
2008-11-08 Wakaba <wakaba@suika.fam.cx> |
222 |
|
223 |
* sw.cgi: Fix support for "/" in path. Support for XML cache. |
224 |
Tentative support for XML dump removed (code is moved to |
225 |
SWE::DB::DOM). |
226 |
|
227 |
2008-11-08 Wakaba <wakaba@suika.fam.cx> |
228 |
|
229 |
* .htaccess: New file. |
230 |
|
231 |
2008-11-08 Wakaba <wakaba@suika.fam.cx> |
232 |
|
233 |
* sw.cgi (store_dom): New method. |
234 |
(percent_decode): Reimplemented. |
235 |
|
236 |
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
237 |
|
238 |
* sw.cgi: HTML convertion implemented. |
239 |
|
240 |
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
241 |
|
242 |
* sw.cgi: New script. |
243 |
|
244 |
* ChangeLog: New file. |
245 |
|
246 |
|