Commit graph

1019 commits

Author SHA1 Message Date
nikrou
11751ccd2c Feature 1451 : fix mispelling and missing translations
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-03 11:18:21 +00:00
nikrou
6044dd4fd6 Feature 1450 :
- add "subscribe %s"
- fix misspelling in install.tpl and in install.php

git-svn-id: http://piwigo.org/svn/trunk@5022 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 16:01:37 +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
d4287e2ad8 Feature 1460 : Customize form installation depending on database engine
- sqlite is proposed by default if severals
    database engine are available (cf conf)
- sqlite is proposed before pdo-sqlite
- remove host, user and password for sqlite

git-svn-id: http://piwigo.org/svn/trunk@4985 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-27 20:00:00 +00:00
nikrou
4986d620e3 Feature 1459 : add support for SQLite3 via PDO
git-svn-id: http://piwigo.org/svn/trunk@4967 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-26 20:10:51 +00:00
nikrou
a8c86a3d91 Feature 1442 : fix problem with type selector : :text instead of @type='text'
git-svn-id: http://piwigo.org/svn/trunk@4919 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-20 20:22:06 +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
nikrou
c1d6177df9 Feature 1255 :
update pwg_db_insert_id() function.
PosgreSQL needs table name to retrieve last insert auto increment id.

git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-15 19:49:04 +00:00
nikrou
e1de0d6faf Feature 511 : fix problems with calendar functions
add pwg_db_concat() function

git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-03 09:26:32 +00:00
plegall
4cc6d4172e merge r4730 from branch 2.0 to trunk
bug 1396: when a photo was deleted, the code to avoid orphans as category
representative was 1) wrong (because a photo doesn't have to belong to a
category to represent it) 2) at the wrong place.


git-svn-id: http://piwigo.org/svn/trunk@4731 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-23 22:57:01 +00:00
plegall
568cb2e3b1 merge r4682 from branch 2.0 to trunk
feature 620: if no exif/iptc found in the "web resized" photo, then we search
into the high definition picture if available. Thanks to Jochen Roth (Polly)
for the patch.


git-svn-id: http://piwigo.org/svn/trunk@4683 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-15 10:47:42 +00:00
plegall
080a84810e merge r4680 from branch 2.0 to trunk
bug 1380: now correctly synchronizes metadata on a single photo, needs a nicer
fix on trunk.


git-svn-id: http://piwigo.org/svn/trunk@4681 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-15 10:40:09 +00:00
plegall
72da6d3c7c merge r4617 from branch 2.0 to trunk
feature 1364: subscribe to pl.piwigo.org/announcement when current language is pl_PL


git-svn-id: http://piwigo.org/svn/trunk@4618 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-04 14:43:09 +00:00
nikrou
9bbe72df1e Bug 1328 : improve check function
git-svn-id: http://piwigo.org/svn/trunk@4493 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-14 22:38:04 +00:00
nikrou
c76b39da6f Bug 1328 add function to check token
git-svn-id: http://piwigo.org/svn/trunk@4492 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-14 22:16:52 +00:00
Eric
4f09b7836d fix r3751 regression
git-svn-id: http://piwigo.org/svn/trunk@4455 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-09 20:10:11 +00:00
nikrou
eaacc88183 Feature 1255 : migration script
git-svn-id: http://piwigo.org/svn/trunk@4423 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-04 18:59:05 +00:00
nikrou
fdfaefd17a Feature 1255 :
- add postgres database engine
- change installation process to allow postgres or mysql database

git-svn-id: http://piwigo.org/svn/trunk@4410 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-02 20:27:06 +00:00
plegall
b8c33dcf20 merge r4400 from branch 2.0 to trunk
bug 1301 fixed: it is now possible to move root category 4 into root category
49. Sometimes a single comma makes a huge difference!


git-svn-id: http://piwigo.org/svn/trunk@4401 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-01 00:14:50 +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
13ea9d50e3 Feature 1255: modification in sql queries
- manage random function
    - manage regex syntax
    - manage quote (single instead of double)
    - manage interval

git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-25 19:02:57 +00:00
nikrou
ce3fe0d460 Feature 1255 : limit params in sql queries were in wrong order (LIMIT count OFFSET offset)
git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21 19:52:50 +00:00
nikrou
f0d0a0952c Feature 1255 : improve sql
Replace in queries LIMIT N,M by LIMIT N OFFSET M

git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21 12:15:22 +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
Eric
1235bab527 Escape all login and username characters in database
Display correctly usernames

(I hope not to have made mistakes)

git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 20:07:20 +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
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +00:00
rvelices
c3beef869a avoid php warning in template when debug template option is activated
git-svn-id: http://piwigo.org/svn/trunk@4068 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-20 19:29:09 +00:00
patdenice
6d5d2133cf merge r4033 from branch 2.0 to trunk
Plugins upgrade now delete obsolete files from obsolete.list.

git-svn-id: http://piwigo.org/svn/trunk@4034 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-14 15:01:20 +00:00
Eric
69d4be7677 [Piwigo] Bug 1189 fixed :
Adding {$NAVBAR} at top of users list.

git-svn-id: http://piwigo.org/svn/trunk@4024 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-11 13:38:56 +00:00
Eric
47ae5c316c [Bug 1041] Switchable double/single password input with text or password type in admin using new $conf
Coding guidelines improvement

git-svn-id: http://piwigo.org/svn/trunk@4008 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 15:56:21 +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
patdenice
243a0693e9 merge r3949 from branch 2.0 to trunk
Purge compiled templates when activate or deactivate a plugin.
Cf topic:16250 on french forum.

git-svn-id: http://piwigo.org/svn/trunk@3950 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 10:43:26 +00:00
Eric
d67b276519 [Bug 1041] Switchable double/single password input with text or password type in admin using new $conf
git-svn-id: http://piwigo.org/svn/trunk@3935 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 19:22:59 +00:00
patdenice
567f323f0f merge r3822 from branch 2.0 to trunk
Update pclzip to 2.8.1 (PHP 5.3 compatibility)

git-svn-id: http://piwigo.org/svn/trunk@3823 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-05 11:22:14 +00:00
plegall
c7c8546a90 merge r3765 from branch 2.0 to trunk
bug 895: r3714 had replaced the "open in a new tab" (introduced in r3381 for
feature:1020)) into a "open in the same", but it is important to keep the
window with newsletter subscription links opened.

git-svn-id: http://piwigo.org/svn/trunk@3768 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-20 21:23:15 +00:00
nikrou
18a4822ae3 Fix html for svn:3751 - Unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3752 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-19 08:05:29 +00:00
Eric
554fe94f7f Bug 1041 fixed : manual user adding in admin's user management panel
- Double password type fields
- Add controls of the filling fields
- Alert text added in language pack - EN, FR, DE and ES are OK. IT have to be fixed.

- Subsidiary fix : Small grammatical error in FR/common.lang.php

git-svn-id: http://piwigo.org/svn/trunk@3751 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-18 20:51:39 +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
rvelices
ee2bb5a709 - comment a css rule in admin page (was making Firefox very slow on form controls activation
- remove usage of jquery.dimensions because not required

git-svn-id: http://piwigo.org/svn/trunk@3722 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-07 04:50:35 +00:00
nikrou
513b3e0bd6 New feature : configuration option for thumbnail directory
git-svn-id: http://piwigo.org/svn/trunk@3720 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-02 13:04:17 +00:00
patdenice
dad95508bc Allow to add description.txt file in language directory for plugin description.
git-svn-id: http://piwigo.org/svn/trunk@3716 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-01 12:43:19 +00:00
patdenice
aa20109ed0 merge r3714 from branch 2.0 to trunk
bug 895 : At the end of install, webmaster is automatically connected with two buttons: "Home" and "Admin"


git-svn-id: http://piwigo.org/svn/trunk@3715 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-01 12:39:46 +00:00
patdenice
58681f73d4 Disable database optimization for menubar order until it has been fixed.
git-svn-id: http://piwigo.org/svn/trunk@3711 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-31 14:57:24 +00:00
vdigital
3130cb4b3f merge r3664 from branch 2.0 to trunk
New: picture_nav_buttons.tpl gets in template-extension support






git-svn-id: http://piwigo.org/svn/trunk@3665 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-23 18:48:38 +00:00
plegall
e36de08239 merge r3656 from branch 2.0 to trunk
feature 953: avoid fatal error when delete a photo (added with pwg.images.add
API) and the file doesn't not exist on the filesystem.

git-svn-id: http://piwigo.org/svn/trunk@3657 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 20:09:11 +00:00
plegall
9c00b3e8f1 merge r3620 from branch 2.0 to trunk
feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo
announcement newsletter.

git-svn-id: http://piwigo.org/svn/trunk@3621 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-17 21:22:34 +00:00
patdenice
475b084d70 merge r3581 from branch 2.0 to trunk
Update pclzip library to 2.8


git-svn-id: http://piwigo.org/svn/trunk@3582 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:36:11 +00:00
ddtddt
45e6038026 merge 3524 Br2.0 -> trunk
git-svn-id: http://piwigo.org/svn/trunk@3526 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 22:21:45 +00:00
vdigital
1a5cf312ed merge r3521 from branch 2.0 to trunk
New(minor): Add Logout from admin menu (net cafe or office shared desktop) - saqwild request





git-svn-id: http://piwigo.org/svn/trunk@3522 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 21:26:42 +00:00