Liam
17b9001ac7
wip
2024-05-05 00:32:05 -04:00
Liam
97aeab3fbb
Remove converter
2024-05-04 23:24:45 -04:00
Liam
c617533b4c
Fix whitespace errors
...
These were largely found with three regular expressions:
%> [.;,]
( <%
%> \w+ <
2024-05-04 17:09:52 -04:00
Liam
67720bd7dc
mix format
2024-05-04 17:09:44 -04:00
Liam
a19b1d1cb6
mix convert_to_heex
2024-05-04 17:09:20 -04:00
Liam
88a28e646d
Add converter
2024-05-04 17:08:36 -04:00
Liam
291db61fb8
Remove converter
2024-05-04 17:07:32 -04:00
Liam
39dc9ffc2c
Remove old route helpers
2024-05-04 17:07:32 -04:00
Liam
bb9469e279
truncated_ip_link
2024-05-04 17:07:32 -04:00
Liam
2184d17086
redirect_path, user_abbrv, last_message_path
2024-05-04 17:07:32 -04:00
Liam
37f949a9c5
link_to_reported_thing, link_to_noted_thing
2024-05-04 17:07:32 -04:00
Liam
26f3ada091
Fixup
2024-05-04 17:07:32 -04:00
Liam
42da2725a4
find lib/ -name '*.ex' -exec sed -i 's|defp log_details(conn, |defp log_details(_conn, |g' {} \;
2024-05-04 17:07:32 -04:00
Liam
ae985927bd
mix convert_to_verified_routes && mix format
2024-05-04 17:07:32 -04:00
Liam
e15e22ed38
Add automatic converter
2024-05-04 17:07:32 -04:00
Liam
d2a1230288
Remove static paths
2024-05-04 17:07:32 -04:00
Liam
1f34b90f5c
Fix comment routes
2024-05-04 17:07:32 -04:00
Liam
9566b9b73f
Add verified routes to web
2024-05-04 17:07:32 -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
77548057e8
Relax CSP on development error pages ( #238 )
2024-04-28 14:09:08 -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
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
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
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
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