Posted on: 02/22/05 05:31pm
By: Kelvin
I've just uploaded v0.7.2 of the Easyfile file management plugin to the site. It took a bit longer than anticipated... mostly due to me being knocked out with the flu for a couple of weeks.
This is mostly a bugfix release, but also contains some new features, and code cleanups... and last but certainly not least: an italian translation!!! Thanks magomarcelo, you rock!
This version is the first one I've actually tested on Internet Explorer before release... which means no more pretty png-icons. The layout isn't quite perfect on IE yet, but it's a lot better than previous versions.
I thought I'd take a couple of minutes to answer some questions that have come up:
Q: How do I use the autotag
A: if "link name" is omitted, a translatable string is used instead "File link" in english.php
Q: How do I change owners of files and folders?
A: In the same way that you change owners of geeklog stories, polls, events, etc.
Q: What's this new get-method in 0.7.2?
A: The get-method is useful for serving content out of easyfile. For instance, if you've uploaded images into easyfile, you're now able to serve them via regular img-tags. Example: <img src="/easyfile/file.php?get=200501011234">
Q: What about user-selectable sort-order for files?
A: This should be doable in time for 0.7.3. Patches welcome.
Q: Why isn't there thumbnail support?
A: I originally felt that thumbnails was a non-essential feature so I haven't gotten around to implementing it yet. It should be in 0.7.3 or 0.8.0. Patches welcome.
Q: the file details box that is to the right of the filetree is of a fixed size and often scrolls to the right of a screen. this is true especially when someone is using a history sidebar etc.. maybe the file details can be made relative instead of absolute.
A: That's not a question...
Excellent point... I'll certainly look into this in the next development cycle. I haven't done much user testing (my wife and my cat are my only beta testers), so this type of feedback is really valuable to me.
Easyfile 0.7.2
Posted on: 02/22/05 05:38pm
By: knuff
[QUOTE BY= Kelvin] It took a bit longer than anticipated... mostly due to me being knocked out with the flu for a couple of weeks.
[/QUOTE]
Isn´t that the best period to work on plugins
Sorry couldn´t resist
Heading to the download section now ... (hmm guess it still needs to be approved as it doesn´t show up)
Greetz,
Boris
Easyfile 0.7.2
Posted on: 02/25/05 04:19am
By: ajzz
Kelvin, thanks for you email note. I will try this version out soon (weekendish). Shall keep the forum posted.
On a different note, you mentioned in an earlier post that the plugin development began originally with the filemgmt plugin. Are similar download blocks or inclusion into the "What's new" block imminent? Before I revisit the code to try this, any comments on cross compatibility of blocks / suggestions for a quick block hack?
Cheers!
Ajay
Easyfile 0.7.2
Posted on: 02/27/05 05:40am
By: Kelvin
On a different note, you mentioned in an earlier post that the plugin development began originally with the filemgmt plugin. Are similar download blocks or inclusion into the "What's new" block imminent?
True, I originally started out by making changes to the filemgmt plugin -
however, I realized that in order to implement the features I wanted, a complete rewrite would be required, so that's what I did. I started over with the Universal Plugin and went from there... but that's ancient history (we're talking October 2004 ).
To answer your questions:
1. You're going to have to explain this further... what are the download blocks of filemgmt? (I don't have filemgmt installed)
2. I finished inclusion in the "What's new" last night. This feature will be in 0.7.3
Easyfile 0.7.2
Posted on: 03/02/05 05:10pm
By: ajzz
The Download block was a German version by Dirk. See thread
here[*1] .
Its a bit handier when you have a site with wikis and downloads and everything else - where the "What's New" block takes up too much estate. (or just to spread out the contents to different topics).
Havent got to testing .7.2 yet - shall keep you posted.
Ajay
Easyfile 0.7.2
Posted on: 03/04/05 07:51am
By: Kelvin
Ah... I think I understand. You want a phpblock_ function to display new downloads and top downloads? Not a problem. As I said, integration into the whatsnew-block is already complete, so a top-downloads style phpblock should be easy.
Easyfile 0.7.2
Posted on: 03/06/05 07:46am
By: ajzz
Yes indeed, functions for "New Downloads" or "Top Downloads" blocks would be great!
Regarding Q/A #2 of your first post in this thread, check this
neat workaround[*2] out. I use this regularly for an intranet-type site. Perhaps an easy option would just be to add to this staticpage-embedded function to work for easyfile?
Best,
Ajay
edit: Any upgrade instructions for the .7.1 to .7.2 transition? Install doc seems to cover only fresh installs.
Easyfile 0.7.2
Posted on: 03/06/05 11:23am
By: Kelvin
Upgrade instructions: There were no database or theme changes, so all you need to do is to install *.php AND functions.inc over your existing versions, and copy the updated icons to the images directory.
There were no theme file changes, so any modified themes should keep functioning as before.
edit: added functions.inc to upgrade instructions
Easyfile 0.7.2
Posted on: 03/06/05 11:40pm
By: ajzz
Thanks, I copied public_html/easyfile/*.php and public_html/admin/plugins/easyfile/*.php from the new to the old and the image directory as you recommended.
Just doing that, however, led to a message saying Easyfile has be disabled. Anyway, replacing the old /path/to/geeklog/plugins/easyfile/functions.inc with the new one seemed to solve the problem. From doing a diff between the two files, the only significant difference seems to be in the installCheck around line 228 where $_EF_CONF has been globalized.
228c173
new< global $_TABLES, $LANG_EF00, $_EF_TABLES, $_EF_CONF;
---
old> global $_TABLES, $LANG_EF00, $_EF_TABLES;
Cheers and thanks for the mods!
Ajay
PS: To make future upgrades easier, perhaps we should consider separating all the style elements into a style.css that can be appended to the main public_html/layout/name/style.css. This would reduce the job of making changes to the folder.class.php and other rendering templates. If I get time, I shall do this next weekend and send you the same. Ciao.
Easyfile 0.7.2
Posted on: 03/07/05 02:16am
By: Kelvin
My bad. True, I should have said "replace *.php AND functions.inc"...
And yeah, that's a good idea separating out all the style in a separate css-file, but I recall reading a forum post about this...
Yes, here it is[*3] . To insert easyfile-specific code in the headers, create the following function: plugin_getheadercode_easyfile()
By using this method, we avoid adding plugin-cruft to the global style.css
Easyfile 0.7.2
Posted on: 03/08/05 04:31am
By: Anonymous (Emmental)
Thanks for a great plugin. I have a question related to the What's New inclusion.
I recently patched a couple of files to allow the What's New block to display comments from plugins, from here:
http://project.geeklog.net/tracker/index.php?func=detail&aid=366&group_id=6&atid=108
I'm not sure if you're familiar with that patch and how it works, but this still doesn't result in easyfile comments being displayed in What's New, since it apparently isn't a plugin "supporting the What's new comment section".
However, I have managed to add an extra case statement to the patched code that does now show easyfile comments in What's New, but I was wondering if your 0.7.3 version will do this, either with or without the above patch.
I'm quite new to all this, so I apologise if any of that is a bit vague.
Thanks,
Emmental.
Easyfile 0.7.2
Posted on: 03/17/05 09:03am
By: ajzz
A small glitch in 0.7.2 - if you have more than one page of files listed for a given subfolder, using the page 2 link returns page two of the main index (i.e. the folder name-value is not passed on the url). Same for "next" and "last" links.
example:
....easyfile/index.php?folder=10 (page 1)
....easyfile/index.php?page=2 (when you click link for page2)
....easyfile/index.php?folder=10&page=2 (correct link - works when folder id is added manually to the url)
cheers!
ajay
Easyfile 0.7.2
Posted on: 03/18/05 06:37am
By: Kelvin
True, this bug has been around forever. I found (and fixed) it when I implemented sort-order for the new version. I really, really need to get 0.7.3 out the door now.
Easyfile 0.7.2
Posted on: 03/19/05 02:46pm
By: shinji
Then get on it already! If you need a tester then email me. shinji257 at uplink dot net.
Easyfile 0.7.2
Posted on: 03/20/05 04:33pm
By: Kelvin
[QUOTE BY= shinji] Then get on it already! If you need a tester then email me. shinji257 at uplink dot net.[/QUOTE]
Done! I've been busy with real life, so this took longer than anticipated. v0.7.3 is uploaded to the site and should be available shortly. Note: due to a couple of serious bugs in v0.7.2, I rushed the release a bit. This means that selectable sort order is implemented, but there's no UI for it. It will be in 0.7.4 for sure.