Commit graph

95 commits

Author SHA1 Message Date
rvelices
831694b4d1 - send status code 403 when attempt to enter a user comment, but comments are disabled
- don't increase hit count when a comment is posted
- remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless)

git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-29 23:39:41 +00:00
rub
08bc6015a7 Resolved 0000580: Send mail by define smtp configuration
Merge branch-1_7 2104:2105 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2106 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-25 21:52:00 +00:00
rub
1a55452a4f Resolved 0000748: Name configuration of all the tables
New method of implementation!


git-svn-id: http://piwigo.org/svn/trunk@2104 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-21 21:23:09 +00:00
rub
e74e456749 Resolved 0000748: Name configuration of all the tables
Resolved 0000750: Check anomalies after upgrade (Feature proposition)


git-svn-id: http://piwigo.org/svn/trunk@2096 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19 05:26:58 +00:00
rvelices
92f80e5d79 feature 731: permissions at image level
- this is the first version - I wait for feedback before changing help files

git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-11 02:24:51 +00:00
rub
182fb00f8f Resolved issue 0000697: with generic user a author name is necessary to comment picture.
+ Change way to determinate if user is a guest (use functions like is_admin)


git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05 22:01:15 +00:00
plegall
4d7cc8e7f1 Feature 660 added: creation date of tthe category images can be displayed
next to category title in subcatify mode. The feature was implemented in a
very simple way that must be improved in display, performance and
recursivity.


git-svn-id: http://piwigo.org/svn/trunk@1970 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-22 13:11:56 +00:00
rub
7c43a3c62d Issue 578
User guest must be real user

Step 1: guest is a real user

On next commit, I finish installation and use of guest of user list and group

git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 19:57:00 +00:00
rub
04b6fc193d Change the default email format use to send email
git-svn-id: http://piwigo.org/svn/trunk@1905 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-14 22:57:36 +00:00
rub
e06d9ae13d Add on $conf value of the function get_recent_post_dates
git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04 22:40:28 +00:00
rub
b3e3b8dcf0 Reduce number of images on NBM for more visibility. (Next parameters for RSS & NBM on $conf in order to be more easy to modify)
Use $id$ on php headers

git-svn-id: http://piwigo.org/svn/trunk@1857 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:26:52 +00:00
vdigital
f800d4fb40 New / Web Services:
- ws_checker.php makes its own web service request to control availability
- config_default.inc.php : comment for cURL support needed for checker
- ws_function authorize session and getVersion for any partner
- help review

New Admin Menu: review.

git-svn-id: http://piwigo.org/svn/trunk@1853 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 23:25:34 +00:00
rub
64108c075b Thumbnail upload max size is less than default values for thumbnails creation.
Now, values are equal by default.

git-svn-id: http://piwigo.org/svn/trunk@1848 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-21 22:33:05 +00:00
rvelices
c3614fd12c web service: added method to query search elements
picture: small correction on my last commit
monthly calendar nice view: always use getimagesize instead of guessing the size
query search: improved results (filename is searched separately) and sometimes less sql queries than before

git-svn-id: http://piwigo.org/svn/trunk@1837 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19 16:25:47 +00:00
laurent.duretz
a62ab78e2a Issue : 137
git-svn-id: http://piwigo.org/svn/trunk@1790 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 18:51:22 +00:00
rub
5631a3fc54 Issue 0000639: Force selected page on index.php
When page index.php is called without defined section, redirect to a page selected  by random on a user list.

git-svn-id: http://piwigo.org/svn/trunk@1788 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-07 23:08:04 +00:00
laurent.duretz
15b3774482 git-svn-id: http://piwigo.org/svn/trunk@1786 68402e56-0260-453c-a942-63ccdbb3a9ee 2007-02-07 19:49:35 +00:00
rvelices
dd339aa6c5 web services:
- respect conf['allow_web_services']
- added conf['ws_max_images_per_page'] to limit the number of images returned per web call
- fixes for Vincent's partners
- added comments

git-svn-id: http://piwigo.org/svn/trunk@1781 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 01:02:06 +00:00
vdigital
3b11eb39cf Issue 0000614: Display hits under thumbnails like comments counter
Include Show_nb_hits in #config and remove from config_default.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1767 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-29 20:19:48 +00:00
vdigital
7ee3f5579a Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28 20:56:10 +00:00
vdigital
21e201f91b $conf['ws_access_control'] will allow additionnal controls
git-svn-id: http://piwigo.org/svn/trunk@1747 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 21:13:28 +00:00
rub
767064c9fe Issue 0000624: Enhanced Links Menu
Add name and features options when new_window is true.
(To display a popup for example)


git-svn-id: http://piwigo.org/svn/trunk@1743 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-22 22:06:17 +00:00
rub
6381378a8f Issue 0000624: Enhanced Links Menu
Change default value.
By default, a link will be opened on new tab/window.


git-svn-id: http://piwigo.org/svn/trunk@1736 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 22:01:28 +00:00
vdigital
e81260cdec Issue 0000622: Optional light slideshow
(Active by default - Switch off by $conf['light_slideshow'] = false)

Order by in admin/comments.php

git-svn-id: http://piwigo.org/svn/trunk@1730 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 23:08:41 +00:00
rub
94755e7bd7 Issue 0000624: Enhanced Links Menu
Add optional parameter values:
  o Allow to open url of links menu on new window.
  o Dynamic visibility of links menu

It's a proposition.


git-svn-id: http://piwigo.org/svn/trunk@1728 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 22:27:10 +00:00
rub
9362801a48 There are no filter enabled if filter configuration is empty (no icon, no functions, ...)
New system for the filter page configuration 

View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient)

Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']).


git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 00:09:14 +00:00
rub
d0c2de854f Undo Revision: 1711 for filter.inc.php & config_default.php.
Restore last comportment.
admin page on config_default.php is normal.

But keep remove unused/forgotten code and best save data.


git-svn-id: http://piwigo.org/svn/trunk@1715 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 21:55:17 +00:00
rvelices
7397c8d4c2 - better code in filter.inc.php (remove unused code + filter is not reseted
when going to an unfiltered page)
- removed unnecessary filtered pages from config_default (especially admin !!!)
- removed flat recent category icon from irrelevant pages
- mysterious code comment appeared in picture.php

git-svn-id: http://piwigo.org/svn/trunk@1711 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 05:10:16 +00:00
rub
481188f7ea Issue ID 0000529 Re-Fixed.
Problem with "Options +MultiViews" .htaccess configuration.

Merge branch-1_6 1688:1689 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1690 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02 22:37:08 +00:00
rub
4a4f72cbc3 Fix Feature Issue ID 0000585.
Convergence of exif configuration between local site and remote site.

Notes added on administration page where configuration is not OK.


git-svn-id: http://piwigo.org/svn/trunk@1682 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-28 00:06:06 +00:00
rub
cab8f98c4a Feature Issue ID 0000601: Filter all public pages with only recent elements
It's a finalized version.
Obsolete code of draft are removed.

You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)

You can flat categories and sub-categories with a recent date period of your choice.

Next, perhaps, a panel to choice recent date for the 2 features.

On draft, there have problem with MySql 5, be careful!

Css problem not resolved:
  - Menu "Categories" is bad centered
  - Icon on dark too on the top


git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21 21:38:20 +00:00
vdigital
eef3bf079d Web Service delivery part Admin 1
git-svn-id: http://piwigo.org/svn/trunk@1660 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 09:16:59 +00:00
rub
d54d1a5234 Feature Issue ID 0000602: Redirect must be done by html or http
Redirect it's only done by the html method but must be done too with http method.
Creation of two functions redirect_http and redirect_html.
Function redirect calls one or other functions follow $conf or parameters.

$conf value are true on BSF, in order to check modifications.
Must be set to false on RC.

git-svn-id: http://piwigo.org/svn/trunk@1649 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-11 06:04:53 +00:00
rub
92fc9abb14 Feature Issue ID 0000598:
Possibility to send HTML mail


git-svn-id: http://piwigo.org/svn/trunk@1642 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:49:52 +00:00
rub
af138fa631 Fixed Issue ID 0000593: *.jpeg support in PWG
git-svn-id: http://piwigo.org/svn/trunk@1635 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-04 22:08:35 +00:00
rvelices
5de8aeafad feature 440: send mail to admin when comment is entered
git-svn-id: http://piwigo.org/svn/trunk@1617 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-22 04:41:25 +00:00
rvelices
f3db3ef388 - action.php makes use of Last-Modified and If-Modified-Since HTTP headers
- renamed $conf['disble_plugins'] to $conf['enable_plugins']

git-svn-id: http://piwigo.org/svn/trunk@1616 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-22 02:57:41 +00:00
rvelices
31e312028c - bug fix: comments_forall and category commentable were not checked during
POST and a comment could be inserted
- feature 524: anti-spam: 
  - check number of links
  - check ip address against spamhaus.org block list
  - action when comment is qualified spam (needs validation or reject)
  - so far everything is in the config file

git-svn-id: http://piwigo.org/svn/trunk@1610 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-16 03:31:57 +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
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
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
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
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
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
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
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
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