Commit Graph

4460 Commits

Author SHA1 Message Date
Georg Gadinger c5b442c529
Merge pull request #1043 from Retrospring/configurable-log-levels
allow log level, site_name, and hostname to be configured via ENV
2023-02-06 15:25:44 +01:00
dependabot[bot] 9f440dfcfa
Merge pull request #1048 from Retrospring/dependabot/bundler/jwt-2.7.0 2023-02-06 10:55:32 +00:00
dependabot[bot] 186732f9e2
Merge pull request #1047 from Retrospring/dependabot/bundler/faker-3.1.1 2023-02-06 09:53:18 +00:00
dependabot[bot] 09ebf47bbd
Merge pull request #1053 from Retrospring/dependabot/bundler/turbo-rails-1.3.3 2023-02-06 09:52:27 +00:00
dependabot[bot] f7735176bb
Merge pull request #1049 from Retrospring/dependabot/bundler/oj-3.14.1 2023-02-06 09:44:19 +00:00
dependabot[bot] 65f481a332
Merge pull request #1050 from Retrospring/dependabot/npm_and_yarn/hotwired/turbo-rails-7.2.5 2023-02-06 09:43:50 +00:00
dependabot[bot] fb20e3ea74
Merge pull request #1051 from Retrospring/dependabot/bundler/rolify-6.0.1 2023-02-06 09:43:35 +00:00
dependabot[bot] e5b320e66b
Merge pull request #1054 from Retrospring/dependabot/npm_and_yarn/typescript-4.9.5 2023-02-06 09:43:06 +00:00
dependabot[bot] c60c11b913
Merge pull request #1052 from Retrospring/dependabot/npm_and_yarn/sass-1.58.0 2023-02-06 09:42:35 +00:00
dependabot[bot] 02df330fd4
Bump typescript from 4.9.4 to 4.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.4...v4.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:02:41 +00:00
dependabot[bot] bbfbaede08
Bump turbo-rails from 1.3.2 to 1.3.3
Bumps [turbo-rails](https://github.com/hotwired/turbo-rails) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/compare/v1.3.2...v1.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:02:34 +00:00
dependabot[bot] 98ee37094e
Bump sass from 1.57.1 to 1.58.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.57.1 to 1.58.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.57.1...1.58.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:02:26 +00:00
dependabot[bot] 0bda9fa72d
Bump @hotwired/turbo-rails from 7.2.4 to 7.2.5
Bumps [@hotwired/turbo-rails](https://github.com/hotwired/turbo-rails) from 7.2.4 to 7.2.5.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/commits)

---
updated-dependencies:
- dependency-name: "@hotwired/turbo-rails"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:02:14 +00:00
dependabot[bot] 033c3490cb
Bump rolify from 6.0.0 to 6.0.1
Bumps [rolify](https://github.com/RolifyCommunity/rolify) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/RolifyCommunity/rolify/releases)
- [Changelog](https://github.com/RolifyCommunity/rolify/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/RolifyCommunity/rolify/compare/v6.0.0...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:02:14 +00:00
dependabot[bot] 166cf30084
Bump oj from 3.13.23 to 3.14.1
Bumps [oj](https://github.com/ohler55/oj) from 3.13.23 to 3.14.1.
- [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.13.23...v3.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:01:44 +00:00
dependabot[bot] bb7588e7e1
Bump jwt from 2.6.0 to 2.7.0
Bumps [jwt](https://github.com/jwt/ruby-jwt) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/jwt/ruby-jwt/releases)
- [Changelog](https://github.com/jwt/ruby-jwt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: jwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:01:10 +00:00
dependabot[bot] 2ba3217551
Bump faker from 3.1.0 to 3.1.1
Bumps [faker](https://github.com/faker-ruby/faker) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:00:54 +00:00
Andreas Nedbal 2ba2367e7e Apply suggestions from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2023-02-05 21:54:51 +01:00
Andreas Nedbal b0f5294243 Appease the dog overlords 2023-02-05 21:54:51 +01:00
Andreas Nedbal 2cb98fc2e0 Hide the custom share button if the URL is blank 2023-02-05 21:54:51 +01:00
Andreas Nedbal 024127e62f Remove connected user transformation from TwitteredMarkdown 2023-02-05 21:54:51 +01:00
Andreas Nedbal d43e27bcd2 Fix data export specs 2023-02-05 21:54:51 +01:00
Andreas Nedbal 4e5aca9ab5 Add specs for URL validation 2023-02-05 21:54:51 +01:00
Andreas Nedbal 490a06af27 Allow `sharing_custom_url` to be empty 2023-02-05 21:54:51 +01:00
Andreas Nedbal a564bd740b Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-02-05 21:54:51 +01:00
Andreas Nedbal 47d1f5ccff Validate format of `sharing_custom_url` 2023-02-05 21:54:51 +01:00
Andreas Nedbal 8f0ae5171d Appease the dog overlords 2023-02-05 21:54:51 +01:00
Andreas Nedbal 14d841d31a Disable "color-function-notation" stylelint rule 2023-02-05 21:54:51 +01:00
Andreas Nedbal 247604f48f Remove Twitter API key config values 2023-02-05 21:54:51 +01:00
Andreas Nedbal f0eaf9c4a2 Remove `Services::Twitter` spec 2023-02-05 21:54:51 +01:00
Andreas Nedbal 83aa4ed1bc Implement new sharing layout 2023-02-05 21:54:51 +01:00
Andreas Nedbal a4195a158f Update TypeScript to support new sharing feature 2023-02-05 21:54:51 +01:00
Andreas Nedbal 7589d66686 Remove service reference in question generation 2023-02-05 21:54:51 +01:00
Andreas Nedbal da0a5fb98d Add inbox sharing Stimulus controller 2023-02-05 21:54:51 +01:00
Andreas Nedbal a56db2256b Return sharing options when answering a question 2023-02-05 21:54:51 +01:00
Andreas Nedbal 926be13fa6 Add `Settings::SharingController` 2023-02-05 21:54:51 +01:00
Andreas Nedbal 83d386267a Remove inbox entry options collapse 2023-02-05 21:54:51 +01:00
Andreas Nedbal 52ae7fbb81 Remove service-related views 2023-02-05 21:54:51 +01:00
Andreas Nedbal a86dcde30a Remove omniauth and twitter (sharing) related gems
`twitter-text` is still required to generate the shared post bodies
2023-02-05 21:54:51 +01:00
Andreas Nedbal 06d7db7ff8 Remove ShareWorker 2023-02-05 21:54:51 +01:00
Andreas Nedbal d520755bc2 Remove service model 2023-02-05 21:54:51 +01:00
Andreas Nedbal c327eee38e Remove services controller 2023-02-05 21:54:51 +01:00
Andreas Nedbal 9246148db4 Add migration to drop services table 2023-02-05 21:54:51 +01:00
Andreas Nedbal a2e45c85bf Add migration to enable sharing for legacy service owners 2023-02-05 21:54:51 +01:00
Andreas Nedbal 482ffe7d0b Add migration to add sharing fields to users 2023-02-05 21:54:51 +01:00
Georg Gadinger 90335140c7
Merge pull request #1045 from Retrospring/fix-real-ip 2023-02-05 09:26:06 +01:00
Georg Gadinger f1a545aea5 use remote_ip 2023-02-04 22:31:53 +01:00
Georg Gadinger 55ff8a0d24 enforce trailing commas in multi-line hash literals 2023-02-04 07:25:12 +01:00
Georg Gadinger b0644b26c7 allow to set some configuration options via ENV 2023-02-04 07:24:14 +01:00
Georg Gadinger 8f3973bbff Containerfile: turn `SECRET_KEY_BASE` at build-time into a buildarg
this is to not have `SECRET_KEY_BASE` present in the resulting container
as it's only required to run some rake tasks
2023-02-04 07:14:14 +01:00