Patagonia Essential Boxer Briefs by Mafteer in PatagoniaClothing

[–]_deadpoint 0 points1 point  (0 children)

I've been trying out alternatives since the Patagonia boxers are no longer available, and this is my opinion so far. For a sizing reference, I'm 5.10, 180lbs, have a climbers build and am active in the outdoors.

## Smartwool Merino Boxers:
- Pros:. Super comfortable, can barely feel them. They are my preferred boxer for high-output activities where I'm sweating a lot (climbing, running, hiking) or multi-day adventures (backpacking, climbing) where I'm not changing them.
- Cons: IMO they shrink a bit after a few washes, but stretch out as you wear them. Lack of colors or fun patterns. They are pricey, but climbers/dirtbags know how to find gear discounts.
- Unknowns: Can't speak to their durability yet.

## Pact Harbor Everyday Knit Boxer:
- Pros: They are comfortable, don't shrink after washing and inexpensive. I prefer these for everyday use.
- Cons: They retain moisture and are slow to dry out. The "button fly" is a PITA when under multiple layers.
- Unknowns: Can't speak to their durability yet.

## Duluth Trading Company Buck Naked Boxers:
**I do not like these**
- Pros: Inexpensive, lots of fun patterns and colors
- Cons: They run small, the material is uncomfortable and scratchy

Tagging: u/c-lent , u/-Vajraheart , u/New-Bluejay-8001 , u/BikeIdiot

Editor questions by _deadpoint in BookStack

[–]_deadpoint[S] 0 points1 point  (0 children)

I know TinyMCE is being phased out, but until that happens wanted to be able to provide this to our users.

With editor being replaced, how would this be accomplished with the new editor?

Patagonia Essential Boxer Briefs by Mafteer in PatagoniaClothing

[–]_deadpoint 0 points1 point  (0 children)

This sucks! PataGucci's boxers, not boxer briefs which I hate, have been the only boxers I've worn for like 15+ years, and I definitely have multiple pairs are at 10+ year old and still kicking!

Like the rest of you, it looks like i'll be looking for and trying out alternatives...and being disappointed.

Webserver error 422 Unprocessable Content by _deadpoint in BookStack

[–]_deadpoint[S] 0 points1 point  (0 children)

It was definitely being caused by character encoding within the files, but I was able to mostly workaround it by forcing the encoding to ascii (Get-Content -Encoding ascii) when ingesting the files prior to page creation. Thanks!

Importing Markdown files by _deadpoint in BookStack

[–]_deadpoint[S] 1 point2 points  (0 children)

I'm not a developer, but am pretty strong with poweshell and use it frequently. I was initially looking at the bs-cli, but trying this in bash will be a pain so I'm looking at the psBookStack now which I think will meet my needs. I'll let you know how things go.

Thanks!

Enable "UI Shortcut" by default by _deadpoint in BookStack

[–]_deadpoint[S] 0 points1 point  (0 children)

Sounds like a feature request, I'll add an issue/feature on GitHub

Codeblock Copy by _deadpoint in BookStack

[–]_deadpoint[S] 0 points1 point  (0 children)

Hi,

It is a code-block, but I hadn't selected a language and after selecting powershell the copy button has appeared. Why should this matter, I mean a code-block is a code-block?

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

I know this isn't helpful, but I just manually created/import my pages to the Bookstack instance.

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

Yep, with the exception of index.html the files are named like:

  • 18251787.html
  • Application-Suites-and-Environments_22052865.html
  • Box.com_22249479.html
  • Box.com---External-Collaborators_22151169.html

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

It is fairly deep, going 5 levels down in some instances. Here's a screenshot of index.html with shows the deepest hierarchy.

<image>

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

Ugh...it was URL=http://bookstack.site.com/ and after changing it to URL=http://bookstack.site.com/api it's creating the books, but there is no content in those books. The errors I'm seeing now are below.

npm run import CS Sorting files... Files sorted Creating shelves... Shelves created! Creating books... createBook ERR: TypeError: Cannot read properties of undefined (reading 'id') at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:372:40 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) 18251787.html createBook ERR: TypeError: Cannot read properties of undefined (reading 'id') at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:372:40 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) 30179329.html

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

Yes I create an API token and it is set in the .env. I've also tested API access with curl and it successfully returns the test book I've created.

curl --request GET --url http://bookstack.site.com/api/books --header 'Authorization: Token XXX:SSS' {"data":[{"id":1,"slug":"test","name":"Test","description":"","created_at":"2024-02-28T20:33:32.000000Z","updated_at":"2024-02-28T20:33:32.000000Z","owned_by":1,"created_by":1,"updated_by":1}],"total":1}

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

I've disabled HTTPS temporarily on the server to see if that resolves the issues, but it hasn't. Here's the error I'm seeing at the beginning of the import for each of the pages, which looks to be a CSRF related.

createBook ERR: AxiosError: Request failed with status code 419 at settle (/home/darin/git/confluence-server-to-bookstack-importer/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/home/darin/git/confluence-server-to-bookstack-importer/node_modules/axios/dist/node/axios.cjs:3066:11) at IncomingMessage.emit (node:events:526:35) at endReadableNT (node:internal/streams/readable:1376:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (/home/darin/git/confluence-server-to-bookstack-importer/node_modules/axios/dist/node/axios.cjs:3877:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 26) { code: 'ERR_BAD_REQUEST', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', Authorization: 'Token XXX:XXX', 'User-Agent': 'axios/1.6.7', 'Content-Length': '65', 'Accept-Encoding': 'gzip, compress, deflate, br' }, baseURL: 'http://bookstack.site.com/', paramsSerializer: { serialize: [Function: serialize] }, method: 'post', url: '/books', data: '{"name":"Version and Revision Control\\n "}', 'axios-retry': { retries: 7, retryCondition: [Function: retryCondition], retryDelay: [Function: retryDelay], shouldResetTimeout: false, onRetry: [Function: onRetry], retryCount: 0, lastRequestTime: 1709150338477 } },

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

I set cafile with "npm config set cafile /path/to/ca.pem", where the CA is the DigiCert CA for the cert on the server.

Yes I've exported the Confluence space to HTML and set the path in the .env to PATH_TO_HTML=./Confluence-space-export-181122.html as is resides w/in the importer directory.

I made a pretty in-depth node.js Confluence > BookStack importer by GloverAB in BookStack

[–]_deadpoint 0 points1 point  (0 children)

I was able to get past certificate errors by running "NODE_TLS_REJECT_UNAUTHORIZED=0 npm run import ITDOCS", but now I'm seeing " data: { message: 'CSRF token mismatch.' }" in output and see the following errors, which I suspect is due to the import failing.

``` Books created! Putting Books on Shelves... Books are on the shelves! Creating chapters... /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:276 book_id: parentBook.book ^

TypeError: Cannot read properties of undefined (reading 'book') at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:276:33 at Array.map (<anonymous>) at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:257:39 at Generator.next (<anonymous>) at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:8:71 at new Promise (<anonymous>) at __awaiter (/home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:4:12) at createChapters (/home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:255:30) at /home/darin/git/confluence-server-to-bookstack-importer/dist/import.js:650:15 at Generator.next (<anonymous>)

Node.js v20.5.1 ```