Visitar URL original
Commits · ether/etherpad-lite · GitHub
The Wayback Machine - https://web.archive.org/web/20210222174445/https://github.com/ether/etherpad-lite/commits/develop
Skip to content
Permalink
develop

Commits on Feb 22, 2021

  1. Localisation updates from https://translatewiki.net.

    translatewiki committed Feb 22, 2021
  2. tests: timeslider_follow increase test timeout for firefox.

    JohnMcLear committed Feb 22, 2021
  3. caretPosition: Clarify comment in `getPosition()`

    rhansen authored and JohnMcLear committed Feb 22, 2021
  4. caretPosition: Delete pointless logic in `getPosition()`

    The `line` variable is unconditionally overwritten later, and the
    function calls do not have side effects, so it is safe to delete this
    logic.
    rhansen authored and JohnMcLear committed Feb 22, 2021
  5. CI: Delete old Sauce Connect logic

    rhansen authored and JohnMcLear committed Feb 22, 2021
  6. tests: fix importexport frontend tests (#4827)

    * CI: Leave log level at INFO for frontend tests
    
    * CI: Disable frontend admin tests for non-admin workflow
    
    * CI: Disable import/export rate limiting for frontend tests
    
    * tests: fix importexport tests
    
    The testing approach was redone to fix numerous issues:
      * Even if the tests had been working, none of them would have caught
        #4808 because they
        didn't exercise the client-side import logic. Now they do.
      * Follow-up logic was not in the `helper.waitFor()` callback like it
        should have been. Now the code uses `async` and `await` to ensure
        proper execution order.
      * All `$.ajax()` calls used `async: false`. Now they're properly
        asynchronous.
      * The `helper.waitFor()` condition callbacks threw instead of
        returning false.
      * The string comparisons didn't allow for different attribute
        order (e.g., `<ol start="1" class="list-number1">` vs. `<ol
        class="list-number1" start="1">`). Now `Node.isEqualNode()` is
        used to reduce fragility. (`Node.isEqualNode()` is not perfect, so
        the tests are still a bit fragile: If class names or style strings
        are in a different order then `Node.isEqualNode()` will return
        false even if the nodes are semantically equivalent.)
    
    Co-authored-by: Richard Hansen <rhansen@rhansen.org>
    
    Co-authored-by: Richard Hansen <rhansen@rhansen.org>
    JohnMcLear and rhansen committed Feb 22, 2021
  7. Rename lgtm.yml to .lgtm.yml

    JohnMcLear committed Feb 22, 2021
  8. Update CHANGELOG.md

    JohnMcLear committed Feb 22, 2021
  9. plugins: Better fix for LGTM security warning

    rhansen authored and JohnMcLear committed Feb 22, 2021
  10. badges: color fix

    JohnMcLear committed Feb 22, 2021
  11. docs: Badge polish

    JohnMcLear committed Feb 22, 2021
  12. api: drop JSONP (#4835)

    * api: drop JSONP
    
    * docs: drop JSONP
    
    * tests: drop JSONP
    
    * api: remove isValidJSONPName require
    JohnMcLear committed Feb 22, 2021
  13. tests: More descriptive Sauce Labs name

    rhansen committed Feb 22, 2021
  14. tests: try all supported node versions

    webzwo0i authored and rhansen committed Feb 22, 2021
  15. tests: delay setting up saucelabs tunnel

    webzwo0i authored and rhansen committed Feb 22, 2021
  16. tests: Pass `--legacy-peer-deps` flag to work around npm v7 bug

    This flag is unknown to npm v6, but npm v6 silently ignores unknown
    flags.
    rhansen committed Feb 22, 2021
  17. Lgtm bugfixes (#4838)

    * code tidy up: always evaluates
    
    * tidy up: is always true
    
    * tidy up: remove unused code
    
    * always true/false variables
    
    * unused variable
    
    * tidy up: remove unused code in caretPosition.js
    
    * for squash: Revert "tidy up: remove unused code in caretPosition.js"
    
    The `if` condition was previously always true, so the body should be
    preserved. If the body is preserved, other logic can be deleted. I
    opened PR #4845 to clean it all up.
    
    This reverts commit 75b03e5.
    
    * for squash: simplify
    
    * for squash: Explain that the getter is used for its side effects
    
    It's very weird to call a getter without using its return value. Add a
    comment explaining why this is done so that the reader doesn't get
    confused.
    
    * for squash: Revert "tidy up: remove unused code"
    
    The exception test was the purpose of the code.
    
    This reverts commit 85153b1.
    
    * for squash: Log the tsort results
    
    Co-authored-by: Richard Hansen <rhansen@rhansen.org>
    JohnMcLear and rhansen committed Feb 22, 2021
  18. Update node in docker to version 14 (#4844)

    Gared committed Feb 22, 2021
  19. lint: padaccess.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  20. lint: Settings.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  21. lint: NodeVersion.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  22. lint: ImportEtherpad.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  23. lint: ExportTxt.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  24. lint: ExportHtml.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  25. lint: AbsolutePaths.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  26. lint: i18n.js

    Partial, still 3 more to do that are slightly higher hanging that can get done.
    JohnMcLear authored and rhansen committed Feb 22, 2021
  27. lint: padurlsanitize.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  28. lint: openapi.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
  29. lint: SocketIORouter.js

    JohnMcLear authored and rhansen committed Feb 22, 2021
Older