Commit graph

2086 commits

Author SHA1 Message Date
liamwhite
b235f545f2
Truncate incoming referrer string (#260) 2024-05-18 16:29:27 -04:00
Eliot Partridge
65da36369d
Pause spoilered videos on image pages, unpause on unspoiler (#259)
* Pause spoilered videos on image pages, unpause on unspoiler

* Add test

* Fix comment
2024-05-14 21:32:45 -04:00
liamwhite
7592b0f4d9
Hide Elixir dependencies from host (#257) 2024-05-13 19:47:37 -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
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
Liam
0e0c446579 Update comrak to include:
https://github.com/philomena-dev/comrak/pull/1
https://github.com/philomena-dev/comrak/pull/2

by @Meow
2024-05-06 22:19:35 -04:00
Luna D.
0de3d98c82
Merge remote-tracking branch 'origin/master' into redesign 2024-05-06 22:18:48 +02:00
Luna D.
6cf90203cb
polyfill js for older browsers i guess 2024-05-06 17:16:15 +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
mdashlw
eba094fe47
feat: add "oc only" to quick tag table Often Forgotten (#249) 2024-05-04 12:58:51 -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.
e8841d8cc4
square avatar option 2024-05-01 09:28:59 +02:00
Luna D.
70cde5d4b2
import mockinstance 2024-05-01 09:26:01 +02:00
Liam
7119660451 wrap 2024-04-30 21:27:02 -04:00
David Joseph Guzsik
5643660806
Eliminate chai-dom and restore @testing-library/jest-dom (#244) 2024-04-30 18:20:14 -04:00
Luna D.
6e6fa20e83
import mockinstance 2024-05-01 00:15:06 +02:00
Luna D.
41a078a875
further work 2024-05-01 00:10:05 +02:00
Luna D.
6f4f309222
fix tests 2024-04-30 22:03:57 +02:00
Luna D.
0e8f30abf2
Merge remote-tracking branch 'origin/master' into redesign 2024-04-30 21:27:42 +02:00
David Joseph Guzsik
2417f40d37
Switch jest unit tests to vitest (#243)
* Switch jest unit tests to vitest

* Cleanup vite config after debugging
2024-04-30 20:44:26 +02:00
Luna D.
bac364f221
unnest, add light theme, fixes 2024-04-30 20:38:28 +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.
5aad931ba7
switch from scss/sass to plain css with postcss plugins 2024-04-30 12:16:09 +02: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
Liam
ac908d2efd Remove tslib 2024-04-29 21:30:13 -04: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
Liam
089816845e Silence any lint on window.location mock 2024-04-22 18:45:42 -04:00
liamwhite
df2e336a24
upload: add pinning test (#231) 2024-04-22 18:43:36 -04:00
liamwhite
88a1131f35
input-duplicator: migrate to TypeScript (#230) 2024-04-22 18:43:27 -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