Commit graph

55 commits

Author SHA1 Message Date
plegall
73db66afa5 feature 1630: upgrade to Piwigo 2.1 :-)
bug 1604: only activate core themes not all themes.

git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 14:28:05 +00:00
nikrou
4061fefe71 Fix missing keys and misspelling keys in translations
git-svn-id: http://piwigo.org/svn/trunk@5573 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-02 14:05:03 +00:00
patdenice
7b25308e73 Fix php5 apache configuration with upgrade.
git-svn-id: http://piwigo.org/svn/trunk@5387 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-26 16:49:23 +00:00
nikrou
f5af5ab4c1 Fix typo : parenthesis
git-svn-id: http://piwigo.org/svn/trunk@5238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 23:00:11 +00:00
nikrou
4773d7a350 Feature 1255 :
only one function
use exceptions to deal with differents possible errors

git-svn-id: http://piwigo.org/svn/trunk@5236 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 22:51:36 +00:00
ddtddt
8e094971b4 [trunk] localisation hu/RU feature:1526 and feature:1527
git-svn-id: http://piwigo.org/svn/trunk@5234 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 21:59:56 +00:00
patdenice
54c9ceb0f4 feature 1255: add pwg_select_db function.
git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 21:15:54 +00:00
patdenice
8db5b549d1 feature 1522: Move config_local.inc.php to local/config/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@5215 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 13:31:20 +00:00
nikrou
85c1c1b1ea Feature 1522 : move database config file to local directory
(include/config_database.inc.php becomes local/config/database.inc.php)

git-svn-id: http://piwigo.org/svn/trunk@5213 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 12:32:49 +00:00
nikrou
af78fa6193 Fix some language keys problems
Need translations !

git-svn-id: http://piwigo.org/svn/trunk@5207 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-20 22:35:39 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
patdenice
5958c85b7f feature 1502
Remove automatic file creation for local-layout.css during install or upgrade.php.
Move icon/admin directory from default theme.

git-svn-id: http://piwigo.org/svn/trunk@5124 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 00:23:05 +00:00
plegall
14778ce673 feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 00:00:52 +00:00
nikrou
2e890e9597 Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 14:54:22 +00:00
ddtddt
7fda6e5af9 [trunk] localisation merge 4758 bug:1416
git-svn-id: http://piwigo.org/svn/trunk@4816 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-01 18:53:59 +00:00
nikrou
c96097529e Feature_1255 :
- single quotes in queries
- start using $conf['dblayer']

git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-29 12:35:19 +00:00
nikrou
924dd262ec Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20 14:17:04 +00:00
nikrou
8a29965450 Feature 928 resolved.
Replace include/mysql.inc.php by include/config_database.inc.php to be independant of database engine
Rename database configurations variables by ones in $conf array.

git-svn-id: http://piwigo.org/svn/trunk@4280 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-16 19:17:01 +00:00
patdenice
7f8cbea1ec 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/trunk@3203 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 16:57:10 +00:00
rub
8fec6be07a Fix bad $lang.
Remove not necessary information messages on upgrade.

git-svn-id: http://piwigo.org/svn/trunk@3072 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-13 18:53:00 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
rub
e41325376b Delete caches and optimize tables on upgrade
git-svn-id: http://piwigo.org/svn/trunk@2890 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 20:03:49 +00:00
patdenice
509cfc5547 - 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/trunk@2884 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 15:44:04 +00:00
patdenice
9fc076f5d3 - Remove advises of file removal at the end of install (forgotten in last commit!)
git-svn-id: http://piwigo.org/svn/trunk@2865 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-12 13:49:13 +00:00
patdenice
cd9f45fd1d - 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/trunk@2863 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-12 12:40:20 +00:00
plegall
1d9821abd1 merge -c2861 from branch 2.0 to trunk
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/trunk@2862 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-11 13:41:27 +00:00
patdenice
e91161f331 - 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/trunk@2836 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-06 14:44:51 +00:00
patdenice
214164c9a1 - Add roma theme to upgrade page.
- Upgrade translation.

git-svn-id: http://piwigo.org/svn/trunk@2819 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-03 19:52:33 +00:00
patdenice
9a7de2b6b1 - bugs correction in upgrade_1.7.0.php.
- only non-standard plugins are deactivated during upgrade.

git-svn-id: http://piwigo.org/svn/trunk@2815 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-01 21:19:20 +00:00
plegall
564d2df91d merge -c2811 from branch 2.0 to trunk
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/trunk@2812 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-26 20:44:01 +00:00
rub
abe030444b Reintroduce c13y_upgrade remove on r2754
git-svn-id: http://piwigo.org/svn/trunk@2808 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-25 21:31:30 +00:00
patdenice
33322d4bd0 - 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/trunk@2787 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-21 23:46:13 +00:00
plegall
faa543851b merge -c2754 from branch 2.0 to trunk
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/trunk@2768 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-17 20:39:30 +00:00
patdenice
682220bded - 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/trunk@2747 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 17:50:12 +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