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
Jarek Radosz
c802e0d5e1
DEV: Lose the es6 suffix ( #46 )
2022-03-05 17:21:55 +01:00
qnxor
7051bbbb2d
update katex to latest version
2022-02-25 09:10:37 +11:00
Gavin
2084d1a647
DEV: Update README.md ( #44 )
2022-02-21 21:01:17 +01:00
discoursebot
2deef48ab1
DEV: Update CI workflows ( #43 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-01-25 11:47:58 +00:00
Discourse Translator Bot
c92fc60658
Update translations ( #42 )
2022-01-18 14:42:29 +01:00
Discourse Translator Bot
33662c4b1d
Update translations ( #41 )
2021-12-28 14:14:18 +01:00
discoursebot
3de98fc75b
DEV: Update CI workflows ( #40 )
...
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:19:19 +00:00
Martin Brennan
cacbd04bb2
DEV: Update code for eslint object-shorthand-rule ( #39 )
...
See 4f7aba06c0
2021-11-10 12:02:26 +11:00