Commit Graph

4546 Commits

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