Commit Graph

6303 Commits

Author SHA1 Message Date
Robert Raposa
1c2b804ef7 feat: DEPR USE-JWT-COOKIE header (#35393)
This repo is no longer using USE-JWT-COOKIE header,
since it has the required edx-drf-extensions>10.2.0,
where it was fully removed.

This is final clean-up for this repo.

See "[DEPR]: USE-JWT-COOKIE header" for more details:
- https://github.com/openedx/edx-drf-extensions/issues/371
2024-08-29 08:27:47 -04:00
Blue
ea596d6a25 fix: convert totalRegistrationTime to snake case (#35333)
* fix: convert totalRegistrationTime to snake case
Description:
Convert totalRegistrationTime to snake case
VAN-1816

* fix: link issue

---------

Co-authored-by: Ahtesham Quraish <ahtesham.quraish@192.168.1.4>
Co-authored-by: Syed Sajjad  Hussain Shah <ssajjad@2u.com>
2024-08-28 14:58:14 +05:00
Navin Karkera
c65478e487 feat: index library collections in studio meilisearch index (#35324) 2024-08-27 10:45:46 -07:00
Rômulo Penido
9124e7bca4 feat: allow update xblock fields without passing data (#35320) 2024-08-27 12:31:13 -05:00
Chris Chávez
2e77e65d1c feat: Problem types added as filterable attribute [FC-0059] (#35242) 2024-08-27 11:43:29 -05:00
Deborah Kaplan
0f177e4666 feat: linting only (#35370)
Editing this file is going to cause a lot of automatic linting, so lint-only commit for nicer code review.
2024-08-26 10:20:03 -04:00
Muhammad Adeel Tajamul
71f410eb40 feat: added snowflake events for email digest unsubscribe (#35329) 2024-08-26 11:24:05 +05:00
Deborah Kaplan
6071992281 feat: lint this file (#35348)
I'm about to make a bunch of changes to this file, and before I do I'm
saving it and letting the linter reformatted to our current code style
standards, so that code reviewers won't have to read a mix of lint and
code changes.

FIXES: APER-3554
2024-08-22 14:56:51 -04:00
Navin Karkera
c3480b8f0b chore: add comment 2024-08-19 17:01:25 +05:30
Navin Karkera
fed8a803f1 test: delete documents that were never published on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
e1495398e2 refactor: delete documents that were never published on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
140b9bb968 refactor: delete all documents on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
2efff2697b refactor: parallelize content block update on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
65258117d8 fix: delete discarded drafts from meilisearch index 2024-08-19 17:01:25 +05:30
Muhammad Adeel Tajamul
00772693ef feat: added unsubscribe url in digest header (#35319) 2024-08-19 12:21:43 +05:00
Yusuf Musleh
11de2a4055 feat: REST API to allow pasting clipboard (staged) content into a library (#35199) 2024-08-15 09:58:06 -07:00
Eemaan Amir
152b678e62 feat: save author pronoun separately for notification to prevent info loss (#35234)
* feat: save author pronoun separately for notification to prevent info loss

* fix: missing pronoun in comment on followed post

* test: updated tests for new comment notifications
2024-08-12 12:04:20 +05:00
Muhammad Adeel Tajamul
25d5d084e0 feat: fetched notifications based on time not date (#35250) 2024-08-12 06:18:33 +05:00
Rômulo Penido
aa952c9332 feat: allow copying library v2 XBlocks via existing copy REST API (#35211) 2024-08-08 09:31:33 -07:00
Ahtisham Shahid
e7dbc4883c fix: resolved content issue in renamed notification (#35252) 2024-08-08 19:10:47 +05:00
Tim McCormack
36200f4232 fix: Fix matching of /c4x/ in course asset view urlpatterns (#35247)
This was failing to capture /c4x/ URLs when the `content_server.use_view`
waffle flag was enabled, so we were returning 404s for those during our
rollout test.

Part of https://github.com/openedx/edx-platform/issues/34702
2024-08-07 17:05:03 +00:00
Ahtisham Shahid
9bd692413a fix: make course update email pref false (#35224)
fix: updated unit tests

fix: updated unit tests
2024-08-07 14:55:02 +05:00
Braden MacDonald
8aac664e67 fix: error when saving changes to a v2 library block (#35217) 2024-08-06 04:30:14 +09:30
Muhammad Adeel Tajamul
5aa69589c4 feat: added truncate and alert in notification (#35214) 2024-08-05 06:08:19 +05:00
Eemaan Amir
c135fddd55 fix: removed extra space and colon from ORA notification content (#35206) 2024-08-02 12:22:34 +05:00
Chris Chávez
2788f2bc3b feat: New fields in library v2 details API view (#35091) 2024-08-01 11:50:13 -07:00
Jillian
20f7dbda7a fix: content search last_published date [FC-0059] (#35195)
* fix: use versioning.last_publish_log for components
* chore: bump openedx-learning to 0.10.1
2024-08-02 02:48:31 +09:30
Deborah Kaplan
089b34a6bf feat: removing the demographics application stage 2 (#35186)
* removing the application folder
* removing references in all other files

FIXES: APER-3560
2024-07-26 11:13:35 -04:00
Deborah Kaplan
12569b459f feat: removing djangoapp demographics, step 1 (#35182)
* feat: removing djangoapp `demographics`, step 1

This step removes the models, the references to the models, and adds a
migration to drop both tables  (`HistoricalUserDemographics`  didn't
have a corresponding model but was still a valid table).

Once this has deployed, this will be removed from `INSTALLED_APPS` and
completely removed.

No other apps  in the repository currently reference this djangoapp  in
code or tables.

FIXES: APER-3560
2024-07-25 19:06:24 +00:00
Jillian
6b5d812d38 feat: adds sortable fields to studio content search index (#35103) 2024-07-25 18:18:49 +00:00
Rômulo Penido
238dca732e fix: skip block indexing if it raises an error while loading (#35139)
* fix: skip block indexing if it raises an error while loading
* test: add tests to the issue
2024-07-26 02:15:57 +09:30
Eemaan Amir
03a8f5daf7 refactor: refactored notifications app and removed unused code (#35160) 2024-07-25 11:09:00 +05:00
Awais Ansari
1fb20b3598 feat: update account verification email context (#35165) 2024-07-24 14:40:58 +05:00
Muhammad Adeel Tajamul
ce290db4c1 feat: added snowflake events for email notifications (#35158) 2024-07-24 14:39:02 +05:00
Muhammad Adeel Tajamul
e12ec1b153 feat: added group_by_id field in notifications model (#35137) 2024-07-23 14:28:56 +05:00
Muhammad Anas
8f7496d00e fix: DiscussionsConfigurations admin error 2024-07-22 09:08:49 -04:00
Eemaan Amir
b438349795 fix: rephrasing and removing bugs from response endorsed notifications (#35136)
* fix: rephrasing and removing bugs from response endorsed notifications

* test: updated test for response endorsed notifications
2024-07-19 15:56:05 +05:00
Deborah Kaplan
a9355852ed test: improve logging for periodic error (#35141)
we have a periodic error that makes no sense when the certificate
available date is none. This improves logging for the API call. Because
the only thing being changed is a course certificate, there is no risk
of PII being exposed in the new logging.
2024-07-18 15:33:15 -04:00
Andrey Cañon
c370028bbd feat: modify PhoneNumberSerializer regex to allow plus symbol at the … (#35117)
* feat: modify PhoneNumberSerializer regex to allow plus symbol at the beginning
* chore: update PhonenumberSerializer docstring
2024-07-17 09:08:44 -04:00
Deborah Kaplan
58de0964ca feat: removing visible_date-to-creds updates per-cert (#35113)
* feat: removing visible_date-to-creds updates per-cert

The credentials IDA now relies on  the course certificate configuration
and (if present) `certificate_available_date` for displayability. We no
longer need to send `visible_date` updates for every awarded certificate
when a course  overview changes.
2024-07-17 08:43:12 -04:00
Deborah Kaplan
c6301b3709 feat: removing the job runners in advance of removing the code (#35115)
* @justinhynes  pointed out that the task queues  might be populated with the to-be-removed task during a blue-green deployment, and it makes sense to remove the  job that queues up  the tasks slated for removal _before_ removing the code for those tasks.
* fixed a mock import order: 2 mocks were brought in an opposite order, but until this change, they
always had the same result  so nobody had noticed.

FIXES: APER-3535
2024-07-12 17:34:42 +00:00
Deborah Kaplan
360159c642 feat: linting before touching all these files (#35108)
* feat:  linting before touching all these files

All these files are old enough, relative either to our current linting
rules or our current linter automation,  that modifying anything in them
either makes the linter cranky or wants to reformat  the entire file.
Rather than mixing cleanup with code changes, this commit just lints
this set of files to our current standards.
2024-07-10 14:29:53 -04:00
Deborah Kaplan
7124559906 feat: updating readmes for program/cert/creds apps (#35104)
The LMS `certificates` app `README`  has been, and the
openedx core `credentials` and `programs` READMEs  have been created.
This will clarify not only what the limited responsibilities
of each of these django apps is, but also the way they interact with
each other.

FIXES: APER-2929
2024-07-10 10:34:16 -04:00
Attiya Ishaque
57dd2135a6 fix: update autogenerated username functionality (#35052) 2024-07-05 14:23:22 +05:00
Muhammad Adeel Tajamul
89a237bec1 fix: added https protocol in email unsubscribe url (#35087) 2024-07-04 16:29:22 +05:00
Muhammad Adeel Tajamul
a763fd80d2 feat: added email headers for notification cadence email (#35078) 2024-07-04 11:51:58 +05:00
Yusuf Musleh
c625a8d387 [FC-0059] feat: Add order query param to lib v2 API (#35005)
* feat: Add `order` query param to lib v2 API

* test: Add tests for lib v2 `order` field
2024-07-03 00:21:00 +09:30
Muhammad Abdullah Waheed
3aaf35e7ab chore: added app_name identifier for registration segment event (#35063) 2024-07-02 15:31:47 +05:00
Ahtisham Shahid
cc62389e70 fix: updated info logs to debug (#35050) 2024-07-02 14:09:01 +05:00
Kyle McCormick
12f63ddb55 refactor: extract save_xblock_to_user_clipboard Python API (#35027)
Previously, the logic for copying an XBlock's OLX to the clipboard
was directly in a POST view handler. This commit extracts it into a
Python API function.

In addition to following architectural guidelines [1], this change will
help me develop the Content Libraries Relaunch, as I need a way to
locally test library content reference via copy-paste while the UX for
it is still being developed.

[1] https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0049-django-app-patterns.html
2024-07-01 15:43:29 +00:00