Feed of "BookStack"https://codeberg.org/bookstack2026-02-05T10:19:27+01:00danb opened issue bookstack/system-cli#252026-01-31T14:51:23+01:0095584644: https://codeberg.org/bookstack/system-cli/issues/25<p dir="auto">Default to using CURL functions if curl is enabled, otherwise fallback to direct fopen.</p>
<p dir="auto">CURL would generally be better to use, but it might not exist.<br/>
fopen is more available, but http/URL usage may be blocked by config.</p>
<p dir="auto">Relevant lines: </p><div class="file-preview-box"><div class="header"><div><a href="https://codeberg.org/bookstack/system-cli/src/commit/24bbf72f6e760bf4ccc4c7ade8f0cbff029a1890/src/Services/VendorDownloader.php#L124-L127" class="muted" rel="nofollow">src/Services/VendorDownloader.php</a></div><span class="text grey">Lines 124 to 127 in <a href="https://codeberg.org/bookstack/system-cli/src/commit/24bbf72f6e760bf4ccc4c7ade8f0cbff029a1890" class="text black" rel="nofollow">24bbf72</a></span></div><div class="ui table"><table class="file-preview"><tbody><tr><td class="lines-num"><span data-line-number="124"></span></td><td class="lines-code chroma"><code class="code-inner"> <span class="nv">$targetFile</span> <span class="o">=</span> <span class="o">@</span><span class="nx">fopen</span><span class="p">(</span><span class="nv">$targetUrl</span><span class="p">,</span> <span class="s1">'rb'</span><span class="p">);</span>
</code></td></tr><tr><td class="lines-num"><span data-line-number="125"></span></td><td class="lines-code chroma"><code class="code-inner"> <span class="k">if</span> <span class="p">(</span><span class="nv">$targetFile</span> <span class="o">===</span> <span class="k">false</span><span class="p">)</span> <span class="p">{</span>
</code></td></tr><tr><td class="lines-num"><span data-line-number="126"></span></td><td class="lines-code chroma"><code class="code-inner"> <span class="k">throw</span> <span class="k">new</span> <span class="nx">CommandError</span><span class="p">(</span><span class="s2">"</span><span class="s2">Failed to download ZIP file from </span><span class="si">$targetUrl</span><span class="s2">"</span><span class="p">);</span>
</code></td></tr><tr><td class="lines-num"><span data-line-number="127"></span></td><td class="lines-code chroma"><code class="code-inner"> <span class="p">}</span>
</code></td></tr></tbody></table></div></div><p dir="auto"></p>
<p dir="auto">Based on input from Ionys320: <a href="https://github.com/BookStackApp/BookStack/issues/5538#issuecomment-3819764070" rel="nofollow">https://github.com/BookStackApp/BookStack/issues/5538#issuecomment-3819764070</a></p>
25#Download vendor: Update HTTP download functions#danb[email protected]danb closed issue bookstack/system-cli#232026-01-31T14:48:15+01:0095584246: https://codeberg.org/bookstack/system-cli/issues/23#issuecomment-10276536Update init/update commands to use download-vendor instead of composerUpdate init/update commands to use download-vendor instead of composerdanb[email protected]danb commented on issue bookstack/system-cli#232026-01-31T14:48:15+01:0095584242: https://codeberg.org/bookstack/system-cli/issues/23#issuecomment-10276534Update init/update commands to use download-vendor instead of composer
<p dir="auto">Done in 24bbf72f6e760bf4ccc4c7ade8f0cbff029a1890</p>
Update init/update commands to use download-vendor instead of composer
<p dir="auto">Done in 24bbf72f6e760bf4ccc4c7ade8f0cbff029a1890</p>
danb[email protected]chilledfrogs created pull request bookstack/system-cli#242026-01-29T17:10:33+01:0095149722: https://codeberg.org/bookstack/system-cli/pulls/24<p dir="auto">With this trailing space, execution on at least OpenBSD fails with a rather cryptic "env: php : not found" (note the trailing space)</p>
24#Fix trailing space in shebang#chilledfrogs[email protected]danb pushed to main at bookstack/website2026-01-29T16:26:28+01:0095141080: https://codeberg.org/bookstack/website/commit/bab3b19b20fd3dbd91665676fdd95b5da017b5ee<a href="https://codeberg.org/bookstack/website/commit/bab3b19b20fd3dbd91665676fdd95b5da017b5ee" rel="nofollow">bab3b19b20fd3dbd91665676fdd95b5da017b5ee</a>
Added v25.12.3 security release post<a href="https://codeberg.org/bookstack/website/commit/bab3b19b20fd3dbd91665676fdd95b5da017b5ee">bab3b19b20fd3dbd91665676fdd95b5da017b5ee</a>
Added v25.12.3 security release postdanb[email protected]danb pushed to main at bookstack/query2026-01-20T18:54:44+01:0091993263: https://codeberg.org/bookstack/query/commit/4b2d62336447c472b574c6a193652323d6c346eb<a href="https://codeberg.org/bookstack/query/commit/4b2d62336447c472b574c6a193652323d6c346eb" rel="nofollow">4b2d62336447c472b574c6a193652323d6c346eb</a>
Fixed gitignore files<a href="https://codeberg.org/bookstack/query/commit/4b2d62336447c472b574c6a193652323d6c346eb">4b2d62336447c472b574c6a193652323d6c346eb</a>
Fixed gitignore filesdanb[email protected]danb pushed to main at bookstack/query2026-01-20T18:27:09+01:0091985991: https://codeberg.org/bookstack/query/commit/72a729be2d4ac19ea231b576d8a4862727c02a64<a href="https://codeberg.org/bookstack/query/commit/72a729be2d4ac19ea231b576d8a4862727c02a64" rel="nofollow">72a729be2d4ac19ea231b576d8a4862727c02a64</a>
Limited preview video size<a href="https://codeberg.org/bookstack/query/commit/72a729be2d4ac19ea231b576d8a4862727c02a64">72a729be2d4ac19ea231b576d8a4862727c02a64</a>
Limited preview video sizedanb[email protected]danb pushed to main at bookstack/query2026-01-20T18:25:06+01:0091981881: https://codeberg.org/bookstack/query/commit/b990e5dd992c0e5a00f6c3000aca2d69e6bfa59c<a href="https://codeberg.org/bookstack/query/commit/b990e5dd992c0e5a00f6c3000aca2d69e6bfa59c" rel="nofollow">b990e5dd992c0e5a00f6c3000aca2d69e6bfa59c</a>
Added preview<a href="https://codeberg.org/bookstack/query/commit/b990e5dd992c0e5a00f6c3000aca2d69e6bfa59c">b990e5dd992c0e5a00f6c3000aca2d69e6bfa59c</a>
Added previewdanb[email protected]danb pushed to main at bookstack/query2026-01-20T18:23:48+01:0091981137: https://codeberg.org/bookstack/query/commit/6612ca25a2cb9e8bbbee66713cd152e7092921f9<a href="https://codeberg.org/bookstack/query/commit/6612ca25a2cb9e8bbbee66713cd152e7092921f9" rel="nofollow">6612ca25a2cb9e8bbbee66713cd152e7092921f9</a>
Expanded readme, made endpoint configurable via BookStack env<a href="https://codeberg.org/bookstack/query/commit/6612ca25a2cb9e8bbbee66713cd152e7092921f9">6612ca25a2cb9e8bbbee66713cd152e7092921f9</a>
Expanded readme, made endpoint configurable via BookStack envdanb[email protected]danb created branch main in bookstack/query2026-01-20T16:26:34+01:0091934388: https://codeberg.org/bookstack/query/src/branch/maindanb[email protected]danb pushed to main at bookstack/query2026-01-20T16:26:34+01:0091934382: /<a href="https://codeberg.org/bookstack/query/commit/2ac646e0aa86452350f02068c701ad5122c7957d" rel="nofollow">2ac646e0aa86452350f02068c701ad5122c7957d</a>
Created much more guidance, fixes for docker usage
<a href="https://codeberg.org/bookstack/query/commit/7d32bcaba42e5fdea3ab9ce97a4903fbce5e218f" rel="nofollow">7d32bcaba42e5fdea3ab9ce97a4903fbce5e218f</a>
Added UI anims, MD rendering, set search result distance limit
<a href="https://codeberg.org/bookstack/query/commit/5a318298efa8ca14c4600d5b23297580d7e1af2d" rel="nofollow">5a318298efa8ca14c4600d5b23297580d7e1af2d</a>
Got conversation progression working
<a href="https://codeberg.org/bookstack/query/commit/334fdf6df807680f1c02c79b366c878cf0261ca2" rel="nofollow">334fdf6df807680f1c02c79b366c878cf0261ca2</a>
Started on better chat design
<a href="https://codeberg.org/bookstack/query/commit/ce8213c9be371b35704f13c3d5e7ec75b00a8789" rel="nofollow">ce8213c9be371b35704f13c3d5e7ec75b00a8789</a>
Renamed theme, added new commands, added indexing routes<a href="https://codeberg.org/bookstack/query/commit/2ac646e0aa86452350f02068c701ad5122c7957d">2ac646e0aa86452350f02068c701ad5122c7957d</a>
Created much more guidance, fixes for docker usage
<a href="https://codeberg.org/bookstack/query/commit/7d32bcaba42e5fdea3ab9ce97a4903fbce5e218f">7d32bcaba42e5fdea3ab9ce97a4903fbce5e218f</a>
Added UI anims, MD rendering, set search result distance limit
<a href="https://codeberg.org/bookstack/query/commit/5a318298efa8ca14c4600d5b23297580d7e1af2d">5a318298efa8ca14c4600d5b23297580d7e1af2d</a>
Got conversation progression working
<a href="https://codeberg.org/bookstack/query/commit/334fdf6df807680f1c02c79b366c878cf0261ca2">334fdf6df807680f1c02c79b366c878cf0261ca2</a>
Started on better chat design
<a href="https://codeberg.org/bookstack/query/commit/ce8213c9be371b35704f13c3d5e7ec75b00a8789">ce8213c9be371b35704f13c3d5e7ec75b00a8789</a>
Renamed theme, added new commands, added indexing routesdanb[email protected]danb created repository bookstack/query2026-01-20T16:26:16+01:0091934343: https://codeberg.org/bookstack/querydanb[email protected]mgray-online created pull request bookstack/website#2312026-01-16T23:40:52+01:0090735945: https://codeberg.org/bookstack/website/pulls/231<p dir="auto">I've added some brief documentation of the <code>APP_PROXIES</code> variable.</p>
<p dir="auto">It explains it's use case, and gives some examples in a few cases. Loosely based on <a href="https://github.com/BookStackApp/BookStack/blob/da7bedd2e4cfaa1bed4f2a4665a2ff89d2a1f86b/.env.example.complete#L53" rel="nofollow">.env.example.complete</a></p>
231#Document trusted proxies#mgray-online[email protected]danb pushed to main at bookstack/website2026-01-13T14:20:02+01:0089392307: https://codeberg.org/bookstack/website/commit/9f41765ac4d38c2523a57e70114be1420361b39c<a href="https://codeberg.org/bookstack/website/commit/9f41765ac4d38c2523a57e70114be1420361b39c" rel="nofollow">9f41765ac4d38c2523a57e70114be1420361b39c</a>
Added Onyx sponsor<a href="https://codeberg.org/bookstack/website/commit/9f41765ac4d38c2523a57e70114be1420361b39c">9f41765ac4d38c2523a57e70114be1420361b39c</a>
Added Onyx sponsordanb[email protected]danb commented on pull request bookstack/website#2302026-01-11T00:20:24+01:0088510175: https://codeberg.org/bookstack/website/pulls/230#issuecomment-9725456Highlight current page in user documentation
<p dir="auto">Thanks <a href="/gerundt" class="mention" rel="nofollow">@gerundt</a>!</p>
Highlight current page in user documentation
<p dir="auto">Thanks <a href="/gerundt" class="mention" rel="nofollow">@gerundt</a>!</p>
danb[email protected]gerundt merged pull request bookstack/website#2302026-01-11T00:17:49+01:0088508384: https://codeberg.org/bookstack/website/pulls/230Highlight current page in user documentationHighlight current page in user documentationgerundt[email protected]danb pushed to main at bookstack/website2026-01-11T00:17:48+01:0088508363: /bookstack/website/compare/ba4bf0243b93072c072fa8ebe848adafe31573a3...f39db1e364ec07611cb1ab2ee7858cb374095007<a href="https://codeberg.org/bookstack/website/commit/f39db1e364ec07611cb1ab2ee7858cb374095007" rel="nofollow">f39db1e364ec07611cb1ab2ee7858cb374095007</a>
Fixed some broken admin menu links
<a href="https://codeberg.org/bookstack/website/commit/928e0da400c8596556b814d4b369ae51a5a8365c" rel="nofollow">928e0da400c8596556b814d4b369ae51a5a8365c</a>
Moved & split config, Added menu list template, Handled admin docs
<a href="https://codeberg.org/bookstack/website/commit/e260e5dc8341776c511a207312bb080ebc754877" rel="nofollow">e260e5dc8341776c511a207312bb080ebc754877</a>
Highlight current page in user documentation<a href="https://codeberg.org/bookstack/website/commit/f39db1e364ec07611cb1ab2ee7858cb374095007">f39db1e364ec07611cb1ab2ee7858cb374095007</a>
Fixed some broken admin menu links
<a href="https://codeberg.org/bookstack/website/commit/928e0da400c8596556b814d4b369ae51a5a8365c">928e0da400c8596556b814d4b369ae51a5a8365c</a>
Moved & split config, Added menu list template, Handled admin docs
<a href="https://codeberg.org/bookstack/website/commit/e260e5dc8341776c511a207312bb080ebc754877">e260e5dc8341776c511a207312bb080ebc754877</a>
Highlight current page in user documentationdanb[email protected]gerundt created pull request bookstack/website#2302026-01-08T21:26:04+01:0087731408: https://codeberg.org/bookstack/website/pulls/230<p dir="auto">This patch highlights the current page in the menu from the user documentation.</p>
230#Highlight current page in user documentation#gerundt[email protected]px_drutschmann closed pull request bookstack/hacks#142026-01-06T11:40:46+01:0086845838: https://codeberg.org/bookstack/hacks/pulls/14#issuecomment-9580301File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)px_drutschmann[email protected]px_drutschmann commented on pull request bookstack/hacks#142026-01-06T11:40:46+01:0086845826: https://codeberg.org/bookstack/hacks/pulls/14#issuecomment-9580298File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)
<p dir="auto">Hey <a href="/danb" class="mention" rel="nofollow">@danb</a></p>
File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)
<p dir="auto">Hey <a href="/danb" class="mention" rel="nofollow">@danb</a></p>
px_drutschmann[email protected]danb commented on pull request bookstack/hacks#142026-01-05T21:29:01+01:0086690459: https://codeberg.org/bookstack/hacks/pulls/14#issuecomment-9569795File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)
<p dir="auto">Thanks for offering this <a href="/px_drutschmann" class="mention" rel="nofollow">@px_drutschmann</a>, but the surface area of the hack is a bit too large for what I'd want to maintain as part of the official hacks. As per the repo readme I keep a fairly narrow scope for new hacks.</p>
<p dir="auto">If you're able to host this elsewhere, we could maybe list in the readme and/or create a page on the hacks site for additional hacks created externally.</p>
File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)
<p dir="auto">Thanks for offering this <a href="/px_drutschmann" class="mention" rel="nofollow">@px_drutschmann</a>, but the surface area of the hack is a bit too large for what I'd want to maintain as part of the official hacks. As per the repo readme I keep a fairly narrow scope for new hacks.</p>
<p dir="auto">If you're able to host this elsewhere, we could maybe list in the readme and/or create a page on the hacks site for additional hacks created externally.</p>
danb[email protected]px_drutschmann created pull request bookstack/hacks#142026-01-05T16:15:56+01:0086595848: https://codeberg.org/bookstack/hacks/pulls/14<p dir="auto">The custom head loads the bundled JSZip, docx-preview, and SheetJS scripts inline, injects preview-specific styles, and runs a script that scans <code>.page-content</code> for links to <code>/attachments/{id}</code>. It looks up attachment names in <code>#page-attachments</code>, then replaces each inline link with a structured preview card (<code>.attachment-preview</code>) containing a header (file icon, filename link, extension badge, download action) and a body that renders the appropriate preview: PDF in a resizable <code><object></code>, DOCX via <code>docx.renderAsync</code>, XLSX via <code>XLSX.utils.sheet_to_html</code>, images/video/audio via native elements, or a fallback message if unsupported.</p>
<p dir="auto">This change adds a self-contained install flow that builds a theme-like <code>dist/</code> folder, copies required frontend assets into <code>dist/public</code>, and installs the custom head template into <code>dist/layouts/parts</code>. It also cleans up the temporary <code>node_modules</code> after copying and aligns the docs and metadata with the new output structure.</p>
14#File-Attachment-Preview (PDF / Image / Audio / Video / DOCX / XLSX)#px_drutschmann[email protected]danb pushed to main at bookstack/website2026-01-03T18:35:33+01:0085958321: https://codeberg.org/bookstack/website/commit/ba4bf0243b93072c072fa8ebe848adafe31573a3<a href="https://codeberg.org/bookstack/website/commit/ba4bf0243b93072c072fa8ebe848adafe31573a3" rel="nofollow">ba4bf0243b93072c072fa8ebe848adafe31573a3</a>
Removed broken links in install docs<a href="https://codeberg.org/bookstack/website/commit/ba4bf0243b93072c072fa8ebe848adafe31573a3">ba4bf0243b93072c072fa8ebe848adafe31573a3</a>
Removed broken links in install docsdanb[email protected]danb merged pull request bookstack/website#2292026-01-02T11:13:37+01:0085577237: https://codeberg.org/bookstack/website/pulls/2292025_post2025_postdanb[email protected]danb pushed to main at bookstack/website2026-01-02T11:13:36+01:0085577216: /bookstack/website/compare/864095ec45b881935c1f50a41848d5bc120d4c2f...2752226ec42b9bef4c4ba117a5b759672f341bed<a href="https://codeberg.org/bookstack/website/commit/2752226ec42b9bef4c4ba117a5b759672f341bed" rel="nofollow">2752226ec42b9bef4c4ba117a5b759672f341bed</a>
Merge branch '2025_post'
<a href="https://codeberg.org/bookstack/website/commit/5dcaa6b61980b861784fdbdfedb458a00f555299" rel="nofollow">5dcaa6b61980b861784fdbdfedb458a00f555299</a>
Added video
<a href="https://codeberg.org/bookstack/website/commit/814fcfcef7a3ff54580556b9e6b7b9392ec698c3" rel="nofollow">814fcfcef7a3ff54580556b9e6b7b9392ec698c3</a>
Reviewed 2025 post content
<a href="https://codeberg.org/bookstack/website/commit/4ea079bf318477b7683b26d4fadfdc14592162b5" rel="nofollow">4ea079bf318477b7683b26d4fadfdc14592162b5</a>
Finished up sections for 2025 post, needs review
<a href="https://codeberg.org/bookstack/website/commit/289ee0592e8949ab71018c731fbb70f9629bee5d" rel="nofollow">289ee0592e8949ab71018c731fbb70f9629bee5d</a>
2025 post: Added website analytics and feature sections<a href="https://codeberg.org/bookstack/website/commit/2752226ec42b9bef4c4ba117a5b759672f341bed">2752226ec42b9bef4c4ba117a5b759672f341bed</a>
Merge branch '2025_post'
<a href="https://codeberg.org/bookstack/website/commit/5dcaa6b61980b861784fdbdfedb458a00f555299">5dcaa6b61980b861784fdbdfedb458a00f555299</a>
Added video
<a href="https://codeberg.org/bookstack/website/commit/814fcfcef7a3ff54580556b9e6b7b9392ec698c3">814fcfcef7a3ff54580556b9e6b7b9392ec698c3</a>
Reviewed 2025 post content
<a href="https://codeberg.org/bookstack/website/commit/4ea079bf318477b7683b26d4fadfdc14592162b5">4ea079bf318477b7683b26d4fadfdc14592162b5</a>
Finished up sections for 2025 post, needs review
<a href="https://codeberg.org/bookstack/website/commit/289ee0592e8949ab71018c731fbb70f9629bee5d">289ee0592e8949ab71018c731fbb70f9629bee5d</a>
2025 post: Added website analytics and feature sectionsdanb[email protected]danb pushed to 2025_post at bookstack/website2026-01-02T11:13:12+01:0085577153: https://codeberg.org/bookstack/website/commit/5dcaa6b61980b861784fdbdfedb458a00f555299<a href="https://codeberg.org/bookstack/website/commit/5dcaa6b61980b861784fdbdfedb458a00f555299" rel="nofollow">5dcaa6b61980b861784fdbdfedb458a00f555299</a>
Added video<a href="https://codeberg.org/bookstack/website/commit/5dcaa6b61980b861784fdbdfedb458a00f555299">5dcaa6b61980b861784fdbdfedb458a00f555299</a>
Added videodanb[email protected]danb pushed to 2025_post at bookstack/website2026-01-01T00:58:12+01:0085265666: https://codeberg.org/bookstack/website/commit/814fcfcef7a3ff54580556b9e6b7b9392ec698c3<a href="https://codeberg.org/bookstack/website/commit/814fcfcef7a3ff54580556b9e6b7b9392ec698c3" rel="nofollow">814fcfcef7a3ff54580556b9e6b7b9392ec698c3</a>
Reviewed 2025 post content<a href="https://codeberg.org/bookstack/website/commit/814fcfcef7a3ff54580556b9e6b7b9392ec698c3">814fcfcef7a3ff54580556b9e6b7b9392ec698c3</a>
Reviewed 2025 post contentdanb[email protected]danb created pull request bookstack/website#2292025-12-31T18:17:04+01:0085194176: https://codeberg.org/bookstack/website/pulls/229229#2025_post#229#2025_post#danb[email protected]danb pushed to 2025_post at bookstack/website2025-12-31T18:16:28+01:0085194131: https://codeberg.org/bookstack/website/commit/4ea079bf318477b7683b26d4fadfdc14592162b5<a href="https://codeberg.org/bookstack/website/commit/4ea079bf318477b7683b26d4fadfdc14592162b5" rel="nofollow">4ea079bf318477b7683b26d4fadfdc14592162b5</a>
Finished up sections for 2025 post, needs review<a href="https://codeberg.org/bookstack/website/commit/4ea079bf318477b7683b26d4fadfdc14592162b5">4ea079bf318477b7683b26d4fadfdc14592162b5</a>
Finished up sections for 2025 post, needs reviewdanb[email protected]danb pushed to 2025_post at bookstack/website2025-12-30T23:18:49+01:0085029503: https://codeberg.org/bookstack/website/commit/289ee0592e8949ab71018c731fbb70f9629bee5d<a href="https://codeberg.org/bookstack/website/commit/289ee0592e8949ab71018c731fbb70f9629bee5d" rel="nofollow">289ee0592e8949ab71018c731fbb70f9629bee5d</a>
2025 post: Added website analytics and feature sections<a href="https://codeberg.org/bookstack/website/commit/289ee0592e8949ab71018c731fbb70f9629bee5d">289ee0592e8949ab71018c731fbb70f9629bee5d</a>
2025 post: Added website analytics and feature sectionsdanb[email protected]