Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | On the /info view for a checkin which has a branch/branch-name wiki page, correct the Edit Wiki link to use /wikiedit instead of /wiki if permissions allow, otherwise the /wiki page's automatic redirection of branch/branch-name wiki pages to the timeline makes it impossible to get to the editor for a branch-specific wiki page. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
82510672b8f61c5353c203943549bfb4 |
| User & Date: | stephan 2022-04-13 16:27:31.451 |
Context
|
2022-04-15
| ||
| 12:33 | Simplify the autosync_loop() interface by omitting the second parameter, which was always the value of the "autosync-tries" setting. Have the autosync_loop() function look up the autosync-tries setting for itself. ... (check-in: 9445f8a8a2 user: drh tags: trunk) | |
| 11:34 | Implicitly set "fossil open --nosync" when the autosync setting is off, either globally or on the just-opened repo. This is on a branch because I don't know whether the dance involving global versus repo settings is overly complicated or *just complicated enough*. The current formulation seems both necessary and sufficient in my local testing here, but I'm hoping there's a shorter formulation that does the same thing. ... (Closed-Leaf check-in: 9f42fc44c6 user: wyoung tags: fossil-open-noautosync) | |
|
2022-04-14
| ||
| 16:58 | Per /chat discussion, replace load_control() calls in selective pages with nice() and move load_control() into process_one_web_page(). There is still work to do here, e.g. allowing certain pages through (namely /chat, to facilitate coordination of site defense) and perhaps checking credentials if the load is too high and always allowing admin users. ... (check-in: 9b0ebcaf23 user: stephan tags: load-control-rework) | |
|
2022-04-13
| ||
| 16:27 | On the /info view for a checkin which has a branch/branch-name wiki page, correct the Edit Wiki link to use /wikiedit instead of /wiki if permissions allow, otherwise the /wiki page's automatic redirection of branch/branch-name wiki pages to the timeline makes it impossible to get to the editor for a branch-specific wiki page. ... (check-in: 82510672b8 user: stephan tags: trunk) | |
|
2022-04-11
| ||
| 09:33 | Brought the "Fossil grep vs POSIX grep" doc up to date relative to the [/info/f5f4471323d44a82 | merged grep-enhancements branch]. ... (check-in: caba4b0188 user: wyoung tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
733 734 735 736 737 738 739 |
if( fossil_strcmp(zTagName,zBrName)==0 ){
cgi_printf(" | ");
style_copy_button(1, "name-br", 0, 0, "%z%h</a>",
href("%R/timeline?r=%T&unhide",zTagName), zTagName);
cgi_printf("\n");
if( wiki_tagid2("branch",zTagName)!=0 ){
blob_appendf(&wiki_read_links, " | %z%h</a>",
| > > > | | 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
if( fossil_strcmp(zTagName,zBrName)==0 ){
cgi_printf(" | ");
style_copy_button(1, "name-br", 0, 0, "%z%h</a>",
href("%R/timeline?r=%T&unhide",zTagName), zTagName);
cgi_printf("\n");
if( wiki_tagid2("branch",zTagName)!=0 ){
blob_appendf(&wiki_read_links, " | %z%h</a>",
href("%R/%s?name=branch/%h",
(g.perm.Write && g.perm.WrWiki)
? "wikiedit" : "wiki",
zTagName), zTagName);
}else if( g.perm.Write && g.perm.WrWiki ){
blob_appendf(&wiki_add_links, " | %z%h</a>",
href("%R/wikiedit?name=branch/%h",zTagName), zTagName);
}
}else{
@ | %z(href("%R/timeline?t=%T&unhide",zTagName))%h(zTagName)</a>
if( wiki_tagid2("tag",zTagName)!=0 ){
|
| ︙ | ︙ |