Commit graph

2232 commits

Author SHA1 Message Date
KoloMl
fee1c3e656 Convert markdown toolbar logic to TypeScript
Additionally, these changes contain bugfix for the "Escape" button
throwing an error if nothing is selected.
2024-08-29 01:52:01 +04:00
wrenny-ko
4010a8a277 tests for client side tag validation 2024-08-27 20:02:23 -04:00
wrenny-ko
b713524989 setting up test 2024-08-27 19:29:41 -04:00
liamwhite
073ca2881b
Merge pull request #348 from koloml/ts-autocomplete
Converting autocomplete.js to TypeScript
2024-08-27 19:20:03 -04:00
wrenny-ko
204e48d05b mocking out a test that actually compiles 2024-08-27 19:16:13 -04:00
KoloMl
76213ed169 Added explicit types for several functions 2024-08-28 03:11:27 +04:00
wrenny-ko
b7733a2ae5 scroll instead of anchor, closed button tags 2024-08-27 18:52:11 -04:00
wrenny-ko
9b99b17cea linting, review changes 2024-08-27 18:38:14 -04:00
KoloMl
583856d6e8 Converting autocomplete to TypeScript 2024-08-28 02:36:33 +04:00
wrenny-ko
877b3a002e suggested review changes; working on fixing the test file 2024-08-27 18:24:03 -04:00
wrenny-ko
c361118472 linting, js test troubleshooting 2024-08-27 17:26:59 -04:00
wrenny-ko
a4cad4e534 linting fixes 2024-08-27 15:41:45 -04:00
wrenny-ko
55760ea57e client-side tag input validation on image upload submit, preserving the image in the form 2024-08-27 14:58:27 -04:00
Liam
1550125b52 Fix API reverse search 2024-08-27 09:05:45 -04:00
Liam
4dd0c8c11b Fix warning 2024-08-27 08:15:19 -04:00
Liam
c81b991b88 Use image list layout in reverse search 2024-08-25 23:50:33 -04:00
Liam
5da5d086c8 Fix preloads 2024-08-25 21:10:34 -04:00
Liam
d78201d05f Only allow GET
The proxy_cache module will always internally convert HEAD to GET (which is desired).
This does not update the request method variables exposed to Lua, so hardcode GET.
2024-08-17 17:38:34 -04:00
Liam
25748dc8ff Fix HEAD requests to s3proxy 2024-08-17 17:28:56 -04:00
Liam
967cbf7b24 Remove transport_opts workaround for SSL hosts due to upstream fix
Available in 27.0.1+ by https://github.com/erlang/otp/issues/8588
2024-08-16 13:42:08 -04:00
Liam
2e1808b00f Fix case match 2024-08-15 23:01:34 -04:00
Liam
74120d7522 Bump scrivener_ecto for 3.12 2024-08-15 17:22:32 -04:00
Liam
6e64e4b6f0 Increase memory efficiency of local autocomplete 2024-08-15 14:37:59 -04:00
Liam
70145f3926 Fix sass deprecations
https://sass-lang.com/documentation/breaking-changes/mixed-decls/
2024-08-13 21:20:00 -04:00
Liam
19a14b7e63 Dependency updates 2024-08-13 21:12:08 -04:00
liamwhite
e8dfd99f27
Merge pull request #343 from koloml/fix-local-settings-not-saving
Fixed Local Settings not properly saving for unauthorized users
2024-08-08 19:09:00 -04:00
KoloMl
0122efcbc8 Fixed asserting throwing an error when user is not logged in
This selector is optional and does not exist for the not-logged-in
users. We don't really need to assert it existence in this case.
2024-08-09 00:22:56 +04:00
Liam
2a89162cba Fixup polls 2024-08-08 08:24:43 -04:00
Liam
e704319dd9 Deduplicate select expressions in convert_to_notification 2024-08-06 08:32:41 -04:00
liamwhite
c173162c1e
Merge pull request #342 from philomena-dev/notifications-cleanups
Notifications cleanups
2024-08-06 08:05:48 -04:00
Liam
6471718a3c Fixup 2024-08-05 08:23:32 -04:00
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
183a99bc4f Remove background queueing for notification broadcasts 2024-07-30 17:04:40 -04:00
Liam
9538575c97 Streamline notification broadcasts 2024-07-30 13:20:46 -04:00
Liam
f91d9f2143 Remove unused changeset functions 2024-07-30 12:35:47 -04:00
Liam
0891fe31af Use insert_all instead of update_all for conflict resolution during merges 2024-07-30 00:13:04 -04:00
Liam
91e1af6402 Fix gallery deletion 2024-07-29 20:44:38 -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
3f832e89f6 Fix topic creation notifications 2024-07-29 19:27:14 -04:00
Liam
3d69807118 Avoid creating notifications for user performing the action 2024-07-29 19:13:08 -04:00
Liam
7d432c5114 Fix merge error 2024-07-29 16:07:08 -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
f9e8911411 Fix mod notes again 2024-07-29 11:27:04 -04:00
Liam
0b93a1814a Fix wrong awarding user for automatic artist badge award 2024-07-29 11:26:11 -04:00
Liam
40fa0331b1 Fixup 2024-07-29 08:54:42 -04:00
liamwhite
fe59b046f7
Merge pull request #328 from philomena-dev/notifications-v3
New notifications tables
2024-07-29 08:33:07 -04:00
Liam
f48a8fc165 Frontend changes 2024-07-28 12:39:11 -04:00
Liam
6ac5230b2e Migration 2024-07-28 12:39:08 -04:00