Commit graph

2488 commits

Author SHA1 Message Date
nikrou
daa877aa8a Feature 1244 : misspelled functions pwg_db_free_result() (db missing)
git-svn-id: http://piwigo.org/svn/trunk@4332 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21 12:41:13 +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
8c17d369fa Feature 1244 : bug fix
functions_mysql.inc.php must be loaded for install

git-svn-id: http://piwigo.org/svn/trunk@4326 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20 14:55:32 +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
c020cd0d7c Rollback to preview commit
git-svn-id: http://piwigo.org/svn/trunk@4306 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 22:02:21 +00:00
Eric
41fe69917c Forgotten Comments author name to be escaped and correctly displayed
git-svn-id: http://piwigo.org/svn/trunk@4305 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 21:14:58 +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
voyteckst
9a773f003c git-svn-id: http://piwigo.org/svn/trunk@4278 68402e56-0260-453c-a942-63ccdbb3a9ee 2009-11-16 06:46:48 +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
dda7f4571b quick search on image file name is not case sensitive anymore
git-svn-id: http://piwigo.org/svn/trunk@4261 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-13 03:07:44 +00:00
vdigital
2855c5372f [language_switch] merge r4257 from branch 2.0 to trunk
UPDATE: ir_IR (Persian) flag renamed in fa_IR



git-svn-id: http://piwigo.org/svn/trunk@4258 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-11 19:58:14 +00:00
vdigital
97be245316 [language_switch] merge r4255 from branch 2.0 to trunk
New: ar_SA (Arabic) Saudi Arabia (officially Kingdom of Saudi Arabia) flag


git-svn-id: http://piwigo.org/svn/trunk@4256 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-11 19:28:27 +00:00
patdenice
8d2297ecc3 merge r4230 from branch 2.0 to trunk
Add Hungarian to LocalFiles Editor (thanks to samli).

git-svn-id: http://piwigo.org/svn/trunk@4231 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-08 16:56:17 +00:00
rvelices
b36d4475cc admin multi view plugin : new option "do not save page visits to history table"
git-svn-id: http://piwigo.org/svn/trunk@4208 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-05 20:13:41 +00:00
vdigital
821b4e7222 [language_switch] merge r4184 from branch 2.0 to trunk
New: zh_TW (Chinese (Traditional))  flag




git-svn-id: http://piwigo.org/svn/trunk@4187 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-04 20:56:16 +00:00
nikrou
9e6a254290 bug 1220 : fix regression in display when search by author or by keyword contains quote.
git-svn-id: http://piwigo.org/svn/trunk@4182 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-04 20:50:17 +00:00
nikrou
d7f6cbb5fd bug 1220 : fix XSS vulnerability.
filter on since parameter (is_numeric)
use only htmlspecialchars to filter vars to display
revert rev:3600 add left join on users table

Todo : use only left join on users table when a search by author is made

git-svn-id: http://piwigo.org/svn/trunk@4139 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-28 20:34:29 +00:00
vdigital
5c9929b62e [language_switch]
New: de_AT (Austrian) flag
New: ir_IR (Persian) flag

git-svn-id: http://piwigo.org/svn/trunk@4130 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-27 22:45:37 +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
rvelices
05d508beab remove jquery.dimensions as they are already included in the standard jQuery distribution
git-svn-id: http://piwigo.org/svn/trunk@4067 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-20 19:13:56 +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
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
patdenice
7e47a77f2e merge r4013 from branch 2.0 to trunk
bug 1079: don't save settings in database when restore default settings.

git-svn-id: http://piwigo.org/svn/trunk@4014 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-10 12:36:09 +00:00
nikrou
44315512d1 Bug fix 1185 : missing %s in admin vocab
git-svn-id: http://piwigo.org/svn/trunk@4012 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-10 11:38:39 +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
f28bfd6bae Issue 1079: re-refactoring of code ;-)
git-svn-id: http://piwigo.org/svn/trunk@4003 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 08:47:33 +00:00
nikrou
a5c93713b6 Issue 1079: refactoring of code
git-svn-id: http://piwigo.org/svn/trunk@4001 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 08:25:34 +00:00
Eric
3a5c8759d1 [Piwigo] Bug 1079 fixed : Return to default settings in user profile page.
(I don't really enjoy the code but it's the simplest way i've found)

git-svn-id: http://piwigo.org/svn/trunk@3995 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-08 21:05:08 +00:00
nikrou
2afb92238d Feature 1026 : update database structure (adding author_id)
git-svn-id: http://piwigo.org/svn/trunk@3979 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-06 08:42:25 +00:00
patdenice
9e1b542796 Simplification of commit 3951.
git-svn-id: http://piwigo.org/svn/trunk@3953 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 15:11:58 +00:00
patdenice
162a4d1b78 Allow to add prefilters, postfilters and output filters to templates.
git-svn-id: http://piwigo.org/svn/trunk@3951 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 10:46:48 +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
rub
c3a950d1ea merge -c3937 from branch 2.0 to trunk
Bug 1176: Mail are not sent on Free sites
Add text/plain like alternative content-type

git-svn-id: http://piwigo.org/svn/trunk@3938 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 20:54:06 +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
ddtddt
eba92234e8 merge -c3933 from branch 2.0 to trunk
merge -c3924 from branch 2.0 to trunk

git-svn-id: http://piwigo.org/svn/trunk@3934 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 15:48:40 +00:00
vdigital
f05fc27ffc [language_switch] merge r3929 from branch 2.0 to trunk
New: pt_BR (Brasilian) flag


git-svn-id: http://piwigo.org/svn/trunk@3930 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 04:59:27 +00:00
patdenice
7405e326ab Improve template prefilter functions
git-svn-id: http://piwigo.org/svn/trunk@3928 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 23:40:38 +00:00
mathiasm
e6363de6fd Add Smarty's prefilter capability. see topic:16219 (FR).
git-svn-id: http://piwigo.org/svn/trunk@3927 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 20:47:24 +00:00
rub
1c8a47a61f merge -c3925 from branch 2.0 to trunk
Bug 1176: Mail are not sent on Free sites
"To: undisclosed-recipients: ;" are removed

git-svn-id: http://piwigo.org/svn/trunk@3926 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 20:04:24 +00:00
ddtddt
2aacffaac2 update DE in trunk
git-svn-id: http://piwigo.org/svn/trunk@3891 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-20 21:01:10 +00:00
ddtddt
7f0b67a173 merge 3879 branche 2 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3880 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-19 20:52:02 +00:00
ddtddt
a9bf4d1d59 merge 3862 branche 2 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3863 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-17 22:19:10 +00:00
ddtddt
82ef987c22 Add PL add_index plugin to trunk
git-svn-id: http://piwigo.org/svn/trunk@3856 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-17 14:43:43 +00:00
ddtddt
000db25110 merge 3854 br2 -> trunk
git-svn-id: http://piwigo.org/svn/trunk@3855 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-17 14:42:22 +00:00
riopwg
e47062f0ba merge r3850 from branch 2.0 to trunk
Update lang IT


git-svn-id: http://piwigo.org/svn/trunk@3851 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-15 12:17:39 +00:00
ddtddt
fcb5d0bd3d merge 3847-3848 branch2 -> trunk
git-svn-id: http://piwigo.org/svn/trunk@3849 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-14 21:18:19 +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