Commit graph

21 commits

Author SHA1 Message Date
rvelices
0e5f5a74b3 - replace a preg_match with simple comparison (faster)
- try to get rid of some JS strict warnings in FF (hope it's fixed)
- template.class.php is included from functions.inc.php instead of common,upgrade,install (maybe later I will try to see the perf impact of compacting/compiling functions.inc.php together with the included files from itself)

git-svn-id: http://piwigo.org/svn/trunk@2700 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-10 13:11:31 +00:00
rvelices
26474d349f - fix issue when picture_url_style = file (sql query like)
- sql call SET NAMES "xxx" (if required) in upgrade.php, upgrade_feed.php and after 65-database.php

git-svn-id: http://piwigo.org/svn/trunk@2512 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-09 01:16:32 +00:00
plegall
524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
bugged (r2297 was repeating new and old header).

By the way, I've also removed the replacement keywords. We were using them
because it was a common usage with CVS but it is advised not to use them with
Subversion. Personnaly, it is a problem when I search differences between 2
Piwigo installations outside Subversion.


git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05 14:14:07 +00:00
plegall
3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
rvelices
ee70a108be - remove compatibility with old template ...
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-23 00:04:46 +00:00
rvelices
37446caa5c - upgrade goes smarty
- event_tracer goes smarty
- correction in index.tpl

git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-06 00:25:47 +00:00
patdenice
b4a1fa0312 0000421 : call a function to create empty local files during install and upgrade
Avoid log errors

git-svn-id: http://piwigo.org/svn/trunk@2102 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-21 09:06:00 +00:00
rub
e74e456749 Resolved 0000748: Name configuration of all the tables
Resolved 0000750: Check anomalies after upgrade (Feature proposition)


git-svn-id: http://piwigo.org/svn/trunk@2096 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19 05:26:58 +00:00
plegall
3ae12221ac merge -r1997:1998 from branch 1.7 to trunk
Bug 679 fixed: avoid involuntarily upgrading more than once. A check of
existing tables/columns was added to make sure the upgrade is not a refresh.


git-svn-id: http://piwigo.org/svn/trunk@1999 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-04 21:56:58 +00:00
rub
f814e885f3 Set correct ID property (Again)
git-svn-id: http://piwigo.org/svn/trunk@1943 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-07 15:55:19 +00:00
rub
176d5ea5f6 Set correct ID property
git-svn-id: http://piwigo.org/svn/trunk@1942 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-07 15:48:57 +00:00
rub
77beb97a94 Add upgrade_feed.php on files list to delete on upgrade.
git-svn-id: http://piwigo.org/svn/trunk@1940 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-07 15:33:18 +00:00
plegall
0d5216267c New: release upgrade scripts from 1.3.0 come back from branch 1.6. Only
install/upgrade_1.6.2.php is really new, upgrade 60 was taken into
account. Detection of 1.6.0 or 1.6.2 data model in upgrade.php. Release
upgrade scripts added on trunk to be kept in a safer place.


git-svn-id: http://piwigo.org/svn/trunk@1927 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 22:06:13 +00:00
plegall
c64da384ea partial merge -r1173:1174 from branch-1_6 to trunk: new configuration
parameter die_on_sql_error (upgrade.php and install/upgrade_*.php not
concerned on BSF)

partial merge -r1208:1209 from branch-1_6 to trunk (only bug fix on
incorrect insertion of complex upgrade identifiers)

deletions: upgrade.php and all install/upgrade_*.php because these script
are never up to date on BSF. Anyway, they are only required on a stable
branch.


git-svn-id: http://piwigo.org/svn/trunk@1221 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 19:31:12 +00:00
rub
ade00c95c2 Step 4 improvement issue 0000301:
o Correction lock categories and is_admin (functions with parameters now)
  o Cannot use check_status with upgrade.php and upgrade_feed.php => New function check_upgrade use in upgrade*.php (new functionality for upgrade_feed.php)
  o upgrade_feed.php is showed only for administrator user



git-svn-id: http://piwigo.org/svn/trunk@1075 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-10 20:17:18 +00:00
plegall
02c3c0d2df - bug 205 fixed: advise to perform maintenance actions at the end of upgrade
process.


git-svn-id: http://piwigo.org/svn/trunk@971 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-03 23:24:17 +00:00
plegall
1673892026 - update: upgrade from 1.4.0 or 1.4.1. Upgrade from 1.3.x is not available
anymore.

- update: README files updated for very near branch 1.5 :-)

- new: file tools/config_local.inc.php as example for optional
  include/config_local.inc.php

- bug fixed: configuration parameter show_picture_name_on_title was useless


git-svn-id: http://piwigo.org/svn/trunk@870 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-20 22:04:57 +00:00
plegall
d2b451ed59 - in install.php, use the temporary variable $prefixeTable for inclusion of
file include/constants.php

- security check in upgrade.php : no upgrade possible if constant
  PHPWG_INSTALLED is defined


git-svn-id: http://piwigo.org/svn/trunk@682 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 23:56:59 +00:00
plegall
34354aa6a9 - replacement of variable names in include/mysql.inc.php (for upgrades) :
dbname        => cfgBase
dbuser        => cfgUser
dbpasswd      => cfgPassword
dbhost        => cfgHote
table_prefix  => prefixeTable


git-svn-id: http://piwigo.org/svn/trunk@681 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 23:32:25 +00:00
plegall
6244654872 all headers adapted to new year 2005, happy new year
git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:10:51 +00:00
plegall
79c440d8bb - upgrade scripts added for releases 1.3.x
- my_error function moved from admin/include/functions.php to
  include/functions.inc.php

- because MySQL temporary tables are not always authorized on creation, use
  a temporary table name (with the current microsecond) on a non temporary
  table (in mass_updates function)

- ability to retrieve distant full directories (usefull in upgrade scripts)

- global variables $count_queries and $queries_time moved into global array
  $page

- get_cat_display_name displays category names in correct order : the one
  given by uppercats

- function setup_style simplified

- default value for configuration parameter "show_nb_comments" set to false
  (less queries by default)


git-svn-id: http://piwigo.org/svn/trunk@672 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-06 22:16:21 +00:00