Fossil

Check-in [1cc7e8ce]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add the new moderation permissions to the list maintained by the JSON code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1cc7e8ce2985bf5ec44f4e96975513d86641caef
User & Date: mistachkin 2012-11-02 03:30:36
Context
2012-11-02
08:31
speedup mimetype_from_content() by using a 256 byte array.
Mark VT and Ctrl-Z as text bytes, not binary.
Decrease maximum UTF-16 line length to 2731
Check for FFFF in addition to 0, in UTF-16/binary detection.
check-in: d804902f user: jan.nijtmans tags: trunk
03:30
Add the new moderation permissions to the list maintained by the JSON code. check-in: 1cc7e8ce user: mistachkin tags: trunk
03:10
Use local variable when checking for a carriage-return in looks_like_utf8/utf16. Update custom MinGW makefile. check-in: 531b2e2d user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/json.c.

1987
1988
1989
1990
1991
1992
1993

1994
1995
1996
1997

1998
1999
2000
2001
2002
2003
2004
  ADD(Read,"checkout");
  ADD(Hyperlink,"history");
  ADD(Clone,"clone");
  ADD(RdWiki,"readWiki");
  ADD(NewWiki,"createWiki");
  ADD(ApndWiki,"appendWiki");
  ADD(WrWiki,"editWiki");

  ADD(RdTkt,"readTicket");
  ADD(NewTkt,"createTicket");
  ADD(ApndTkt,"appendTicket");
  ADD(WrTkt,"editTicket");

  ADD(Attach,"attachFile");
  ADD(TktFmt,"createTicketReport");
  ADD(RdAddr,"readPrivate");
  ADD(Zip,"zip");
  ADD(Private,"xferPrivate");
#undef ADD
  return payload;







>




>







1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
  ADD(Read,"checkout");
  ADD(Hyperlink,"history");
  ADD(Clone,"clone");
  ADD(RdWiki,"readWiki");
  ADD(NewWiki,"createWiki");
  ADD(ApndWiki,"appendWiki");
  ADD(WrWiki,"editWiki");
  ADD(ModWiki,"moderateWiki");
  ADD(RdTkt,"readTicket");
  ADD(NewTkt,"createTicket");
  ADD(ApndTkt,"appendTicket");
  ADD(WrTkt,"editTicket");
  ADD(ModTkt,"moderateTicket");
  ADD(Attach,"attachFile");
  ADD(TktFmt,"createTicketReport");
  ADD(RdAddr,"readPrivate");
  ADD(Zip,"zip");
  ADD(Private,"xferPrivate");
#undef ADD
  return payload;