28 Commits
Author SHA1 Message Date
Jarek RadoszandGitHub a43408716c DEV: Update irb to 1.15.0 (#30912)
Dependabot PR: https://github.com/discourse/discourse/pull/30909
2025-01-22 00:33:36 +01:00
Jarek RadoszandGitHub c2afa303a7 DEV: Add io-console to default gems list (#30257) 2024-12-13 02:35:05 +01:00
dependabot[bot]andLoïc Guitaut e227d65bb6 Build(deps): Bump the rails group with 6 updates
Bumps the rails group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [actionmailer](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |
| [actionpack](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |
| [actionview](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |
| [activerecord](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |
| [activesupport](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |
| [railties](https://github.com/rails/rails) | `7.1.4.2` | `7.1.5` |


Updates `actionmailer` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/actionmailer/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

Updates `actionpack` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/actionpack/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

Updates `actionview` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/actionview/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

Updates `activerecord` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/activerecord/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

Updates `activesupport` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

Updates `railties` from 7.1.4.2 to 7.1.5
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.2.2/railties/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.1.4.2...v7.1.5)

---
updated-dependencies:
- dependency-name: actionmailer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
- dependency-name: actionpack
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
- dependency-name: actionview
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
- dependency-name: activerecord
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
- dependency-name: railties
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-11-05 16:15:20 +01:00
Loïc GuitautandLoïc Guitaut 3cbd801253 DEV: Introduce a Service::ActionBase class for service actions
This will help to enforce a consistent pattern for creating service
actions.

This patch also namespaces actions and policies, making everything
related to a service available directly in
`app/services/<concept-name>`, making things more consistent at that
level too.
2024-09-18 17:02:46 +02:00
5d13e7124b Build(deps): Bump oj from 3.16.4 to 3.16.5 (#28287)
* Build(deps): Bump oj from 3.16.4 to 3.16.5

Bumps [oj](https://github.com/ohler55/oj) from 3.16.4 to 3.16.5.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.16.4...v3.16.5)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* add ostruct to default gems list

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hanzo Dev <[email protected]>
Co-authored-by: Jarek Radosz <[email protected]>
2024-08-12 12:16:54 +02:00
Jarek RadoszandGitHub 4259698f93 DEV: Add logger to default gems list (#27828)
…and sort both lists alphabetically

(unlocks #27781)
2024-07-10 14:36:13 +02:00
a8e058aae5 DEV: Upgrade Rails to version 7.1
---------

Co-authored-by: Jarek Radosz <[email protected]>
2024-07-04 10:58:21 +02:00
Loïc GuitautandGitHub 790dfa2650 Revert "DEV: Upgrade Rails to version 7.1" (#27625)
This reverts commit 5fb7d1ed58.
2024-06-26 18:55:05 +02:00
5fb7d1ed58 DEV: Upgrade Rails to version 7.1
---------

Co-authored-by: Jarek Radosz <[email protected]>
2024-06-24 11:16:14 +02:00
Loïc GuitautandLoïc Guitaut e7725f25bf Revert "DEV: Upgrade Rails to version 7.1 (#27539)"
This reverts commit b4fa236143.
2024-06-21 11:20:40 +02:00
b4fa236143 DEV: Upgrade Rails to version 7.1 (#27539)
* DEV: Upgrade Rails to 7.1

* FIX: Remove references to `Rails.logger.chained`

`Rails.logger.chained` was provided by Logster before Rails 7.1
introduced their broadcast logger. Now all the loggers are added to
`Rails.logger.broadcasts`.

Some code in our initializers was still using `chained` instead of
`broadcasts`.

* DEV: Make parameters optional to all FakeLogger methods

* FIX: Set `override_level` on Logster loggers (#27519)

A followup to a19c5a0e10

* FIX: Don’t duplicate Rack response

---------

Co-authored-by: Jarek Radosz <[email protected]>
2024-06-21 09:44:06 +02:00
Loïc GuitautandLoïc Guitaut bb20fe74b5 Revert "DEV: Upgrade Rails to version 7.1 (#27539)"
This reverts commit 8b71a11bfb.
2024-06-20 11:43:35 +02:00
8b71a11bfb DEV: Upgrade Rails to version 7.1 (#27539)
* DEV: Upgrade Rails to 7.1

* FIX: Remove references to `Rails.logger.chained`

`Rails.logger.chained` was provided by Logster before Rails 7.1
introduced their broadcast logger. Now all the loggers are added to
`Rails.logger.broadcasts`.

Some code in our initializers was still using `chained` instead of
`broadcasts`.

* DEV: Make parameters optional to all FakeLogger methods

* FIX: Set `override_level` on Logster loggers (#27519)

A followup to a19c5a0e10

* FIX: Don’t duplicate Rack response

---------

Co-authored-by: Jarek Radosz <[email protected]>
2024-06-20 10:33:01 +02:00
Jarek RadoszandGitHub 84b811d61a DEV: Revert rails 7.1 upgrade (#27522)
* Revert "FIX: Set `override_level` on Logster loggers (#27519)"

This reverts commit b59ff5cf36.

* Revert "DEV: Make parameters optional to all FakeLogger methods"

This reverts commit e861dbaae3.

* Revert "FIX: Remove references to `Rails.logger.chained`"

This reverts commit a19c5a0e10.

* Revert "DEV: Upgrade Rails to 7.1"

This reverts commit a70a19b04a.
2024-06-18 23:48:30 +02:00
Loïc GuitautandLoïc Guitaut a70a19b04a DEV: Upgrade Rails to 7.1 2024-06-18 15:58:05 +02:00
Alan Guo Xiang TanandGitHub 524fc940f1 DEV: Add mutex_m to reviewed gems (#27080) 2024-05-20 15:03:33 +08:00
Alan Guo Xiang TanandGitHub 244c09ee8a DEV: Add mutex_m and drb to Gemfile to remove deprecation warning (#27012)
Resolves the following deprecation warnings when running Discourse on
Ruby 3.3

```
warning: /Users/tgxworld/.asdf/installs/ruby/3.3.1/lib/ruby/3.3.0/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of activesupport-7.0.8.1 to add mutex_m into its gemspec.

warning: /Users/tgxworld/.asdf/installs/ruby/3.3.1/lib/ruby/3.3.0/drb.rb was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add drb to your Gemfile or gemspec. Also contact author of activesupport-7.0.8.1 to add drb into its gemspec.
```
2024-05-15 05:44:50 +08:00
197ade8a06 Build(deps): Bump highline from 2.1.0 to 3.0.0 (#25150)
* Build(deps): Bump highline from 2.1.0 to 3.0.0

Bumps [highline](https://github.com/JEG2/highline) from 2.1.0 to 3.0.0.
- [Changelog](https://github.com/JEG2/highline/blob/master/Changelog.md)
- [Commits](https://github.com/JEG2/highline/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: highline
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* add abbrev to ignored/default gems list

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hanzo Dev <[email protected]>
Co-authored-by: Jarek Radosz <[email protected]>
2024-01-08 22:20:15 +01:00
68acc0316a Build(deps): Bump oj from 3.16.1 to 3.16.2 (#24781)
* Build(deps): Bump oj from 3.16.1 to 3.16.2

Bumps [oj](https://github.com/ohler55/oj) from 3.16.1 to 3.16.2.
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.16.1...v3.16.2)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update .licensed.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hanzo Dev <[email protected]>
Co-authored-by: Jarek Radosz <[email protected]>
2023-12-07 23:33:14 +01:00
51b4f3e555 Build(deps): Bump faraday from 2.7.10 to 2.7.11 (#23554)
* Build(deps): Bump faraday from 2.7.10 to 2.7.11

Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.10 to 2.7.11.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v2.7.10...v2.7.11)

---
updated-dependencies:
- dependency-name: faraday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* add base64

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hanzo Dev <[email protected]>
Co-authored-by: Jarek Radosz <[email protected]>
2023-09-14 01:33:44 +02:00
448d2cbd34 Build(deps): Bump nio4r from 2.5.8 to 2.5.9 (#20947)
* Build(deps): Bump nio4r from 2.5.8 to 2.5.9

Bumps [nio4r](https://github.com/socketry/nio4r) from 2.5.8 to 2.5.9.
- [Release notes](https://github.com/socketry/nio4r/releases)
- [Changelog](https://github.com/socketry/nio4r/blob/main/CHANGES.md)
- [Commits](https://github.com/socketry/nio4r/compare/v2.5.8...v2.5.9)

---
updated-dependencies:
- dependency-name: nio4r
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Allow license

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hanzo Dev <[email protected]>
Co-authored-by: Jarek Radosz <[email protected]>
2023-04-04 02:28:29 +02:00
Jarek RadoszandGitHub a3d44adae6 DEV: Add digest to licensed's default gems list (#20355) 2023-02-18 11:34:13 +01:00
Jarek RadoszandGitHub 2f366284b8 DEV: Label and ignore all default gems (#19617)
`licensed` fails to find gem's license if it's a default gem (see: https://stdgems.org) and the version you're requiring comes with the ruby version you're using.

A ruby upgrade or any change to Gemfile could trigger `licensed` failures, so it's better to ignore all default gems we're using.
2022-12-24 11:59:08 +01:00
Jarek RadoszandGitHub 6f35660980 DEV: Update bundler licensed config (#19607)
1. Add `cgi` (ruby terms)
2. Move `strscan`, ~~`ruby2_keywords`, and `openssl`~~ to "reviewed" section (update: two of those are postponed, need to debug stuff in our docker image)
3. Sort
2022-12-23 14:04:03 +01:00
Rafael dos Santos SilvaandGitHub d26a9ca09d DEV: Ruby 3.1 compat (#19543)
* DEV: Ruby 3.1 compat

* DEV: Add webrick to test/dev

* DEV: Review ruby2_keywords license

* move ruby2_keywords to ignored

* move openssl to ignored
2022-12-21 01:20:43 -03:00
Loïc GuitautandLoïc Guitaut 8430c25580 DEV: Upgrade to Rails 7
This patch upgrades Rails to version 7.0.2.4.
2022-04-28 11:51:03 +02:00
Penar MusarajandGitHub 388fe016c9 DEV: Add CI job that audits dependency licenses (#16568) 2022-04-26 14:09:42 -04:00
Rafael dos Santos SilvaandGitHub 7f631eb8d1 DEV: Add a basic licensed config (#10128)
This means a dev can run https://github.com/github/licensed
in order to obtain license information easily
2020-06-25 18:01:36 -03:00