Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Demos | DataGrid - BatchUpdateRequest: Support BackEnd / EndPoint Anti Forgery (all frameworks)#32057

Merged
mpreyskurantov merged 15 commits intoDevExpress:25_2 from
mpreyskurantov:25_2-endpoints-anti-forgery-dev
Jan 16, 2026
Merged

Demos | DataGrid - BatchUpdateRequest: Support BackEnd / EndPoint Anti Forgery (all frameworks) #32057
mpreyskurantov merged 15 commits intoDevExpress:25_2 from
mpreyskurantov:25_2-endpoints-anti-forgery-dev

Conversation

@mpreyskurantov
Copy link
Contributor

@mpreyskurantov mpreyskurantov commented Dec 26, 2025
edited
Loading

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

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
@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
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Feb 11, 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/Demos/DataGrid/BatchUpdateRequest/Vue/App.vue
#	apps/demos/Demos/DataGrid/CollaborativeEditing/jQuery/index.js
#	apps/demos/utils/visual-tests/matrix-test-helper.ts
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Feb 16, 2026
...oint Anti Forgery (all frameworks) (DevExpress#32057)"
This reverts commit bb94682.
# Conflicts:
#	apps/demos/utils/visual-tests/matrix-test-helper.ts
mpreyskurantov added a commit to mpreyskurantov/DevExtreme that referenced this pull request Feb 17, 2026
...oint Anti Forgery (all frameworks) (DevExpress#32057)"
This reverts commit bb94682.
# Conflicts:
#	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

Reviewers

@anna-shakhova anna-shakhova anna-shakhova approved these changes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /