Commit graph

183 commits

Author SHA1 Message Date
fdf3289f54 Remove lograge configuration from Docker image and production 2026-08-22 22:08:05 +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
9faf4aeada /json/ URL should work with dots in the package name now
All checks were successful
Build and Push Docker Image / build-and-push-image (push) Successful in 7m49s
2026-05-27 21:33:40 +02:00
9236af0712 rails 8.0.2 to 8.1. lograte for logging. 2026-02-25 00:09:25 +01:00
69515b6a55 add new routes for updated image paths
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
2026-02-04 00:16:54 +01:00
d5221d9db0 remove x-sendfile for local development 2026-02-03 00:01:58 +01:00
c09fcea025 fx /screenshot-with-version
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
2025-06-27 00:06:31 +02:00
4bc64c3abf rubocop + shrine path fixed for testing 2025-06-26 23:36:16 +02:00
d40d2ff164 thumbnail-with-version fixed 2025-06-26 23:34:19 +02:00
aea83c7981 typo in test credentials 2025-06-26 23:33:51 +02:00
296e2d3f19 align icons properly with text 2025-06-18 02:06:50 +02:00
b601b2bbb6 move shrine files out of public. use x-sendfile to send files for security. 2025-06-16 00:24:11 +02:00
587baf0e7b use APP_BASE_URL to create oauth callback URLs 2025-06-08 20:23:18 +02:00
3f23d66ea9 test changed from sqlite3 to postgres 2025-06-08 18:54:00 +02:00
662bcd00d3 chasing deployment problems 2025-05-16 08:56:14 +02: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
9164e2a636 Moved from Fancybox to Photoswipe for click-to-zoom 2025-05-08 01:10:03 +02:00
fa8a7fc77a Fix JS and JS-based image upload 2025-05-02 00:38:42 +02:00
7cd9c68a10 trying to get JS and cssbundling to work 2025-04-09 22:47:05 +02:00
e4af4c21ae dotenv instead of Rails credentials
The deployment is done on a Dokku server. It sets the DATABASE_URL
automatically.
2025-04-07 22:25:55 +02:00
52777edb65 Several changes to adapt Rails 8 2025-04-04 00:58:27 +02: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
7117cb13d8 Missing line added 2025-02-25 22:23:57 +01:00
25672aabb0 Update to Rails 7.2 2025-02-25 21:57:16 +01:00
932a43daac Do not complain about SMTP problems in dev mode 2025-02-03 01:08:50 +01:00
d81fb00828 database adapter for production specified 2024-07-20 15:14:28 +02:00
e32b6bb0ed framework defaults tidied up for rails 7 2024-07-15 00:06:08 +02:00
5b624e6c30 Merge branch 'prod' 2023-12-26 01:21:15 +01:00
0ba2ded4a2 Gems updated 2021-11-24 22:22:05 +01:00
92aca77cdb General Rails and Ruby updates 2021-05-28 21:07:45 +02:00
ea4e04dd33 Trying to fix healthchecks again that suddenly fail 2021-04-26 23:54:37 +02:00
51c297c107 Making healthchecks during deployment more relaxed 2021-04-26 23:50:41 +02:00
d0612d25ea Improved error message for healthcheck 2021-04-26 23:25:38 +02:00
31b19f3a2c Check for necessary ENV variables in healthcheck 2021-03-21 22:25:28 +01:00
d504e5e914 Increase session timeout from 30 minutes to 6 hours 2021-03-10 01:20:10 +01:00
5d0e4a520e Allow hiding and un-hiding of screenshot by moderators 2021-03-10 01:04:37 +01:00
0207d6b392 My views improved. Own screenshots view added 2021-03-09 22:43:58 +01:00
d41220c5fd Basic browser for audit logs added 2021-03-03 01:05:35 +01:00
46f76c5220 APT fixtures moved and shrunk 2021-03-02 22:38:32 +01:00
47df4d8afd Fix test suite 2021-03-02 00:51:24 +01:00
e9eb680aed ENV variables renamed for clarity 2021-02-28 02:03:49 +01:00
afa90e3927 OAuth2 callback URL is now configurable 2021-02-28 01:59:53 +01:00
bc507cbe39 Salsa login works 2021-02-27 23:50:51 +01:00
b2ed771663 Fix SMTP relay host for dokku deployment 2021-02-25 02:54:45 +01:00
1f9187e35c Add ActionMailer to inform admins about new screenshots
This version only informs Christoph as a test
2021-02-25 02:43:14 +01:00
e9b2a2193e Make tests pass 2021-02-21 19:43:26 +01:00
72225e32ef Docs 2021-02-21 19:41:04 +01:00