Commit Graph

4691 Commits

Author SHA1 Message Date
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
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