Fossil

Changes On Branch updNewCaps
Login

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

Changes In Branch updNewCaps Excluding Merge-Ins

This is equivalent to a diff from 0194fb67 to cbfbfa8c

2018-08-26
02:20
Update JSON code to account for new capabilities. Also, the 'setup' and 'admin' capabilities should imply 'debug'. ... (check-in: 3f12d406 user: mistachkin tags: trunk)
2018-08-12
03:38
Update wording to match documentation. ... (Closed-Leaf check-in: cbfbfa8c user: mistachkin tags: updNewCaps)
02:47
Added the "Email Notification" section to the forum.wiki document. ... (check-in: 6b275203 user: wyoung tags: trunk)
2018-08-11
23:47
Update JSON code to account for new capabilities. Also, the 'setup' and 'admin' capabilities should imply 'debug'. ... (check-in: 7ce44fab user: mistachkin tags: updNewCaps)
21:04
Added forumSel adjustment advice to forum.wiki. ... (check-in: 0194fb67 user: wyoung tags: trunk)
20:49
The periodic "updateClock()" call made in the header for several of the built-in skins (Eagle, Enhanced1, and Xekri) violates the new stricter CSP, since it requires a JS eval. We don't need an eval here: we can pass the function's name literally to window.setTimeout instead, which treats it as a Function object, which doesn't need to be eval'd. ... (check-in: eac15b4c user: wyoung tags: trunk)

Changes to src/json.c.

1888
1889
1890
1891
1892
1893
1894









1895
1896
1897
1898
1899
1900
1901
  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;
}

/*
** Implementation of the /json/stat page/command.
**







>
>
>
>
>
>
>
>
>







1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
  ADD(WrTkt,"editTicket");
  ADD(ModTkt,"moderateTicket");
  ADD(Attach,"attachFile");
  ADD(TktFmt,"createTicketReport");
  ADD(RdAddr,"readPrivate");
  ADD(Zip,"zip");
  ADD(Private,"xferPrivate");
  ADD(WrUnver,"writeUnversioned");
  ADD(RdForum,"readForum");
  ADD(WrForum,"writeForum");
  ADD(WrTForum,"writeTrustedForum");
  ADD(ModForum,"moderateForum");
  ADD(AdminForum,"adminForum");
  ADD(EmailAlert,"emailAlert");
  ADD(Announce,"announce");
  ADD(Debug,"debug");
#undef ADD
  return payload;
}

/*
** Implementation of the /json/stat page/command.
**

Changes to src/login.c.

1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
                             p->RdWiki = p->WrWiki = p->NewWiki =
                             p->ApndWiki = p->Hyperlink = p->Clone =
                             p->NewTkt = p->Password = p->RdAddr =
                             p->TktFmt = p->Attach = p->ApndTkt =
                             p->ModWiki = p->ModTkt = p->Delete =
                             p->RdForum = p->WrForum = p->ModForum =
                             p->WrTForum = p->AdminForum =
                             p->EmailAlert = p->Announce =
                             p->WrUnver = p->Private = 1;
                             /* Fall thru into Read/Write */
      case 'i':   p->Read = p->Write = 1;                      break;
      case 'o':   p->Read = 1;                                 break;
      case 'z':   p->Zip = 1;                                  break;

      case 'd':   p->Delete = 1;                               break;







|







1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
                             p->RdWiki = p->WrWiki = p->NewWiki =
                             p->ApndWiki = p->Hyperlink = p->Clone =
                             p->NewTkt = p->Password = p->RdAddr =
                             p->TktFmt = p->Attach = p->ApndTkt =
                             p->ModWiki = p->ModTkt = p->Delete =
                             p->RdForum = p->WrForum = p->ModForum =
                             p->WrTForum = p->AdminForum =
                             p->EmailAlert = p->Announce = p->Debug =
                             p->WrUnver = p->Private = 1;
                             /* Fall thru into Read/Write */
      case 'i':   p->Read = p->Write = 1;                      break;
      case 'o':   p->Read = 1;                                 break;
      case 'z':   p->Zip = 1;                                  break;

      case 'd':   p->Delete = 1;                               break;