Changeset 2521 for trunk/install


Ignore:
Timestamp:
Sep 12, 2008, 4:17:35 AM (16 years ago)
Author:
rvelices
Message:
  • images.file categories.permalink old_permalinks.permalink - become binary
  • session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
  • metadata sync from the sync button does not overwrite valid data with empty metadata
  • other small fixes/enhancements:
    • added event get_category_image_orders
    • fix display issue with redirect.tpl (h1/h2 within h1)
    • fix known_script smarty function registration
    • query search form not submitted if q is empty
    • better admin css rules
    • some other minor changes (ws_core, rest_handler, functions_search...)
Location:
trunk/install
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/piwigo_structure.sql

    r2518 r2521  
    3737  `global_rank` varchar(255) default NULL,
    3838  `image_order` varchar(128) default NULL,
    39   `permalink` varchar(64) default NULL,
     39  `permalink` varchar(64) binary default NULL,
    4040  PRIMARY KEY  (`id`),
    4141  UNIQUE KEY `categories_i3` (`permalink`),
     
    175175CREATE TABLE `piwigo_images` (
    176176  `id` mediumint(8) unsigned NOT NULL auto_increment,
    177   `file` varchar(255) NOT NULL default '',
     177  `file` varchar(255) binary NOT NULL default '',
    178178  `date_available` datetime NOT NULL default '0000-00-00 00:00:00',
    179179  `date_creation` date default NULL,
     
    209209CREATE TABLE `piwigo_old_permalinks` (
    210210  `cat_id` smallint(5) unsigned NOT NULL default '0',
    211   `permalink` varchar(64) NOT NULL default '',
     211  `permalink` varchar(64) binary NOT NULL default '',
    212212  `date_deleted` datetime NOT NULL default '0000-00-00 00:00:00',
    213213  `last_hit` datetime default NULL,
Note: See TracChangeset for help on using the changeset viewer.