28 Commits

Author SHA1 Message Date
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
Tetrakern
3d0330ed6f Remove [u] BBCode
Could be confused for links and really, who needs that?
2023-02-16 14:50:38 +01:00
Tetrakern
e42ae309e4 Make AJAX comment form more resilient 2023-02-14 10:49:59 +01:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00