Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Omit hard-coded n= query parameters on /timeline hyperlinks for branches and tags. Use the n= cookie. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
19682676aabbd3bfe9a948191666c61e |
User & Date: | drh 2019-01-04 08:22:17.419 |
Context
2019-01-05
| ||
01:29 | Increase the version number to 2.8 and update the change log, in case we decide to do a new release soon. ... (check-in: f143b606 user: drh tags: trunk) | |
2019-01-04
| ||
08:22 | Omit hard-coded n= query parameters on /timeline hyperlinks for branches and tags. Use the n= cookie. ... (check-in: 19682676 user: drh tags: trunk) | |
2019-01-02
| ||
15:31 | Enhancements to the hamburger menu mechanism. ... (check-in: 724a9b8f user: drh tags: trunk) | |
Changes
Changes to src/branch.c.
︙ | ︙ | |||
461 462 463 464 465 466 467 | } } if( zBgClr && zBgClr[0] && show_colors ){ @ <tr style="background-color:%s(zBgClr)"> }else{ @ <tr> } | | | 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | } } if( zBgClr && zBgClr[0] && show_colors ){ @ <tr style="background-color:%s(zBgClr)"> }else{ @ <tr> } @ <td>%z(href("%R/timeline?r=%T",zBranch))%h(zBranch)</a></td> @ <td data-sortkey="%016llx(iMtime)">%s(zAge)</td> @ <td>%d(nCkin)</td> fossil_free(zAge); @ <td>%s(isClosed?"closed":"")</td> if( zMergeTo ){ @ <td>merged into @ %z(href("%R/timeline?f=%!S",zLastCkin))%h(zMergeTo)</a></td> |
︙ | ︙ | |||
574 575 576 577 578 579 580 | cnt++; } if( colorTest ){ const char *zColor = hash_color(zBr); @ <li><span style="background-color: %s(zColor)"> @ %h(zBr) → %s(zColor)</span></li> }else{ | | | 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | cnt++; } if( colorTest ){ const char *zColor = hash_color(zBr); @ <li><span style="background-color: %s(zColor)"> @ %h(zBr) → %s(zColor)</span></li> }else{ @ <li>%z(href("%R/timeline?r=%T",zBr))%h(zBr)</a></li> } } if( cnt ){ @ </ul> } db_finalize(&q); style_footer(); |
︙ | ︙ | |||
602 603 604 605 606 607 608 | " AND tagxref.tagid=tag.tagid" " AND tagxref.tagtype>0" " AND tag.tagname GLOB 'sym-*'", rid ); while( db_step(&q)==SQLITE_ROW ){ const char *zTagName = db_column_text(&q, 0); | | | 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 | " AND tagxref.tagid=tag.tagid" " AND tagxref.tagtype>0" " AND tag.tagname GLOB 'sym-*'", rid ); while( db_step(&q)==SQLITE_ROW ){ const char *zTagName = db_column_text(&q, 0); @ %z(href("%R/timeline?r=%T",zTagName))[timeline]</a> } db_finalize(&q); } /* ** WEBPAGE: brtimeline ** |
︙ | ︙ |
Changes to src/finfo.c.
︙ | ︙ | |||
573 574 575 576 577 578 579 | @ check-in: \ hyperlink_to_uuid(zCkin); if( fShowId ){ @ (%d(fmid)) } @ user: \ hyperlink_to_user(zUser, zDate, ","); | | | 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 | @ check-in: \ hyperlink_to_uuid(zCkin); if( fShowId ){ @ (%d(fmid)) } @ user: \ hyperlink_to_user(zUser, zDate, ","); @ branch: %z(href("%R/timeline?t=%T",zBr))%h(zBr)</a>, if( tmFlags & (TIMELINE_COMPACT|TIMELINE_VERBOSE) ){ @ size: %d(szFile)) }else{ @ size: %d(szFile) } if( zUuid && origCheckin==0 ){ if( nParent==0 ){ |
︙ | ︙ |
Changes to src/tag.c.
︙ | ︙ | |||
688 689 690 691 692 693 694 | " AND tagname GLOB 'sym-*'" " ORDER BY tagname" ); @ <ul> while( db_step(&q)==SQLITE_ROW ){ const char *zName = db_column_text(&q, 0); if( g.perm.Hyperlink ){ | | | 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 | " AND tagname GLOB 'sym-*'" " ORDER BY tagname" ); @ <ul> while( db_step(&q)==SQLITE_ROW ){ const char *zName = db_column_text(&q, 0); if( g.perm.Hyperlink ){ @ <li>%z(chref("taglink","%R/timeline?t=%T",zName)) @ %h(zName)</a></li> }else{ @ <li><span class="tagDsp">%h(zName)</span></li> } } @ </ul> db_finalize(&q); |
︙ | ︙ |