Skip to content

Conversation

@mpreyskurantov
Copy link
Contributor

@mpreyskurantov mpreyskurantov commented Dec 26, 2025

Cherry-picks


  • 1 jQuery.ajax / req (all frameworks, activated / validated on backend)
  • 1 BeforeSend (jQuery only, not yet activated / validated on backend)

Skip From Testing (not in domain):
/apps/demos/testing/skipped-tests.js -> /apps/demos/utils/visual-tests/matrix-test-helper.ts

@mpreyskurantov mpreyskurantov self-assigned this Dec 26, 2025
@mpreyskurantov mpreyskurantov added WIP Work in progress 25_2 labels Dec 26, 2025
artem-kurchenko and others added 7 commits December 31, 2025 11:21
* Refactor anti-forgery token handling in BatchUpdateRequest demo

- Fetch fresh CSRF token for each load and save operation
- Use jQuery $.ajax() consistently instead of mixing with fetch API
- Move error handling into helper functions (getAntiForgeryToken, sendBatchRequest)
- Improve error messages with descriptive context
- Use promise chaining with .then() for better readability
- Remove stale global csrf variable

* Refactor anti-forgery token handling to use caching
* Refactor anti-forgery token handling in BatchUpdateRequest demo

- Fetch fresh CSRF token for each load and save operation
- Use jQuery $.ajax() consistently instead of mixing with fetch API
- Move error handling into helper functions (getAntiForgeryToken, sendBatchRequest)
- Improve error messages with descriptive context
- Use promise chaining with .then() for better readability
- Remove stale global csrf variable

* Refactor anti-forgery token handling to use caching

* jq - improve error handling

* react - implement csrf

* react - refactoring

* vue - implement csrf

* angular - implement csrf
* Refactor anti-forgery token handling in BatchUpdateRequest demo

- Fetch fresh CSRF token for each load and save operation
- Use jQuery $.ajax() consistently instead of mixing with fetch API
- Move error handling into helper functions (getAntiForgeryToken, sendBatchRequest)
- Improve error messages with descriptive context
- Use promise chaining with .then() for better readability
- Remove stale global csrf variable

* Refactor anti-forgery token handling to use caching

* jq - improve error handling

* react - implement csrf

* react - refactoring

* vue - implement csrf

* angular - implement csrf

* change folder structure

* merge services in one file

* app.service in root

---------

Co-authored-by: Mikhail Preyskurantov <5574159+mpreyskurantov@users.noreply.github.com>
@mpreyskurantov mpreyskurantov marked this pull request as ready for review January 15, 2026 15:19
@mpreyskurantov mpreyskurantov requested a review from a team as a code owner January 15, 2026 15:19
anna-shakhova
anna-shakhova previously approved these changes Jan 16, 2026
@mpreyskurantov mpreyskurantov changed the title WIP: Demos | BackEnd / EndPoints anti forgery Demos | DataGrid - BatchUpdateRequest: Support BackEnd / EndPoint Anti Forgery (all frameworks) Jan 16, 2026
@mpreyskurantov mpreyskurantov removed the WIP Work in progress label Jan 16, 2026
@mpreyskurantov mpreyskurantov merged commit bb94682 into DevExpress:25_2 Jan 16, 2026
276 of 289 checks passed
@mpreyskurantov mpreyskurantov deleted the 25_2-endpoints-anti-forgery-dev branch January 16, 2026 15:27
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Jan 16, 2026
…i Forgery (all frameworks) (DevExpress#32057)

Co-authored-by: Tom <22076961+artem-kurchenko@users.noreply.github.com>
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Jan 16, 2026
…i Forgery (all frameworks) (DevExpress#32057)

Co-authored-by: Tom <22076961+artem-kurchenko@users.noreply.github.com>
# Conflicts:
#	apps/demos/Demos/DataGrid/BatchUpdateRequest/Angular/app/app.component.ts
#	apps/demos/utils/visual-tests/matrix-test-helper.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants