Commit graph

666 commits

Author SHA1 Message Date
liamwhite
8567a909b5
Merge pull request #341 from philomena-dev/deadweight-elimination-v2
Remove referrer, user_agent, and other unused fields
2024-08-05 08:10:02 -04:00
Liam
8d779ec1f9 Remove referrer, user_agent, and other unused fields 2024-08-05 08:04:12 -04:00
Liam
c7f618d9dd Clear notifications when subscription is removed 2024-07-29 20:03:49 -04:00
Liam
c30406bcca Fix notification dismissal 2024-07-29 19:51:25 -04:00
Liam
7a9994a1e7 Remove IE11 FormData workaround
https://blog.yorkxin.org/posts/ajax-with-formdata-is-broken-on-ie10-ie11/

IE11 support is long gone and so is the browser.
2024-07-29 15:12:45 -04:00
Liam
40fa0331b1 Fixup 2024-07-29 08:54:42 -04:00
Liam
f48a8fc165 Frontend changes 2024-07-28 12:39:11 -04:00
Liam
23332bec28 Move conversation controller functionality into context 2024-07-25 12:36:02 -04:00
mdashlw
a9077f4bf4
fix: :uploaded_image instead of :image
SearchQuery doesn't have :image so I don't think this error_tag would ever be reached
2024-07-21 18:54:01 -07: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
Liam
f3805d55fe Simplify mod note lookup in controllers 2024-07-15 21:19:32 -04:00
Liam
ade92481f8 Remove Time schema, replace with custom type 2024-07-13 16:07:33 -04:00
Liam
aea131afe4 New notifications UI: separated by category 2024-07-08 08:26:30 -04:00
Luna D
7570f18dcb preconnect to cdn host 2024-06-22 19:51:48 +02: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
Luna
4896857bc3 Convert tag dropdown scripts to TypeScript 2024-06-10 20:38:38 -04:00
Luna D.
6ffa24b4b8
fix vite on external devices 2024-06-10 21:18:42 +02:00
mdashlw
62a2f13bb6
feat: bump max source count to 15 2024-06-10 17:30:51 +03:00
Liam
0b0412786f Fix mismerge 2024-06-09 16:31:12 -04:00
Liam
42499ae2b0 Add netmask support to ip_profile tag and source changes 2024-06-09 10:06:50 -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
KoloMl
ac12837941 Disable server-side autocompletion for search field 2024-06-03 17:49:01 +04:00
Liam
9122ba0829 Missing static paths 2024-06-03 09:39:02 -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
KoloMl
9dd26f2f87 Added separate property to control autocompletion mode
This is better than using hardcoded field name.
2024-06-02 19:58:01 +04:00
Liam
a95df5ec42 Add OpenSearch XML description for browsers 2024-06-02 11:53:06 -04:00
Liam
9ba670c864 truncated_ip_link 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
e84d451c2b mix convert_to_verified_routes && mix format 2024-06-01 22:28:32 -04:00
Liam
2f7f1b3802 Remove static paths 2024-06-01 22:28:32 -04:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +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
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
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
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
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
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
3ffebd1533 Fix dynamic typing mistake 2024-04-08 12:46:54 -04:00