Taimoor Ahmed
56f7da908a
fix: send thread_created signal after transaction commit ( #37675 )
...
Prevents notification failures with MySQL backend by ensuring signals
are only sent after database transactions commit. This fixes race
conditions where Celery workers couldn't see newly created threads.
- Added send_signal_after_commit() helper function
- Updated both thread creation paths to use the helper
Co-authored-by: Taimoor Ahmed <taimoor.ahmed@A006-01711.local >
2025-11-26 11:43:45 +05:00
Ahtisham Shahid
c2a86534e6
fix: updated captcha api to use enterprise assessment ( #37079 )
...
* fix: updated captcha api to use enterprise assessment
2025-08-03 21:27:12 +00:00
Hassan Raza
4793f883fc
chore: Remove notification app waffle flags ( #37086 )
2025-08-01 14:59:40 +05:00
Eemaan Amir
4e1ba65183
fix: added captcha exception for limited staff ( #37077 )
2025-07-29 15:42:09 +05:00
Eemaan Amir
24181468ec
feat: showing captcha only for learners and not other roles ( #37061 )
...
* feat: showing captcha only for learners and not other roles
* test: added test cases
* fix: fixed pylint errors
* fix: fixed a bug with comment creation
* refactor: refactored code
* fix: fixed lint errors
* fix: fixed bug with utils
* test: added test case
2025-07-28 17:07:26 +05:00
Ahtisham Shahid
47d253a1fe
chore: added logs to debug captcha issues ( #37066 )
2025-07-24 19:45:40 +00:00
Ahtisham Shahid
cf93ba2974
feat: added captcha validation in discussion thread/comment creation api ( #37015 )
2025-07-16 18:02:43 +05:00
Hassan Raza
8fac3bc060
feat: Add notify all learners option for discussion post ( #36922 )
...
* feat: Add notify all learners option for discussion post
* fix: Remove waffle flag from default notification dict
2025-06-27 15:25:22 +05:00
Ahtisham Shahid
22e2a23b9f
feat: add new notifiction type for discussions post followers ( #33009 )
...
feat: added model for subscription
feat: added logic for notifaction to followers
2023-10-12 13:03:02 +05:00
Muhammad Adeel Tajamul
3aeaec35d9
feat: added notifications in legacy discussion experience ( #33280 )
2023-09-21 08:04:02 +05:00
Muhammad Adeel Tajamul
96f7e9cd9a
fix: handle new_comment notification edge case ( #33088 )
2023-08-31 16:33:20 +05:00
Muhammad Adeel Tajamul
4efd54a3fd
feat: added new_question_post and new_discussion_post notification ( #33043 )
2023-08-31 14:29:21 +05:00
Ahtisham Shahid
7e23feeb33
fix: update discussions blackout dates logic to use discussions confi… ( #32896 )
2023-08-04 18:02:26 +05:00
Ahtisham Shahid
b37286e035
fix: Update notification sending logic for discussions ( #32879 )
2023-08-04 14:12:12 +05:00
Ahtisham Shahid
3af1ce0441
allow app level enable/disable in notifications app ( #32781 )
...
* fix: allow app level enable/disable in notifications app
2023-07-19 15:26:03 +05:00
Ahtisham Shahid
eebd7d236b
fix: added correct url in notification content_url ( #32725 )
...
* fix: added correct URL in notification content_url
* fix: updated logic to compare user ids
2023-07-14 10:44:14 +05:00
Ahtisham Shahid
b477a20ad2
Added notifications for discussions events ( #32432 )
...
* feat: added notifications for discussions app
* feat: added unit tests for handler
* feat: updated openedx-events package
* fix: updated notification creation logic and tests
* refactor: updated openedx-event version and event name
* refactor: moved logic to separate methods
2023-07-06 13:33:20 +05:00
Muhammad Adeel Tajamul
b85929e2ee
feat: added stats at subsection in topics v3 api ( #31763 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2023-02-17 06:51:07 +05:00
Ahtisham Shahid
536fe66362
fix: remove chapters if thre are no sequentials in Topics v3 ( #31625 )
2023-01-24 13:18:27 +05:00
Ahtisham Shahid
62f311c041
fix: removed subsections with no units from v3 topics api ( #31553 )
...
* fix: removed subsections with no units from v3 topics API
* fix: fixed unit test
2023-01-18 13:52:12 +05:00
Ahtisham Shahid
abfac4912a
feat: added archived topics in v3 api ( #31443 )
...
* feat: added archived topis in v3 api
* fix: resolved issue with failed test
* fix: updated functions docs
* feat: added test for util function
2022-12-19 16:29:12 +05:00
Muhammad Adeel Tajamul
e04d53a9a1
feat: added support for new topics for mobile ( #31441 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-12-14 13:21:31 +05:00
Muhammad Adeel Tajamul
7a0010ad0e
feat: added topics v3 api ( #31330 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-12-05 15:07:21 +05:00
SaadYousaf
b8e466b55c
fix: update editable action item for different discussion and course roles
2022-09-19 11:51:24 +05:00
Ahtisham Shahid
69efe48e09
fix: Made user search function case in-sensitive ( #30867 )
2022-08-17 13:39:22 +05:00
Ahtisham Shahid
dcb01d107f
fix: Temporary fix for learners stats api performance issue ( #30847 )
...
* fix: Temporary fix for learners' stats API performance issue
* fix: resolved linter errors
* fix: learners stats API response is now null
* fix: changed waffle dates
* fix: resolved unit test issue
2022-08-12 17:24:22 +05:00
SaadYousaf
18deaf145f
fix: add missing roles to Staff and Community TA lists to address missing Icons on FE
2022-07-20 19:57:43 +05:00
SaadYousaf
800120ce95
fix: sort the user stats to maintain best matched username first
2022-07-18 15:08:24 +05:00
SaadYousaf
28a8e618ac
feat: add partial username search for course discussion user stats
2022-06-30 17:37:03 +05:00
adeel.tajamul
cebe02ae51
fix: added doc strings to test cases
2022-06-23 13:44:18 +05:00
adeel.tajamul
92e862149d
fix: pinned is set to false for all posts in learner area
2022-06-23 13:44:18 +05:00
SaadYousaf
50e71479ee
[TNL-7729] - Add check to discussion rest API to prevent users in blackout period.
2021-02-16 14:08:56 +05:00