Commit graph

39 commits

Author SHA1 Message Date
ddtddt
c68aa12c5a [branche 2] add localisation IT/DE/ES
git-svn-id: http://piwigo.org/svn/branches/2.0@4189 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-04 22:45:40 +00:00
patdenice
796cbc8350 merge r3203 from trunk to branch 2.0.
Move template class inclusion to common.inc.php.
Add forum link in upgrade page.
Install and upgrade try to configure PHP5.

git-svn-id: http://piwigo.org/svn/branches/2.0@3204 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:04:13 +00:00
rub
2b0f5ecaf3 Disabled optimization table for branch 2.0 only
git-svn-id: http://piwigo.org/svn/branches/2.0@3076 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-14 07:10:09 +00:00
rub
882ffed349 merge -c3072 from trunk to branch 2.0
Fix bad $lang.
Remove not necessary information messages on upgrade.

git-svn-id: http://piwigo.org/svn/branches/2.0@3073 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-13 18:56:17 +00:00
plegall
aeaffa61bd Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:09:15 +00:00
rub
487ba19c94 Delete caches and optimize tables on upgrade
merge -c2890 from trunk to branch 2.0
The exact copy of commit log in 2890.

git-svn-id: http://piwigo.org/svn/branches/2.0@2891 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 20:06:20 +00:00
patdenice
70e5f51d00 merge -c2884 from trunk to branch 2.0.
- Replace some mysql_query by pwg_query function.
- Add home button after upgrade.php.
- Add utf8 charset for access denied message.
- Replace some #content by .content in css files.
- Fix menubar blocks borders with IE.

git-svn-id: http://piwigo.org/svn/branches/2.0@2885 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 15:46:49 +00:00
patdenice
9a0aab2515 merge -c2865 from trunk to branch 2.0
- Remove advises of file removal at the end of install (forgotten in last commit!)


git-svn-id: http://piwigo.org/svn/branches/2.0@2866 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-12 13:50:38 +00:00
patdenice
b5b089670a merge -c2863 from trunk to branch 2.0
- Remove advises of file removal at the end of install/upgrade.
- Automatic change mysql.inc.php if file is writable, else purpose manual change to user.

git-svn-id: http://piwigo.org/svn/branches/2.0@2864 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-12 12:41:27 +00:00
plegall
df2f3a4f4d improvement: instead of checking for #history_summary table presence, we
check for #plugins table. Some web hosting provider have removed this table,
causing misleading information to the upgrade script from 1.7.0.


git-svn-id: http://piwigo.org/svn/branches/2.0@2861 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-11 13:39:56 +00:00
patdenice
5f1fe1d4f9 merge -c2836 from trunk to branch 2.0
- Webmaster or administrator can login to run upgrade.
- Inserting upgrade line in mysql.inc.php still work.
- Convert espagnol upgrade file to utf8.
- Minor changes in upgrade processus.
- Remove all comments in pclzip.lib.php.

git-svn-id: http://piwigo.org/svn/branches/2.0@2837 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-06 14:46:41 +00:00
patdenice
78af3df65b merge -c2819 from trunk to branch 2.0
- Add roma theme to upgrade page.
- Upgrade translation.

git-svn-id: http://piwigo.org/svn/branches/2.0@2820 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-03 19:55:35 +00:00
patdenice
108937e81a merge -c2815 from trunk to branch 2.0
- bugs correction in upgrade_1.7.0.php.
- only non-standard plugins are deactivated during upgrade.


git-svn-id: http://piwigo.org/svn/branches/2.0@2816 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-01 21:22:08 +00:00
plegall
027055eb9f based on forum discussion, a comment is added to explain why c13y_upgrade
plugin is activated at this precise moment.


git-svn-id: http://piwigo.org/svn/branches/2.0@2811 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-26 20:39:44 +00:00
rub
f0b54e852a Reintroduce c13y_upgrade remove on r2754
Merge trunk 2807:2808 into branch 2.0


git-svn-id: http://piwigo.org/svn/branches/2.0@2809 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-25 21:33:11 +00:00
patdenice
8d9d904c67 Merge from trunk 2787:
- Move upgrade.tpl to admin template.
- Deactivate all active plugins during upgrade.php.
- Update Editarea for LocalFiles Editor to version 0.7.2.3 (bonEcho compatibility)

git-svn-id: http://piwigo.org/svn/branches/2.0@2788 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-21 23:48:48 +00:00
plegall
57a366a7a5 new: upgrade script from 1.7.0. Instead of previous upgrade scripts, I call
directly the "unit" upgrades from 61 to current. Previous upgrades not in
the database are inserted but not applied (and have an explicit description
saying so).


git-svn-id: http://piwigo.org/svn/branches/2.0@2754 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 22:51:04 +00:00
patdenice
5ce101c193 Merge from trunk 2747:
- Install process now looks like goto/roma.
- Move install.tpl to goto template.
- add charset utf8 to fatal error function.
- Check php version on install and upgrade, and die if < 5. 


git-svn-id: http://piwigo.org/svn/branches/2.0@2748 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 17:55:18 +00:00
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