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 and discoursebuild
12f941cb48
DEV: Update CI workflows ( #66 )
...
Co-authored-by: discoursebuild <[email protected] >
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] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
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 and discoursebuild
b5d2a8a3ea
DEV: Update CI workflows ( #60 )
...
Co-authored-by: discoursebuild <[email protected] >
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 and discoursebuild
c4331d4fc6
DEV: Update CI workflows ( #57 )
...
Co-authored-by: discoursebuild <[email protected] >
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 and discoursebuild
836d084818
DEV: Update CI workflows ( #52 )
...
Co-authored-by: discoursebuild <[email protected] >
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] <[email protected] >
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] <[email protected] >
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] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 17:55:23 +02:00
discoursebot and discoursebuild
447c4811ea
DEV: Update CI workflows ( #47 )
...
Co-authored-by: discoursebuild <[email protected] >
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 and discoursebuild
2deef48ab1
DEV: Update CI workflows ( #43 )
...
Co-authored-by: discoursebuild <[email protected] >
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 and davidtaylorhq
3de98fc75b
DEV: Update CI workflows ( #40 )
...
Co-authored-by: davidtaylorhq <[email protected] >
2021-12-16 16:19:19 +00:00
Martin Brennan
cacbd04bb2
DEV: Update code for eslint object-shorthand-rule ( #39 )
...
See https://github.com/discourse/eslint-config-discourse/commit/4f7aba06c03fdd22bb26669aeb8ed4af3127c409
2021-11-10 12:02:26 +11:00