Commit graph

71 commits

Author SHA1 Message Date
flop25
89a1ee2696 feature:2482
during upgrade, deactivate template-extensions : in practice put an empty array for the config param. extents_for_templates 

git-svn-id: http://piwigo.org/svn/trunk@14206 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-17 14:09:05 +00:00
plegall
c59b052d7c merge r13955 from branch 2.3 to trunk
bug 2610 fixed: make sure the $_GET['lang'] or $_GET['language'] is in the
list of available languages.



git-svn-id: http://piwigo.org/svn/trunk@13956 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-07 21:00:51 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
rvelices
cc01941ed9 feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +00:00
rvelices
d70a18d521 simplification of 'startup phase' - multisite.inc.php is not required anymore / database.inc.php is included after config.
git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 20:25:42 +00:00
plegall
70cf50766e feature 2452 added: upgrade script from 2.2 to 2.3
git-svn-id: http://piwigo.org/svn/trunk@12296 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-01 22:56:33 +00:00
plegall
d9f8479cdf feature 2365 added: Piwigo version is written in the database (as
"piwigo_db_version" in the config table). We only store the branch,
not the release : 2.3 and not 2.3.1, because database structure is
not changing between minor releases.


git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 22:03:12 +00:00
plegall
59b87ac06b bug 2218: deactivate non core themes after upgrade
git-svn-id: http://piwigo.org/svn/trunk@9597 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 10:50:11 +00:00
plegall
3e7a89edb2 feature 2217: switch upgrade screen to a clear background theme
git-svn-id: http://piwigo.org/svn/trunk@9596 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 10:12:40 +00:00
plegall
f1e2d213cf upgrade script from 2.1 to 2.2
git-svn-id: http://piwigo.org/svn/trunk@9595 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 10:04:52 +00:00
patdenice
2e44cc79de feature:2210
Improve language management.

git-svn-id: http://piwigo.org/svn/trunk@9518 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-04 10:41:36 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
8ccd3a203d feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php


git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 18:48:13 +00:00
ddtddt
2c6a262fda merge 6327
git-svn-id: http://piwigo.org/svn/trunk@6335 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 15:52:50 +00:00
plegall
8469140471 add nl.piwigo.org as domain name if current language is nl_NL
fix typos on language names in install.php

correct list of available newsletters

git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:51:01 +00:00
patdenice
973d15f338 Upgrade can be launched automaticaly if user is already connected as webmaster.
git-svn-id: http://piwigo.org/svn/trunk@6110 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 23:08:51 +00:00
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