Commit Graph
157 Commits
Author SHA1 Message Date
Jarek Radosz 3edd211e9f DEV: Update linting and add types (#135) 2026-01-29 14:37:00 +00:00
Discourse Translator Bot e86db5ad54 I18N: Update translations (#134) 2026-01-19 09:29:08 +01:00
dereklputnam 61d09421a6 Add support for headings inside wrap blocks (#133)
Modified processPostContent to find headings in two locations:
1. Direct descendants of body (existing behavior)
2. Inside .wrap blocks (new - for email filtering via [wrap=no-email])

This allows table of contents to include headings that are wrapped for
email filtering purposes, which is a common use case in Discourse.

The headings are combined and sorted by document order to maintain proper
structure in the TOC.
2026-01-13 01:22:48 +01:00
Natalie Tay bcc549f1dd FIX: Compatibility with new topic.tag return value (#132)
As part of https://github.com/discourse/discourse/pull/36678, topic.tags now returns an array of tag objects ({ id, name, slug }) instead of an array of tag name strings. 

The core change will break the auto_TOC_tags feature which was comparing the configured tag names against topic.tags using includes(), which no longer worked since it was comparing strings to objects.

This fix normalizes topic.tags to an array of tag names before comparison, maintaining backwards compatibility with both the old string format and the new object format.
2026-01-12 11:15:14 +08:00
Discourse Translator Bot 70d45df25e Update translations (#131) 2025-11-11 16:13:59 +01:00
Kris 5a15b94564 DEV: replaced deprecated compact() (#130) 2025-11-04 13:47:28 -05:00
Discourse Translator Bot f7d17bb86d Update translations (#129) 2025-10-15 12:06:04 +02:00
dependabot[bot] 29412f638e Bump rack from 3.2.2 to 3.2.3 (#128)
Bumps [rack](https://github.com/rack/rack) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 00:02:05 +02:00
Jarek Radosz c432934a2b DEV: Update linting (#127) 2025-10-09 13:56:19 +01:00
David Taylor ab49872669 DEV: Update mobile specs to use metadata instead of query param (#125)
Makes specs compatible with https://github.com/discourse/discourse/pull/35036
2025-09-29 16:43:57 +01:00
chapoi 54dbac6a93 UX: add missing disco toc btn (#124) 2025-09-23 20:58:20 -06:00
Alan Guo Xiang Tan 9b4f130c09 DEV: Pin version for Discourse < 3.6.0.beta1-dev (#123) 2025-08-26 17:01:23 +08:00
Renato Atilio f9563cc296 DEV: adjust tests to use d-menu toolbar options menu (#121) 2025-07-03 09:57:33 +10:00
dependabot[bot] bedeb7bd50 bump rack from 3.1.15 to 3.1.16 (#120)
---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-24 02:05:07 +02:00
Jarek Radosz 13d02bf9d3 DEV: [gjs-codemod] Convert all templates to gjs (#119) 2025-05-29 20:05:58 +01:00
Joffrey JAFFEUX 8bd98f0288 DEV: uses correct selector (#117)
This is working with selenium, but this won't be working with playwright which is less permissive on selectors.
2025-04-25 11:31:09 +02:00
Loïc Guitaut a2dbdcb442 DEV: Add system spec to check core features are working fine (#116) 2025-04-09 15:01:33 +02:00
Jarek Radosz d65428689b DEV: Update linting (#115) 2025-03-17 11:42:17 +00:00
Jarek Radosz ee9cbef46f DEV: Update license (#111) 2025-02-24 11:26:00 +08:00
Jarek Radosz 6a29ef570e DEV: Update linting (#110) 2025-02-19 18:06:48 +01:00
dependabot[bot] 727bd982d5 Bump rack from 3.1.8 to 3.1.10 (#109)
Bumps [rack](https://github.com/rack/rack) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.8...v3.1.10)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 22:09:32 +01:00
David Taylor 7992a24596 DEV: Bump dependencies and fix linting (#108) 2025-02-06 18:00:07 +01:00
David Taylor 5a20266f52 DEV: Pin version for Discourse <3.5.0.beta1-dev (#107) 2025-02-05 19:29:48 +01:00
Kelv 05d454d1db DEV: Update more deprecated Font Awesome icon names (#104)
* DEV: Update more deprecated Font Awesome icon names

* update bars-staggered
2024-12-08 22:12:39 +01:00
David Taylor f1d183eaac DEV: Update linting (#103) 2024-11-28 15:10:47 +01:00
David Taylor 6fce990e0d DEV: Update linting (#102) 2024-11-20 18:36:46 +01:00
dependabot[bot] cb57acc1ef Bump cross-spawn from 7.0.3 to 7.0.6 (#101)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:59:49 +00:00
David Taylor 14a10605dc DEV: Update eslint config (#100) 2024-11-19 11:33:33 +01:00
Kelv 062d4c2d12 DEV: Update linting setup (#99) 2024-10-17 11:05:26 +02:00
Kelv c1201e0d1f add ruby files to enable linting (#97) 2024-10-16 13:45:09 +08:00