323b7004ed
Expose which search strategy produced each result
...
query_packages now assigns @search_sources - a hash mapping package
ids to the matching strategy that put them into the results: :exact,
:name_prefix, :name_contains, :semantic or :fulltext. The grid and
list views render a small badge with a humanized label per result,
making the search tiers observable. semantic_results() was folded
into search_packages() so each branch tags its own source. Adds the
rails-controller-testing gem for assigns() in tests.
2026-08-23 10:39:50 +02:00
4948fe50e3
Add semantic package search via pgvector embeddings
...
Package text search now combines several strategies: exact name match,
name prefix promotion, compound word splitting ("sqlite browser" finds
"sqlitebrowser") and semantic nearest neighbor search over description
embeddings computed by an external embedding service (all-MiniLM-L6-v2,
384 dims) stored with the pgvector extension. Classic PostgreSQL
full-text search remains as fallback when the vector service is
unreachable. Gibberish queries without lexical overlap with the package
data return empty results instead of random matches.
Embeddings can be backfilled with bin/rails debshots:compute_vectors.
Also drops the unused lograge gem from the Gemfile.
2026-08-22 22:07:56 +02:00
9236af0712
rails 8.0.2 to 8.1. lograte for logging.
2026-02-25 00:09:25 +01:00
e2473ff511
rubocop reformatting
2026-02-03 00:02:45 +01:00
522cd56807
disable turbo. unwanted side effects.
2025-05-13 01:19:03 +02:00
d76bf164f1
lucene icons added, styling fixed
2025-05-09 00:41:11 +02:00
36984ff1d4
lab
2025-04-11 09:39:33 +02:00
7cd9c68a10
trying to get JS and cssbundling to work
2025-04-09 22:47:05 +02:00
85d12b5c77
dotenv instead of Rails credentials
2025-04-07 22:21:09 +02:00
52777edb65
Several changes to adapt Rails 8
2025-04-04 00:58:27 +02:00
24dfb62ba8
re-enable solid_ foo
2025-03-17 23:06:40 +01:00
96f20050a9
disabling solid_... foo
2025-03-17 01:35:38 +01:00
b5534b1900
Massive revamping for Rails 8 and Zurb
2025-03-16 00:44:43 +01:00
7f9502fdfb
update to rails 8.2
2025-03-13 23:05:41 +01:00
25672aabb0
Update to Rails 7.2
2025-02-25 21:57:16 +01:00
f74b3d95ec
Ruby and Gem updates
2025-02-03 01:08:20 +01:00
890906929f
Added missing jbuilder
...
This was the reason why JSON output was incorrectly formatted.
2024-08-05 16:19:32 +02:00
55ea782b86
tests rubocopified
2024-07-15 00:05:56 +02:00
48e3a8c67f
bzip2 import fixed
2024-07-14 22:42:34 +02:00
1095ae3aa5
rails 7.1 and ruby 3.2.1
2023-12-26 01:30:33 +01:00
5b624e6c30
Merge branch 'prod'
2023-12-26 01:21:15 +01:00
11873f6b3b
Trouble with newest Ruby. Going back.
2021-05-28 23:37:20 +02:00
92aca77cdb
General Rails and Ruby updates
2021-05-28 21:07:45 +02:00
bc944d677b
Removed cookie warning. Updated Gems.
...
Apparently functional cookies can be used without consent.
2021-05-28 15:54:36 +02:00
4e07bf00fd
Add gravatar to profile page. Attempt to make profile look nicer.
2021-03-10 02:33:40 +01:00
7a3b65fe50
Authorisation management using CanCanCan added
2021-02-28 21:36:46 +01:00
686c9bbaaf
Gem update
2021-02-27 23:51:13 +01:00
ef61db0d11
Cruft comment
2021-02-24 23:47:12 +01:00
eb2a5c6e19
Healthcheck added
...
https://github.com/linqueta/rails-healthcheck
2021-02-14 16:41:29 +01:00
d27bfa5d0d
Remove meta_request gem which is broken with Rails 6.1
2021-02-13 23:08:10 +01:00
3a6d0dae12
Gems updated. Ruby updated to 2.6.6
2021-02-13 22:35:11 +01:00
657f81739b
Explicitly specifying Ruby version
2021-02-13 00:40:40 +01:00
b921a832b4
web-console seems broken
2020-11-12 19:35:14 +01:00
c4f5741b0c
Migration to Shrine attachment handling
2020-11-01 15:07:16 +01:00
174f604bbc
Capybara added for Rails system tests
2020-10-30 18:27:38 +01:00
2700289ff8
Capybara test initializer removed
...
Apparently "system tests" are a better way to handle them.
2020-10-30 16:38:38 +01:00
7ac69a1d8a
Rails update. Fancybox update. Migrations from Paperclip.
2020-10-19 18:49:47 +02:00
39f57be413
Solargraph added for VS Code intelligence
2020-08-19 15:20:47 +02:00
53911f226d
Validation for uploaded image type added
2020-08-17 01:47:59 +02:00
b929883f93
Foundation update
2020-06-24 21:26:41 +02:00
01024c771b
More Coffeescript cruft removed
2020-04-20 20:11:45 +02:00
186a7d91c9
Upgrade Rails 5.2 -> 6.0
2020-04-14 02:26:43 +02:00
d130f68172
Upgrade from Rails 5.0 to 5.2
2020-04-14 02:16:25 +02:00
Christoph Haas
5498e9b9a4
Basic tests added
2018-08-14 14:19:07 +02:00
Christoph Haas
459e86e25a
Various fixes that prevented production deployment
2018-08-07 18:36:53 +02:00
Christoph Haas
f0904fff63
Update to Zurb Foundation 6.4
2018-06-19 14:25:24 +02:00
Christoph Haas
4a2f21631a
Using Fancybox 3 instead
...
This fixes the jumping around on the page after opening a large moddal
of an image
2018-06-19 11:48:14 +02:00
dee3304575
meta_request gem added to be able to use the RailsPanel browser addon
2017-04-22 17:40:14 +02:00
b24abd7328
Github SSO added
2017-04-19 00:15:29 +02:00
65723d3063
Amazon SSO added
2017-04-17 13:11:44 +02:00