1809 Commits

Author SHA1 Message Date
Feanil Patel
8048dbfb3a fix: exclude test entry points from karma sourceFiles patterns
In karma 6, files matched by earlier patterns aren't overridden by later
patterns. The sourceFiles patterns like `cms/**/!(*spec|djangojs).js`
matched test entry files (e.g., `cms/js/spec/main.js`) because they
don't end with "spec" or "djangojs". This prevented runFiles from
setting `included: true` on these files, so tests never started.

Split the sourceFiles patterns to precisely exclude spec/main*.js test
entry points while still serving other source files:
- Direct children of the js directory
- Subdirectories except spec/
- spec/ subdirectory, excluding main* files

This allows runFiles to control test entry point inclusion.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-04 10:13:18 -05:00
feanil
7866c68dbf chore: geoip2: update maxmind geolite country database 2026-03-02 09:30:13 -05:00
Chris Chávez
3c4cf0e2d2 fix: Nits on styles of library icon [FC-0114] (#37980)
- Fixes the issues described in https://github.com/openedx/frontend-app-authoring/issues/2762#issuecomment-3837508959:
    - Changed the background color for the library icon in the unit page.
    - Update punctuation for the library icon tooltip in the unit page.
    - Allows breaking the tooltip into multiple lines.
2026-02-09 22:10:38 +00:00
Feanil Patel
18113c63af test: update Jest snapshots for @edx/paragon 2.6.4 → 2.7.0
The caret version pinning change updated @edx/paragon from 2.6.4 to
2.7.0, which caused Icon component IDs to change from "Icon2" to
"Icon1" in snapshot tests.

This is a cosmetic change with no functional impact. The Icon
component generates unique IDs using a module-level counter in
src/utils/newId.js:

    let lastId = 0;
    const newId = (prefix = 'id') => {
      lastId += 1;
      return `${prefix}${lastId}`;
    };

The ID values depend on module import order, which changed slightly
between versions. The visual rendering and accessibility features
(screen reader text) are unaffected.

References:
- Paragon Icon component: https://github.com/edx/paragon/blob/v2.7.0/src/Icon/index.jsx
- Paragon newId utility: https://github.com/edx/paragon/blob/v2.7.0/src/utils/newId.js
- Version comparison: https://github.com/edx/paragon/compare/v2.6.4...v2.7.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:54:05 -05:00
feanil
e31bbae35f chore: geoip2: update maxmind geolite country database 2026-01-02 11:01:28 -05:00
salmannawaz
2aeac45994 Convert discussion block sass variable into css variables (#37742)
* chore: convert discussion sass variable into css variables
2025-12-30 23:13:47 +05:00
Emad Rad
6a046ebe50 chore: fixed typos 2025-12-11 11:46:44 -05:00
feanil
c2fad03823 chore: geoip2: update maxmind geolite country database 2025-12-02 14:01:21 -05:00
github-actions[bot]
7f8ba45f36 chore: geoip2: update maxmind geolite country database (#37591)
Co-authored-by: feanil <feanil@users.noreply.github.com>
2025-11-06 18:39:34 +00:00
Peter Pinch
2b0982f2da Merge branch 'master' into areeb/discussions-edit-errant-string 2025-10-17 12:50:25 -04:00
Tony Busa
1704a0807a chore: remove karma-selenium-webdriver-launcher and unneeded browsers 2025-10-16 12:39:10 -06:00
asajjad2
0b020a4bf4 test: edit form errant behavior 2025-10-10 12:17:29 +05:00
Braden MacDonald
9110ae0d71 revert: chore: upgrade jQuery UI to version 1.14.1 (#37025) (#37449)
This reverts commit e4270785b3.
2025-10-08 18:23:05 +00:00
Luis Felipe Castaño
e4270785b3 chore: upgrade jQuery UI to version 1.14.1 (#37025) 2025-10-08 10:33:53 -07:00
Muhammad Farhan Khan
5c759f1e13 refactor: Update and migrate Video Block JS files into xmodule/assets
- Move Video Block JS files from xmodule/js/src/video/ to xmodule/assets/video/public/js/ 
- Update JavaScript files from  RequireJS to ES6 import/export
- test: Enable and fix Karma Js tests for Video XBlock (#37351)

---------

Co-authored-by: salmannawaz <salman.nawaz@arbisoft.com>
2025-10-07 19:01:50 +05:00
asajjad2
761ad42290 fix: prevent errant body string on title edit 2025-10-06 15:43:50 +05:00
feanil
54a116f3d5 chore: geoip2: update maxmind geolite country database 2025-10-01 12:28:35 -04:00
feanil
cef1725a21 chore: geoip2: update maxmind geolite country database 2025-09-02 17:38:44 -04:00
feanil
e553d48a6a chore: geoip2: update maxmind geolite country database 2025-08-04 15:47:28 -04:00
feanil
1f4c05ef31 chore: geoip2: update maxmind geolite country database 2025-07-16 10:25:12 -04:00
feanil
75c13a99ab chore: geoip2: update maxmind geolite country database 2025-06-02 10:45:54 -04:00
feanil
7521a2dddb chore: geoip2: update maxmind geolite country database 2025-05-12 10:00:40 -04:00
Chris Chávez
54ec998bee fix: Broken CSS styles of ora2 block editor [FC-0076] (#36220)
* It was this error 'Uncaught TypeError: el.timepicker is not a function' while rendering the editor. It's fixed adding the timepicker pluging in xblock_v2/xblock_iframe.html
* Added '.openassessment_cancel_button' and '.openassessment_save_button' as action buttons.
* Use openassessment manifest.json to load css from dist
2025-04-22 21:08:02 +00:00
feanil
c934166319 chore: geoip2: update maxmind geolite country database 2025-04-01 03:26:11 +00:00
Robert Raposa
399be67fc4 style: remove eslint with frontend code removal ADR
- Add ADR for frontend code removal
- Drop eslint, as explained in the ADR
2025-03-20 11:03:41 -04:00
Feanil Patel
f310c02aba build: Drop the whatwg-fetch polyfill.
This package polyfills the Fetch api but that API is now widely
available so I don't think we need this package anymore.
2025-03-05 08:58:35 -05:00
feanil
bd165a5b9b chore: geoip2: update maxmind geolite country database 2025-03-03 14:45:34 -05:00
Muhammad Farhan Khan
95403c570d chore: Adds fallback values to the xmodule xblocks global css variables (#36183)
* chore: Adds fallback values to the xmodule builtin blocks global css variables
2025-02-11 19:41:34 +05:00
feanil
320e3bbc22 chore: geoip2: update maxmind geolite country database 2025-01-06 10:48:53 -05:00
Rômulo Penido
842aec4a63 fix: tooltip positioning near edge [FC-0062] (#35848)
Fixes the tooltip positioning rule to avoid rendering it outside the window/iframe.
2024-11-15 18:38:40 +00:00
feanil
7c991713de chore: geoip2: update maxmind geolite country database 2024-11-04 10:11:28 -05:00
farhan
8fb5b778c3 feat!: Dropping Sass support from builtin video block, replacing with vanilla CSS 2024-10-23 18:40:30 +05:00
feanil
2c66045ee9 chore: geoip2: update maxmind geolite country database 2024-10-01 10:09:42 -04:00
Nathan Sprenkle
3adfb78336 revert: refactor: Convert builtin blocks' sass variables to css variables (#35480)
This reverts commit 082350e72a.
2024-09-12 12:40:30 -04:00
Muhammad Farhan Khan
082350e72a refactor: Convert builtin blocks' sass variables to css variables (#35385)
Closes: https://github.com/openedx/edx-platform/issues/35306

Part of the built-in XBlock extraction project:
https://github.com/openedx/edx-platform/issues/34827
2024-09-11 14:59:09 -04:00
feanil
3b3d926971 chore: geoip2: update maxmind geolite country database 2024-09-10 12:03:42 -04:00
Muhammad Farhan Khan
375b9d9286 feat: Expose xmodule xblocks Sass variables as vanilla CSS variables (#35233)
* feat: Expose xmodule xblocks Sass variables as vanilla CSS variables
* https://github.com/openedx/edx-platform/issues/35173
2024-08-20 20:05:02 +05:00
feanil
73c3211c77 chore: geoip2: update maxmind geolite country database 2024-08-01 03:06:57 +00:00
feanil
a3ebf7e2d6 chore: geoip2: update maxmind geolite country database 2024-07-01 03:07:07 +00:00
Kyle D. McCormick
97a9f08a9f build: lms/static/css/vendor/* -> common/static/css/vendor
The git-ignored target directory for LMS Sass compilation is:
    lms/static/css

Unfortunately, that directory contains git-controlled directory of
vendored-in static assets:
    lms/static/css/vendor

This is a problem for a couple reasons:

1. In Tutor, we would like to make lms/static/css a symlink to an
   external location for the sake of build efficiency. This is
   impossible to do without clobbering lms/static/css/vendor and
   dirtying the git state.

2. More generally, when optimizing (or just understanding) a build
   system, it adds complexity when git-controlled source directories are
   mixed up inside git-ignored target directories.

The solution is to simply merge these vendored-in assets to another
existing git-controlled vendor directory:
    common/static/css/vendor

LMS already reads assets from this folder, so no further changes need to
be made. common/static/css is fully git-controlled, so we avoid the
complexity described above.
2024-06-04 11:48:58 -04:00
feanil
0495378896 chore: geoip2: update maxmind geolite country database 2024-06-01 03:07:04 +00:00
feanil
967e1c5751 chore: geoip2: update maxmind geolite country database 2024-05-03 14:13:33 +00:00
Brian Smith
14b113c518 chore: remove CommonsChunk plugin karma workaround 2024-04-19 14:03:42 -04:00
Omar Al-Ithawi
5a437779d9 fix: add fallback gettext function if translations aren't pulled in dev envs (#34416) 2024-03-27 13:20:12 -04:00
Jenkins
ab6793ef29 chore: geoip2: update maxmind geolite country database 2024-02-07 15:59:31 -05:00
Jenkins
abb4b0e37c chore: geoip2: update maxmind geolite country database 2024-01-31 15:59:29 -05:00
Brian Beggs
c0e7fb7276 chore: Upgrade the jquery cookie library. 2024-01-24 16:54:58 -05:00
Jenkins
2bf6ffaaf1 chore: geoip2: update maxmind geolite country database 2024-01-24 15:59:35 -05:00
Jenkins
11cbf0d6f7 chore: geoip2: update maxmind geolite country database 2024-01-17 15:59:24 -05:00
Jenkins
e3927bd34e chore: geoip2: update maxmind geolite country database 2024-01-10 15:59:21 -05:00