GithubHelp home page GithubHelp logo

wardi / django-filebrowser-no-grappelli Goto Github PK

View Code? Open in Web Editor NEW
149.0 10.0 114.0 1.92 MB

django-filebrowser for default Django admin site. Based on https://github.com/sehmaschine/django-filebrowser v3.1 (before it was in git) Consider using https://github.com/smacker/django-filebrowser-no-grappelli which is based on a newer version

License: Other

Python 15.11% CSS 1.95% JavaScript 4.22% PHP 1.70% ActionScript 68.73% HTML 8.28%

django-filebrowser-no-grappelli's Introduction

django-filebrowser-no-grappelli's People

Contributors

artemrizhov avatar ethifus avatar garthh avatar ianlewis avatar jacquesbeaurain avatar jose-lpa avatar jsma avatar laat avatar millioner avatar nicoechaniz avatar norrs avatar pahaz avatar paulbailey avatar pterk avatar pwellever avatar ralfzen avatar randomjo avatar trojkat avatar wardi avatar washeck avatar zodman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-filebrowser-no-grappelli's Issues

upload method

Are there any plans to switch from flash based uploads to a jquery or js based method?
Not that big of a fan of flash.

Bjorn

CollapsedFieldsets.js is missing.

Upload form refers to this file, but it's missing:

<script type="text/javascript" src="{% admin_media_prefix %}js/admin/CollapsedFieldsets.js"></script>

I found it in grappelli, I think we should copy it into django-filebrowser-no-grappelli media files.

Upgrade to filebrowser 3.4.1

I forked fb and modified the templates and scripts (using some of the files from this project) to get fb to work without grappelli. There are still issues with the styles in some places and I only worked on the tinyMCE pop-up, so I'm not sure what is going on with the others.

Upgrading to newest version also takes care of issue #8, as filebrowser uses file-uploader to upload files instead of uploadify.

Useless directories

HI!
Running Django 1.4 with django-filebrowser-no-grappelli trunk.
Can't upload to directories or create subdirs, browse them and even delete ([Errno 21] Is a directory:). Only create new and rename old ones.
That makes them absolutely useless :)

The requested File does not exist.

I was able to upload an image with a + character in the filename, but trying to do anything with that file afterwards just end in the error message "The requested File does not exist."

File can't be deleted or edited and no versions can be chosen. Had to manually remove it from disk.

Some media not honoring URL_FILEBROWSER_MEDIA

Several of the media files appear to still assume they're served from /media/filebrowser even when setting URL_FILEBROWSER_MEDIA otherwise.

Specifically:

  • filebrowser.css
  • filebrowser_type_*.gif

Don't see filebrowser in admin

First, thanks for starting this project. I was frustrated when grappelli became a requirements of filebrowser as I don't use it and saw no value in implementing.

Now, to the issue. I've installed filebrowser in my site by adding it to installed apps in the settings file and updating urls file with the necessary include. Unfortunately, I don't see the filebrowser "app" in the admin home screen. Should this show up automatically, or do I need to update an admin template?

global name 'dir_name' is not defined

When trying to delete an object, I get this namerror.
/filebrowser/views.py in delete, line 369

I checked the source, and there is a dir_name without declaration.

It was meant path?

Delete checkboxes

How to add delete checkboxes column to django-filebrowser's (no-grappelli) filelist? I mean checkboxes for packet deleting, not one by one.

Multiple thumbnails

HI!
Running Django 1.4 with django-filebrowser-no-grappelli trunk.
After an image upload filebrowser creates several thumbnails of it and puts them in the root directory, that makes filebrowser do thumbnails for thumbnails and thumbnails of thumbnails on page reload.

This makes filebrowser store images in separated dirs:
DIRECTORY = 'uploads/'
FILEBROWSER_VERSIONS_BASEDIR = 'CACHE'

But I guess that's a bit silly :)

messages_set problem

I'm getting the 'User' object has no attribute 'message_set' error. In django-1.4 this is deprecated. Maybe there should be test for messaging framework presence?

breadcrumbs don't display properly

Line 3 of filebrowser/templates/filebrowser/include/breadcrumbs.html should have class="breadcrumbs" rather than id="breadcrumbs" to properly use the contrib.admin stylesheets.

Django 1.2

If file is a bad softlink filebrowser throws and exception.

Hello,

I'm working with: ubuntu 9.10, python 2.5, django 1.1.1

I had a softlink pointing to a directory which did not exist inside the media files. When going to /admin/filebrowser/browse/ python generated an exception, a type error, saying that gmtime need a float. It seems that fileobject.date line 87 on views.py (funtion browse) returns a string when the fileobject was a bad softlink.

Thanks,
Ale

Can not select file

filebrowser

I do not have a way of selecting and inserting the file.

Running on Django 1.5 and the pull request #55 from @chielteuben

The admin section is running on django-admin-bootstrapped.

Issue with files without creation date

views.py:91 runs get_filterdate() with fileobject.date as second param.
date property can return empty string. But get_filterdate() passes this date directly to time.gmtime(). And this method does not support empty string as param. Only None could be passes as empty value.
This coused Exception on win platform for me with some buggy file on filesystem. Unfortunatly for now I can not reproduce issue with this file since the lack of time.

Admin image path broken for Django<=1.3

In Django 1.3, the correct path relative to custom_admin_media_prefix for the search box icon is "img/admin/icon_searchbox.png" but in Django 1.4, this file has moved to "img/icon_searchbox.png". As the code currently stands, it is only working in Django 1.4.

Inlines problem

When I try to use a filebrowser in inlines inside admin, it doesn't catch the correct id for the field, because it leaves prefix in the id instead replacing the number of the inline.

FileBrowser styling issue

I am seeing a styling issue on the FileBrowser listing page. See a screenshot here: http://img.skitch.com/20100122-gpd7a3b3fxe7jhfqt3usp6d9eh.jpg. As you can see in the red box I overlaid on the right, the search input field is extending beyond the browser window frame and the filter options are colored differently. I am using the latest version of django-filebrowser-no-grappelli with no modifications.

I also have a screenshot of an older version of FileBrowser from the original repo here: http://img.skitch.com/20100122-kb7e219kucbsjjkfnpeug1cmu9.jpghttp://img.skitch.com/20100122-kb7e219kucbsjjkfnpeug1cmu9.jpg. This version shows how I'd expect to see the listing page.

Is this a known bug?

Filebrowser repo seems stoped

Just want to say that this repo seems stoped. Some forks for pull have more than an year and many issues are pending for so long. With the new release of django this week this won´t work unless you remove adminmedia and check url tag to have the new format. With is i let to all my version of filebrowser working on django 1.5 in this repo: https://github.com/miguelramos/django-media-manager. So if you want to make this project working please feel free to use and abuse and i will try to merge all requets of forks made to him. But i want to thanks to wardi for make it work this without grappelli.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.