Commit graph

  • 42d4d8269c Changeset: Refactor appendATextToAssembler() for readability Richard Hansen 2021-03-21 19:48:30 -04:00
  • ca5bdddc59 Changeset: Use break instead of done variable Richard Hansen 2021-11-08 23:35:03 -05:00
  • 44d99733c6 Changeset: Check .hasNext() before calling .next() Richard Hansen 2021-09-30 13:39:02 -04:00
  • 1955e7b263 Changeset: Replace output params with return values Richard Hansen 2021-10-13 17:00:50 -04:00
  • 94f5507671 Changeset: Improve copyOp() API Richard Hansen 2021-10-02 18:17:11 -04:00
  • 02ef78e174 Changeset: Make sure opOut is cleared Richard Hansen 2021-10-02 18:05:24 -04:00
  • 18a6b7279c Changeset: Only pass strings to parseNum() Richard Hansen 2021-10-21 03:35:03 -04:00
  • 7ec0d5f385 Changeset: Remove unnecessary linesApplySplice() Richard Hansen 2021-03-21 14:58:05 -04:00
  • 37bb297e76 Changeset: Improve logged error message Richard Hansen 2021-03-04 20:37:37 -05:00
  • 7fa9b07116 Changeset: Invert conditions to improve readability Richard Hansen 2021-09-27 17:25:31 -04:00
  • b29e59419e Changeset: Factor out duplicate code Richard Hansen 2021-10-16 17:54:03 -04:00
  • 4a65c2c8ff Changeset: Unexport unnecessarily exported functions Richard Hansen 2021-03-21 14:13:50 -04:00
  • 085bc8cbb3 plugins: Don't create .ep_initialized files Richard Hansen 2021-11-10 17:34:09 -05:00
  • 263105d185 tests: Remove overly aggressive timeouts Richard Hansen 2021-11-13 03:03:01 -05:00
  • 3c6aef11bd lint: Add 'use strict'; Richard Hansen 2021-11-13 03:02:40 -05:00
  • 0f7c5a8782 lint: Use window. to avoid global declaration Richard Hansen 2021-11-10 23:41:24 -05:00
  • 19e9c2f114 adminsettings: Pay attention to --settings Richard Hansen 2021-11-10 18:41:53 -05:00
  • 46ad93024d adminsettings: Promisify Richard Hansen 2021-11-10 18:24:54 -05:00
  • 4e2f816665 adminsettings: Use object destructuring Richard Hansen 2021-11-10 18:23:30 -05:00
  • b0a7237443 Fix comparison between CustomError and string Timon Engelke 2021-11-12 22:58:49 +01:00
  • 1a36ab2c75 Fix comparison between CustomError and string Timon Engelke 2021-11-12 22:58:49 +01:00
  • 0013432483 plugins: Don't create .ep_initialized files Richard Hansen 2021-11-10 17:34:09 -05:00
  • 6d773f7d56 Put regression tests with the bugfix commit, mention bug in PR Richard Hansen 2021-11-09 05:15:24 -05:00
  • 8b73b911c9 Changeset: Use string templates webzwo0i 2021-10-17 20:33:53 +02:00
  • cb95e5907c Localisation updates from https://translatewiki.net. translatewiki.net 2021-11-08 13:04:14 +01:00
  • 2347228270 Changeset: Use string templates webzwo0i 2021-10-17 20:33:53 +02:00
  • cc688f7367 ace: Delete dead code Richard Hansen 2021-11-03 03:08:08 -04:00
  • 5283bfc14a linestylefilter: Delete unused arguments Richard Hansen 2021-11-01 18:30:54 -04:00
  • dd8ec4e291 Changeset: Remove unused lastIndex() method from op iterator Richard Hansen 2021-10-20 19:15:30 -04:00
  • 0fd2a46783 Changeset: Remove unused start index parameter for opIterator() Richard Hansen 2021-10-20 19:15:30 -04:00
  • 43dae4cb1d Changeset: Delete unused index parameters in applyZip() Richard Hansen 2021-09-27 16:36:42 -04:00
  • b3215992c9 changesettracker: Delete IE8 compatibility code Richard Hansen 2021-10-21 00:49:35 -04:00
  • 9f66ffbc3b Pad: Delete no-op call to SmartOpAssembler.appendOpWithText() Richard Hansen 2021-10-10 19:39:58 -04:00
  • ad6de52eb2 Changeset: More JSDoc comment improvements Richard Hansen 2021-10-25 02:40:01 -04:00
  • caefd2184a PadMessageHandler: Don't fire userLeave if user hasn't joined yet Richard Hansen 2021-11-07 01:30:39 -04:00
  • 87a490d456 docs: import hook fileEnding has leading period Richard Hansen 2021-11-06 01:05:55 -04:00
  • 088fb14784 fix: upgrade express-rate-limit from 5.4.1 to 5.5.0 snyk-bot 2021-11-03 11:32:35 +00:00
  • 56cb08f4c5 pad: Pass color and display name in CLIENT_READY Richard Hansen 2021-11-03 00:50:51 -04:00
  • 7a0d8cb52e pad: Use URLSearchParams to process search params Richard Hansen 2021-11-02 22:58:31 -04:00
  • fe87e2df87 ImportHandler: Pass the pad ID to the import hook Richard Hansen 2021-11-05 17:16:40 -04:00
  • caf4e9f28c ImportHandler: Use truthiness to signal conversion handled Richard Hansen 2021-11-05 17:15:52 -04:00
  • edf99dc811 docs: Document the import server-side hook Richard Hansen 2021-11-05 17:08:17 -04:00
  • cc4772a99e Localisation updates from https://translatewiki.net. translatewiki.net 2021-11-04 13:03:08 +01:00
  • 6bf8142221 chat: Translate newly created message entries Richard Hansen 2021-11-01 04:56:46 -04:00
  • 99b7bdd176 chat: Set timestamp CSS font-size: smaller; Richard Hansen 2021-11-01 01:38:40 -04:00
  • 51907015ed chat: Fix gritter duration Richard Hansen 2021-11-01 01:27:06 -04:00
  • 23f963c9fe chat: Improve name mention detection Richard Hansen 2021-11-01 01:24:32 -04:00
  • 26675c5019 chat: New chatNewMessage server-side hook Richard Hansen 2021-10-30 16:58:28 -04:00
  • 23a98e5946 tests: Refactor waitForSocketEvent() to improve readability Richard Hansen 2021-10-30 22:28:12 -04:00
  • 3132235f2c tests: Rename getSocketEvent() to waitForSocketEvent() Richard Hansen 2021-10-30 22:29:37 -04:00
  • 65bd597053 tests: Move socket.io connection helpers to common.js Richard Hansen 2021-10-30 22:23:13 -04:00
  • bea57ff249 tests: Use logger variable for consistency Richard Hansen 2021-10-30 22:18:42 -04:00
  • 9fbd2e5c3d chat: New chatSendMessage client-side hook Richard Hansen 2021-10-26 02:08:14 -04:00
  • 4c2f7f9a11 chat: Rename userId to authorId, userName to displayName Richard Hansen 2021-10-26 01:05:24 -04:00
  • 0f47ca9046 chat: Plumb message object end to end Richard Hansen 2021-10-26 00:56:27 -04:00
  • f1f4ed7c58 chat: Allow chatNewMessage hook to control rendering Richard Hansen 2021-10-25 20:44:35 -04:00
  • 2597b940f4 chat: Give chatNewMessage hook access to the raw message object Richard Hansen 2021-10-26 21:58:34 -04:00
  • fc5a3f553d chat: Test processing in chatNewMessage hook Richard Hansen 2021-10-27 19:52:24 -04:00
  • caac4bf711 chat: Promisify addMessage() Richard Hansen 2021-10-25 19:51:37 -04:00
  • 3f7f629eeb chat: Scroll down after the chatNewMessage hook finishes Richard Hansen 2021-10-25 19:50:49 -04:00
  • 195a6bd81b chat: Move click handler setup to init() Richard Hansen 2021-10-25 19:48:54 -04:00
  • c8dbf35fe4 docs: Improve chatNewMessage client-side hook documentation Richard Hansen 2021-10-26 21:56:53 -04:00
  • 23037280a8 Pad: Simplify getChatMessages() Richard Hansen 2021-10-25 19:33:36 -04:00
  • e471cb12e6 tests: Also spy on initially loaded chat messages Richard Hansen 2021-10-28 17:40:02 -04:00
  • 66a8c48fac tests: Save the CHAT_MESSAGE payload, not the wrapper Richard Hansen 2021-10-28 17:38:25 -04:00
  • c8e0916e1a tests: Spy on socket.io messages as early as possible Richard Hansen 2021-10-28 17:44:10 -04:00
  • e28c9ffc97 tests: Support injecting hook functions during pad load Richard Hansen 2021-10-28 17:36:41 -04:00
  • c8e544ec8d tests: Fix handling of nullish module definitions Richard Hansen 2021-10-27 16:12:35 -04:00
  • 9987834b15 Clarify instructions in PULL_REQUEST_TEMPLATE.md Peter VandeHaar 2021-10-20 17:34:16 -04:00
  • 9aaf781548 PadMessageHandler: Modernize userLeave hook context properties Richard Hansen 2021-10-30 02:22:15 -04:00
  • a6d060d67b PadMessageHandler: Replace clientReady hook with new userJoin hook Richard Hansen 2021-10-30 02:05:09 -04:00
  • c98910e1c5 PadMessageHandler: Populate session info as early as possible Richard Hansen 2021-10-30 01:40:20 -04:00
  • b7de24c85f PadMessageHandler: Fix readability of duplicate user check Richard Hansen 2021-10-30 01:31:17 -04:00
  • 00e7b04518 PadMessageHandler: Improve readability of changeset loading Richard Hansen 2021-10-30 01:16:17 -04:00
  • 50b9e0df1f PadMessageHandler: Use values from session info object Richard Hansen 2021-10-30 01:04:43 -04:00
  • 10e930408c PadMessageHandler: Delete unnecessary CLIENT_READY checks Richard Hansen 2021-10-30 00:48:52 -04:00
  • 0992f19570 PadMessageHandler: Improve readability of historical author fetch Richard Hansen 2021-10-30 00:46:05 -04:00
  • d36a37d666 PadMessageHandler: Delete unnecessary protocolVersion Richard Hansen 2021-10-30 00:34:15 -04:00
  • ce730b0493 PadMessageHandler: Inline createSessionInfoAuth() Richard Hansen 2021-10-30 00:27:09 -04:00
  • fa54dc1053 PadMessageHandler: Run the clientReady hook asynchronously Richard Hansen 2021-10-30 00:18:56 -04:00
  • 5d30e0b1b2 PadMessageHandler: Run the userLeave hook asynchronously Richard Hansen 2021-10-29 22:52:17 -04:00
  • f2a118b311 PadMessageHandler: Inline unnecessary variables Richard Hansen 2021-10-29 22:50:42 -04:00
  • 7522d76c40 PadMessageHandler: Invert condition to improve readability Richard Hansen 2021-10-29 22:49:11 -04:00
  • a3b4d985ac lint: Fix awkward string formatting Richard Hansen 2021-10-29 22:47:56 -04:00
  • f4f3aa6aae docs: Improve userLeave and clientReady hook documentation Richard Hansen 2021-10-29 23:09:27 -04:00
  • 80e84636d7 pad: Promisify handshake() Richard Hansen 2021-10-28 17:15:42 -04:00
  • cd4f5ff281 pad: Defer message handling until handshake completes Richard Hansen 2021-10-29 18:54:52 -04:00
  • be0298290d pad: Move post-handshake code to _afterHandshake() Richard Hansen 2021-10-28 16:32:11 -04:00
  • 9fb754ce3a pad: Initialize pad cookie before starting the handshake Richard Hansen 2021-10-28 16:09:31 -04:00
  • f6c5ce606e pad: Move UI setup from handshake() to init() Richard Hansen 2021-10-28 16:04:23 -04:00
  • bd44a87388 pad: Unexport unnecessarily exported handshake() function Richard Hansen 2021-10-28 17:21:04 -04:00
  • 5cbbcbcee6 pad: Simplify reload after .etherpad import Richard Hansen 2021-10-28 15:55:47 -04:00
  • e974622561 pad: Use window. to avoid ESLint error Richard Hansen 2021-10-28 15:15:05 -04:00
  • d8ca3a693d timeslider scrollTo: fixes wrong line number calculation in case there are no attribute changes and no length changes webzwo0i 2021-10-29 00:12:47 +02:00
  • 9bad1d03d3 importHtml: do not add an useless identity changeset webzwo0i 2021-10-29 00:59:06 +02:00
  • f7f5e3dad8 setText: prevent adding useless revision in case the pad text did not change webzwo0i 2021-10-29 00:54:18 +02:00
  • 63de249236 tests: do not re-add identical text with setText webzwo0i 2021-10-29 00:53:36 +02:00
  • 668d62fa3f importHtml: avoid race when applying empty document and the import changeset at the same time webzwo0i 2021-10-29 00:23:19 +02:00
  • 8eb5640cb7 fix: upgrade express-rate-limit from 5.4.0 to 5.4.1 snyk-bot 2021-10-27 09:57:33 +00:00
  • dd8608fe6e fix: upgrade rate-limiter-flexible from 2.3.0 to 2.3.1 snyk-bot 2021-10-26 10:12:32 +00:00