Commit Graph

1117 Commits

Author SHA1 Message Date
rvelices
c8a07e4c0b fix potential incompatibility with events directly in the template
(use attachEvent instead of onfocus)

git-svn-id: http://piwigo.org/svn/trunk@1608 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-15 02:16:30 +00:00
rvelices
651ed1a626 forgot small icon.
git-svn-id: http://piwigo.org/svn/trunk@1607 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 02:56:40 +00:00
rvelices
6a314e6375 feature 479: when more than 3 tags selected, be able to remove one tag
from the multiple tags

git-svn-id: http://piwigo.org/svn/trunk@1606 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 02:53:24 +00:00
rvelices
998385c48d plugins: added actions for register_user, delete_categories, delete_elements
and delete_user

git-svn-id: http://piwigo.org/svn/trunk@1605 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 00:51:15 +00:00
rvelices
724671b669 git-svn-id: http://piwigo.org/svn/trunk@1604 68402e56-0260-453c-a942-63ccdbb3a9ee 2006-11-10 01:10:42 +00:00
rvelices
e5e776a263 - comments.php improvements:
- unvalidated comments are shown only for administrators
  - added delete/validate icons for admins
  - removed some unused code
- display of comment content performed through an event
- replace some get_thumbnail_src with get_thumbnail_url

git-svn-id: http://piwigo.org/svn/trunk@1598 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-08 04:28:30 +00:00
rvelices
e44f0b0154 - merge category_recent_cats and category_subcats into category_cats (a lot
of common code,and now representative selection works for recent cats...)
- some replacements of get_thumbnail_src with get_thumbnail_url

git-svn-id: http://piwigo.org/svn/trunk@1597 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-08 03:01:28 +00:00
rvelices
8f52e36a6f - deprecated get_thumbnail_src (still there for compatibility). use rather
get_thumbnail_path or get_thumbnail_url (these allow plugins to override)
- plugins can hook into index thumbnail display (items only so far)

git-svn-id: http://piwigo.org/svn/trunk@1596 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07 03:37:57 +00:00
rvelices
eb4214096f - added trigger_action in menubar and page_tail (begin and end)
- small cosmetic change in menubar to simplify life for some plugin features

git-svn-id: http://piwigo.org/svn/trunk@1595 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07 00:55:36 +00:00
rvelices
0428fbe288 removed 3 never used functions
git-svn-id: http://piwigo.org/svn/trunk@1592 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-03 01:26:31 +00:00
rub
ac7f71bf1e Resolved Issue ID 0000575:
o Missing Help on screen Groups List/Group Management

Resolved Issue ID 0000356:
  o Increase security on adviser mode (Screen Group List)


git-svn-id: http://piwigo.org/svn/trunk@1591 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-02 23:11:43 +00:00
rvelices
bce8b9f680 plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-01 05:54:35 +00:00
rvelices
525c9bc40a fix: get_filename_wo_extension (check for ===false) and template make_filename
improvement: can retrieve template output outside the template

git-svn-id: http://piwigo.org/svn/trunk@1589 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-01 05:04:24 +00:00
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