summaryrefslogtreecommitdiff
path: root/django/contrib/admin/media
AgeCommit message (Collapse)Author
2011-06-30Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the ↵Jannis Leidel
admin to conventional file system location. This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'. Thanks to Jacob for the review and general help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Stopped the admin JavaScript code from completely removing the `jQuery` ↵Jannis Leidel
object from the global namespace to ease the use of jQuery plugins. The `django.jQuery` object is still supposed to be used by Django's own JavaScript files. Refs #12882. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09Fixes #16186 -- remove inline CSS in contrib.adminIdan Gazit
Thanks to bsimons for the report and the patches from cscheng, nvandijk! git-svn-id: http://code.djangoproject.com/svn/django/trunk@16346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-03Fixed visual bug with sorted column headers in changelist having dark band ↵Luke Plant
at top in some cases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-03Internet Explorer fixes for admin sorting UILuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-03Improved UI for advanced sorting controls.Luke Plant
Now allows individual fields to be removed/toggled. Refs #11868 git-svn-id: http://code.djangoproject.com/svn/django/trunk@16320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02Improved cog icon for sorting interface in adminLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02Fixed position of new cog icon in admin changelist relative to textLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02Fixed #11868 - Multiple sort in admin changelist.Luke Plant
Many thanks to bendavis78 for the initial patch, and for input from others. Also fixed #7309. If people were relying on the undocumented default ordering applied by the admin before, they will need to add 'ordering = ["-pk"]' to their ModelAdmin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02Fixed #16144 - layout of admin changelist broken for RTL languages.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11531 -- Removed unused dateparse.js from admin JavaScript directory.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11203 -- Stopped some form fields in the admin from rendering ↵Jannis Leidel
incorrectly in RTL mode when using Internet Explorer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17Fixed #15569 -- Corrected the numbering updates to inlines when rows are ↵Russell Keith-Magee
added and deleted. Thanks to sbaechler for the report, to Arthur de Jong and mk for the work on the patch, and to Karen Tracey for the last minute testing help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19Fixed #15291 -- Corrected alignment issue when actions are disabled in a ↵Russell Keith-Magee
ModelAdmin. Thanks to Julien Phalip for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19Fixed #15290 -- Fixed a CSS styling issue with borders when the link item in ↵Russell Keith-Magee
a changelist isn't the first item in the list_display. Thanks to Julien Phalip for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #13948 -- Corrected the direction of arrows on the admin changelist. ↵Russell Keith-Magee
Thanks to jsdalton for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06Fixed #13674 -- Ensure that labels on added inlines fields have the right ↵Russell Keith-Magee
'for' attribute. Thanks to Jonas for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14303 -- Ensure that the ids created for new inlines are unique after ↵Russell Keith-Magee
interstitial deletions have occurred. Thanks to m0nonoke for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14830 -- Ensure that radio buttons on inlines preserve their default ↵Russell Keith-Magee
value. Thanks to Julien Phalip for the report and patch, and to antoinemartin for the diagnosis. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #12959 -- Added alt text to SelectFilter filter button. Thanks, acdha.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #6183 -- Stopped hiding the help text for SelectFilter widgets. ↵Jannis Leidel
Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Fixed #11434 -- Corrected style of arrow buttons located at the center of ↵Ramiro Morales
filter_{horizontal|vertical} m2m widgets to not give them focus borders that span from the left page border. Thanks defaultwombat for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Fixed #11414 -- Made sure the calendar and clock popup windows in the admin ↵Ramiro Morales
don't have a negative vertical position. Thanks uipko for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #13782 -- Added CSS for errors in textareas and multiple fields in one ↵Jannis Leidel
line. Thanks, julien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14868 -- Added CSS rule to prevent long text from overflowing the ↵Jannis Leidel
"recent actions" box on the admin index page. Thanks, Chris Adams. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13856 -- Float admin's top links on the right for RTL languages.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13649 -- Extended admin stylesheets to also cover disabled buttons in ↵Jannis Leidel
the admin. Thanks, Sebastian Noack. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #14193: prepopulated_fields javascript now concatenates in correct ↵Andrew Godwin
order. Thanks to bmihelac for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed tabs introduced in r13968.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #7048 -- Added ClearableFileInput widget to clear file fields. Thanks ↵Jannis Leidel
for report and patch, jarrow and Carl Meyer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11Fixed #13599 -- No longer embed hidden `<td>` elements in `ChangeList` that ↵Justin Bronn
cause improper rendering when `list_editable` is enabled; refactored `admin_changelist` tests. Thanks, skevy for bug report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Fixed date parsing of 31st dates when current month has 30 days (!!).Malcolm Tredinnick
Patch from rich@tablexi.com. Fixed #2975. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Admin changelist page now has consistent width with or without filterMalcolm Tredinnick
bar. Patch and testing from Kronuz and radez. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28Fixed #13723 -- Improved the legibility of hyperlinks included in admin ↵Russell Keith-Magee
validation error messages. Thanks to Sebastian Noack for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23Fixed #12803 - Added styling for 'error' and 'warning' messages in admin.Luke Plant
Thanks to bboli and sebastian_noack for the report, DrMeers for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13486 -- Corrected handling of %I in admin javascript version of ↵Russell Keith-Magee
strftime. Thanks to Bufke for the report, and jmil for the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11Fixed #13521 -- Corrected javascript comparisons determining when to show ↵Russell Keith-Magee
and hide the 'add another' inline button. Thanks to darkrho for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #13168 - Corrected the alignment of the admin inline headers for rtl ↵Jannis Leidel
languages. Thanks for the report and patch, benc. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13459 -- Corrected numbering of tr elements in the admin. Reverts the ↵Russell Keith-Magee
changes introduced in r13068. Thanks to 3point2 for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13166 - Added JavaScript warnings to admin changelist to help against ↵Jannis Leidel
ambiguity between action and list_editable form submission. Thanks to blinkylights and aaugustin for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13459 -- Corrected ID numbering of dynamically added inlines in the ↵Russell Keith-Magee
admin. Thanks to 3point2 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19Fixed #11967: use a different technique to get `ADMIN_MEDIA_PREFIX` in admin JS.Jacob Kaplan-Moss
We now store ADMIN_MEDIA_PREFIX on the window object and let JS files read it from there. The old technique -- looking a <script> tags and trying to deduce the prefix -- broke with libraries like TineMCE that dynamically add <script> tags to the <head>. This is potentially backwards-incompatible for folks who've overridden `admin/base.html`; they'll need to add the proper <script> line to their new `admin/base.html`. For that reason, this changeset shouldn't be backported to 1.1.X. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #13290 - Added a section about minification of admin JavaScript files ↵Jannis Leidel
to the contributing docs. Thanks to Gabriel Hurley for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12903 - Made translating the admin action selection text easier. ↵Jannis Leidel
Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Also minify the JavaScript file for pre-populated form fields in the admin.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12882 - Moved the admin's jQuery into our own namespace to lower the ↵Jannis Leidel
risk of a clash with third party apps that use jQuery. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-07Fixed #13068, #9264, #9983, #9784 - regression with pre-populated fields and ↵Luke Plant
javascript inlines, and related bugs. Thanks to hejsan for the report, and to Sean Brant and Carl Meyer for the patch. #13068 is a regression caused by the new javascript inline forms in the admin. The others were existing javascript bugs with prepopulated fields. Since the solution depends on jQuery and would likely be very hard to backport without it, it will not be backported to 1.1.X. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05Fixed #13129 -- Corrected CSS on RTL layout when a changelist has admin ↵Russell Keith-Magee
actions and is filtered. Thanks to mksoft for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05Fixed #12260 -- Corrected CSS when using checkbox widgets on a ↵Russell Keith-Magee
ModelMultipleChoiceField in admin. Thanks to tiliv for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Updated jQuery to 1.4.2.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12873 bcc190cf-cafb-0310-a4f2-bffc1f526a37