Commit graph

144 commits

Author SHA1 Message Date
rvelices
753f58d6a9 feature 2541 multisize
- core implementation + usage on most public/admin pages
- still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...

git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 05:26:44 +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
mistic100
ca230a6f53 feature:2538 Make a unified messages management
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages

git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-18 21:46:24 +00:00
patdenice
e859d5ac6d feature:2322
feature:2493
Add a trigger for multi language tags in quick search and url

git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 16:15:58 +00:00
mistic100
9c0cfb0084 feature:2317 move order config to Admin->Config->Options
new GUI interface for simple paterns
in GUI, order_by and order_by_inside_category are merged (not un DB)
users can define special paterns with $conf['order_by_custom'] and $conf['order_by_inside_category_custom']

git-svn-id: http://piwigo.org/svn/trunk@11587 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 13:19:35 +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
patdenice
49dd77f05b feature:2250
Add expire parameter.
Clean code.

git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:11:11 +00:00
patdenice
0dd800150b feature:2250
Incompatible plugins and obsolete plugins may not be activated.

git-svn-id: http://piwigo.org/svn/trunk@10098 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 09:43:46 +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
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
grum
462e8aa2fc Add possibility to configure the url for the extension manager
feature:1966

git-svn-id: http://piwigo.org/svn/trunk@7501 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 15:07:18 +00:00
rvelices
613855b83b misplaced closing paranthesis in common.inc.php
git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-12 09:55:41 +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
plegall
eb0aec9752 bug 1652 fixed: json_encode function is required for admin.php?fckb_tags=1
(used in the new tags widget)

git-svn-id: http://piwigo.org/svn/trunk@6126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 19:22:29 +00:00
nikrou
94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
rvelices
ff8049ff28 move no_photo_yet feature to a new php file included by common.inc.php only if required (avoid parsing this code that will be rarely executed)
git-svn-id: http://piwigo.org/svn/trunk@5509 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-31 20:36:32 +00:00
plegall
f635122ef2 feature 1505: bug fixed, ability to connect with pLoader even if gallery
is empty.

git-svn-id: http://piwigo.org/svn/trunk@5251 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 10:29:34 +00:00
plegall
3fde53f0d9 feature 1505: improvement, ability to browse the empty gallery. The "no photo
yet" feature can be deactivated at session level.

git-svn-id: http://piwigo.org/svn/trunk@5241 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 00:39:04 +00:00
plegall
fbfe11375e feature 1505: improvement, when there is no photo yet in the gallery, first
shows a connection box (and only this), then if the user is an admin shows the
"Hello %s, your gallery is empty...".

I've also added the ability to deactivate this message. Only an admin can
deactivate it.

git-svn-id: http://piwigo.org/svn/trunk@5240 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 00:21:25 +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
4158d32960 [trunk] localisation hu/RU feature:1526 and feature:1527
git-svn-id: http://piwigo.org/svn/trunk@5235 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21 22:07:22 +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
patdenice
6e51794b3f feature 1522: Move local css local files and local language files to local directory.
Add $conf['template_force_compile'] to help developpers.

git-svn-id: http://piwigo.org/svn/trunk@5208 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-20 23:14:30 +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
rvelices
15fdea6925 - removed compatibility with php4 (file_put_contents exists in php5)
- when synchronizing local files , sort them alphabetically

git-svn-id: http://piwigo.org/svn/trunk@5176 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-18 14:30:04 +00:00
plegall
b95eebbe18 feature 1505: when there is no photo yet in the gallery, displays a big and
obvious message, guiding to the Administration>Images>Add page.

git-svn-id: http://piwigo.org/svn/trunk@5138 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-14 23:56:21 +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
nikrou
6992b27535 Bug 1426 fixed : admin help popup use gallery theme instead of admin theme
git-svn-id: http://piwigo.org/svn/trunk@4893 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-15 21:36:36 +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
ddtddt
a0a640fa10 [trunk] Merge 4046 new: de.piwigo.org/forum / es.piwigo.org/forum are online, PHPWG_DOMAIN updated inside Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@4047 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-15 15:17:33 +00:00
patdenice
f83b8815c6 merge r4005 from branch 2.0 to trunk
bug 1187: set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3.
Add a @ to avoid this notices.
This functions need to be removed with PHP 6

git-svn-id: http://piwigo.org/svn/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 14:41:30 +00:00
Eric
bac7567b5c PHP 5.3 compatibility - Deprecated functions were replace as follows :
ereg() -> preg_match()
ereg_replace() -> preg_replace()
eregi() -> preg_match() with the 'i' modifier
eregi_replace() -> preg_replace() with the 'i' modifier
set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix.

git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-17 16:21:09 +00:00
plegall
e10636f2db merge r3276 from branch 2.0 to trunk
bug 968 fixed: charset is set in HTTP header.

improvement: in the "this gallery is locked" message, the link to the
"sign in" page is on the whole sentence, not only on the final dot.

git-svn-id: http://piwigo.org/svn/trunk@3277 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-06 21:09:06 +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
plegall
87a7b60bed merge r3196 from branch 2.0 to trunk
bug 926 fixed: change links to piwigo.org so that they go to existing URLs.

new: if the current language is french, the links go to fr.piwigo.org instead.


git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:43:50 +00:00
rvelices
601134c57e - moved check upgrade feed code to admin/include/functions_upgrade.php
- refactored some code (shorter and somehow faster - but nothing revolutionary)
- decrease lost space in permalinks.tpl and hard coded column width (was illisible)

git-svn-id: http://piwigo.org/svn/trunk@3136 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 13:01:03 +00:00
rvelices
e34c68cb89 - embellish_url compacts now ..
- some trigger improvements (render_category_description)
- improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page )

git-svn-id: http://piwigo.org/svn/trunk@3126 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05 03:03:30 +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
vdigital
b0fe06558e - ini_set usage is sometimes prohibited.
merge -c3023 from branch 2.0 to trunk

git-svn-id: http://piwigo.org/svn/trunk@3024 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-28 14:23:22 +00:00
grum
7b0669167f Add a new config value 'show_php_error' to allow debugging of RC to be easier.
See topic #99192 on the forum.

git-svn-id: http://piwigo.org/svn/trunk@2859 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-10 10:15:04 +00:00
rvelices
ad2941220f merge -c2823 from branch 2.0 to trunk
- removed some unused constants from constants.php
- removed some unused css rules
- removed unused code

git-svn-id: http://piwigo.org/svn/trunk@2824 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-04 01:47:48 +00:00