Tetrakern
f5e0188c1f
Add Stimulus ( #65 )
2024-12-06 17:38:32 +01:00
Tetrakern
04624569fe
Change appropriate to unoffensive
2024-11-16 14:00:38 +01:00
Tetrakern
dd2d6b48f4
Add offensive/appropriate frontend mod menu item
2024-11-15 18:43:23 +01:00
Tetrakern
07cdac120a
Clean up error messages part 3
2024-10-13 00:36:43 +02:00
Tetrakern
6d991dc717
Clean up error messages part 1
2024-10-12 16:37:11 +02:00
Tetrakern
0207309275
Improve handling of URI params in AJAX comments
2024-10-12 12:13:54 +02:00
Tetrakern
a25b53fe1f
Allow custom fields in comment AJAx submit
2024-06-24 11:12:33 +02:00
Tetrakern
b7f2fba0b4
Update fast AJAX mu-plugin
2024-05-07 14:39:01 +02:00
Tetrakern
0e5de4f90a
Fix wrong variable name
2024-04-24 23:53:14 +02:00
Tetrakern
55922128a4
Make fcn_textareaAdjust more resilient
2024-04-24 19:53:05 +02:00
Tetrakern
eab325c2e7
Account for different content elements in comment form
...
Textarea and div, which should be enough.
2024-04-24 19:42:17 +02:00
Tetrakern
4a97f62037
Fix over-reliance on IDs in comment form
...
Just in case these IDs are not unique at some point. It also makes the HTML smaller.
2024-04-24 19:08:05 +02:00
Tetrakern
268071c42b
Account for order in AJAX comment submit
2024-04-24 17:36:06 +02:00
Tetrakern
b65fb51c3c
Prepare scripts for custom comment form selector
2024-04-24 17:20:09 +02:00
Tetrakern
e4de35c3de
Remove wp.i18n JS script and uses
...
That just included several render-blocking scripts for little benefit.
2024-03-09 15:15:46 +01:00
Tetrakern
bc5a1ae321
Color refactoring part 4
2024-02-23 19:16:36 +01:00
Tetrakern
fab8e152e0
Fix AJAX comment form sometimes not laoding
2024-02-11 15:37:24 +01:00
Tetrakern
96fca5b2cc
Move nonce plausibility check to backend
2024-02-04 03:06:11 +01:00
Tetrakern
6482bb689d
Add JS check for nonce plausibility
...
This does not check whether a nonce is valid, only whether it looks like a valid nonce. Because some cache plugins can break nonces trying to insert them.
2024-02-04 00:44:59 +01:00
Tetrakern
3421ba5598
Let AJAX comment form also receive nonce
...
This should further prevent problems with some cache plugins.
2024-02-04 00:13:43 +01:00
Tetrakern
640e48016d
Consolidate CSS applied by JS
2024-02-03 23:59:15 +01:00
Tetrakern
13307a786f
Refactor comment moderation
2024-02-02 22:16:04 +01:00
Tetrakern
14424669b6
Update handling of aria-checked
...
And remove last inline onchange call.
2024-01-31 13:25:02 +01:00
Tetrakern
a2ab9585b6
Fix AJAX auth not always working
2024-01-16 08:00:17 +01:00
Tetrakern
d782ae6305
Allow post authors to moderate post comments
2023-09-18 00:23:55 +02:00
Tetrakern
97a417e014
Update observer rootMargins
2023-08-27 14:19:04 +02:00
Tetrakern
048e705a51
Add observer to comment form
...
And optimize some other comment things.
2023-08-27 14:01:55 +02:00
Tetrakern
ac943c4713
Cleanup
2023-08-27 13:01:43 +02:00
Tetrakern
b1e6ffc700
Refactor AJAX user authentication
2023-08-27 12:29:24 +02:00
Tetrakern
c4181c6695
Refactor fingerprint
2023-08-27 00:16:43 +02:00
Tetrakern
2bb30e1a46
Reduce some JS
2023-08-24 21:34:37 +02:00
Tetrakern
1be0c0946c
BBCode keys now apply to the selected textarea
...
Surprised this just works.
2023-08-24 01:01:01 +02:00
Tetrakern
22d84ec21a
Move fast comment AJAX
...
Now bound to the setting.
2023-08-23 18:37:51 +02:00
Tetrakern
df503ebcba
Improve key combinations for BBCodes
2023-08-23 11:54:08 +02:00
Tetrakern
9823eaf8ec
Add key combinations for BBCodes
2023-08-23 03:04:23 +02:00
Tetrakern
5cdb7dd415
Revert "Load comment form via REST API"
...
This reverts commit f3d348e93540b9c14ca8e0054e809d395c306839.
2023-08-22 00:40:42 +02:00
Tetrakern
f3d348e935
Load comment form via REST API
...
If enabled.
2023-08-21 22:29:55 +02:00
Tetrakern
869c55741e
Prepare comment for fast AJAX
...
At least some actions, because others require actions and filters.
2023-08-21 00:57:03 +02:00
Tetrakern
b419f2903e
Clean ups and optimizations
2023-08-19 13:33:25 +02:00
Tetrakern
a28335cf06
Improve AJAX comment error messages
2023-08-06 00:14:10 +02:00
Tetrakern
95e59f2500
Generate HTML templates in JS
2023-07-02 01:04:03 +02:00
Tetrakern
f5c3023b1e
Small code cleanup
2023-07-01 15:53:17 +02:00
Tetrakern
df0601c797
Optimize commend inline edit
...
Use template instead of putting the whole form into each comment.
2023-06-19 03:42:36 +02:00
Tetrakern
41909556e5
Replace all frontend inline onclick handlers
2023-06-18 03:28:44 +02:00
Tetrakern
4d7a9ce4d6
Use delegate click handler for BBCodes
...
Sometimes I wonder why I previously did things the way I did. But then I remember that I build all of that myself in crunch mode without getting payed.
2023-06-17 00:36:58 +02:00
Tetrakern
e7d3c0f923
Fix AJAX comment form events
...
That is why I tend to use inline JS events. Binding everything is such a chore.
2023-06-12 21:25:47 +02:00
Tetrakern
90c1f4921d
Clean up comments.js
2023-06-12 20:37:56 +02:00
Tetrakern
0acfdf90d2
Improve performance of comment mod menu
2023-06-09 18:30:53 +02:00
Tetrakern
64bb7653fc
Use global handler for some click events
...
Gets around the problem with AJAX content that needs events to be rebound.
2023-06-09 11:30:31 +02:00
Tetrakern
6777a24762
Hide comment form inputs until clicked
2023-02-16 22:31:31 +01:00