Changeset 8651 for trunk/install


Ignore:
Timestamp:
Jan 13, 2011, 4:24:18 PM (13 years ago)
Author:
plg
Message:

feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.

Location:
trunk/install
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/config.sql

    r8626 r8651  
    2727INSERT INTO piwigo_config (param,value,comment) VALUES ('email_admin_on_comment','false','Send an email to the administrators when a valid comment is entered');
    2828INSERT INTO piwigo_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the administrators when a comment requires validation');
    29 INSERT INTO piwigo_config (param,value,comment) VALUES ('email_admin_on_picture_uploaded','false','Send an email to the administrators when a picture is uploaded');
    3029INSERT INTO piwigo_config (param,value,comment) VALUES ('obligatory_user_mail_address','false','Mail address is obligatory for users');
    3130INSERT INTO piwigo_config (param,value,comment) VALUES ('c13y_ignore',null,'List of ignored anomalies');
    32 INSERT INTO piwigo_config (param,value,comment) VALUES ('upload_link_everytime','false','Show upload link every time');
    33 INSERT INTO piwigo_config (param,value,comment) VALUES ('upload_user_access',2 /*ACCESS_CLASSIC*/,'User access level to upload');
    3431INSERT INTO piwigo_config (param,value,comment) VALUES ('extents_for_templates','a:0:{}','Actived template-extension(s)');
    3532INSERT INTO piwigo_config (param,value,comment) VALUES ('blk_menubar','','Menubar options');
  • trunk/install/piwigo_structure-mysql.sql

    r8464 r8651  
    3131  `site_id` tinyint(4) unsigned default '1',
    3232  `visible` enum('true','false') NOT NULL default 'true',
    33   `uploadable` enum('true','false') NOT NULL default 'false',
    3433  `representative_picture_id` mediumint(8) unsigned default NULL,
    3534  `uppercats` varchar(255) NOT NULL default '',
     
    447446  UNIQUE KEY `users_ui1` (`username`)
    448447) TYPE=MyISAM;
    449 
    450 --
    451 -- Table structure for table `piwigo_waiting`
    452 --
    453 
    454 DROP TABLE IF EXISTS `piwigo_waiting`;
    455 CREATE TABLE `piwigo_waiting` (
    456   `id` int(10) unsigned NOT NULL auto_increment,
    457   `storage_category_id` smallint(5) unsigned NOT NULL default '0',
    458   `file` varchar(255) NOT NULL default '',
    459   `username` varchar(255) NOT NULL default '',
    460   `mail_address` varchar(255) NOT NULL default '',
    461   `date` int(10) unsigned NOT NULL default '0',
    462   `tn_ext` char(3) default NULL,
    463   `validated` enum('true','false') NOT NULL default 'false',
    464   `infos` text,
    465   PRIMARY KEY  (`id`)
    466 ) TYPE=MyISAM;
  • trunk/install/piwigo_structure-pdo-sqlite.sql

    r8464 r8651  
    2727  "site_id" INTEGER default 1,
    2828  "visible" BOOLEAN default true,
    29   "uploadable" BOOLEAN default false,
    3029  "representative_picture_id" INTEGER,
    3130  "uppercats" TEXT,
     
    538537CREATE INDEX "comments_i1" ON "piwigo_comments" ("image_id");
    539538
    540 -----------------------------------------------------------------------------
    541 -- piwigo_waiting
    542 -----------------------------------------------------------------------------
    543 
    544 DROP TABLE IF EXISTS piwigo_waiting;
    545 CREATE TABLE piwigo_waiting
    546 (
    547   "id" INTEGER NOT NULL,
    548   "storage_category_id" INTEGER default 0 NOT NULL,
    549   "file" VARCHAR(255) default '' NOT NULL,
    550   "username" VARCHAR(255) default '' NOT NULL,
    551   "mail_address" VARCHAR(255) default '' NOT NULL,
    552   "date" INTEGER default 0 NOT NULL,
    553   "tn_ext" CHAR(3),
    554   "validated" BOOLEAN default false,
    555   "infos" TEXT,
    556   PRIMARY KEY ("id")
    557 );
    558 
  • trunk/install/piwigo_structure-pgsql.sql

    r8464 r8651  
    3434  "site_id" INTEGER default 1,
    3535  "visible" BOOLEAN default true,
    36   "uploadable" BOOLEAN default false,
    3736  "representative_picture_id" INTEGER,
    3837  "uppercats" TEXT,
     
    653652
    654653CREATE INDEX "comments_i1" ON "piwigo_comments" ("image_id");
    655 
    656 -----------------------------------------------------------------------------
    657 -- piwigo_waiting
    658 -----------------------------------------------------------------------------
    659 
    660 DROP TABLE IF EXISTS "piwigo_waiting" CASCADE;
    661 CREATE TABLE "piwigo_waiting"
    662 (
    663   "id" serial  NOT NULL,
    664   "storage_category_id" INTEGER default 0 NOT NULL,
    665   "file" VARCHAR(255) default '' NOT NULL,
    666   "username" VARCHAR(255) default '' NOT NULL,
    667   "mail_address" VARCHAR(255) default '' NOT NULL,
    668   "date" INTEGER default 0 NOT NULL,
    669   "tn_ext" CHAR(3),
    670   "validated" BOOLEAN default false,
    671   "infos" TEXT,
    672   PRIMARY KEY ("id")
    673 );
    674 
    675 COMMENT ON TABLE "piwigo_waiting" IS '';
    676 
    677 
    678 SET search_path TO public;
  • trunk/install/piwigo_structure-sqlite.sql

    r8464 r8651  
    2727  "site_id" INTEGER default 1,
    2828  "visible" BOOLEAN default true,
    29   "uploadable" BOOLEAN default false,
    3029  "representative_picture_id" INTEGER,
    3130  "uppercats" TEXT,
     
    537536CREATE INDEX "comments_i2" ON "piwigo_comments" ("validation_date");
    538537CREATE INDEX "comments_i1" ON "piwigo_comments" ("image_id");
    539 
    540 -----------------------------------------------------------------------------
    541 -- piwigo_waiting
    542 -----------------------------------------------------------------------------
    543 
    544 DROP TABLE IF EXISTS piwigo_waiting;
    545 CREATE TABLE piwigo_waiting
    546 (
    547   "id" INTEGER NOT NULL,
    548   "storage_category_id" INTEGER default 0 NOT NULL,
    549   "file" VARCHAR(255) default '' NOT NULL,
    550   "username" VARCHAR(255) default '' NOT NULL,
    551   "mail_address" VARCHAR(255) default '' NOT NULL,
    552   "date" INTEGER default 0 NOT NULL,
    553   "tn_ext" CHAR(3),
    554   "validated" BOOLEAN default false,
    555   "infos" TEXT,
    556   PRIMARY KEY ("id")
    557 );
    558 
Note: See TracChangeset for help on using the changeset viewer.