Commit graph

1172 commits

Author SHA1 Message Date
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
f232f38d91 Add verified routes to web 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
Luna D.
a3c6cba47e
graphs and fancy comments 2024-05-31 20:07:00 +02:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +04:00
Luna D.
ab30673208
fix dropdown 2024-05-20 23:57:10 +02:00
Luna D.
9d04f2b43e
prettier 2024-05-20 22:30:41 +02:00
Luna D.
f659023649
stylelint 2024-05-20 21:25:43 +02:00
Luna D.
511c419e5e
debranding + spoiler image fix 2024-05-20 19:04:12 +02:00
liamwhite
b235f545f2
Truncate incoming referrer string (#260) 2024-05-18 16:29:27 -04:00
Luna D.
b8d88d5938
oh forgor that 2024-05-07 22:58:53 +02:00
Luna D.
1a741bd80d
better styling 2024-05-07 22:52:17 +02:00
Luna D.
9d4e87efc5
...is this it? 2024-05-07 19:50:21 +02:00
Luna D.
f04666037c
progress today 2024-05-07 19:33:56 +02:00
Luna D.
0de3d98c82
Merge remote-tracking branch 'origin/master' into redesign 2024-05-06 22:18:48 +02: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
mdashlw
ca9cb3a50e
feat: add "retained" column to tag changes table (#246)
* feat: add "retained" column to tag changes table

* Update lib/philomena_web/views/tag_change_view.ex

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>

---------

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2024-05-04 13:00:55 -04:00
liamwhite
32619be58b
Ensure HTML raw insertion is not used in template (#247) 2024-05-03 23:15:14 -04:00
Liam
852f870ccf USe compile-time environment checks 2024-05-03 21:06:15 -04:00
Luna D.
26518629a2
forgor bem 2024-05-03 23:17:19 +02:00
Luna D.
f5fa2c997f
more stuff 2024-05-03 22:59:29 +02:00
Luna D.
265d73cdf7
forms, fancy checkboxes, more better colors 2024-05-03 20:08:52 +02:00
Luna D.
41a078a875
further work 2024-05-01 00:10:05 +02:00
Luna D.
aa299de329
Merge remote-tracking branch 'origin/master' into redesign 2024-04-30 19:15:10 +02:00
Nighty
dd8c2c81d9
Vite HMR for JS/TS (and jankily for CSS) (#242)
* prelim work on vite reload

* the best solution to a problem is usually the easiest one
2024-04-30 13:13:46 -04:00
Luna D.
044df29a38
small vite fixes 2024-04-30 09:25:23 +02:00
Luna D.
4b3221a590
Merge remote-tracking branch 'origin/master' into redesign 2024-04-30 09:17:43 +02:00
Nighty
42cd107b2a
Vite (#240)
* begin vite stuff (does not work yet)

* finalize vite switch + cleanup package.json

* Assets path, re-add async, fix z

* Remove source-map-support

---------

Co-authored-by: Liam <byteslice@airmail.cc>
2024-04-29 20:39:52 -04:00
liamwhite
77548057e8
Relax CSP on development error pages (#238) 2024-04-28 14:09:08 -04:00
Luna D.
59a5f583b3
work on buttons and tags 2024-04-28 18:51:40 +02:00
Luna D.
db237a9853
Merge remote-tracking branch 'origin/master' into redesign 2024-04-28 13:11:39 +02:00
liamwhite
b1a23292fa
Whitespace tolerance (#237)
* Use flexbox for centering image blocks

* Fix tab display

* Make tag list wrappable and HTML whitespace tolerant

* Make header navigation HTML whitespace tolerant
2024-04-27 22:19:57 -04:00
Liam
ba87c1679e Further improve only_tag filtering 2024-04-27 19:49:24 -04:00
liamwhite
101aec001b
Use modern Phoenix HTML escaping (#236) 2024-04-27 14:01:02 -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
f1a75e87f2 Fix escaping error 2024-04-27 01:54:40 -04:00
Luna D.
d5c2eff4ba
progress 2024-04-17 16:52:50 +02:00
Luna D.
bec260fffb
Merge branch 'master' into redesign 2024-04-17 11:54:47 +02:00
Liam
39efe6767c Default tags assign on error 2024-04-08 13:03:20 -04:00
Liam
3ffebd1533 Fix dynamic typing mistake 2024-04-08 12:46:54 -04:00
mdashlw
cc32f5d3b9
feat(search): force display dnp entries even if found no images (#223) 2024-04-06 16:05:32 -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
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
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
Pedro Montes Alcalde
7a3b7e6d62
Make API key & RSS feed url only show when clicked (#205) 2024-03-06 14:36:14 -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
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
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[]
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
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
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[]
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[]
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[]
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
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[]
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[]
6cdcfb2dcd Spawn for upload persistence 2022-07-18 11:33:45 -04:00
byte[]
dd85badae4 Faster uploads, fix replacement of existing files 2022-05-26 20:35:45 -04:00
byte[]
cbcceeaaca Fix previous 2022-05-11 16:41:53 -04:00