Commit graph

1152 commits

Author SHA1 Message Date
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
ddtddt
fcf338369e merge 3516 Br2.0 -> trunk
git-svn-id: http://piwigo.org/svn/trunk@3517 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 19:20:40 +00:00
nikrou
ed7f7a574e Fix two problem with Feature 1026 :
use of $conf['user_fields']['username'] and $conf['user_fields']['id'] instead of username and id
escape comment content before editing it.

git-svn-id: http://piwigo.org/svn/trunk@3452 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 19:00:40 +00:00
nikrou
64c872a83e Feature 1026 step 2 :
add author_id column so that guest cannot modify old users comments

git-svn-id: http://piwigo.org/svn/trunk@3450 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 21:18:16 +00:00
nikrou
9245227e70 Feature 1026 : Modify / delete comments for users
+ update config table content
 + minor modification of Sylvia theme
 + need refactoring

git-svn-id: http://piwigo.org/svn/trunk@3445 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 13:44:58 +00:00
plegall
05358f2c2d merge r3401 from branch 2.0 to trunk
feature 1020: simplify the URL to subscribe to Piwigo Announcements
Newsletter.

git-svn-id: http://piwigo.org/svn/trunk@3402 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-08 21:13:41 +00:00
plegall
65e10b68d5 merge r3389 from branch 2.0 to trunk
bug 1022 fixed: a photo can be associateed to no category (now that a photo
can have NULL as storage_category_id, it's possible to have no associated
category), the admin/picture_modify doesn't break anymore.

git-svn-id: http://piwigo.org/svn/trunk@3390 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-02 20:22:45 +00:00
plegall
654ce203d3 merge r3381 from branch 2.0 to trunk
feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on
administration panel index.

git-svn-id: http://piwigo.org/svn/trunk@3382 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31 19:46:59 +00:00
plegall
ae39ae328a complement to r3282, remove all $Id$ in source code.
git-svn-id: http://piwigo.org/svn/trunk@3283 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-13 23:21:06 +00:00
plegall
41e0ae2343 change: according to topic:15067, svn:keywords property was removed
git-svn-id: http://piwigo.org/svn/trunk@3282 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-13 22:29:15 +00:00
plegall
f3cdd38fe4 merge r3270 from branch 2.0 to trunk
feature 981 added: ability to set the compression level for thumbnail creation.

git-svn-id: http://piwigo.org/svn/trunk@3271 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-05 22:16:05 +00:00
rub
e917678030 Resolved issue 0000974: Adding a link to the gallery in the notification of inscription
git-svn-id: http://piwigo.org/svn/trunk@3243 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-21 17:04:22 +00:00
nikrou
315a962558 feature 959 : improve reordering of menubar block by using drag and drop
a new jquery pluging to reodering table rows because jquery.sortable don't work well with table rows.

git-svn-id: http://piwigo.org/svn/trunk@3219 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-22 14:50:36 +00:00
nikrou
b7fdb8b4b1 bug fix: In revision 3215 removing id break confirm javascript function
git-svn-id: http://piwigo.org/svn/trunk@3218 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-21 14:08:20 +00:00
nikrou
4c3b1face6 feature_948_accordion feature 948 : fix problem with incorrect submenu open in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists
git-svn-id: http://piwigo.org/svn/trunk@3216 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-19 20:30:10 +00:00
nikrou
2b9d21eb78 fix several html bugs
we must find a way to fix the problem of empty select

git-svn-id: http://piwigo.org/svn/trunk@3215 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-19 19:51:54 +00:00
nikrou
4f425390b8 fix html bug (<li> not needed)
git-svn-id: http://piwigo.org/svn/trunk@3213 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-18 14:31:14 +00:00
nikrou
bfdc96a1a2 feature:940 fix problem with ie7
git-svn-id: http://piwigo.org/svn/trunk@3209 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-17 16:48:04 +00:00