Commit Graph

4497 Commits

Author SHA1 Message Date
Andreas Nedbal 5579489a92 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-02-12 20:16:36 +01:00
Andreas Nedbal bc52eb8cb5 Add specs for Turbo Stream responses 2023-02-12 20:16:36 +01:00
Andreas Nedbal 4dc88fe1ef Refactor TurboStreamable spec to use an anonymous controller 2023-02-12 20:16:36 +01:00
Andreas Nedbal 0aac4caf45 Register test routes in routes.rb 2023-02-12 20:16:36 +01:00
Andreas Nedbal 72ad8f6699 Add tests for TurboStreamable concern 2023-02-12 20:16:36 +01:00
Andreas Nedbal ed20ad9237 Fix class check for parameter errors 2023-02-12 20:16:36 +01:00
Andreas Nedbal 5a192a3598 Turn `turbo_stream_actions` into a class method
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-02-12 20:16:36 +01:00
Andreas Nedbal c3fa2701ba Appease the dog overlords 2023-02-12 20:16:36 +01:00
Andreas Nedbal c880fade4e Add TurboStreamable concern to Settings::MutesController 2023-02-12 20:16:36 +01:00
Andreas Nedbal f2024a990e Add TurboStreamable concern to AnonymousBlock controller 2023-02-12 20:16:36 +01:00
Andreas Nedbal 5cb96a7907 Fix anonymous blocks causing exceptions without inboxes 2023-02-12 20:16:36 +01:00
Andreas Nedbal 4c0948c6d1 Add Stimulus toast controller 2023-02-12 20:16:36 +01:00
Andreas Nedbal b38a048e92 Added TurboStreamable concern 2023-02-12 20:16:36 +01:00
Georg Gadinger 0ab4f38fd9
Merge pull request #1070 from Retrospring/more-services-cleanup
More services cleanup
2023-02-12 19:40:31 +01:00
Georg Gadinger 5799a6f4d4 locales/views: reword "share your answers" bit on the landingpage 2023-02-12 19:26:31 +01:00
Georg Gadinger e1aee89be0 remove expired service connection notifications 2023-02-12 19:26:31 +01:00
Georg Gadinger 065d35c288 well_known/node_info: remove twitter as outbound service 2023-02-12 19:04:01 +01:00
Andreas Nedbal 484badb555 Remove services reference from inbox Turbo Stream view 2023-02-12 18:44:33 +01:00
Karina Kwiatek 0c3e54de6b Use icons with tooltips instead 2023-02-12 18:21:14 +01:00
Karina Kwiatek dd3f86988a Localise strings for question visibility 2023-02-12 18:21:14 +01:00
Karina Kwiatek 615c60d420 Highlight direct questions in own question lists 2023-02-12 18:21:14 +01:00
Karina Kwiatek 42a78cd286 Provide a way of using Redis for Rails cache 2023-02-12 18:18:38 +01:00
Andreas Nedbal 22013791c3 Add dependency installation steps to Ruby-based linters 2023-02-12 17:04:11 +01:00
Karina Kwiatek 9cd898062c
Merge pull request #1065 from Retrospring/feature/docker-even-faster-dev
Add default database/redis connections to docker-compose.yml
2023-02-11 11:55:26 +01:00
Andreas Nedbal 7dfa65f139 Add default database/redis connections to docker-compose 2023-02-11 07:11:38 +01:00
Georg Gadinger 7ed6e9de3d
Merge pull request #1062 from Retrospring/automatic-image-building
add workflow to automatically build and publish a container image
2023-02-10 22:35:19 +01:00
Georg Gadinger f3a7b46cf1
Merge pull request #1063 from Retrospring/no-invalid-urls
make URI.parse part of the validation for the sharing URL
2023-02-10 21:36:09 +01:00
Georg Gadinger 71be21cccc add specs for Settings::SharingController 2023-02-10 21:16:21 +01:00
Georg Gadinger 606629577a make URI.parse part of the validation for the sharing URL
the regexp alone and web browsers allows URLs to contain non-ASCII
characters, which `URI.parse` does not like -- resulting in the inbox
page to suddenly break.

also changed the `redirect_to` in the controller to a `render :edit` so
that validation errors are shown properly
2023-02-10 20:48:15 +01:00
Georg Gadinger 92b6d43230 Containerfile: download archive without tag requirement 2023-02-10 14:47:19 +01:00
Georg Gadinger 24f9bd4bb6 add workflow to automatically build and publish a container image 2023-02-10 14:47:19 +01:00
Karina Kwiatek 46bf8ec841
Merge pull request #1060 from Retrospring/fix/disable-relationship-buttons-on-submit
Disable relationship action buttons while waiting for a response
2023-02-09 10:05:30 +01:00
Karina Kwiatek 59c0dce9b4 Disable relationship action buttons while waiting for a response 2023-02-07 23:39:13 +01:00
Karina Kwiatek 460017d4d4
Merge pull request #1059 from Retrospring/dep/carrierwave_backgrounder
Update carrierwave_backgrounder for compatibility with Sidekiq 7
2023-02-07 23:08:10 +01:00
Karina Kwiatek a59bd20456 Update carrierwave_backgrounder for compatibility with Sidekiq 7 2023-02-07 18:54:19 +01:00
Georg Gadinger 6ba17893b0
Merge pull request #1058 from Retrospring/fix-remote-ip-again
use remote_ip 2: electric boogaloo
2023-02-07 07:42:17 +01:00
Georg Gadinger 9a77b89cda use remote_ip 2: electric boogaloo 2023-02-07 07:38:59 +01:00
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