Commit graph

840 commits

Author SHA1 Message Date
mdashlw
5def18e5f0
fix(Philomena.DuplicateReports.SearchQuery): validate_required in image_changeset 2024-07-20 22:04:14 -07:00
Liam
c898b83e6d Reverse order of type and id arguments 2024-07-20 22:41:47 -04:00
Liam
c8410e7957 More documentation 2024-07-20 22:30:58 -04:00
Liam
c9bcda4e0a Document create_system_report and flip argument order 2024-07-20 22:20:13 -04:00
Liam
3f09125425 Extract query for closing reports 2024-07-20 21:24:55 -04:00
byte[]
731e4d8869 Add some basic limits to anonymous tag changes 2024-07-20 13:04:19 -04:00
liamwhite
844e0a3535
Merge pull request #333 from philomena-dev/image-rs-form
Convert reverse search parsing to changeset-backed form
2024-07-19 21:25:38 -04:00
Liam
ee57b9d971 Add more thorough user change eraser 2024-07-19 17:24:19 -04:00
Liam
7a5d26144a Convert reverse search parsing to changeset-backed form 2024-07-19 14:58:52 -04:00
Liam
79f508f603 Improve readability of duplicate report frontend parsing / generation 2024-07-19 08:50:16 -04:00
mdashlw
8f3f2c981b
feat: support limit param in reverse search 2024-07-19 02:01:27 -07:00
Liam
d91667d70a Remove unused contexts 2024-07-16 18:44:01 -04:00
Liam
f3805d55fe Simplify mod note lookup in controllers 2024-07-15 21:19:32 -04:00
Liam
93a6d8d117 Move mod note query string query to context 2024-07-15 20:57:39 -04:00
Liam
dd5a118d8c Simplify moderation logs context 2024-07-15 20:43:45 -04:00
Liam
cd2efb0d39 Remove Repo fetch from Channel module 2024-07-15 09:28:19 -04:00
Liam
4493dfcc1d Move ban ID generator to bans namespace 2024-07-13 16:12:31 -04:00
Liam
c89424d146 Extract query validation callback step to custom validator 2024-07-13 16:12:24 -04:00
Liam
ade92481f8 Remove Time schema, replace with custom type 2024-07-13 16:07:33 -04:00
Liam
2dd2f43f37 Perform coercion for query strings in parser module 2024-07-13 15:32:00 -04:00
Liam
2f182e9068 Use compile with opts for image queries 2024-07-13 15:31:33 -04:00
Liam
476363d4f7 Use compile with opts for post queries 2024-07-13 14:47:45 -04:00
Liam
e9eb638d79 Use compile with opts for filter queries 2024-07-13 14:42:37 -04:00
Liam
fc2ab285c7 Use compile with opts for comment queries 2024-07-13 14:38:20 -04:00
Liam
161a5faf57 Shorten truncated utc_now pattern 2024-07-09 21:20:00 -04:00
Liam
420099890c Extended source validation 2024-07-08 14:16:18 -04:00
Liam
aea131afe4 New notifications UI: separated by category 2024-07-08 08:26:30 -04:00
Liam
5678862038 Deduplicate common subscription logic 2024-07-02 17:21:52 -04:00
Liam
813fb0fd97 Channel automatic update move 2024-06-25 21:48:32 -04:00
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
dbbc067679 Fix documentation errors 2024-06-24 19:48:17 -04:00
liamwhite
bd4dfd9016
Merge pull request #303 from philomena-dev/autocomplete-extraction
Autocomplete logic cleanup
2024-06-24 19:44:29 -04:00
Liam
2136957647 Fix automatic awarding 2024-06-24 16:35:35 -04:00
Liam
0ac4a898d8 Clean up remainder of ArtistLinks context 2024-06-24 16:28:58 -04:00
Liam
9b9a30621e Separate artist badge awarding logic to new module 2024-06-24 16:28:57 -04:00
Liam
f29fdae22f Separate extra automatic verification logic to existing module 2024-06-24 16:26:56 -04:00
liamwhite
1a7fbb29eb
Merge pull request #300 from philomena-dev/ad-extraction
Ads logic cleanup
2024-06-24 16:25:46 -04:00
liamwhite
b68dcd4548
Merge pull request #299 from philomena-dev/elastix-remove
Remove Elastix and hackney
2024-06-24 07:39:11 -04:00
Liam
d6facc7809 Autocomplete logic extraction 2024-06-22 21:42:43 -04:00
Liam
cc21b402a0 Fix weird indentation 2024-06-22 18:16: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
180aa23478 Extract ad restriction application to new module 2024-06-22 12:35:19 -04:00
Liam
f7222da111 Remove Elastix and hackney 2024-06-21 11:37:47 -04:00
Liam
9bdb1b0fb8 Remove cowboy and replace with bandit 2024-06-20 21:19:30 -04:00
Liam
6170e0b5dd Replace Tesla with Req 2024-06-19 23:35:44 -04:00
liamwhite
e596f5313c
Merge pull request #291 from philomena-dev/typedoc
Documentation updates
2024-06-18 23:21:51 -04:00
Liam
ee02fa131d Fix typos 2024-06-18 18:52:46 -04:00
Liam
16e15e9c67 Add extra type and callback documentation 2024-06-18 15:06:01 -04:00
mdashlw
567eaac697
image: validate sources length 2024-06-10 17:48:29 +03:00
mdashlw
62a2f13bb6
feat: bump max source count to 15 2024-06-10 17:30:51 +03:00
Liam
c8d696540f Split out media processing tools into PhilomenaMedia namespace 2024-06-04 08:37:31 -04:00
Liam
9b204c908d More fully separate underlying search behavior from usage in application 2024-06-03 21:08:33 -04:00
Liam
566ba9d4c1 Split out query features to PhilomenaQuery namespace 2024-06-03 21:08:33 -04:00
Liam
961c9998b8 Add missing constraint conversion to artist links 2024-06-03 10:12:42 -04:00
Liam
f92b61c176 Add missing constraint conversions for interaction tables 2024-06-02 22:58:09 -04:00
Liam
c63bc41d8b Split out HTTP client interaction into PhilomenaProxy namespace 2024-06-02 19:26:00 -04:00
Liam
ed34dea36f Swap Bamboo for Swoosh email delivery 2024-06-02 19:08:06 -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
c64606ae02 Fix comment routes 2024-06-01 22:28:32 -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
Liam
dea3bd913c Respect max_clause_count 2024-05-23 15:29:16 -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
ac3b15b1e2 Add tag count fields 2024-04-22 08:29:38 -04:00
Liam
3f1f208916 Drop source_count from fields pending reindex 2024-04-21 21:22:02 -04:00
mdashlw
ea25f2a01e
Source count index (#214)
* elasticsearch image index: add source_count

* images query: add source_count field
2024-04-21 21:21:00 -04:00
Liam
f9a6240014 Add tag category counts to index 2024-04-21 21:20:43 -04:00
mdashlw
3714ae115c
fix: misleading error if image is corrupted (#222)
width/height can be nil here, first case doesn't match but nil is indeed bigger than 32767, so the incorrect error message will be displayed
2024-04-06 14:10:33 -04:00
mdashlw
2cfde149ef
Twitter scraper description (#221)
* feat(scrapers/twitter): return received tweet text

Also: use url and username from received json for the sake of consistent capitalizaton

* fix: all fields are under "tweet"
2024-04-05 12:59:16 -04:00
mdashlw
f5642d1d39
galleries: set actor child to the added image for notifications (#213) 2024-03-23 16:24:59 -04:00
mdashlw
2dae9118c7
scrapers/twitter: support x.com (#211) 2024-03-23 11:56:17 -04:00
mdashlw
89aa180c8e
parser: don't downcase some fields (#209)
* parser: don't downcase some fields

* flip condition
2024-03-18 13:25:59 -04:00
mdashlw
a3428945f4
Search images by file name (#206)
* feat(Images.Query): add literal file_name field

* feat(templates/search): add file_name to search dropdown
2024-03-14 09:44:15 -04:00
mdashlw
3b2f5f36cb
feat(scrapers/twitter): highest quality image url (#207) 2024-03-14 09:28:59 -04:00
Liam
886539c514 Things have not improved since this scraper was written 2024-03-07 09:09:50 -05:00
Liam
838e5e15ed Mix dependency updates 2024-03-04 11:56:56 -05:00
liamwhite
55eac3c638
fix propagation of replaced file in edit script (#192)
fixes derpibooru/philomena#281
2024-03-04 10:57:46 -05:00
liamwhite
9ece7c327c
switch to maintained twitter scraper implementation (#187) 2024-03-04 10:57:37 -05:00
Nighty
9b766733a5
UI to revert tag changes one-by-one (#202) 2023-12-30 11:32:49 -05:00
Eliot Partridge
217621a9e1
Hide Queue staff link if user can't approve images (#200) 2023-12-03 20:56:32 -05:00
byte[]
0c865b3f2a Dependency updates 2023-09-27 14:17:27 -04:00
Luna D
7481721d6d
fix dupe merger 2023-05-29 14:20:57 +02:00
Luna D
e0eb226abe
fix source url display, provide all source urls 2023-05-29 13:06:41 +02:00
Luna D
b70c0a11f6
merging sources, fix ui bugs, more icons 2023-05-28 18:12:53 +02:00
Luna D
4d3310eef7
few fixes, design + format 2023-05-28 16:21:57 +02:00
byte[]
a1e2122ce4
Add on_replace to sources 2023-05-28 16:21:57 +02:00
byte[]
cb1d2b97ff
Fix source differ and caller to accept nested fields_for input 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
Meow
c401695513
Merge pull request #180 from philomena-dev/mod-note-display
Make mod notes show the tag name instead of the requesting user
2023-05-18 11:27:51 +02:00
liamwhite
e0dc9c79f2
fix gallery notification deletion (#183) 2023-05-10 21:42:56 -04:00
Floorb
9ec25a05ec fix: make it so moderators can delete tag changes too 2023-05-02 20:05:16 -04:00
byte[]
a82664720f Make mod notes show the tag name instead of the requesting user 2023-04-24 14:38:05 -04:00
byte[]
6fa7fb88c5 Exclude contacted artist links from open link count 2023-04-20 14:08:58 -04:00
byte[]
b513e66578 Clear deleted posts and topics from listings 2023-04-20 14:02:24 -04:00
byte[]
e2c94dda6c Lock the topic while computing topic_position 2023-04-10 22:16:10 -04:00
byte[]
3366182557 Clean up poll validation 2023-04-09 19:30:18 -04:00