Commit Graph

155 Commits (e71958e7055822f9c480fa3dc5ad3fa9828cf6cf)

Author SHA1 Message Date
JFH e71958e705 fix several configuration issue and linter 2021-05-19 23:09:40 +02:00
JFH b7fccd59d5 adapt to new folder structure 2020-07-25 15:32:59 +02:00
Brett Zamir 4c638d4820 - Linting: As per latest ash-nazg
- Docs: Update license badge
- Docs(CHANGES): Update
- npm: Update devDeps. and package-lock.json
2020-07-01 13:34:47 +08:00
Brett Zamir 070e08a4f9 - npm/Linting: Add `--cache` to speed up subsequent linting 2020-05-18 10:25:49 +08:00
Brett Zamir 863b41bfcc - npm: Update from deprecated `rollup-plugin-babel` to `@rollup/plugin-babel`
(and make `babelHelpers` explicit)
2020-05-10 11:14:36 +08:00
Brett Zamir 1a9b00a1f8 - License: Remove "CC-BY-SA-2.0" as explicit license type, but make note about unclear provenance of some images
- Docs: Update license badges to reflect lack of (known) CC-BY-SA-2.0 usage
- Replace CC-BY-SA-2.0 polygon image (thanks, @mowijo !)
2020-05-04 09:19:16 +08:00
Brett Zamir 4b92acc790 - Update: Cypress code coverage plugin
- Linting: Update as per latest ash-nazg
- npm: Update devDeps.
2020-04-12 10:45:03 +08:00
Brett Zamir 8fe42204ce - Docs: Update coverage badge per latest coveradge
- npm: Update devDeps
2020-03-27 15:23:45 +08:00
Brett Zamir 25d8b61c36 - Docs: Update CHANGES 2020-03-17 14:24:20 +08:00
Brett Zamir f3a83dcb1d - Linting (ESLint): As per latest ash-nazg (unicorn)
- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
    auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
2020-03-11 00:23:54 +08:00
Brett Zamir 9fac8ecc58 - Linting (ESLint): Add `fintechstudieos/eslint-plugin-chai-as-promised`,
`eslint-plugin-chai-expect-keywords`, and `eslint-plugin-mocha-cleanup`
    plugins
2020-02-26 14:34:42 +08:00
Brett Zamir 7c6f512512 - Linting: Lint hidden `ncurc.js` file
- Docs: Add 6.0.0.md migration file
- Docs: Update Contributing, Testing (renamed to Development), Linting and ReleaseInstructions
- Docs: Info on submodules
- npm: Add scripts for updating submodules
- npm: Add `license-badges`, `build-docs`, and `copy` scripts to `prepublishOnly` script
- npm: Bump to 6.0.0
2020-02-22 14:16:12 +08:00
Brett Zamir f59481340f - Docs: Clarify; update CHANGES 2020-02-20 12:50:42 +08:00
Brett Zamir 08bf6f63b8 - Docs: Update testing info; update CHANGES
- `editorconfig`: Use 4 spaces for Markdown
- npm: Rename and group various development scripts
2020-02-20 12:31:06 +08:00
Brett Zamir cd5f80eac0 - Refactoring: Add favicon no-op to suppress favicon 404s until
loaded dynamically (might make configurable in future)
2020-01-10 09:34:44 +08:00
Brett Zamir 11a21fe93a - License: Reflect actual license of library in `package.json` based
not only on licenses of repository as a whole (i.e., "MIT") but
  individual component files; see `filesByLicense` in `licenseInfo.json`
  for a map of license to these files within the repo with their own
  licenses. See the new license badges on the README for a summary of
  the licenses including either bundled devDependencies or all
  `devDependencies` (we have no direct npm `dependencies` currently).
- Docs: Add license badges and `licenseInfo.json` (has a
  `filesByLicense` map of files to licenses (not yet used programmatically)
  and `bundledRootPackages` which is used by `license-badger` to know which
  dev. packages are being bundled (added by `npm run copy`) for determining
  summary of all licenses including bundled).
- npm: Update devDep.
2020-01-08 10:56:21 +08:00
Brett Zamir 860dca4339 - Optimization: Remove unmaintained chrome-app, firefox-extension,
opera-widget (an updated WebExtensions replacement (or such)
  would be welcome.)
2020-01-07 09:57:25 +08:00
Brett Zamir 22978edcb6 - Build: Update underscore copy
- npm: Update devDep (Jamilih)
2020-01-06 16:02:03 +08:00
Brett Zamir 97f64d2189 - Refactoring: Move `build-html` to `build` directory
- Optimization: Remove old build/tools closure/yuicompressor code
- Testing: Produce mochawesome report
- Testing: Cypress with multiple reporters (was expecting we'd need, but doesn't hurt to add for now)
- Docs: Add testing badge
- Docs: Reprioritize `docs` in commit lists (prioritize user-facing)
- npm: Update `package-lock.json` (seems to have fixed so Cypress shows incremental results)
2020-01-06 13:42:52 +08:00
Brett Zamir 711cfc4ecc - Fix: Ensure `setupCurPrefs` is run (including when `source` or
`url` is set within the URL)
2020-01-05 11:11:44 +08:00
Brett Zamir 56197a493c - Refactoring: Switch from `$.param.querystring` to `URL` 2020-01-05 10:02:49 +08:00
Brett Zamir 37424278d1 - BREAKING CHANGE: Remove `$.pref` in favor of new `svgEditor.pref`
(avoiding polluting jQuery). (Might be moved to own module in
  future.)
- BREAKING CHANGE: `putLocale` (a function called automatically by
  `svg-editor.js`) no longer checks `pref`. Should not impact
  average consumers.

`putLocale` now also logs lang and checks `goodLangs` even if an explicit lang param is provided
2020-01-05 08:54:16 +08:00
Brett Zamir 0029a932b2 - Fix: Misspelling for `dropXMLInternalSubset` method (also fixes
use in imagelib when defaulting to image's title)
- Fix: Redirect paths for imagelib redirect checks
2020-01-04 17:32:19 +08:00
Brett Zamir cc6937ce96 - Linting (ESLint): Add rules to check for file-level tags 2020-01-01 01:15:16 +08:00
Brett Zamir 7fc26e114d - Refactoring: Ensure file-global tags are at beginning of file 2019-12-31 16:33:47 +08:00
Brett Zamir 477d5fdb6c - Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
- npm: Update devDeps
2019-12-31 13:14:33 +08:00
Brett Zamir eb4401e998 - Update: Copy of core-js and qr-manipulation
- npm: Add `underscore` to copy script
- npm: Make `copy`, `compress-images`, `start-embedded`, `build-docs-remove`
  scripts cross-platform; add `start-allow-origin` script
- npm: Update devDeps/`package-lock.json`
2019-12-27 07:32:39 +08:00
Brett Zamir 1d590400f4 - Fix (openclipart browser): Redirect on lacking browser support 2019-12-26 08:11:55 +08:00
Brett Zamir 4a13308618 - npm: Rename `test-prep` to `prep` 2019-12-25 16:33:01 +08:00
Brett Zamir 0be20acbc6 - Docs (CHANGES): Add re: fix to menu style/text 2019-12-25 16:20:21 +08:00
Brett Zamir a579878c6b - Docs (CHANGES): Update to indicate localization addition 2019-12-25 16:14:37 +08:00
Brett Zamir 6f8d45cda9 - Docs: Remove outdated info on jsdoc linting (now just part of eslint config)
- npm: Rename open script to open-tests, and add `open` script for opening instance of svgedit
- npm: Ensure starting server for open scripts
2019-12-25 16:06:44 +08:00
Brett Zamir 8aaf40a64b - npm: Update `open-report` for cross-platform 2019-12-24 11:50:44 +08:00
Brett Zamir 6a0a505558 - npm: Add rimraf toward supporting Windows development (needed for building docs and instrumenting) 2019-12-24 09:47:20 +08:00
Brett Zamir fc41ea7a43 - Testing: Separate tests into unit/ui; split UI tests by specific domain;
setup browser-bug folder and ui issues folder
- Testing: Create test utilities for selecting English and visiting and
  approving storage
- Testing: Add test for tool selection
2019-12-23 18:47:17 +08:00
Brett Zamir 3ac0d58af9 - Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
- npm: Update devDeps (including core-js copy)
2019-12-19 08:25:23 +08:00
Brett Zamir 4a910db39d - Docs (CHANGES): Update 2019-11-30 11:59:55 +08:00
Brett Zamir a59170fbe1 - Linting (ESLint): Simplify regexes
- npm: Update scripts to reflect removal of `all_tests.html`;
  remove `browser-test` script
- npm: Update devDeps
2019-11-30 11:41:01 +08:00
Brett Zamir 3045e52e51 - Docs (CHANGES): Update 2019-11-23 23:54:55 +08:00
Brett Zamir 2c5033de1b - Docs (CHANGES): Update 2019-11-23 23:52:39 +08:00
Brett Zamir 34721f2351 - Fix (Accessibility): Avoid duplicate IDs 2019-11-23 21:23:05 +08:00
Brett Zamir 4785aa9cae - Docs: Add vulnerabilities badge; reorder
- npm: Bump to 5.1.0
2019-11-16 10:52:24 +08:00
Brett Zamir 643d375c04 - Docs: Update CHANGES 2019-11-16 10:48:09 +08:00
Brett Zamir d808cc22de - Linting: Comment out unused var.
- Maintenance: Add `.editorconfig`
- npm: Update jml, core-js-bundle, devDeps
2019-11-12 22:11:46 +08:00
Brett Zamir cdad137ee4 - Docs: Update CHANGES 2019-10-01 17:34:52 +08:00
Brett Zamir 3808f7d7c1 - Linting (ESLint): Avoid shadowing
- npm: Update devDeps
2019-08-05 21:36:51 -07:00
Brett Zamir 0ef3d2c64c - npm: update devDeps 2019-07-14 07:35:16 -07:00
Brett Zamir f734625587 - Fix: Avoid race condition in `jQuery.svgIcons.js` (evident
when attempting to load from `file:` URL in Chrome)
- npm: Update devDeps
2019-07-04 15:15:58 +08:00
Brett Zamir e4231aeb10 - Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)
- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg
- npm: Update devDeps
2019-07-03 17:50:46 +08:00
Brett Zamir efcde397ac - Optimization: Re-rerun image optimization per update
- Linting (ESLint): Adjust per now applied rules
- Testing: Accessibility test API update
- Docs: Clarify need for Node.js/npm being installed
- npm: Update devDeps and core-js-bundle copy; add new axe testing peer dep. axe-core
2019-06-27 12:24:37 +08:00