Commit Graph

145 Commits

Author SHA1 Message Date
David Taylor 08380a5379
DEV: Update linting (#96) 2024-11-20 18:55:52 +01:00
David Taylor 91fd566af3
DEV: Update linting (#95) 2024-11-20 15:48:43 +01:00
dependabot[bot] 047a34707e
Bump cross-spawn from 7.0.3 to 7.0.6 (#94)
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:48:16 +00:00
David Taylor b65826341b
DEV: Update eslint config (#93) 2024-11-19 11:23:44 +01:00
dependabot[bot] 37145f18ee
Bump rexml from 3.3.6 to 3.3.9 (#92)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 20:38:20 +01:00
Kelv 700effc2aa
DEV: Switch to use pnpm (#91) 2024-10-14 13:41:54 +02:00
dependabot[bot] 6a8005d215
Bump micromatch from 4.0.5 to 4.0.8 (#90)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:41:25 +02:00
dependabot[bot] 26420c02c9
Bump rexml from 3.3.3 to 3.3.6 (#89)
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.3 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.3...v3.3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:28:59 +02:00
Joffrey JAFFEUX 686736d3c2
FIX: adds katex support for chat (#88)
Also drops jquery support and uses `decorateCookedElement` instead of `decorateCooked` for posts.
2024-08-12 09:31:09 +02:00
dependabot[bot] 35e80a0007
Bump rexml from 3.2.8 to 3.3.3 (#87)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.3.3.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.8...v3.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 13:47:14 +02:00
Natalie Tay b28d4cf9d6
DEV: Pin plugin for Discourse < 3.4.0.beta1-dev (#86) 2024-08-02 17:08:36 +08:00
dependabot[bot] 19ab34b62a
Bump braces from 3.0.2 to 3.0.3 (#85)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:30:27 +02:00
Sam 718c0ce770
FEATURE: add support for multilingual mathjax (#84)
Chinese / Korean / Japanese / Thai and Arabic use different punctuations.
2024-06-11 18:02:45 +10:00
Discourse Translator Bot d6ec11d1bc
Update translations (#83) 2024-05-31 12:29:03 +02:00
Loïc Guitaut 79b158538b
DEV: Update rubocop-discourse to version 3.8.0 (#82) 2024-05-28 11:32:51 +02:00
dependabot[bot] 8dafc820c6
Bump rexml from 3.2.6 to 3.2.8 (#81)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 00:02:15 +02:00
Loïc Guitaut 720ecdc8b4 DEV: Update rubocop-discourse to latest version 2024-03-05 14:25:58 +01:00
Selase Krakani 8bc3884ecf
DEV: Pin plugin for Discourse < 3.3.0.beta1-dev (#79) 2024-02-29 13:53:45 -07:00
Jarek Radosz 2984713f68
UX: Hide mathjax loading toast (#78) 2024-02-05 14:13:54 +01:00
Jarek Radosz 956fd3ee18
DEV: Update linting (#77) 2024-01-16 17:57:10 +01:00
Martin Brennan 321a8c41f9
DEV: Metadata update for plugin.rb (#76)
* Update plugin.rb metadata

* Update plugin.rb

---------

Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-07 17:27:19 -08:00
dependabot[bot] a3c5da6169
Bump @babel/traverse from 7.20.10 to 7.23.2 (#75)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 18:22:44 +02:00
Penar Musaraj 66d522cd8e
DEV: Pin plugin for Discourse 3.1 stable (#74) 2023-08-22 13:46:01 -05:00
Joffrey JAFFEUX 529ad1fe6d
FIX: correctly enables features of discourse-math (#73)
Prior to this fix discourse-math would not correctly be cooked in chat messages.
2023-08-14 23:24:13 +02:00
dependabot[bot] 0d8f41759f
Bump word-wrap from 1.2.3 to 1.2.4 (#72)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 01:31:13 +02:00
dependabot[bot] 22b3f44cbb
Bump semver from 6.3.0 to 6.3.1 (#71)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:38:16 +02:00
Isaac Janzen 60ab246bae
DEV: Update eslint config (#70) 2023-05-26 14:27:08 -05:00
Joffrey JAFFEUX 69494ca5a4
FIX: prevents inline span to be forced into blocks (#69)
Prior to this fix the "block" style would be used on any node (block or inline).
2023-01-27 17:05:55 +01:00
Joffrey JAFFEUX c0179a56f8
FIX: ensures chat is present/enabled (#68)
Without this when chat is disabled the API is not supercharged with these methods and it will cause an exception:

```
Uncaught (in promise) TypeError: t.decorateChatMessage is not a function
    initialize discourse-math-mathjax.js:102
    initialize discourse-math-mathjax.js:119
    withPluginApi discourse-f7231bd5d10aa613b323a0cac71d8003baa74ef74f674fe4f91e4857994e661b.br.js:4735
    initialize discourse-math-mathjax.js:118
    initialize discourse-f7231bd5d10aa613b323a0cac71d8003baa74ef74f674fe4f91e4857994e661b.br.js:67
    runInstanceInitializers Ember
    each dag-map.js:192
    walk dag-map.js:121
    each dag-map.js:66
    topsort dag-map.js:72
    Ember 4
    invoke queue.ts:201
    flush queue.ts:98
    flush deferred-action-queues.ts:75
    _end index.ts:616
    _boundAutorunEnd index.ts:257
discourse-math-mathjax.js:102
```
2023-01-18 14:39:57 +01:00
Joffrey JAFFEUX 6f59c46912
DEV: adds chat support (#67)
This commit is also removing jquery code and simplifying code.

Note that discourse-math is currently causing jumpy-ness in topics or in chat as the resulting processed mathjax element has a different size than the initial text node.
2023-01-18 12:35:27 +01:00
Discourse Translator Bot f9cf94d24d
Update translations (#65) 2023-01-10 20:55:49 +01:00
discoursebot 12f941cb48
DEV: Update CI workflows (#66)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 18:22:37 +00:00
David Taylor 217972624f
DEV: Update eslint-config-discourse, use prettier for hbs (#64) 2023-01-04 13:37:51 +01:00
dependabot[bot] 4aff532991
Bump json5 from 2.2.1 to 2.2.2 (#63)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 12:24:02 -05:00
David Taylor 6cbcd00df3
DEV: Introduce syntax_tree for ruby formatting (#62) 2022-12-29 13:33:02 +01:00
Discourse Translator Bot 45563f691a
Update translations (#61) 2022-11-29 15:38:18 +01:00
qnxor abe2daf0f3
katex: copy-paste support for Latex code, upgraded to katex 0.16.0 (#54) 2022-11-16 14:39:48 -05:00
discoursebot b5d2a8a3ea
DEV: Update CI workflows (#60)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 12:41:31 -06:00
David Taylor 594e746904
DEV: Bump rubocop-discourse (#59)
* DEV: Bump rubocop-discourse

* Fix rubocop violations
2022-10-03 22:20:37 +02:00
Discourse Translator Bot bcaccbd845
Update translations (#58) 2022-06-21 15:28:16 +02:00
discoursebot c4331d4fc6
DEV: Update CI workflows (#57)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 21:35:51 +02:00
Jarek Radosz f901feb023
DEV: Update linting setup and fix issues (#56) 2022-06-17 13:45:36 +02:00
Isaac Janzen bf07db4916
DEV: Remove use of run-loop-and-computed-dot-access (#55)
Context: https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access
2022-06-17 13:31:08 +02:00
qnxor dbd7c1c84b
FEATURE: support equation labelling and referencing in KaTeX (more mathjax compatibility) (#53) 2022-06-15 10:25:24 -04:00
qnxor 4b4ad9d532
FEAT: enable persistent macros in Katex, update Katex to 0.15.6 (#51) 2022-06-07 11:19:59 -04:00
discoursebot 836d084818
DEV: Update CI workflows (#52)
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-23 17:01:20 +02:00
dependabot[bot] c38e76618b
Bump async from 2.6.3 to 2.6.4 (#50)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:03:34 +02:00
dependabot[bot] b875a21b4d
Bump ansi-regex from 4.1.0 to 4.1.1 (#49)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 17:59:09 +02:00
dependabot[bot] deef2f1108
Bump minimist from 1.2.5 to 1.2.6 (#48)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 17:55:23 +02:00
discoursebot 447c4811ea
DEV: Update CI workflows (#47)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:04:30 +01:00