Commit graph

2056 commits

Author SHA1 Message Date
Liam
f44491685e Disable search completion by default, use setting to enable 2024-06-03 10:59:49 -04:00
liamwhite
afdcd773bd
Merge pull request #263 from koloml/searchbox-ac
Tags auto-completion for search queries
2024-06-03 10:14:39 -04:00
Liam
961c9998b8 Add missing constraint conversion to artist links 2024-06-03 10:12:42 -04:00
KoloMl
ac12837941 Disable server-side autocompletion for search field 2024-06-03 17:49:01 +04:00
KoloMl
8d2c082413 Disable server-side autocompletion when acSource is not set 2024-06-03 17:48:42 +04:00
Liam
9122ba0829 Missing static paths 2024-06-03 09:39:02 -04:00
Liam
f92b61c176 Add missing constraint conversions for interaction tables 2024-06-02 22:58:09 -04:00
Liam
410332003b Use decimal parsing for search dist value 2024-06-02 22:48:24 -04:00
liamwhite
5729cac98b
Merge pull request #268 from philomena-dev/proxy-namespace
Split out HTTP client interaction into PhilomenaProxy namespace
2024-06-02 19:33:45 -04:00
Liam
c63bc41d8b Split out HTTP client interaction into PhilomenaProxy namespace 2024-06-02 19:26:00 -04:00
liamwhite
3a2cb05995
Merge pull request #270 from philomena-dev/swoosh
Swap Bamboo for Swoosh email delivery
2024-06-02 19:15:50 -04:00
Liam
ed34dea36f Swap Bamboo for Swoosh email delivery 2024-06-02 19:08:06 -04:00
KoloMl
f84e358eec Merge branch 'master' into searchbox-ac
# Conflicts:
#	lib/philomena_web/templates/layout/_header.html.slime
2024-06-02 20:51:13 +04:00
KoloMl
1a7d59cb59 Added the local setting to disable auto-completion 2024-06-02 20:40:09 +04:00
liamwhite
4ff7682df5
Merge pull request #271 from philomena-dev/opensearch-xml
Add OpenSearch XML description for browsers
2024-06-02 12:22:56 -04:00
KoloMl
7fa141bb54 Increased the suggestions count to 10 for search fields specifically
Default 5 entries feel not enough for search field
2024-06-02 19:59:06 +04:00
KoloMl
9dd26f2f87 Added separate property to control autocompletion mode
This is better than using hardcoded field name.
2024-06-02 19:58:01 +04:00
Liam
a95df5ec42 Add OpenSearch XML description for browsers 2024-06-02 11:53:06 -04:00
Liam
7667aec145 Fix invalid backwards range usage with String.slice 2024-06-02 00:02:37 -04:00
liamwhite
6bde65abd1
Merge pull request #239 from philomena-dev/verified-routes2
Verified routes
2024-06-01 23:47:39 -04:00
liamwhite
e6c7651d5d
Fix MFA usage in cast_assoc (#267) 2024-06-01 23:37:39 -04:00
liamwhite
80f9fa9352
Fix Dialyzer (#265)
* Fix post-Elixir 1.16 divergence in File.stream!

* Add exclusion for PhilomenaWeb.Config compile-time variance

* Add missing Autocomplete.t
2024-06-01 23:35:19 -04:00
Liam
9d20b9c465 Ensure flash is fetched before putting flash 2024-06-01 23:34:38 -04:00
Liam
9e79648e44 Remove converter 2024-06-01 22:28:32 -04:00
Liam
d9b3fe4fc8 Remove old route helpers 2024-06-01 22:28:32 -04:00
Liam
9ba670c864 truncated_ip_link 2024-06-01 22:28:32 -04:00
Liam
42039491b6 redirect_path, user_abbrv, last_message_path 2024-06-01 22:28:32 -04:00
Liam
c506ef884e link_to_reported_thing, link_to_noted_thing 2024-06-01 22:28:32 -04:00
Liam
e69f1bf3fa Fixup 2024-06-01 22:28:32 -04:00
Liam
c1fcfe1f6c find lib/ -name '*.ex' -exec sed -i 's|defp log_details(conn, |defp log_details(_conn, |g' {} \; 2024-06-01 22:28:32 -04:00
Liam
e84d451c2b mix convert_to_verified_routes && mix format 2024-06-01 22:28:32 -04:00
Liam
974d2109e2 Add automatic converter 2024-06-01 22:28:32 -04:00
Liam
2f7f1b3802 Remove static paths 2024-06-01 22:28:32 -04:00
Liam
c64606ae02 Fix comment routes 2024-06-01 22:28:32 -04:00
Liam
f232f38d91 Add verified routes to web 2024-06-01 22:28:32 -04:00
KoloMl
3f2e887aec Fixed issues marked by linter 2024-05-30 21:55:41 +04:00
KoloMl
f1aec2fd58 Close autocomplete window when selection moved outside active term by click 2024-05-30 01:37:35 +04:00
KoloMl
f31fcf86b3 Close the autocomplete window once user moved outside current term 2024-05-30 00:32:03 +04:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +04:00
Liam
c0ddf55b48 Add lex stage with intermediate result generation 2024-05-28 23:32:48 -04:00
Nighty
194b2686f6
Migrate to OpenSearch (#186)
* Migrate to OpenSearch

* opensearch security is stupid

* forgor

---------

Co-authored-by: byte[] <byteslice@airmail.cc>
2024-05-24 22:58:18 +02:00
Nighty
ee12e0aaad
forgor 2024-05-24 22:36:00 +02:00
Liam
dea3bd913c Respect max_clause_count 2024-05-23 15:29:16 -04:00
Luna D.
721432255e
switch to valkey 2024-05-23 18:08:51 +02:00
Liam
b9db9064c9 Update comrak to 0.24.1 2024-05-19 14:48:53 -04:00
liamwhite
b235f545f2
Truncate incoming referrer string (#260) 2024-05-18 16:29:27 -04:00
Eliot Partridge
65da36369d
Pause spoilered videos on image pages, unpause on unspoiler (#259)
* Pause spoilered videos on image pages, unpause on unspoiler

* Add test

* Fix comment
2024-05-14 21:32:45 -04:00
liamwhite
7592b0f4d9
Hide Elixir dependencies from host (#257) 2024-05-13 19:47:37 -04:00
mdashlw
d76be72a5d
feat(thumbnailer): purge cache for file when handling :replace_original from processors (#256) 2024-05-11 12:04:52 -04:00
Liam
0e0c446579 Update comrak to include:
https://github.com/philomena-dev/comrak/pull/1
https://github.com/philomena-dev/comrak/pull/2

by @Meow
2024-05-06 22:19:35 -04:00