• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 7c9d1bf1-3c38-4b8c-8ceb-de3d817a53ff
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/action_text-trix-2.1.16
DEFAULT BRANCH: main
Ran 24 Dec 2025 07:18PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7c9d1bf1-3c38-4b8c-8ceb-de3d817a53ff

Pull #5466

circleci

christinach
Extract csrf logic in csrf form helper file
Replicate some of the rails ujs login in csrf_form_helper:
- read the csrf meta tags with getCsrfToken() and getCsrfParam()
  - normalizeOptions sets method and credentials
  - adds X-CSRF_Token and X-Requested-With and Accept
- fetchWithCsrf() -> equivelant to rails ajax call
- refreshCSRFTokens() -> updates hidden authenticity token in forms. we hook it with DOMContentLoaded
- a public API Orangelight.CsrfFormHelper and window.CsrfFormHelper similar to rails ajax

related to #5465
Pull Request #5466: 5465 ajax success replace
Source Files on build 7c9d1bf1-3c38-4b8c-8ceb-de3d817a53ff
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #7C9D1BF1...
  • Pull Request #5466
  • PR Base - main (#1463DEB9...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc