Commit Graph

4529 Commits

Author SHA1 Message Date
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
Georg Gadinger f14c0f1f83 Containerfile: always log to stdout 2023-02-04 07:13:24 +01:00
Georg Gadinger 1f4a92b6d4 allow log levels to be configurable via ENV 2023-02-04 07:07:43 +01:00
Georg Gadinger cb064e8acf
Merge pull request #1042 from Retrospring/official-containers
add Containerfile to be used for running Retrospring
2023-02-03 23:52:40 +01:00
Georg Gadinger 0e1432f1a0 add Containerfile 2023-02-02 15:48:04 +01:00
Karina Kwiatek c40a1a4997
Merge pull request #1040 from Retrospring/fix/n+1-notification-type-counters
Prevent 𝑛+1 for notification type counters
2023-02-02 12:09:06 +01:00
Karina Kwiatek 05a90987cd
Merge pull request #1037 from Retrospring/fix/pre-load-mutes
Pre-load own mute relationships in follow lists
2023-02-02 12:07:58 +01:00
Karina Kwiatek 1df6bcfd52
Merge pull request #1039 from Retrospring/bugfix/eagerly-load-services 2023-02-02 12:00:41 +01:00
Karina Kwiatek 40f7f8f525 Eager load notification targets 2023-02-02 11:03:27 +01:00
Karina Kwiatek 80e312eb3b Appease the dog overlords 2023-02-02 10:38:41 +01:00
Karina Kwiatek 81a6c6ac55 Prevent 𝑛+1 for notification type counters 2023-02-02 00:55:31 +01:00
Andreas Nedbal 7d91c0349a Eagerly load services in action to prevent n+1 query 2023-02-02 00:44:42 +01:00
Karina Kwiatek 825454bbae Fix incorrect type local in followers endpoint 2023-02-01 23:34:33 +01:00
Karina Kwiatek 603e9c501e Pre-load own mute relationships in follow lists 2023-02-01 23:21:09 +01:00
dependabot[bot] da711dcfd4
Merge pull request #1019 from Retrospring/dependabot/bundler/bootsnap-1.16.0 2023-02-01 04:10:49 +00:00
dependabot[bot] b8648d9998
Bump bootsnap from 1.15.0 to 1.16.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 04:07:20 +00:00
Georg Gadinger f6cabcce04
Merge pull request #1033 from Retrospring/question-generator
update QuestionGenerator to 1.1.0, provide our own questions db
2023-02-01 05:06:18 +01:00
Andreas Nedbal 3c263db45c Use Redis 6 in Docker setup 2023-01-31 23:25:44 +01:00
Georg Gadinger 3f0e690f28 provide our own default questions file independent from the questiongenerator gem 2023-01-31 23:22:21 +01:00
Georg Gadinger 0855dee294 update questiongenerator to 1.1.0 2023-01-31 23:18:48 +01:00
Karina Kwiatek 8deb78b548 Bump version to 2023.0131.1 2023-01-31 23:15:13 +01:00
Karina Kwiatek 257c60af38
Merge pull request #1031 from Retrospring/fix/pass-services-to-question-generate-frame
Pass user services for question generate turbo frame
2023-01-31 23:12:09 +01:00
Karina Kwiatek d08198668b Pass user services for question generate turbo frame 2023-01-31 23:10:51 +01:00
Karina Kwiatek 7e83c1551c Bump version to 2023.0131.0 2023-01-31 22:17:19 +01:00
Karina Kwiatek 2a59973441
Merge pull request #1028 from Retrospring/feature/health-files
Add some more community health files
2023-01-31 22:16:11 +01:00
Karina Kwiatek 279ed82d6a
Merge pull request #1029 from Retrospring/fix/relationship-list-n+1
Prevent 𝑛+1 on follower/following lists
2023-01-31 22:15:32 +01:00
Andreas Nedbal d442324d3e
Apply suggestions from code review
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2023-01-31 21:46:11 +01:00
Andreas Nedbal 184cd680eb Apply review suggestion 2023-01-31 21:45:16 +01:00
Karina Kwiatek a532f7059b
Merge pull request #1030 from Retrospring/update-sidekiq
update Sidekiq to 6
2023-01-31 21:40:32 +01:00
Georg Gadinger 18a150b969 update Sidekiq to 6 2023-01-31 14:27:25 +01:00
Karina Kwiatek 226cd10fbc Appease the dog overlords 2023-01-31 14:01:21 +01:00
Karina Kwiatek 8520dbc4b9 De-duplicate relationship pagination logic 2023-01-31 13:59:05 +01:00