Commit graph

1675 commits

Author SHA1 Message Date
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
5a6b2bd874
feat: more icons for source urls (#220) 2024-04-05 08:07:54 -04:00
mdashlw
9e3db6b882
feat: more icons for source urls (#218) 2024-04-02 12:40:41 -04:00
mdashlw
1f440475ed
fix sources block not updating properly after saving (#216) 2024-03-24 11:44:48 -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
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
3395cd1470
ImageView: add more hosts for source icons (#212)
* ImageView: add more hosts for source icons

* fix compile errors
2024-03-23 11:56:07 -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
Liam
3cc9e90ff2 Fix topic subscription target 2024-03-16 14:15:30 -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
Pedro Montes Alcalde
7a3b7e6d62
Make API key & RSS feed url only show when clicked (#205) 2024-03-06 14:36:14 -05:00
Liam
838e5e15ed Mix dependency updates 2024-03-04 11:56:56 -05:00
Liam
8c9315acf2 Module.concat workaround in post renderer is no longer needed 2024-03-04 11:34:26 -05:00
Liam
59d5211926 Remove unused uri_host function 2024-03-04 11:34:26 -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
Liam
49e94afa1e Fix subscription targets 2024-03-03 00:31:06 -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
Luna D
b527db8dfd
header and footer 2023-11-23 22:20:02 +01:00
Luna D
b872cb8db8
restart redesign from latest master 2023-11-23 17:07:49 +01:00
byte[]
0c865b3f2a Dependency updates 2023-09-27 14:17:27 -04:00
Azure Star
f422c5a756
added 2 mastodon instances where I found pony artists on 2023-07-11 21:55:13 +02:00
Luna D
41349acfdb
ui improvements 2023-06-02 19:37:03 +02:00
Luna D
1b590c6296
backport parts of image view from redesign 2023-06-01 19:42:30 +02:00
Luna D
7481721d6d
fix dupe merger 2023-05-29 14:20:57 +02: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
b70c0a11f6
merging sources, fix ui bugs, more icons 2023-05-28 18:12:53 +02:00
Luna D
613d316d68
nicer code 2023-05-28 16:21:57 +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[]
a1f98e95a1
Fix update_in for Image 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
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
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
9956ce2cb6 fix: requested changes 2023-05-04 23:05:36 -04:00
Floorb
9ec25a05ec fix: make it so moderators can delete tag changes too 2023-05-02 20:05:16 -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[]
a82664720f Make mod notes show the tag name instead of the requesting user 2023-04-24 14:38:05 -04:00
byte[]
913b05b6fc Increase report limit to 5 2023-04-20 14:37:58 -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[]
5e908e40f6 Fix markdown embed displays for small images 2023-04-10 21:33:44 -04:00
byte[]
3366182557 Clean up poll validation 2023-04-09 19:30:18 -04:00
byte[]
3ff083f157 Use only hostname check in tor plug 2023-03-30 12:44:12 -04:00
byte[]
9b98299db9 Add missing full.mp4 and rendered.png versions to enumeration 2023-03-30 12:28:36 -04:00
byte[]
b579cc1c8d Fix opengraph meta for small images 2023-03-29 11:12:06 -04:00
byte[]
145ee74c69 Fix embedded image views for small images 2023-03-29 10:59:28 -04:00
byte[]
c218e50c1f Completely remove channel_url_root 2023-03-28 21:51:18 -04:00
byte[]
8b44b0ed0a Disable S3 Upload and use PutObject instead 2023-03-28 18:14:02 -04:00
Liam
ffe07cce3d Check for absence of thumbnails_generated instead of presence 2023-03-28 18:13:04 -04:00
Luna D
c38b50aafa
more accurate user statistics 2023-03-28 22:09:24 +02:00
Luna D
8c7f633b18
stringify boolean values in js datastore 2023-03-21 17:22:51 +01:00
Luna D
59029c24e2
phoenix_html doesn't like booleans in data tags 2023-02-20 17:26:00 +01:00
Luna D
d03375c604
mailer now returns a tuple 2023-02-19 17:26:09 +01:00
Luna D
18cd73704b
bump depends 2023-02-18 22:26:26 +01:00
Luna D
916b2331cb
Merge branch 'master' into s3 2022-12-04 13:17:47 +01:00
Luna D
47c15a38d8
update all dependencies, elixir and postgres 2022-11-20 13:54:57 +01:00
byte[]
1ce934b75a Catch more errors, adjust retries 2022-11-05 11:39:30 -04:00
byte[]
a7ffde8f89 Warn on copy failure 2022-11-05 09:44:34 -04:00
byte[]
464cc26a85 workaround for inconsistent PutObjectCopy on R2 2022-11-05 09:23:56 -04:00
byte[]
255a8526e9 Correct RSS endpoint content type (fixes #169) 2022-10-31 08:44:35 -04:00
Jordan R AW
217106e5ae
Add the timeline for the user statistics page (#168)
Currently, the user statistics is hardcoded to display only
stats from the last 90 days. This isn't clear from the
display. We can easily fit this content in the existing
chart header.
2022-09-25 21:25:36 -04:00
byte[]
75f0e66a0d Fix deviantart scraper 2022-09-03 23:10:52 -04:00
byte[]
6cdcfb2dcd Spawn for upload persistence 2022-07-18 11:33:45 -04:00
byte[]
a3ed8d98b7 handle TopLeft orientation 2022-07-18 09:20:42 -04:00
byte[]
51b2c7410c Spawn off on hides, adjust retries 2022-07-01 12:24:51 -04:00
byte[]
dd85badae4 Faster uploads, fix replacement of existing files 2022-05-26 20:35:45 -04:00
byte[]
244ea56d0f Improve performance of bulk renames 2022-05-18 22:45:32 -04:00
byte[]
ba0d231750 Adjust timeouts 2022-05-15 09:44:17 -04:00
byte[]
ce653a53ba Silence sobelow warnings 2022-05-14 20:54:13 -04:00
byte[]
07862b0d0c Require a start date for upload_to_s3 task 2022-05-14 20:03:33 -04:00
byte[]
76bf7f292a Add live replication support 2022-05-14 17:22:29 -04:00
byte[]
96372ec921 Use a private bucket 2022-05-14 14:17:18 -04:00
byte[]
3d756804b0 Format 2022-05-13 10:42:00 -04:00
byte[]
06d557495a Do prefixes the correct way around 2022-05-13 10:42:00 -04:00
byte[]
d67fd7ebb7 Add dev shim to upload task for local testing 2022-05-13 10:42:00 -04:00
byte[]
3ee8179cc8 Add uploader task 2022-05-13 10:42:00 -04:00
byte[]
c9b1d3fc63 Don't unpersist anymore 2022-05-13 10:42:00 -04:00
byte[]
fd758b7f0d Deal with content type screwery 2022-05-13 10:42:00 -04:00
byte[]
7094f14072 Move all affected versions 2022-05-13 10:42:00 -04:00
byte[]
577d5e8766 Format 2022-05-13 10:42:00 -04:00
byte[]
f80d8577a8 Finish cleanup of thumbnailer 2022-05-13 10:42:00 -04:00
byte[]
20cc6cb908 Finish thumbnailer, integrate hider 2022-05-13 10:42:00 -04:00
byte[]
4c97791a7b Compatible thumbnailer 2022-05-13 10:42:00 -04:00
byte[]
1670fd9eb9 Remove scale_if_smaller, no more symlinking 2022-05-13 10:42:00 -04:00
byte[]
6e4771a57a Allow processors to indicate the thumbnail types they can generate 2022-05-13 10:42:00 -04:00
byte[]
cbcceeaaca Fix previous 2022-05-11 16:41:53 -04:00
byte[]
ea1bae56ed Enable bulk reversion of bulk tag vandalism 2022-05-03 21:24:23 -04:00
Luna D
b346ffcd5c
update to FA6, move npm depends 2022-04-02 14:41:15 +02: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
317a568521
fix navigation between images being borked 2022-03-25 17:02:19 +01:00
Luna D
59498f8d2a
report for approval on edit as well 2022-03-24 19:19:50 +01:00
Luna D
4c2c611891
mix format 2022-03-24 19:04:25 +01:00
Luna D
884b5d4972
fix derps 2022-03-24 19:01:38 +01:00
Luna D
b655654acb
prefix unused vars 2022-03-24 18:44:39 +01:00
Luna D
fbb35d3b3a
derp 2022-03-24 18:44:39 +01:00
Luna D
962af4d29b
happy little changes 2022-03-24 18:44:39 +01:00
Luna D
26deaaf588
approval queue stuff 2022-03-24 18:44:39 +01:00
Luna D
eeb2f851e0
post and comment approval 2022-03-24 18:44:38 +01:00
Luna D
a3db6f6eed
initial user verification stuff 2022-03-24 18:44:38 +01:00
Eliot Partridge
c726c79a6a Sort image favoriters' names case-insensitively 2022-03-03 15:07:05 -06:00
byte[]
5b422a8089 Format 2022-01-21 15:37:43 -05:00
byte[]
3709a09d6b Add intensity recalculation task 2022-01-21 15:37:39 -05:00
byte[]
ce5405c670 Allow disabling of tag suggestion filtering 2022-01-20 17:37:05 -05:00
byte[]
a9fb361591 Adjust color distance ratio to match scaling
See 656c5af4fe
2022-01-20 17:21:29 -05:00
byte[]
f358b824cb Update twitter scraper (fixes derpibooru/philomena#261) 2021-12-30 16:03:31 -05:00
byte[]
cf80b6a63b offset negative index by 1 2021-12-29 21:13:39 -05:00
byte[]
b06647838d Fix alias handling 2021-12-29 20:08:41 -05:00
byte[]
46e68aac60 Don't load associations for aliases 2021-12-29 19:56:25 -05:00
byte[]
ede4b5ce4f Format 2021-12-29 19:52:32 -05:00
byte[]
a60fe1c48c Fixed implementation 2021-12-29 19:52:15 -05:00
byte[]
25e9739383 Handle aliases, names in namespace 2021-12-27 18:19:08 -05:00
Liam
3074a291c6 Bump timeout for autocomplete generation 2021-12-26 20:14:11 -05:00
byte[]
c07fbec0e6 Format 2021-12-26 19:16:38 -05:00
liamwhite
dadc2f1585
Local autocomplete (#151) 2021-12-26 19:16:21 -05:00
byte[]
715506352c Filter images and home pages to images with thumbnails 2021-12-26 19:00:47 -05:00
byte[]
e668881c18 Fix leap year search bug 2021-12-26 16:48:33 -05:00
byte[]
7ebba8b368 Fix propagation of hidden parameter in searches 2021-12-22 21:30:28 -05:00
byte[]
50beea4a35 format 2021-12-21 15:19:35 -05:00
byte[]
3315eada3b Fix warning 2021-12-20 22:39:50 -05:00
liamwhite
bcf295b1fa
Search fields (#100) 2021-12-20 14:44:52 -05:00
Erhannis
12ce4f82e1
Feature/main/246 scrape pillowfort (#139) 2021-12-19 22:39:40 -05:00
byte[]
faa9b0784a format 2021-12-19 12:28:56 -05:00
byte[]
42a81537d3 Better upload error messages (fixes furbooru/philomena#58) 2021-12-19 12:28:23 -05:00
byte[]
14cfb3b06e Fix error on user update form 2021-12-19 11:54:21 -05:00
byte[]
4bb2e3078c More visible errors for parse errors (fixes philomena-dev/philomena#149) 2021-12-12 12:39:39 -05:00
Luna D
87ecd1009f
fix cell sizes 2021-11-30 23:09:04 +01:00
Luna D
b6cd7d3cb0
redesign staff list 2021-11-30 22:17:47 +01:00
Luna D
0f1b5644c1
fix unmatches clause 2021-11-12 19:51:24 +01:00
Meow
4f561b9c16
Merge pull request #146 from philomena-dev/modlogs
basic moderation logs
2021-11-08 20:22:19 +01:00
Luna D
a92d7378dd
format 2021-11-08 17:21:49 +01:00
Luna D
57eab20972
dupe logs 2021-11-08 15:04:17 +01:00
Luna D
9f4b8c3556
import helper instead of calling plug directly 2021-11-08 14:45:19 +01:00
Luna D
c776a29094
cronjob to clean mod logs 2021-11-08 11:41:13 +01:00
Luna D
f555c337ea
basic moderation logs 2021-11-07 19:51:55 +01:00
byte[]
45196e2619 Format 2021-11-07 09:33:41 -05:00
byte[]
bf568745dc Allow password resets and account unlocks on banned accounts (fixes derpibooru/philomena#259) 2021-11-07 09:33:22 -05:00
byte[]
cafba455cd Don't halt idempotent requests 2021-11-06 08:09:32 -04:00
byte[]
2f4383eef7
fix security flaw in usernames 2021-11-01 15:32:01 +01:00
byte[]
67ffb5cf13 Fix layout_class on related 2021-10-27 20:03:24 -04:00
byte[]
fee0d030a8 format 2021-10-24 16:19:01 -04:00
byte[]
6b2e46c9e8 Fix distance inclusion on reverse search form 2021-10-24 16:18:50 -04:00
byte[]
89ae9a8742 Don't make relative dates case sensitive 2021-10-23 22:12:27 -04:00
byte[]
c9a47b2e82 Use svgstat instead of magick for svg file analysis 2021-10-23 21:55:39 -04:00
Luna D
2ad2a4347f
account for cases when body may be nil 2021-10-11 19:36:29 +02:00
liamwhite
10fc962da6
Video upload previews (#141) 2021-10-05 21:31:50 -04:00
byte[]
c4b67ba30d Fix errors on stat page for empty site 2021-10-03 17:58:14 -04:00
Luna D
a55c511775
default value of tag description 2021-10-03 11:05:26 +02:00
SeinopSys
a1e848514e
fix issues with the image upload description markdown input 2021-10-01 02:31:25 +02:00
SeinopSys
27af96fe3a
unrequire editor fields that weren't previously required 2021-10-01 00:55:39 +02:00
SeinopSys
53b087b576
add icon in front of markdown page link and make it bold 2021-09-30 21:11:48 +02:00
SeinopSys
78c3db8f65
replace syntax quick reference expansion with markdown page link 2021-09-30 21:11:48 +02:00
SeinopSys
27efab9f8f
update syntax quick reference for subscript 2021-09-30 21:11:48 +02:00
SeinopSys
f61cc6d0be
revert split editor styling, update markdown toolbar buttons' behavior 2021-09-30 21:11:48 +02:00
SeinopSys
b8aa9b2c9c
eliminate obsolete workarounds from markdown toolbar, update escape regex 2021-09-30 21:11:48 +02:00
SeinopSys
71fa95e462
initial implementation of markdown-based text editor 2021-09-30 21:11:48 +02:00
byte[]
983d606013 Add some specs and documentation, format 2021-09-29 22:09:21 -04:00
Luna D
fd17684882
render collections correctly in markdownrenderer 2021-09-29 22:24:38 +02:00
Luna D
1739373bf7
preliminary removal of textile and big migration 2021-09-29 22:05:16 +02:00
byte[]
96188e31c1 Fix newline 2021-09-28 18:34:31 -04:00
byte[]
21e58b486f Add mass conversion task 2021-09-28 18:34:09 -04:00
Luna D
e1e20c5159
missed one 2021-09-29 00:23:36 +02:00
Luna D
a74313404f
remove accidental inspect 2021-09-28 23:38:05 +02:00
Luna D
3c1a25d5dc
on the fly md conversion 2021-09-28 23:28:49 +02:00
byte[]
fe07a6b5ea Phoenix implemented Param for float (phoenixframework/phoenix#4322) 2021-09-27 19:21:04 -04:00
byte[]
5b6d941a36 mix format 2021-09-27 19:18:34 -04:00
byte[]
b1da5afac0 Fix JSON error pages 2021-09-27 19:18:14 -04:00
Erhannis
f8382b055f
Image scale setting (#134) 2021-09-26 21:54:47 -04:00
byte[]
aa8b7b9aa6 Fix pattern 2021-09-23 22:48:02 -04:00
Luna D
2dd8c44691
artist links can go without being code 2021-09-23 18:41:34 +02:00
Luna D
c86e449f42
render static pages with unsafe markdown 2021-09-23 17:02:21 +02:00
Luna D
8ec16757e4
preserve textile newlines 2021-09-23 15:51:09 +02:00
Luna D
a603961a8a
remove escaping of new lines temporarily 2021-09-23 00:13:23 +02:00
Luna D
fd867cbbbe
escape all newlines 2021-09-22 22:20:45 +02:00
Luna D
708852f3b5
fix spoilers 2021-09-22 21:55:06 +02:00
Luna D
e88e27ccfd
bunch of small fixes 2021-09-22 00:43:51 +02:00
Luna D
625c0e4556
Merge branch 'markdown' 2021-09-21 18:25:24 +02:00
Luna D
d97f348a50
mix format complained about this file so i guess? 2021-09-21 00:55:15 +02:00
Luna D
a32f01ae1a
fix thing 2021-09-20 23:54:06 +02:00
Luna D
4e9cde610a
mix format 2021-09-19 23:22:48 +02:00
Luna D
e864a99a43
implement >>image syntax 2021-09-19 23:17:50 +02:00
Luna D
ae3411b7a2
add user flag to bypass rate limits 2021-09-17 21:14:23 +02:00
Luna D
fae0827c81
switch to gocamo 2021-09-16 17:00:46 +02:00
Luna D
6aad14b806
make md renderer not escape 2021-09-15 00:14:35 +02:00
Luna D
ece485b367
fix bq 2021-09-14 23:41:46 +02:00
Luna D
8f6f56b0e7
your mom's instrument 2021-09-14 01:08:47 +02:00
Luna D
6aa9baefd2
implement camo in rust 2021-09-13 20:54:57 +02:00
byte[]
1bf7c647a1 Rename crate to philomena and change nif mod to Philomena.Native 2021-09-12 19:20:51 -04:00