Jon Dufresne
f9c67f04d4
Clean up all whitespace throughout project ( #5578 )
...
* Remove trailing whitespace from lines
* Remove trailing nad leading whitespace from files
Allows for cleaner diffs in future changes. For editors that
automatically clean up whitespace on save, will avoid unrelated line
changes in diffs.
2017-11-09 20:57:53 +01:00
andrewhannum
916a4a27ef
Interactive docs - make bottom sidebar items sticky ( #5516 )
2017-10-23 12:02:04 +02:00
Levi Payne
41188dfba0
Interactive documentation always uses false for boolean fields in requests ( #5492 )
2017-10-11 21:11:44 +02:00
Carlton Gibson
d8da6bb29b
Update coreapi JS to 0.1.1 ( #5479 )
...
Ref #5059
2017-10-05 13:40:28 +02:00
Woile
11bc1fe282
Fix JS data binding
2017-08-17 12:33:59 +02:00
Tom Christie
b069b0d33a
Merge pull request #5176 from levic/browsable-api-multipart-form-data
...
Fix browsable API not supporting multipart/form-data correctly
2017-06-16 15:08:27 +01:00
Levi Cameron
5cbfcbc56f
Fix regex typo allowing '[' in boundary string
2017-06-16 21:53:06 +10:00
Dan Koch
4701f12c3e
Quote nested API parameters in api.js
...
I sometimes have parameter names with a period (.) in them, to represent nested objects, e.g. containerobj.inner_param. The Javascript was throwing an error in the browsable API when interacting with those parameters.
2017-06-13 16:01:02 -04:00
Levi Cameron
6b8d6019ea
Fix boundary detection regex not handling spaces inside boundary marker correctly
2017-05-31 13:18:17 +10:00
Levi Cameron
1c44ef2b11
Improvements to code clarity
2017-05-30 10:43:33 +10:00
Levi Cameron
94c37c09c5
Fix browsable API not supporting multipart/form-data correctly
...
- Autodetect missing boundary parameter for Content-Type header
- textarea value normalises EOL chars to \n when multipart/form-data requires \r\n
2017-05-25 20:07:34 +10:00
Tom Christie
e8ff5e268b
Javascript fixes for API docs
2017-05-12 16:48:53 +01:00
José Padilla
9e18d005d1
Try to improve browser support
2017-03-17 22:21:14 -04:00
José Padilla
b0f2ec785e
Cleanup and refactor docs api.js script
2017-03-17 21:44:40 -04:00
José Padilla
be0e196e65
Remove unused base.js script
2017-03-17 21:43:20 -04:00
José Padilla
7e76cd8695
Correctly set scheme in coreapi TokenAuthentication
2017-03-17 20:27:36 -04:00
Tom Christie
7a8fb262f2
Fallback to more widely supported JS feature sets. ( #4961 )
2017-03-10 12:07:15 +00:00
Michael Palmer
81887bdc4e
Add glyphicon fonts to static docs ( #4951 )
...
* Fixes #4950 .
2017-03-10 10:37:31 +00:00
Tom Christie
52db57a6e7
Version 3.6 ( #4943 )
2017-03-09 14:49:51 +00:00
Tom Christie
68d2020112
Live API documentation ( #4755 )
2017-03-03 15:24:37 +00:00
Akshay Sharma
aed4ed5e73
Browsable API navbar gets overlapped by highlighted pagination item fix ( #4547 )
2016-10-11 10:59:00 +01:00
Tom Christie
b76984d222
Allow custom CSRF_HEADER_NAME setting. ( #4415 )
2016-08-18 11:24:03 +01:00
Asif Saifuddin Auvi
b63099084f
twitter bootstrap minor update ( #4307 )
...
* updated bootstrap min css to 3.3.7
* updated bootstrap min javascript to 3.3.7
2016-07-26 14:09:04 +01:00
Asif Saifuddin Auvi
b92901e591
updated jquery version to 1.12.4 ( #4157 )
...
Updated jquery version to 1.12.4
2016-06-01 15:33:36 +01:00
José Padilla
daccc2b8f3
Clean up js style and remove extra getCookie function ( #4123 )
2016-05-16 09:27:38 +01:00
Clinton Blackburn
9d9658f128
Added support for custom CSRF cookie names
...
Instead of hardcoding the CSRF cookie name, the value is passed to the template as a context variable, rendered as a JavaScript variable, and read by csrf.js.
Fixes #4048
2016-04-11 23:58:55 -04:00
Mitar
2f49df8242
Run JavaScript only when DOM is ready.
2016-03-12 16:52:31 -08:00
Adam Wester
6d1ed851b5
#3228 - add confirm modal for delete
2015-12-01 07:51:29 -05:00
Nik Nyby
8c6ded38de
Update bootstrap from 3.2.0 to 3.3.5
2015-10-26 10:40:59 -04:00
Tom Christie
34eb18b498
Merge branch 'master' into filters
...
Conflicts:
rest_framework/compat.py
rest_framework/filters.py
2015-10-19 13:14:42 +01:00
Tom Christie
eec1156f63
AJAX forms in admin interface
2015-09-17 16:53:28 +01:00
Tom Christie
566812ac0b
Remove method and content overriding
2015-09-17 15:17:29 +01:00
Tom Christie
5db900c625
First pass at HTML rendering for filters
2015-08-21 16:13:52 +01:00
Tom Christie
1f55bc747b
Merge pull request #2926 from tomchristie/admin-style
...
Admin style renderer
2015-07-30 15:01:37 +01:00
Tom Christie
f1e2135b04
Restyle horizontal checkbox. Closes #2783 .
2015-07-27 13:11:24 +01:00
Tom Christie
4c1597efe0
Error modals
2015-07-23 16:16:48 +01:00
Tom Christie
b4d82a0f55
Preserve format query param
2015-05-15 09:18:45 +01:00
Tom Christie
a1421cd4a3
Basic formatting for dict and list values
2015-05-12 16:18:45 +01:00
Adam Parsons
72230a913e
Removed color from default
2015-04-18 16:52:20 -05:00
Adam Parsons
324ccc3664
Moved breadcrumb color to bootstrap-tweaks
...
Moved to color associated with the breadcrumb to the tweaks style sheet.
2015-04-18 16:50:32 -05:00
Adam Parsons
77460d4bca
Moved ul.breadcrumb margin to bootstrap-tweaks.css
...
When importing other bootstrap themes from sites like bootswatch, the
margin in default.css persists and adds a 70px margin below the header.
This change will remove that margin when users choose to use a different
bootstrap theme.
2015-04-08 20:10:33 -05:00
Tom Christie
7872d0acbf
Escape tab switching cookie
2015-03-23 11:20:09 +00:00
Tom Christie
43d983fae8
Add paging controls
2015-01-22 17:25:12 +00:00
Tom Christie
d76e83dd78
Tweaks, and add pagination controls for offset/limit.
2015-01-15 16:52:07 +00:00
Tom Christie
3833a5bb8a
Include pagination control in browsable API
2015-01-14 16:51:26 +00:00
Loic Bistuer
ff02a0af9c
Fixed display issues with tooltips.
2014-12-08 09:06:52 +07:00
Aron Jones
4d3831cae8
add glyphicons font files
2014-11-04 22:01:23 -05:00
Tom Christie
45b5f23f31
Update to bootstrap 3. Closes #1085
2014-10-31 14:56:41 +00:00
Tom Christie
b4f3379c70
Support fields that reference a simple callable
2014-10-15 15:13:28 +01:00
Tom Christie
fec7c4b458
Browsable API tweaks
2014-10-02 18:13:15 +01:00