Page 1 of 3

New Module: DLM - Download Manager

Posted: Fri Jul 30, 2010 4:59 pm
by dc2
After some month of work today it's developed far enough to release a first beta:

Please note it's a beta-release - there could be still some errors in it - be careful if you use it!

DLM in the CMSMS-Forge
Demonstration of DLM-Frontend (German)
Discussion on the German Board

Features:
 + Tree based structure - only needs one DB-query to retrieve the whole tree
     + Nodes are grouped in Categories and Downloads - categorys can have unlimited children
 + AJAX-Admin-Panel
 + Download-obfuscation - more methods will follow (see planned)
    + Pass files with PHP so the real download location is intransparent. [implemented in 0.7]
 + Sends Events on main actions
 + Full Search module integration [implemented in 0.6]
 + Template editing in Admin-Panel [implemented in 0.7]

Planned Features:
 + Add more download-obfuscation techniques
    + Filter referer with .htaccess - best performance
 + Filters to specify more detailed what should be displayed

Known Issues:
 + Some minor parts of the module are not translated yet

Download DLM from CMSMS-Forge

What do you think about this module - Critique, Suggestions and so on - be free to tell me :)

Re: Release: DlM - Download Manager

Posted: Sat Jul 31, 2010 5:23 pm
by Peciura
It is rather good module  :). It lists downloads, counts times file was downloaded, ajax stuff is helpful, "chroot" and breadcumb also work.

I noticed file address missmatch. This was in admin page:
"http://test2.peciura.lt/downloads/arunui_2a15f859bb286f3a09ab84d7010966b8.jpg"
and on the front end it was:
http://test2.peciura.lt/tmp/downloads/2a15f859bb286f3a09ab84d7010966b8/arunui.jpg

Looking forward for planned features to be finished. I am sure your module is expected to handle hundreds or even thousands of files so filter like one in News module would be very handy.

Re: Release: DlM - Download Manager

Posted: Sat Jul 31, 2010 5:32 pm
by dc2
Thanks for you reply :)

You're right - filters would be very handy - I put this on the feature-list.

The adresse-mismatch is wanted - the second url (in the /tmp/downloads/-folder) is a copy of the original file in the /downloads/ and is used to filter the users referer and obfuscate the original file (like mentioned in the feature-list there are also some other methods of obfuscating and referer-filtering planned).

Using the hash after the filename (2a15f859bb286f3a09ab84d7010966b8) allows the module to save more than one file with the same name but different content.
If the downloaded file also had this long string in its filename I think it would be irritating - so in the tmp-folder each download has it's own subfolder.

(uh, what a complicated explanation :-\ :D)

Re: [Release] DlM - Download Manager

Posted: Sat Jul 31, 2010 9:14 pm
by Peciura
What does this option mean "JavaScript Effects (Attention: When All is selected there could be performance issues on high item-count.)" ?

Re: [Release] DlM - Download Manager

Posted: Sat Jul 31, 2010 11:49 pm
by dc2
When the option all is selected, the affected items of operations like expand or delete will be faded in and out.
With many items it could possibly slow down your browser.

When Simple is selected only the actual edited item is animated (and not the children).

Personally I recommend none because then you have no synthetic delays between your actions. :)

Re: [Release] DlM - Download Manager

Posted: Wed Aug 04, 2010 6:59 pm
by dc2
New version is out (0.6):
  •  + DlM can now be indexed be search-module.
  •  + Mirror-management has been reworked (feedback wood be nice).
  •  + In edit_category und edit_download you can save with CTRL+S.
  •  + JavaScript-Form-Validation before the form is submitted.
You can find DlM 0.6 here.

Edit: Updated 0.6 to 0.6.1 - a little bug interfered with AJAX in some cases.
Edit: Also 0.6.1 had some of the bugs that should have been fixed (couldn't add mirrors)- updated to 0.6.2

Re: [Release] DlM - Download Manager

Posted: Wed Aug 11, 2010 9:26 pm
by square
Hi,

Nice module it seems.

Did you add it to the translation center ? If not, put it there in order to begin this work before next releases.

Thank you

Re: [Release] DlM - Download Manager

Posted: Tue Sep 07, 2010 2:52 pm
by dc2
Hm.. I tried to access the translation center, but I only got a blank page ???

0.7 is out, new features:
   + Template editing on the ACP
   + new download obfuscating methods (e.g. pass file via PHP)
   + referer-filtering - you can now choose which referer should be allowed
   - some minor bugfixing

Download is available here.
Im looking forward for your comments :)

Re: [Release] DlM - Download Manager

Posted: Fri Sep 10, 2010 1:57 am
by replytomk3
Consider changing the lowercase "l" to uppercase L. People will always think it's "dim". DLM is much better.

Re: [Release] DLM - Download Manager

Posted: Fri Sep 10, 2010 3:40 pm
by dc2
I found some nasty bugs in 0.7 (related to the tree-storage). They are fixed in 0.7.2.
I also renamed DlM to DLM in 0.7.2. If you run an update please follow this instructions:

- Backup all data (files and database)
- delete /modules/DlM/
- reupload DLM 0.7.2
- run this database-update (e.g. with phpMyAdmin):

Code: Select all

UPDATE `cms_modules` SET `module_name` = 'DLM' WHERE `module_name` = 'DlM'
- run this database-update:

Code: Select all

UPDATE `cms_siteprefs` SET sitepref_name = REPLACE(sitepref_name, 'DlM', 'DLM')
- run the common module-upgrade

Download DlM 0.7.2

Re: [Release] DLM - Download Manager

Posted: Sun Sep 12, 2010 2:45 am
by dc2
I fixed again some bugs. New version is 0.7.3.

Known issue: If you edit downloads, add a mirror and save by clicking "Apply" on each click a new copy of the mirror will be added to the database.
This will be fixed in 0.8 (coming soon).

I also added DLM to the translation-center - if you are a translator: feel free to translate it :)

Download DlM 0.7.3

Re: New Module: DLM - Download Manager

Posted: Thu Sep 16, 2010 12:03 am
by dc2
-0.7.4 is just a small bugfix release - there where some little bugs that I fixed.
-0.7.5
-0.7.6
-0.7.7 too

Download DlM 0.7.7

Re: New Module: DLM - Download Manager

Posted: Thu Sep 23, 2010 9:38 pm
by NaN
The is really a very nice module.

Do you plan to integrate support of frontendusers module?
So that download will only be possible if user is logged in and/or belongs to a certain usergroup?
Using the php obfuscation it should be easy to check if the user has access to the requested file before start download, shouldn' it?

Re: New Module: DLM - Download Manager

Posted: Thu Sep 23, 2010 9:43 pm
by dc2
Thanks !

Yes, FEU-integration is planned :) (see also the feature-request list).

Re: New Module: DLM - Download Manager

Posted: Mon Sep 27, 2010 2:44 pm
by gour
dc2 wrote: Yes, FEU-integration is planned :) (see also the feature-request list).
When you say FEO integration, does it mean it would be possible to provide kind of protected-file-area for a FEO-registered user so (s)he can download only specific files attributed to them?

If yes, then all I can say is: thumbs-up  8)

Sincerely,
Gour