Commit graph

573 commits

Author SHA1 Message Date
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
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
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
Liam
b11ae51446 Fix compile warnings 2024-06-12 21:47:15 -04:00
Liam
42499ae2b0 Add netmask support to ip_profile tag and source changes 2024-06-09 10:06:50 -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
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
Liam
7667aec145 Fix invalid backwards range usage with String.slice 2024-06-02 00:02:37 -04:00
Liam
42039491b6 redirect_path, user_abbrv, last_message_path 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
f232f38d91 Add verified routes to web 2024-06-01 22:28:32 -04:00
Eliot Partridge
377317a26b
Add local setting to enable audio on videos by default (#252)
* Add local setting to enable audio on videos by default

* Update copy

* Use ternary over `let`+`if`
2024-05-05 17:38:22 -04:00
liamwhite
5b836580e1
profile/tag_change: show total affected image count (#248)
* profile/tag_change: show total affected image count

* Incorporate count into block header

---------

Co-authored-by: prg <prg@lacunae.de>
2024-05-05 10:12:17 -04:00
Liam
ba87c1679e Further improve only_tag filtering 2024-04-27 19:49:24 -04:00
liamwhite
eb79ee45d2
Tag change search (#234)
* profile/tag_change: add search box to show only a single tag

* Minor fixup

---------

Co-authored-by: prg <prg@lacunae.de>
2024-04-27 14:00:54 -04:00
Liam
39efe6767c Default tags assign on error 2024-04-08 13:03:20 -04:00
mdashlw
921ad0c59a
Autocomplete fallback (#215)
* autocomplete: fallback to fetch if local returns no results

* fix: don't show autocomplete if by the time fetch is complete value had already changed

* autocomplete tag controller: lower images count req from 4 to 1
2024-03-24 11:38:23 -04:00
Nighty
9b766733a5
UI to revert tag changes one-by-one (#202) 2023-12-30 11:32:49 -05:00
Luna D
8f107f4940
missed one 2023-05-29 13:22:34 +02:00
Luna D
e0eb226abe
fix source url display, provide all source urls 2023-05-29 13:06:41 +02:00
Luna D
4d3310eef7
few fixes, design + format 2023-05-28 16:21:57 +02:00
byte[]
a1f98e95a1
Fix update_in for Image 2023-05-28 16:21:57 +02:00
SeinopSys
adc77429f6
set default sources for image view page if none are available 2023-05-28 16:21:57 +02:00
SeinopSys
a4b85feadc
implement UI for multiple image sources editing 2023-05-28 16:21:33 +02:00
byte[]
9bce2ca0a4
Multiple sources structural changes 2023-05-28 16:14:44 +02:00
Luna D
1c5b07086e
large mix update 2023-05-18 16:23:17 +02:00
Floorb
9956ce2cb6 fix: requested changes 2023-05-04 23:05:36 -04:00
Floorb
fe8395da99 feat: add ability for staff to delete tag changes from tag change history
This used to be a thing in Booru on Rails but wasn't added to Philomena
for some reason.
2023-05-02 19:58:06 -04:00
byte[]
913b05b6fc Increase report limit to 5 2023-04-20 14:37:58 -04:00
byte[]
3366182557 Clean up poll validation 2023-04-09 19:30:18 -04:00
Liam
ffe07cce3d Check for absence of thumbnails_generated instead of presence 2023-03-28 18:13:04 -04:00
Luna D
916b2331cb
Merge branch 'master' into s3 2022-12-04 13:17:47 +01:00
byte[]
255a8526e9 Correct RSS endpoint content type (fixes #169) 2022-10-31 08:44:35 -04:00
byte[]
dd85badae4 Faster uploads, fix replacement of existing files 2022-05-26 20:35:45 -04:00
byte[]
ea1bae56ed Enable bulk reversion of bulk tag vandalism 2022-05-03 21:24:23 -04:00
Luna D
a23886c924
fix reports not paginating 2022-03-26 13:38:25 +01:00
Luna D
75464e4088
i have no clue how the heck this worked before but okay 2022-03-25 18:28:59 +01:00
Luna D
59498f8d2a
report for approval on edit as well 2022-03-24 19:19:50 +01:00