Commit graph

1140 commits

Author SHA1 Message Date
liamwhite
a2368fcbf7
Merge pull request #309 from philomena-dev/bans-extraction
Bans logic cleanup
2024-06-25 17:35:57 -04:00
Liam
1b020a4fe9 Fix some credo issues 2024-06-24 23:23:43 -04:00
Liam
318ef681de Bans logic cleanup 2024-06-24 20:45:56 -04:00
Liam
9b9a30621e Separate artist badge awarding logic to new module 2024-06-24 16:28:57 -04:00
liamwhite
1a7fbb29eb
Merge pull request #300 from philomena-dev/ad-extraction
Ads logic cleanup
2024-06-24 16:25:46 -04:00
Liam
677ecc265c Fix API upload 2024-06-23 12:36:19 -04:00
Liam
2e5b0678cd Remove obsolete block-all-mixed-content
This was removed in all major browsers with no replacement.
See https://www.w3.org/TR/mixed-content/#strict-checking for details on the obsolescence.
2024-06-23 11:52:20 -04:00
Luna D
6f0a2698f1 Remove conn from details_func invocation 2024-06-23 10:45:37 -04:00
Luna D
dfeefb1651 Commands:
git grep -l 'defp log_details(_conn' | xargs sed -i -e 's/defp log_details(_conn, /defp log_details(/g'
git grep -l '&log_details/3' | xargs sed -i -e 's|\&log_details/3|\&log_details/2|g'
2024-06-23 10:45:31 -04:00
Luna D
bb7aa0a124 Remove remaining conn usages from log_details 2024-06-23 10:45:14 -04:00
Liam
003ebed59a Move advert update server to app namespace and convert to GenServer 2024-06-22 13:59:59 -04:00
Luna D
7570f18dcb preconnect to cdn host 2024-06-22 19:51:48 +02:00
Liam
180aa23478 Extract ad restriction application to new module 2024-06-22 12:35:19 -04:00
Liam
a344062d53 Update response header usages for list format 2024-06-20 19:49:19 -04:00
Liam
6170e0b5dd Replace Tesla with Req 2024-06-19 23:35:44 -04:00
Liam
ee02fa131d Fix typos 2024-06-18 18:52:46 -04:00
Liam
9f031725ac Fix resource name for fp ban controller 2024-06-16 09:13:25 -04:00
Luna D
97feb0ac00 Add version 4 TypeScript-based FP calculation 2024-06-13 10:24:39 -04:00
Liam
b11ae51446 Fix compile warnings 2024-06-12 21:47:15 -04:00
Luna
4896857bc3 Convert tag dropdown scripts to TypeScript 2024-06-10 20:38:38 -04:00
Luna D.
6ffa24b4b8
fix vite on external devices 2024-06-10 21:18:42 +02:00
mdashlw
62a2f13bb6
feat: bump max source count to 15 2024-06-10 17:30:51 +03:00
Liam
0b0412786f Fix mismerge 2024-06-09 16:31:12 -04:00
Liam
42499ae2b0 Add netmask support to ip_profile tag and source changes 2024-06-09 10:06:50 -04:00
Liam
c8d696540f Split out media processing tools into PhilomenaMedia namespace 2024-06-04 08:37:31 -04:00
Liam
566ba9d4c1 Split out query features to PhilomenaQuery namespace 2024-06-03 21:08:33 -04:00
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
KoloMl
ac12837941 Disable server-side autocompletion for search field 2024-06-03 17:49:01 +04:00
Liam
9122ba0829 Missing static paths 2024-06-03 09:39:02 -04:00
Liam
410332003b Use decimal parsing for search dist value 2024-06-02 22:48:24 -04:00
Liam
c63bc41d8b Split out HTTP client interaction into PhilomenaProxy namespace 2024-06-02 19:26:00 -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
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
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
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
2f7f1b3802 Remove static paths 2024-06-01 22:28:32 -04:00
Liam
f232f38d91 Add verified routes to web 2024-06-01 22:28:32 -04:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +04:00