Matthieu Leproux
32ea1aef53
fixed #1802 fixed double escape for user creation, album creation and comments
2022-11-22 16:01:43 +01:00
Matthieu Leproux
1110d79e7e
fixed #1756 php8 warning with trim() and escape input values
2022-10-18 10:44:03 +02:00
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
plegall
c789347c51
happy new year 2016, all headers updated
2016-01-14 12:17:58 +01:00
rvelices
4047d8cc8b
bug 3100 display IP address of comment author on admin page and also save the entire ip address in the database, not only the first three ip components
...
git-svn-id: http://piwigo.org/svn/trunk@29060 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-20 21:32:56 +00:00
mistic100
6cb53bb91b
feature 3095 : block comment if website_url is not empty when field is disabled
...
git-svn-id: http://piwigo.org/svn/trunk@28893 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-01 09:56:02 +00:00
rvelices
3c13387dfd
since number of accepted args not required for add_event_handler, simplify calls
...
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 19:51:42 +00:00
mistic100
4bd32005b5
feature 3010 : replace trigger_action/event by trigger_notify/change
...
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
mistic100
18eb56efd5
bug 3029: XSS on website_url comment form
...
git-svn-id: http://piwigo.org/svn/trunk@26916 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-23 11:06:38 +00:00
mistic100
636650309a
Update headers to 2014. Happy new year!!
...
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
da06285d4e
feature 2999: documentation of functions_search and functions_tag
...
git-svn-id: http://piwigo.org/svn/trunk@25658 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-23 22:57:15 +00:00
mistic100
3e1d6ba47a
feature 2999: documentation of functions\comment|cookie|filter|html
...
git-svn-id: http://piwigo.org/svn/trunk@25548 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 10:02:17 +00:00
mistic100
fc3b787b70
feature 2995: New email template
...
restore get_l10n_args removed at r25357
apply changes to NBM
git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 17:57:53 +00:00
mistic100
7a5e31e401
feature 2995: New email template
...
rewrite pwg_mail_group() and pwg_mail_notification_admins()
new function pwg_mail_admins()
add complete template management in pwg_mail()
TODO : font-size problem in Thunderbird
git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 15:43:41 +00:00
mistic100
ae707279a1
remove all array_push (50% slower than []) + some changes missing for feature:2978
...
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
rvelices
ea10c19ac5
feature 2836: display the number of comments/tags in the menubar
...
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:46:35 +00:00
plegall
4bc775e479
update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
...
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
2fa1013ace
feature:2786 Allow to edit website url in user comments + improve "user experience" on comment edition
...
git-svn-id: http://piwigo.org/svn/trunk@18995 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-11 15:01:09 +00:00
mistic100
7e33b84e77
feature 2754: Add "Email" field for user comments + mandatory "Author"
...
git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 09:34:30 +00:00
mistic100
d7bf41b3ef
feature 2380: add URL for user comment
...
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03 17:02:24 +00:00
mistic100
d39aaff5bc
bug 2660: check guest IP on insert_user_comment (same system as rate_picture)
...
git-svn-id: http://piwigo.org/svn/trunk@15983 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-24 01:24:55 +00:00
rvelices
dd9d0beded
fix email on comment requiring validation even if the options is unchecked
...
git-svn-id: http://piwigo.org/svn/trunk@13800 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-29 18:48:41 +00:00
mistic100
112d730f3a
update Piwigo headers to 2012, last change before the expected (or not) apocalypse
...
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
mistic100
2650003a54
feature 2500: make 'validate_user_comment' and 'delete_user_comment' working with array
...
git-svn-id: http://piwigo.org/svn/trunk@12596 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-11 10:19:44 +00:00
mistic100
5e8423c38b
feature:2495 add triggers for comment validation and deletion
...
git-svn-id: http://piwigo.org/svn/trunk@12556 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 22:56:13 +00:00
Eric
6b15352225
bug 2323 : Refactoring update_user_comment() function to use user_comment_check trigger in a better place.
...
git-svn-id: http://piwigo.org/svn/trunk@11253 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-06 19:59:02 +00:00
mistic100
2f344407a9
bug:2152 no special parameter for updated comment validation
...
git-svn-id: http://piwigo.org/svn/trunk@10122 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 19:24:30 +00:00
mistic100
a8b750b855
bug:2152 Comments revalidation when modified
...
git-svn-id: http://piwigo.org/svn/trunk@10097 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 08:55:40 +00:00
plegall
6db359c622
Happy new year 2011
...
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"
git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
94af103000
merge r7783 from branch 2.1 to trunk
...
bug 2036 fixed: anti flood limitations for user comments should not apply to
administrators.
git-svn-id: http://piwigo.org/svn/trunk@7784 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-15 09:58:19 +00:00
rvelices
d8ec9b9fdd
feature 1915: add protection on user registration against robots
...
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30 11:32:11 +00:00
nikrou
1ba096945f
Bug 1744 fixed : Incorrect use of timezone with SQLite
...
Fixed anti-flood system.
Need refactoring between each interval functions
git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25 19:43:44 +00:00
nikrou
e1ecc62b83
Bug 1735 fixed : Comment page is not PostgreSQL compatible
...
Fixed by adding all fields except category_id in group by clause
category_id is retrieved later in an another query.
Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible.
git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-24 18:36:24 +00:00
nikrou
186e9df5af
Fix bug 1733 : queries must use single quotes
...
git-svn-id: http://piwigo.org/svn/trunk@6589 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:11:00 +00:00
rvelices
2a99a22130
- do not remove slashes before calling insert_user_comment (homogeneity with update_user_comment and general use of slashes in piwigo)
...
- when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster)
git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-01 19:52:44 +00:00
nikrou
0005a6eec1
Bug 1705 fixed : double quotes were not escaped
...
git-svn-id: http://piwigo.org/svn/trunk@6423 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-29 11:32:01 +00:00
nikrou
70d90c4083
Bug 1581 fixed : missing comment_id for email_admin() function
...
git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-08 08:58:51 +00:00
plegall
86ad1d5b49
increase copyright year to 2010
...
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
plegall
c695136e4d
bug 1328: backport the pwg_token on trunk
...
bug 1329: backport the check_input_parameter on trunk
feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).
git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:25:39 +00:00
nikrou
2e890e9597
Feature 1451 : localization with gettext
...
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals
Todo : managing plugins in the same way
git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 14:54:22 +00:00
nikrou
c1d6177df9
Feature 1255 :
...
update pwg_db_insert_id() function.
PosgreSQL needs table name to retrieve last insert auto increment id.
git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-15 19:49:04 +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
rvelices
e618e8b944
- fix php warning from comment_list.tpl
...
- author name is saved always in #comments (even for registered users) so that
- sql queries are simpler on the comments page (one less table in a big join)
- when a user is deleted, we can keep the username in the #comments (there might be still a bug that author_id is not updated when a user is deleted)
git-svn-id: http://piwigo.org/svn/trunk@3600 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-16 05:20:34 +00:00
rvelices
61955b7dfe
- correct mysql error (while updating user comment)
...
git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 21:04:23 +00:00
rvelices
4fa8d36ed5
- remove warn on unset variable
...
- insert_user_comment expects now the comment content to be sql safe (works now exactly as update_user_comment)
git-svn-id: http://piwigo.org/svn/trunk@3488 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 20:56:41 +00:00
nikrou
64c872a83e
Feature 1026 step 2 :
...
add author_id column so that guest cannot modify old users comments
git-svn-id: http://piwigo.org/svn/trunk@3450 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 21:18:16 +00:00
nikrou
9245227e70
Feature 1026 : Modify / delete comments for users
...
+ update config table content
+ minor modification of Sylvia theme
+ need refactoring
git-svn-id: http://piwigo.org/svn/trunk@3445 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 13:44:58 +00:00