Commit Graph

5030 Commits

Author SHA1 Message Date
towards-a-new-leftypol ba120d32f7 Thread updator - handle case where you're a mod
- mod triggers refresh
- not a mod uses the response
2024-02-26 21:32:04 +00:00
Jon 07db8e2db4 thread_autoupdater.js: update tslp on ajax post 2024-02-26 21:32:04 +00:00
Jon c5cf671929 thread_autoupdater.js: cleanup 2024-02-26 21:32:04 +00:00
Jon 733aad3bf2 js/lcn/utils.js: use captureStackTrace if available 2024-02-26 21:32:04 +00:00
towards-a-new-leftypol e9228892fa ajax POST: return whole thread 2024-02-26 20:13:29 +00:00
towards-a-new-leftypol 408e9ce30e Fix posting images
- since we return the new post html now, we need the Post class to
  not try and decode files as json, since we're not loading that class
  from the db anymore.
2024-02-26 20:13:29 +00:00
towards-a-new-leftypol da03753a72 thread_updater.js: listen to ajax_after_post event 2024-02-26 20:13:29 +00:00
Jon 61b93aa927 thread_autoupdater.js: add interop event 2024-02-26 20:13:29 +00:00
Jon c07ae61548 thread_autoupdater.js: decrease tslp backoff 2024-02-26 20:13:29 +00:00
Jon 2b9185cd22 js/lcn/classes.js: link toggle label to checkbox 2024-02-26 20:13:29 +00:00
Jon 9298c1a674 thread_autoupdater.js: fix for threads with only an op 2024-02-26 20:13:29 +00:00
Jon 309d8698d4 thread_autoupdater.js: fix tslp calc 2024-02-26 20:13:29 +00:00
Jon c31e69e835 js/lcn/classes.js: add semicolon 2024-02-26 20:13:29 +00:00
Jon 68652d29a3 inc/instance-config.php: fix typo 2024-02-26 20:13:29 +00:00
Jon e33c6825fc thread_autoupdater.js: Display status code on err 2024-02-26 20:13:29 +00:00
Jon e64dd3f9ab thread_autoupdater.js: remove debug 2024-02-26 20:13:29 +00:00
Jon 497a0c9208 inc/instance-config.php: replace legacy with new autoreloader 2024-02-26 20:13:29 +00:00
Jon 78308cb7ce thread_autoupdater.js: add 2024-02-26 20:13:29 +00:00
Jon 37d6a7180d js/lcn/utils.js: remove unnessesary tab 2024-02-26 20:13:29 +00:00
Jon c63d1dfc8b js/lcn/classes.js: add missing semicolon 2024-02-26 20:13:29 +00:00
Jon ee4a95ee57 stylesheets/style.css: swap missing dashes 2024-02-26 20:13:29 +00:00
Jon 0d8ad0a786 add supporting changes 2024-02-26 20:13:29 +00:00
Jon 90004305a0 stylesheets/style.css: add space between barcol children 2024-02-26 20:13:29 +00:00
Jon cf3997e500 swap dashes in threadstat attribs 2024-02-26 20:13:29 +00:00
Jon e6ad88890a templates/thread.html: Replace top button with catalog button 2024-02-26 20:13:29 +00:00
Jon da7e030a53 templates/thread.html: remove dev prefix 2024-02-26 20:13:29 +00:00
Jon d15718958a templates/thread.html: migrate threadbar and threadlinks 2024-02-26 20:13:29 +00:00
Jon af47b2d9ac stylesheets/style.css: add styles 2024-02-26 20:13:29 +00:00
Jon eddb64a3d5 stylesheets/style.css: add lcn_threadstats style 2024-02-26 20:13:29 +00:00
Jon 9c695a267e post_thread.html: use structured block for thread stats 2024-02-26 20:13:29 +00:00
towards-a-new-leftypol c3c6c8f9f1 POST - return new post in json
- handle post now returns the new post you just created in the
  response (if json_response is set, which it is when submitting
  the form with ajax)
2024-02-26 11:37:38 -05:00
towards-a-new-leftypol 0fa2347552 Fix url shortener regex 2024-02-25 22:46:39 -05:00
towards-a-new-leftypol f7e6bb37c5 fix dark (red) theme catalog view when clicked on 2024-02-22 22:27:56 -05:00
towards-a-new-leftypol 0f62ab3ea0 fix catalog hover on dark red theme 2024-02-22 22:16:49 -05:00
towards-a-new-leftypol 36942f2c10 dark red theme catalog hover colors 2024-02-22 22:08:16 -05:00
Jon ac71dfc8d2 js/mod/recent_posts.js: Don't fetch new posts beyond the first page 2024-02-22 10:47:54 -05:00
Jon 663339923f recent_posts.js: s/postWrapper/postWrappers/ 2024-02-22 10:30:49 -05:00
Jon 0737375904 recent_posts.js: rework 2024-02-22 10:30:49 -05:00
Jon d2d5e98589 js/lcn/utils.js: move AbortSignal.any polyfill 2024-02-22 10:30:49 -05:00
Jon 11011a0ff2 js/lcn/classes.js: small edits, add unseen tracker 2024-02-22 10:30:49 -05:00
towards-a-new-leftypol 4ba4768a16 Revert "Exclude /i/ from overboards"
This reverts commit b6f3265b2f.
2024-02-20 18:36:02 -05:00
towards-a-new-leftypol b6f3265b2f Exclude /i/ from overboards 2024-02-20 16:34:45 -05:00
Jon 7f1ef7a019
js/lcn/classes.js: init LCNSite.INSTANCE after dom ready 2024-02-20 20:26:55 +00:00
Jon 6e73f0140d js/lcn/classes.js: add semicolon 2024-02-20 15:19:58 -05:00
Jon 048c94cf76 js/lcn: get js compiler to stop being retarded 2024-02-20 15:15:32 -05:00
Jon e504578a7f js/lcn/utils.js: remove use-strict because js compile breaks 2024-02-20 14:56:22 -05:00
Jon 0974bb899c js/lcn/classes.js: remove use-strict because js compile breaks 2024-02-20 14:56:22 -05:00
Jon 4bb7c3ef0f js/lcn/classes.js: add LCNThread.getReplies 2024-02-20 14:56:22 -05:00
Jon 45727f6a51 js/lcn/classes.js: s/isRecentsPage/isModRecentsPage/ 2024-02-20 14:56:22 -05:00
Jon 257626dcfc inc/instance-config.php: add lcn scripts 2024-02-20 14:56:22 -05:00