Commit Graph

219 Commits

Author SHA1 Message Date
Kelv 279af22bcc
DEV: upgrade user-notes-modal to glimmer and new DModal API (#87)
* DEV: upgrade user-notes-modal to glimmer and new DModal API

* CSS cleanup

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2023-11-27 17:18:37 +08:00
Martin Brennan 3808cc1be5
Update plugin.rb metadata (#86)
Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-03 14:47:51 -07:00
Kelv 6b66a06174
FIX: restore button to add user notes to post admin menu (#85)
* FIX: use api.addPostAdminMenuButton for modifying post admin menu instead of widget

We use app events here to force refresh of specific post, as previously the behaviour of the widget would trigger the re-render at the same time as the primary actions. This could also be handled in the modal instead of via the action passed by the button.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2023-10-26 18:07:30 +08:00
dependabot[bot] 134fcba29b
Bump @babel/traverse from 7.20.10 to 7.23.2 (#84)
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:25:22 +02:00
Penar Musaraj 317e97e664
DEV: Pin plugin for Discourse 3.1 stable (#83) 2023-08-22 13:51:04 -05:00
Keegan George 20f8f68d12
FIX: Note info not appearing (#82) 2023-08-15 11:05:53 -07:00
dependabot[bot] 1a719c0bd8
Bump word-wrap from 1.2.3 to 1.2.4 (#81)
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:01:28 +02:00
dependabot[bot] e0f90540f8
Bump semver from 6.3.0 to 6.3.1 (#80)
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:37:14 +02:00
Isaac Janzen 57591ee5a8
DEV: Update eslint config (#79) 2023-05-26 16:17:39 -05:00
Jarek Radosz 5700be093b
FIX: Incorrect `PLUGIN_NAME` (#78)
This resulted in `Required plugin 'discourse_user_notes' not found` warnings in logs
2023-05-12 12:54:06 +02:00
David Taylor 25c412d1e2
DEV: Respect plugin enabled state when serializing (#77) 2023-04-24 15:08:02 +01:00
Bianca Nenciu 3af2747ed1
DEV: Update plugin to match latest guidelines (#76)
- Use different files instead of plugin.rb
- Make sure plugin is disabled according to the setting
2023-02-23 15:20:10 +02:00
Discourse Translator Bot cf428c4bbc
Update translations (#75) 2023-01-24 16:32:17 +01:00
Discourse Translator Bot 45a47b6ae5
Update translations (#73) 2023-01-10 20:57:29 +01:00
discoursebot acda1dd797
DEV: Update CI workflows (#74)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:09:47 +00:00
David Taylor 494a7a80e5
DEV: Update eslint-config-discourse, use prettier for hbs (#72) 2023-01-04 13:40:39 +01:00
dependabot[bot] 865d70323e
Bump json5 from 2.2.1 to 2.2.2 (#71)
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:26:29 -05:00
David Taylor 2a524624df
DEV: Introduce syntax_tree for ruby formatting (#70) 2022-12-29 13:35:49 +01:00
Discourse Translator Bot e9ad98f65f
Update translations (#69) 2022-11-29 15:40:12 +01:00
David Taylor 88b0be9cb3
Fix .discourse-compatiblity pin (#68)
We need the pin to apply to all `2.8.x` versions. Easiest to pin to a more recent beta.
2022-11-29 10:58:57 +00:00
Selase Krakani 353a00701f
FIX: Use period filters passed into plugin for admin reports (#67)
This replaces previously undefined period filters passed into
`AdminReport` component with args passed in from core
2022-11-25 00:50:22 +00:00
Selase Krakani a9d6614526
DEV: Adopt modern ember primitives (#66)
Modernise components and controllers
2022-11-22 12:30:03 +00:00
discoursebot 7137499c69
DEV: Update CI workflows (#65)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:16:59 -06:00
Jan Cernik db8479fbce
DEV: Replace bootbox confirm dialog (#64) 2022-10-27 16:21:54 -03:00
David Taylor fafc8647ab
DEV: Bump rubocop-discourse (#63)
* DEV: Bump rubocop-discourse

* Fix rubocop violations
2022-10-03 22:22:03 +02:00
chapoi ce0c433d53
UX: add btn-default class (#62) 2022-07-15 16:44:26 +02:00
Jarek Radosz d4fe487e8d
DEV: Loading sanitizer was deprecated 6 years ago (#61)
in 3d21805022
2022-07-13 01:30:10 +02:00
Discourse Translator Bot d423b40bad
Update translations (#60) 2022-06-21 15:46:43 +02:00
discoursebot e7ced7d3d3
DEV: Update CI workflows (#59)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 22:23:09 +02:00
Jarek Radosz a7dcbf0765
DEV: Update linting setup and fix issues (#58) 2022-06-17 15:25:17 +02:00
Isaac Janzen 3f06516cf6
DEV: Remove use of run-loop-and-computed-dot-access (#57)
Context: https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access
2022-06-17 15:01:51 +02:00
discoursebot 12b361f7b1
DEV: Update CI workflows (#56)
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-24 19:15:19 +02:00
dependabot[bot] cd940e5533
Bump ansi-regex from 4.1.0 to 4.1.1 (#55)
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-29 18:19:08 +02:00
dependabot[bot] c32993de61
Bump async from 2.6.3 to 2.6.4 (#54)
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:04:01 +02:00
Roman Rizzi 549f46d62c
FIX: Make sure the user is an EmberObject. (#53)
User is a plain JSON object due to discourse-chat fetching a flagged message's user differently than other reviewables. While we work on making things consistent, let's make sure the user is always an EmberObject before calling get
on it.
2022-04-26 10:29:35 -03:00
dependabot[bot] f93339bd6d
Bump minimist from 1.2.5 to 1.2.6 (#52)
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-03-25 11:13:17 +01:00
Jarek Radosz 552c25a840
DEV: Fix imports (#51) 2022-03-07 00:32:37 +01:00
Jarek Radosz 7f05e6877d
DEV: Lose the es6 suffix (#50) 2022-03-07 00:20:28 +01:00
dependabot[bot] e76e01cede
Bump ajv from 6.12.2 to 6.12.6 (#49) 2022-02-12 16:04:02 +01:00
Discourse Translator Bot 97c6ef9250
Update translations (#48) 2022-01-18 14:43:24 +01:00
Discourse Translator Bot 4f9489ed25
Update translations (#47) 2022-01-11 14:23:36 +01:00
discoursebot 61c8a28e25
DEV: Update CI workflows (#46)
Co-authored-by: discoursebuild <build@discourse.org>
2021-12-16 22:51:55 +00:00
Jarek Radosz 549f76495d
DEV: Fix `store:main` deprecation (#45)
* DEV: Fix `store:main` deprecation

* more
2021-11-20 02:55:40 +01:00
Martin Brennan 8abc3ed1fb
DEV: Update code for eslint object-shorthand-rule (#44)
See 4f7aba06c0
2021-11-10 12:00:25 +11:00
Penar Musaraj 6713e8c541
UX: Fix alignment of user profile buttons (#43) 2021-09-27 18:03:39 -04:00
discoursebot 0ceefd4276
DEV: Update CI workflows (#42)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 20:04:04 +02:00
janzenisaac 1c72862328
Fix Plugin Depreciations (#41)
Co-authored-by: Isaac Janzen <isaac@brandnewbox.com>
2021-09-12 19:50:25 +02:00
dependabot[bot] 21902fd9fa
Bump path-parse from 1.0.6 to 1.0.7 (#40)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 10:49:59 -04:00
Jordan Vidrine 737f3fdb0c
Add border to top of add-user-note button (#39) 2021-08-03 09:43:48 -05:00
Discourse Translator Bot 36f8929634
Update translations (#38) 2021-07-27 15:20:18 +02:00