Initial patch for Drupal 5.0

jrt - November 21, 2006 - 22:24
Project:Filemanager
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Mostly untested, but at least the module loads and the settings seem to work as expected.

AttachmentSize
filemanager_patch.tar.gz1.38 KB

#1

drewish - November 21, 2006 - 23:13
Status:patch (code needs review)» patch (code needs work)

please don't post conpressed files. if you can't roll the .info file in the patch, post it as a comment to the issue.

#2

jrt - November 22, 2006 - 03:49

OK, here is the patch in pure, unadulterated plain text format.

AttachmentSize
filemanager_2.patch5.77 KB

#3

drewish - December 11, 2006 - 17:18

looks pretty good. could you not move the functions (like filemanager_menu()) around though? it makes it harder to view the changes you're making. i'd be into re-organizing stuff after this gets comitted.

#4

drewish - January 2, 2007 - 23:22

http://drupal.org/node/103632 was marked as a duplicate of this.

#5

caot - February 3, 2007 - 00:17

Nice a patch for 5.x
but i can´t find the places in the file to change. can everyone post the complete file to copy and paste?

thx

caot

#6

gmeier - February 22, 2007 - 09:34

It does not work for me.
i applied the patch and copied the module to my drupal installation, but it is not detected.

#7

jrt - February 23, 2007 - 20:02

gmeier: Did you copy the filemanager.info file as well?

#8

ricmadeira - February 28, 2007 - 17:43

The patch + .info file. Look alright to me. The module is detected and turned on.

#9

NancyDru - March 15, 2007 - 02:49

I don't know how to apply patches. Is this in the HEAD version?

#10

vhmauery - March 16, 2007 - 13:53

#11

ricmadeira - April 30, 2007 - 03:08

How about getting this one commited so that less able users can readily take advantage of it to update their 4.7 instalations?

#12

cscsteve - June 15, 2007 - 17:41
Status:patch (code needs work)» patch (code needs review)

Here's a complete patch for 5.1. Tested by itself as much as possible, will test further when I finish updating the Attachment module.

AttachmentSize
filemanager-5.x-1.x-dev.patch6.23 KB

#13

drewish - July 5, 2007 - 04:44
Status:patch (code needs review)» fixed

in the .install file i don't think it's worth the trouble to check if( ! db_table_exists('file') ) the way it's done in core is just assume it doesn't exists, if it does you'll just get an error but not loose any data. also the drupal coding standards say you shouldn't put spaces at the beginning and end of the function calls.

the .info file looks good.

the changes to the .module file look good.

so i'm going to add the .info file and commit the changes to the .module. if you want to roll a subsequent patch for the .install file i'll review that. also adding you to the CREDITS file ;)

#14

Anonymous - July 19, 2007 - 04:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.