Commit Graph

2504 Commits

Author SHA1 Message Date
rvelices 5aeff9b233 plugins compatible with php4
git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 06:06:42 +00:00
rvelices a26ec603b9 template improvement: added merge_block_vars method (instead of creating a
new block iteration, it merges given variables with the last block). This
is a trick available to plugins (it will avoid calling trigger_event 
every 2 lines).

git-svn-id: http://piwigo.org/svn/trunk@1587 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 03:39:39 +00:00
rvelices 8c4cb2d09a bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
git-svn-id: http://piwigo.org/svn/trunk@1586 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 02:49:16 +00:00
rvelices a81bac0f15 plugins go now in the #plugins table
git-svn-id: http://piwigo.org/svn/trunk@1584 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 02:41:32 +00:00
rub 9c3e182268 Resolved Issue ID 0000526:
o Add default group to new user

Allow to have n default groups.
Property are save on table #_group and can be modified on administration group screen.


git-svn-id: http://piwigo.org/svn/trunk@1583 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-30 23:34:31 +00:00
rub a0e981198d Resolved Issue ID 0000526:
o Add default group to new user

Change default value and $conf name.


git-svn-id: http://piwigo.org/svn/trunk@1582 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-29 13:42:19 +00:00
rub 2433a7cb54 Resolved Issue ID 0000526:
o Add default group to new user




git-svn-id: http://piwigo.org/svn/trunk@1581 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-29 10:36:54 +00:00
rvelices 2b3bc579e4 - plugins can add now their page to the admin page
- new plugin (event_tracer) that demonstrate it and useful to see all calls 
to trigger_event

git-svn-id: http://piwigo.org/svn/trunk@1580 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-27 00:25:02 +00:00
rvelices 5cce84ff1c fix: make_filename for absolute path under windows (c:\)
improvement: you don't have to call assign_block_vars('a' before 
calling assign_block_vars('a.b'

git-svn-id: http://piwigo.org/svn/trunk@1579 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-27 00:21:15 +00:00
rvelices 12182ddcfe plugins: first prototype version
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-26 03:35:20 +00:00
rvelices 9e770f68a3 fix a previous upgrade (username column was not binary)
git-svn-id: http://piwigo.org/svn/trunk@1575 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-24 00:38:20 +00:00
rub decab460c0 Resolved Issue ID 0000567:
o Don't add <BR> for categories with description including <script>

(See category ping-pong, ...)



git-svn-id: http://piwigo.org/svn/trunk@1573 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-21 22:00:57 +00:00
rub 258fa3b40c Resolved Issue ID 0000356:
o Increase security on adviser mode

First modifications of n modifications.
All the others modifications will be done on BSF branch.


Merge branch-1_6 1568:1570 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1571 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-21 12:28:07 +00:00
rvelices eaacbc7b2d - put back config['session_length'] disappeared in r1493 but has always been
used in the code (generates mysql errors on session garbage collector)
- fix auto_login (die mysql when session timed out, but user has remember)
- when a user reconnects from identification.php, the remember cookie was not
deleted
- fix all redirect warnings/errors (many changes - mainly in common.inc.php
and user.inc.php)
- reduced $conf['remember_me_length'] to 60 days, because now at each auto 
login the 60 days countdown restarts

git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-20 02:17:53 +00:00
rvelices dbadd4defb put back the redirect function as it was in branch 1.6 (still not working perfectly with the auto_login)
git-svn-id: http://piwigo.org/svn/trunk@1567 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19 21:53:18 +00:00
rvelices 2a8b727d4b feature 563: send an email to admin when new user registers (optional)
git-svn-id: http://piwigo.org/svn/trunk@1566 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19 21:33:43 +00:00
rvelices af621d40d4 feature 564: logs in the history table each user login
feature 562: possibility to log page visits for any combination of 
administrators/users/guests

git-svn-id: http://piwigo.org/svn/trunk@1565 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19 00:41:07 +00:00
rvelices 939cfe5e4b comments.php: cleanup url (t=1 in the url for an unknown reason) and image
urls work now with all url styles

git-svn-id: http://piwigo.org/svn/trunk@1563 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-17 02:03:14 +00:00
rvelices 6a3aed2057 bug 560: merge r1561 to trunk - url issue when $conf['picture_url_style']='file' and
filename is numeric or numeric followed by -

git-svn-id: http://piwigo.org/svn/trunk@1562 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-13 01:00:54 +00:00
rub 8a179eb5da Resolved Issue ID 0000556:
o Error on Save a High Definition Picture stored on distant site


Merge branch-1_6 1558:1559 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1560 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-10 21:23:06 +00:00
rvelices 3c6dcdf754 bug 549: fix uninitialized variable PHP warning in calendar
git-svn-id: http://piwigo.org/svn/trunk@1558 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-08 17:03:49 +00:00
rub 31e12d0cc0 Resolved Issue ID 0000544:
o Error on download HD picture 

Merge branch-1_6 1550:1551 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1552 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-20 21:24:34 +00:00
rvelices 2122def464 corrected links in RSS feed
git-svn-id: http://piwigo.org/svn/trunk@1550 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-19 04:43:10 +00:00
rvelices 516df145c3 RSS feed improvements:
- send 404 when feed id missing/unknown
- added a guid element for each feed item (make the difference between 2
different 0/1 items - they have the same link element)
- don't update last_check unless some news are available
- new images/updated albums removed from the 0/1 feed item
- added 5 different feed items for new images/updated albums (generated by
grouping post date) with more information, thumbnails and links

git-svn-id: http://piwigo.org/svn/trunk@1549 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-18 22:51:09 +00:00
rvelices fc19eb794d merge -r 1547 from branch-1_6 to Alligator
bug 539: link to picture_modify.php instead of picture.php in rating page

git-svn-id: http://piwigo.org/svn/trunk@1548 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-18 21:07:42 +00:00
plegall b489391c99 Modification: change current version from "%PWGVERSION%" to "Alligator".
"Alligator" is the name of the trunk until next stable branch.


git-svn-id: http://piwigo.org/svn/trunk@1546 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-26 13:46:33 +00:00
rub 9734846371 Resolved Issue ID 0000516:
o $lang_info not declared 

Merge branch-1_6 1539:1540 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1541 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-24 10:12:02 +00:00
rvelices 3b3e417daf ability to add content to html head elements
git-svn-id: http://piwigo.org/svn/trunk@1539 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-17 01:56:14 +00:00
rvelices d7ba4d77fe added number of tags, image-tag associations and image-category association
on the main admin page

git-svn-id: http://piwigo.org/svn/trunk@1538 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-16 04:30:35 +00:00
rvelices 48c6d7e8a4 feature 519: quick search (first version)
git-svn-id: http://piwigo.org/svn/trunk@1537 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-15 02:06:06 +00:00
nikrou bc1f5319b1 fix bug 518: anyone can delete or validate a comment
comment_id must be int: use of intval function to use it in the query.

svn merge -r1534:1535 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1536 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-14 20:57:50 +00:00
rub fdf392c07d Remove duplicate line!
$headers.= 'Reply-To: '.$from."\n";

Resolved Issue ID 0000516:
  o Charset not defined on mail headers (Content-Type)
  o Add too others important Content-Type informations 


git-svn-id: http://piwigo.org/svn/trunk@1534 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-11 22:42:29 +00:00
rub 33c34a9900 Resolved Issue ID 0000516:
o Charset not defined on mail headers (Content-Type)
  o Add too others important Content-Type informations 

git-svn-id: http://piwigo.org/svn/trunk@1532 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-11 22:37:22 +00:00
rub e097dba6a6 Resolved Issue ID 0000507:
o format of email
  o max_execution_time equal to 0
  o -f with only adress mail
  o use of standard function get_webmaster_mail_address

2 news $conf parameters.

Merge branch-1_6 r1529:1530 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1531 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09 22:10:12 +00:00
nikrou 9d38573074 fix bug 510: missing permission link
svn merge -r1527:1528 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1529 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09 12:34:55 +00:00
nikrou e37424d1c1 line (error_log('...')) not wanted: debug
git-svn-id: http://piwigo.org/svn/trunk@1527 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-08 06:54:57 +00:00
nikrou 5ae82cf8d4 bug 451 fixed: in auto_login function slashes must be remove
before unserializing data contains in remember cookie


git-svn-id: http://piwigo.org/svn/trunk@1526 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-07 13:39:19 +00:00
laurent.duretz e730b6fb27 merge -r1522:1523 from branch 1.6 to trunk (Bugs 122 and 475 : Crash on big remote site update)
git-svn-id: http://piwigo.org/svn/trunk@1525 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-03 18:40:09 +00:00
nikrou 4a354ba64a fix bug 451:
password.php and register.php must be accessible when user is guest 
even if guest user is not allowed.


git-svn-id: http://piwigo.org/svn/trunk@1524 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-02 21:19:15 +00:00
nikrou 3723a95a6c fix bug 451:
when guest access in not allowed identification.php script try
to redirect to himself ad infinitum.


git-svn-id: http://piwigo.org/svn/trunk@1522 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-01 13:33:21 +00:00
rub 7cdf66abf0 Resolved Issue ID 0000495.
o Quotes and slashes are not correct on mail content

Merge branch-1_6 r1519:1520 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1521 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-31 22:32:23 +00:00
rub 27aa4d6bfc Resolved Issue ID 0000474 (Step 3):
o Remove .htaccess files
  o Undo svn:1505 

http://svn.gna.org/viewcvs/phpwebgallery?rev=1505&view=rev


git-svn-id: http://piwigo.org/svn/trunk@1519 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-31 22:18:32 +00:00
chrisaga 8723b9cf29 improve caddie display : better checkbox positionning in every tested browsers.
Opera still not perfect , but much better.

git-svn-id: http://piwigo.org/svn/trunk@1518 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-29 16:26:52 +00:00
chrisaga 7e35acd1cd fix bug 484 : (again) fix rateButtons display broken by svn:1491
fix radio and checkbox display with Opera and IE (related to bug 490)

git-svn-id: http://piwigo.org/svn/trunk@1515 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-29 09:57:24 +00:00
chrisaga 9c8639640e fix bug 490 (better fix) no absolute sizes for input fields, but they are shorter in IE
git-svn-id: http://piwigo.org/svn/trunk@1513 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-29 08:18:23 +00:00
nikrou 7fdd547b1a revert to svn:1507
block refresh is used in slideshows

fix line too long.


git-svn-id: http://piwigo.org/svn/trunk@1512 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 14:07:57 +00:00
nikrou 1873dbd062 Fix bug 451: improvement
small problem with reconnexion after session timeout
add auto-login function
all staff for session (connexion, auto-login and logout) 
is now in include/user.inc.php


git-svn-id: http://piwigo.org/svn/trunk@1511 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 09:34:27 +00:00
nikrou f6c2f2b1b1 refresh_time must be 0 by default
fix line too long


git-svn-id: http://piwigo.org/svn/trunk@1510 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 08:36:38 +00:00
nikrou 96bc8e8717 Fixed missing $lang and extra code not needed
git-svn-id: http://piwigo.org/svn/trunk@1509 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 08:01:08 +00:00
nikrou bc65a0d6cd Feature 492: first step
Simple redirect.tpl in template-common
Simplification of function redirect()


git-svn-id: http://piwigo.org/svn/trunk@1508 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-27 18:51:54 +00:00