Commit Graph

428 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
rub
7ca31726ed Resolved Issue ID 0000474 (Step 2):
o Add .htaccess files

=>
  * admin
      - .htaccess = deny from all
  * doc
      - no .htaccess
  * galleries
      - .htaccess = Options -Indexes
  * include
      - .htaccess = deny from all
      => move 2 .js in template-common
  * install
      - .htaccess = deny from all
  * language
      - .htaccess = deny from all
  * template
      - .htaccess = Options -Indexes
  * template-common
      - .htaccess = Options -Indexes
  * template-extension
      - .htaccess = Options -Indexes
  * tools
      - no .htaccess


git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:29:21 +00:00
nikrou
e7f8b14269 function names are case-insensitive but it's a good idea to call functions
as they appear in their declaration. 
So all functions names that manipulate url like make_index_url() 
are write with lowercase


git-svn-id: http://piwigo.org/svn/trunk@1503 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:00:16 +00:00
rvelices
462a8ebbc1 bug 488: when gallery is locked, white page with no message
git-svn-id: http://piwigo.org/svn/trunk@1502 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 01:01:36 +00:00
rvelices
aca06a08aa feature 169: each category can have its own image order
git-svn-id: http://piwigo.org/svn/trunk@1500 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 00:51:08 +00:00
nikrou
5d06d43541 bug 451 fixed: problem with auto login
- add an auto_login_key in users_table
- $conf['session_length'] is no more useful 
    and sessions length will be 0 (until browser closed)
- add $conf['remember_me_name'] for cookie remember name


git-svn-id: http://piwigo.org/svn/trunk@1493 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-23 15:25:49 +00:00
nikrou
de1ff24582 bug 471 fixed: quote in tags
git-svn-id: http://piwigo.org/svn/trunk@1487 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-21 13:44:22 +00:00
rub
27aeab97e9 Resolved Issue ID 0000474 (Step 1):
o Rename index.htm into index.php
  o Add index.php on all sub-directories
  o Use an uniform source code of index.php (like /include/index.php)

(/index.php is of course not changed)




git-svn-id: http://piwigo.org/svn/trunk@1481 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-18 21:38:54 +00:00
chrisaga
61ca501bcf fix bug 193 : pb with quote in tooltips with IE
git-svn-id: http://piwigo.org/svn/trunk@1472 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-15 14:29:16 +00:00
chrisaga
12f7f1e837 improve : allow to redirect guest from index.php to identification.php (feature 470)
usefull if the whole gallery is private
	we lost it when category.php became index.php

git-svn-id: http://piwigo.org/svn/trunk@1470 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-15 08:20:47 +00:00
chrisaga
81126f9fb6 fix bug 437: Affichage des pwg_high (popup-window size )
git-svn-id: http://piwigo.org/svn/trunk@1468 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-14 23:56:47 +00:00
rub
f9147af63c Reopened and Resolved Issue ID 0000459:
o get_email_address_as_display_text could be improve in order to display '' for null email value.




git-svn-id: http://piwigo.org/svn/trunk@1462 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-13 20:58:01 +00:00
rub
8a7fff22b0 Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode



git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-11 20:51:24 +00:00
chrisaga
cfcb489cfa improve : evaluate {pwg_root} after any {themeconf:___} variable to allow using {pwg_root} in themeconf.inc.php
usefull for including theme specific fix-ie5-ie6.css

git-svn-id: http://piwigo.org/svn/trunk@1456 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-09 17:58:21 +00:00
chrisaga
63bc9838cd fix bug 458: Cannot log due to broken session cookie (wrong "path")
use $_SERVER['REDIRECT_URL'] if it's set
	add a trailing '/' 

git-svn-id: http://piwigo.org/svn/trunk@1442 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-08 09:27:23 +00:00
rvelices
28093b24d2 merge -r1435 from branch-1_6 to trunk
bug 450: "upload an image" link in menu bar is missing

git-svn-id: http://piwigo.org/svn/trunk@1436 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-06 02:45:26 +00:00
plegall
73d9794a07 merge -r1430:1431 from branch 1.6 to trunk (bug 443 fixed: new users were
never notified to administrators due to a typo).


git-svn-id: http://piwigo.org/svn/trunk@1432 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 23:06:44 +00:00
plegall
2b6c63cccf merge -r1428:1429 from branch 1.6 to trunk (bug fixed: check of non
emptiness on $_SERVER['PATH_INFO'])


git-svn-id: http://piwigo.org/svn/trunk@1430 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:58:19 +00:00
plegall
aa2c4ef173 merge -r1424:1425 from branch 1.6 to trunk (bug 395 fixed: the upgrade feed
can be performed only if PHPWG_IN_UPGRADE is true).


git-svn-id: http://piwigo.org/svn/trunk@1426 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:44:22 +00:00
rub
c368472699 Issue ID 0000375:
o Line too long
  o Use paragraph

Merge BSF r1413:1414 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1418 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-29 22:16:35 +00:00
rub
48779cfaaa Issue ID 0000375:
o Keep same format display
  o Add css class
  o rename warning to header_msg

Merge BSF r1411:1412 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1414 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-28 22:50:30 +00:00
rub
be4c4b31c8 Issue ID 0000429:
Fix Line too long cf coding convention



git-svn-id: http://piwigo.org/svn/trunk@1412 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-28 21:33:35 +00:00
rub
10e9114431 Issue ID 0000429: Value on config_default.inc.php is a default value not defined by default.
Merge BSF r1407:1408 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1410 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-27 21:14:55 +00:00