Added Thingy RFEs: Max entries per user AND Export extra fields

This commit is contained in:
Yung Han Khoe 2008-10-10 14:43:15 +00:00
parent fe07152853
commit 421392f134
4 changed files with 145 additions and 36 deletions

View file

@ -1,7 +1,7 @@
7.6.1
- changed: the list of extensions for the export system to pass through
unmodified has been moved to the configuration file under the
"exportBianryExtensions" field.
"exportBinaryExtensions" field.
- fixed: some default assets have ids shorter than 22 characters
- fixed: failure when submitting a dataform that sends mail with an empty file field
- fixed: DataForm ignores height on textarea fields
@ -30,6 +30,8 @@
- rfe: Thingy Private Rows (SDH Consulting Group)
- fixed: Shop: Percentage of Weight Shipping Method doesn't work
- fixed #8776: duplicate does not duplicate keywords
- rfe: Thingy: export extra rows, meta data (SDH Consulting Group)
- rfe: Thingy: Max entries per user (SDH Consulting Group)
7.6.0
- added: users may now customize the post received page for the CS

View file

@ -31,6 +31,7 @@ my $session = start(); # this line required
addExportExtensionsToConfigFile($session);
fixShortAssetIds( $session );
addDataFormDataIndexes($session);
addThingyColumns( $session );
finish($session); # this line required
@ -82,6 +83,13 @@ sub addDataFormDataIndexes {
print "Done.\n" unless $quiet;
}
sub addThingyColumns {
my $session = shift;
print "\tAdding exportMetaData and maxEntriesPerUser columns to Thingy_things table... " unless $quiet;
$session->db->write('ALTER TABLE `Thingy_things` ADD exportMetaData int(11)');
$session->db->write('ALTER TABLE `Thingy_things` ADD maxEntriesPerUser int(11)');
print "Done.\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------