Commit graph

5211 commits

Author SHA1 Message Date
Georg Gadinger
44871cbf4a add meilisearch
this thing is way too fast!  only downside is that indexing takes a bit
longer, and the search indexes are big (16Gi for 2.7 million records)

i have no idea how to properly integrate it in the UI, but it seems
promising :^)
2023-10-22 19:51:19 +02:00
Georg Gadinger
d5c1e66b1e remove pg_search 2023-10-22 18:34:05 +02:00
Georg Gadinger
c14bae74d5 attempt to add pg_search
this commit is an attempt at building a search functionality using only
the stuff provided by postgresql

it is, unfortunately, painfully slow:

    PgSearch::Document Load (7869.1ms)  SELECT "pg_search_documents".* FROM "pg_search_documents" INNER JOIN (SELECT "pg_search_documents"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))), (to_tsquery('simple', ''' ' || 'awoo' || ' ''')), 0)) AS rank FROM "pg_search_documents" WHERE ((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'awoo' || ' ''')))) AS pg_search_ce9b9dd18c5c0023f2116f ON "pg_search_documents"."id" = pg_search_ce9b9dd18c5c0023f2116f.pg_search_id ORDER BY pg_search_ce9b9dd18c5c0023f2116f.rank DESC, "pg_search_documents"."id" ASC LIMIT $1  [["LIMIT", 10]]
2023-10-22 18:13:26 +02:00
Andreas Nedbal
e37532e0eb Bump version to 2023.1019.0 2023-10-19 10:50:00 +02:00
Georg Gadinger
182654dc8f
Merge pull request #1397 from Retrospring/fix-user-content-deletion
Fix user content deletion
2023-10-18 22:18:40 +02:00
Georg Gadinger
0fb0251a36
Merge pull request #1398 from Retrospring/update-bundler
Update bundler
2023-10-18 22:14:21 +02:00
Georg Gadinger
c4da510fe7 fix deletion of notification entries when deleting a user 2023-10-18 22:13:25 +02:00
Georg Gadinger
a85ce45b25 appease the paw patrol 2023-10-18 21:57:09 +02:00
Georg Gadinger
f5a77bc882 update tldv-data 2023-10-18 21:55:38 +02:00
Georg Gadinger
b53462e4e5 update Bundler 2023-10-18 21:55:22 +02:00
Georg Gadinger
8a26232fe6 bad dog 2023-10-18 21:53:30 +02:00
Georg Gadinger
dc41f15097 fix deletion of inbox entries when deleting an user 2023-10-18 21:52:47 +02:00
Karina Kwiatek
b8fd519e2d
Merge pull request #1395 from Retrospring/fix/type-in-relationship-unique
Include type in relationship unique constraint
2023-10-18 21:21:14 +02:00
Karina Kwiatek
2a6d88abfc Include type in relationship unique constraint 2023-10-18 19:40:15 +02:00
Karina Kwiatek
5bc669160b
Merge pull request #1392 from Retrospring/ruby-3.2 2023-10-18 10:47:47 +02:00
Karina Kwiatek
3539c3264b
Bump ruby-install version to 0.9.2
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-10-18 09:10:28 +02:00
Karina Kwiatek
dda1295653 Use Ruby 3.2.2 2023-10-17 22:02:42 +02:00
Karina Kwiatek
bdedd92817 Bump version to 2023.1017.1 2023-10-17 21:51:18 +02:00
Karina Kwiatek
55d94c7900
Merge pull request #1390 from Retrospring/bugfix/no-nitro-for-registration
Disable Turbo on registration form
2023-10-17 21:50:52 +02:00
Andreas Nedbal
fce3d7c587 Disable Turbo on registration form 2023-10-17 21:48:49 +02:00
Karina Kwiatek
97a826be33 Bump version to 2023.1017.0 2023-10-17 20:22:26 +02:00
Karina Kwiatek
ec3ffd5a82
Merge pull request #1389 from Retrospring/feature/rel-me-on-profile-website
Set rel=me on website link in profiles
2023-10-17 20:21:24 +02:00
Andreas Nedbal
3aa18ef7c7 only initialize service workers if they are available 2023-10-17 20:14:28 +02:00
Andreas Nedbal
87813d3005 Fix sharing condition 2023-10-17 20:14:28 +02:00
Andreas Nedbal
0f0f3ae0c6 Fix sharing view spec test case 2023-10-17 20:14:28 +02:00
Andreas Nedbal
5f0fed8c94 Fix rubocop nits 2023-10-17 20:14:28 +02:00
Andreas Nedbal
af3caf9be1 Fix stylelint nit 2023-10-17 20:14:28 +02:00
Andreas Nedbal
e74e233548 Add spec for answer_share_url 2023-10-17 20:14:28 +02:00
Andreas Nedbal
9f999189cd Add Stimulus sharing feature to answerboxes 2023-10-17 20:14:28 +02:00
Andreas Nedbal
5ccdd9bbc2 Remove answerbox-specific sharing feature 2023-10-17 20:14:28 +02:00
Andreas Nedbal
3feb827b16 Add support for sharing dialog in inbox answer sharing 2023-10-17 20:14:28 +02:00
Karina Kwiatek
e4c054ad92 Set rel=me on website link in profiles 2023-10-17 19:52:00 +02:00
Karina Kwiatek
3bd45c8e96
Merge pull request #1196 from Retrospring/feature/turbo-comments
Move comments to a turbo frame
2023-10-16 18:02:46 +02:00
Andreas Nedbal
6aee2baa45 Name label iOS instead of iPhone 2023-10-16 15:27:34 +02:00
Andreas Nedbal
26e1a9df1a Suggest pure iPhone two factor capabilities 2023-10-16 15:27:34 +02:00
dependabot[bot]
eff16f6074
Merge pull request #1385 from Retrospring/dependabot/bundler/haml-6.2.3 2023-10-16 10:46:36 +00:00
dependabot[bot]
ac47dd290d
Merge pull request #1384 from Retrospring/dependabot/bundler/rubocop-1.57.1 2023-10-16 10:42:13 +00:00
dependabot[bot]
6b6614ba13
Bump haml from 6.1.4 to 6.2.3
Bumps [haml](https://github.com/haml/haml) from 6.1.4 to 6.2.3.
- [Release notes](https://github.com/haml/haml/releases)
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md)
- [Commits](https://github.com/haml/haml/compare/v6.1.4...v6.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 10:41:38 +00:00
dependabot[bot]
1f81cc1712
Merge pull request #1386 from Retrospring/dependabot/bundler/turbo-rails-1.5.0 2023-10-16 10:40:50 +00:00
dependabot[bot]
d37ec2ece3
Merge pull request #1383 from Retrospring/dependabot/bundler/devise-4.9.3 2023-10-16 10:37:40 +00:00
dependabot[bot]
fd6e9d47f2
Merge pull request #1382 from Retrospring/dependabot/bundler/net-imap-0.4.1 2023-10-16 10:36:42 +00:00
dependabot[bot]
1583511d0d
Merge pull request #1381 from Retrospring/dependabot/bundler/bullet-7.1.2 2023-10-16 10:33:54 +00:00
dependabot[bot]
b2d44d223f
Merge pull request #1380 from Retrospring/dependabot/bundler/lograge-0.14.0 2023-10-16 10:33:19 +00:00
dependabot[bot]
15d01ba930
Merge pull request #1379 from Retrospring/dependabot/npm_and_yarn/github/hotkey-2.1.1 2023-10-16 10:32:26 +00:00
dependabot[bot]
ad491a4edf
Merge pull request #1378 from Retrospring/dependabot/npm_and_yarn/sass-1.69.3 2023-10-16 10:31:12 +00:00
dependabot[bot]
b706e6e6dc
Bump turbo-rails from 1.4.0 to 1.5.0
Bumps [turbo-rails](https://github.com/hotwired/turbo-rails) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/hotwired/turbo-rails/releases)
- [Commits](https://github.com/hotwired/turbo-rails/compare/v1.4.0...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 10:04:44 +00:00
dependabot[bot]
d4eabbe05f
Bump rubocop from 1.56.4 to 1.57.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.56.4 to 1.57.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.56.4...v1.57.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 09:59:48 +00:00
dependabot[bot]
c1124fc94c
Bump devise from 4.9.2 to 4.9.3
Bumps [devise](https://github.com/heartcombo/devise) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/heartcombo/devise/releases)
- [Changelog](https://github.com/heartcombo/devise/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heartcombo/devise/compare/v4.9.2...v4.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 09:58:58 +00:00
dependabot[bot]
4ac8e6dd41
Bump net-imap from 0.4.0 to 0.4.1
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.0...v0.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 09:58:19 +00:00
dependabot[bot]
29d6437b3e
Bump bullet from 7.1.1 to 7.1.2
Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.1.1 to 7.1.2.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/7.1.1...7.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 09:57:32 +00:00