Commit Graph

190 Commits

Author SHA1 Message Date
Discourse Translator Bot 023ef367fd
Update translations (#103) 2024-05-31 12:28:50 +02:00
Loïc Guitaut 12b243271f
DEV: Update rubocop-discourse to version 3.8.0 (#102) 2024-05-28 11:33:24 +02:00
dependabot[bot] 51976c7cb9
Bump rexml from 3.2.6 to 3.2.8 (#101)
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:01:43 +02:00
Natalie Tay f11229a511
FIX: Appropriately assign values when fetching user details (#100)
FIX: Appropriately assign values when fetching user details
2024-03-21 17:41:02 +08:00
Loïc Guitaut 5cd7a79baf DEV: Fix new Rubocop offenses 2024-03-06 14:01:26 +01:00
Selase Krakani cd51d8b811
DEV: Pin plugin for Discourse < 3.3.0.beta1-dev (#98) 2024-02-29 13:54:26 -07:00
Natalie Tay 895db120e3
FEATURE: Allow specifiying required paths when retrieving userinfo (#96)
When retrieving userinfo with oauth2_fetch_user_details=true, we sometimes want to disallow account creation if an attribute is not fulfilled.

This commit adds a new register oauth2_basic_required_json_path which will kick in when retrieving userinfo.
2024-01-31 20:19:18 +08:00
Leonardo Mosquera d1161b99a7
FIX: do not attempt to fetch user JSON if URL is not set (#94)
It is a configuration error to set oauth2_fetch_user_details to true but leave oauth2_user_json_url empty.

Before, this resulted in an unhandled exception in core. Now it is checked here.
2024-01-24 18:50:52 -03:00
Leonardo Mosquera 8277a3666d
Add support for PUT verb for auth token URL (#95) 2024-01-24 18:10:39 -03:00
Jarek Radosz 05cefd5ecd
DEV: Update linting (#93) 2024-01-16 18:00:23 +01:00
Alan Guo Xiang Tan 576ccb6304
DEV: Improve logging and fix some formatting errors (#92) 2024-01-09 11:22:17 +08:00
Leonardo Mosquera 92e3b2e4b2
DEV: Better verbose logging (#85) 2024-01-09 10:55:09 +08:00
Martin Brennan f7608a6d5b
Update plugin.rb metadata (#89)
Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-08 11:19:20 -08:00
Ted Johansson 829fc31037
DEV: Replace deprecated queue_jobs site setting in tests (#88)
The #queue_jobs= method on site settings has been deprecated and replaced by Jobs.run_later! and Jobs.run_immediately!. This PR replaces usages in this plugin so we can remove the fallback in core.
2023-10-27 10:47:12 +08:00
dependabot[bot] 2cf2e195db
Bump @babel/traverse from 7.20.10 to 7.23.2 (#87)
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:23:04 +02:00
Penar Musaraj 2fb2855ffb
DEV: Pin plugin for Discourse 3.1 stable (#86) 2023-08-22 13:45:34 -05:00
dependabot[bot] 2ec8f90bb3
Bump word-wrap from 1.2.3 to 1.2.4 (#83)
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:58:36 +02:00
dependabot[bot] 680bf819f7
Bump semver from 6.3.0 to 6.3.1 (#82)
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:46:41 +02:00
Isaac Janzen 48c4cad00a
DEV: Update eslint config (#81) 2023-05-26 14:28:20 -05:00
Discourse Translator Bot 1448f05319
Update translations (#80) 2023-01-24 16:31:11 +01:00
Discourse Translator Bot 1281bf0e49
Update translations (#78) 2023-01-10 20:55:34 +01:00
discoursebot 58dee35778
DEV: Update CI workflows (#79)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 18:23:00 +00:00
David Taylor 660d30904b
DEV: Update eslint-config-discourse, use prettier for hbs (#77) 2023-01-04 13:38:12 +01:00
dependabot[bot] 1758ac0633
Bump json5 from 2.2.1 to 2.2.2 (#76)
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:15 -05:00
David Taylor ccf9d5d32c
DEV: Introduce syntax_tree for ruby formatting (#75) 2022-12-29 13:33:21 +01:00
Discourse Translator Bot 4a5259d81e
Update translations (#74) 2022-11-29 15:38:03 +01:00
discoursebot 9f315b0bb9
DEV: Update CI workflows (#73)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 12:41:41 -06:00
David Taylor 16ddafad9a
SECURITY: Improve SSRF protections (#72)
See https://github.com/discourse/discourse/security/advisories/GHSA-rcc5-28r3-23rr
2022-11-01 17:38:00 +00:00
David Taylor 2efe6578ce
DEV: Bump rubocop-discourse (#71)
* DEV: Bump rubocop-discourse

* Fix rubocop violations
2022-10-03 22:20:41 +02:00
Discourse Translator Bot c95e92554c
Update translations (#70) 2022-06-21 15:28:02 +02:00
discoursebot 2e44c808cf
DEV: Update CI workflows (#69)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 21:36:09 +02:00
discoursebot 13274dfe36
DEV: Update CI workflows (#68)
* DEV: Update CI workflows
* DEV: Update CI setup

Co-authored-by: discoursebuild <build@discourse.org>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2022-06-11 13:49:30 +02:00
dependabot[bot] 06ba5daa9a
Bump async from 2.6.3 to 2.6.4 (#67)
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:05:16 +02:00
Discourse Translator Bot 38fa7971b3
Update translations (#66) 2022-04-12 19:09:00 +02:00
Jarek Radosz 38f527fafa
DEV: General cleanup (#65) 2022-04-06 12:19:44 +02:00
discoursebot 84d4331403
DEV: Update CI workflows (#64)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:04:49 +01:00
Loïc Guitaut 3bbee8933a DEV: Remove unnecessary require
As we’re upgrading Discourse to Rails 7+, we’re also renaming and moving
some files to better follow Rails conventions on that matter.

The current `require_dependency` call prevents us to do that and is not
necessary as the file referenced here is part of the autoload path.
2022-03-02 14:25:14 +01:00
Discourse Translator Bot 4073efac82
Update translations (#62) 2022-02-15 15:10:18 +01:00
discoursebot 6502a3a50f
DEV: Update CI workflows (#61)
Co-authored-by: discoursebuild <build@discourse.org>
2022-01-25 11:48:14 +00:00
Discourse Translator Bot 2e1e620c79
Update translations (#60) 2022-01-18 14:42:25 +01:00
Discourse Translator Bot c1e380eb31
Update translations (#59) 2022-01-04 17:39:48 +01:00
Discourse Translator Bot ecef39d57e
Update translations (#58) 2021-12-28 14:14:10 +01:00
David Taylor d615a7504d
DEV: Make overrides_email an integration spec (#56)
We're moving the location of the email-overriding logic in https://github.com/discourse/discourse/pull/15378, which makes the old unit test in this plugin fail. This commit makes it an integration test, so that it's more robust against core changes, and will continue to pass before and after the core changes.
2021-12-23 10:29:04 +00:00
David Taylor 4aa665fdd6
UX: Update setting description for oauth2_overrides_email (#57) 2021-12-23 09:23:07 +00:00
discoursebot cc359e10fb
DEV: Update CI workflows (#55)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:19:32 +00:00
Discourse Translator Bot 83d88d3d1b
Update translations (#54) 2021-12-14 14:54:04 +01:00
Angus McLeod 2303143266
DEV: Update plugin_spec (#53) 2021-11-24 10:38:12 +00:00
discoursebot 60c3a6e02a
DEV: Update CI workflows (#52)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 19:58:40 +02:00
dependabot[bot] 5663d1ff9e
Bump path-parse from 1.0.6 to 1.0.7 (#51)
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-13 00:52:20 +02:00
Roman Rizzi 96d815c56c
DEV: Restos skipped test. Plugins can reset a single registry now. follow-up to 3e3c2ae (#50) 2021-07-02 13:38:59 -03:00