annotate .hgtags @ 832:c4b22aedb7d7

plugin groupblog, XEP-0071, XEP-0277, text_syntaxes: manage raw/rich/xhtml data for content/title: Implementation should follow the following formal specification: "title" and "content" data can be passed in raw, xhtml or rich format. When we receive from a frontend a new/updated microblog item: - keys "title" or "content" have to be escaped (disable HTML tags) - keys "title_rich" or "content_rich" have to be converted from the current syntax to XHTML - keys "title_xhtml" or "content_xhtml" have to be cleaned from unwanted XHTML content Rules to deal with concurrent keys: - existence of both "*_xhtml" and "*_rich" keys must raise an exception - existence of both raw and ("*_xhtml" or "*_rich") is OK As the storage always need raw data, if it is not given by the user it can be extracted from the "*_rich" or "*_xhtml" data (remove the XHTML tags). When a frontend wants to edit a blog post that contains XHTML title or content, the conversion is made from XHTML to the current user-defined syntax. - plugin text_syntaxes: added "text" syntax (using lxml)
author souliane <souliane@mailoo.org>
date Wed, 05 Feb 2014 16:36:51 +0100
parents 1524c2c07256
children 79ef977cda36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
3e5abe3bbead Added tag SàT v0.0.2 for changeset d660d1e5cee4
Goffi <goffi@goffi.org>
parents:
diff changeset
1 d660d1e5cee410bf9ac15b89ceb93543bcff0a6f SàT v0.0.2
209
bab65733980a Added tag SàT v0.0.3 for changeset b95550704b4f
Goffi <goffi@goffi.org>
parents: 207
diff changeset
2 b95550704b4f965c9dca5f6681186bf8a9b64074 SàT v0.0.3
243
117d6d26807b Added tag SàT v0.1.0 for changeset b778622b8733
Goffi <goffi@goffi.org>
parents: 242
diff changeset
3 b778622b87337785252d47d2b3c4fe3085a37ab4 SàT v0.1.0
248
624e3ed4782d Added tag SàT v0.1.1 for changeset 53aa958a2d3d
Goffi <goffi@goffi.org>
parents: 247
diff changeset
4 53aa958a2d3d6451ae75610e3c6fb947d3d6f21b SàT v0.1.1
354
4b7af05566eb Added tag SàT v0.2.0 for changeset cc2afb92ab93
Goffi <goffi@goffi.org>
parents: 352
diff changeset
5 cc2afb92ab93a4c6399ca9b6cdc5224878a57a24 SàT v0.2.0
584
1524c2c07256 Added tag SàT v0.3.0 for changeset df6b9b881f0e
Goffi <goffi@goffi.org>
parents: 583
diff changeset
6 df6b9b881f0e9f335483c986b00fd58f2ed6164a SàT v0.3.0