Commit graph

1513 commits

Author SHA1 Message Date
mistic100
3d81c8d2cb protect session data with pwg_db_real_escape_string
git-svn-id: http://piwigo.org/svn/trunk@20281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-20 11:48:53 +00:00
flop25
2bf0b67809 bug:2820 Var renamed
git-svn-id: http://piwigo.org/svn/trunk@20177 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-15 23:11:14 +00:00
flop25
a6f55ac038 bug:2820 & bug:2684
add $conf['maxRequests']
perf enhanced : declare once {combine_script}
add one loading gif, fixed at the bottom right of the page
display an icon for picture loading, and an error icon if ajax failed : might need to be integrated in sprite.png
ToDo picture page/clean up unused loader gif/sleep above all.


git-svn-id: http://piwigo.org/svn/trunk@20161 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-14 23:15:34 +00:00
rvelices
2296637e1a some code comments
git-svn-id: http://piwigo.org/svn/trunk@19878 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-06 06:59:27 +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
flop25
237478931b bug:2797 added !defined('IN_ADMIN') to prefilter_local_css to exlude the local css files from the administration part
git-svn-id: http://piwigo.org/svn/trunk@19696 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-31 14:07:12 +00:00
mistic100
69a2071778 bug:2663 replace JSmin by JShrink
git-svn-id: http://piwigo.org/svn/trunk@19576 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-26 11:39:32 +00:00
mistic100
9cc816d364 feature 2816: {strip} smarty tag can introduce bugs in javascript + fix picture.tpl
git-svn-id: http://piwigo.org/svn/trunk@19575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-26 11:35:40 +00:00
plegall
6f61232067 next version is 2.5.0RC1
git-svn-id: http://piwigo.org/svn/trunk@19424 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-13 14:37:43 +00:00
plegall
4a93241dd1 merge r19419 from branch 2.4 to trunk
bug 2806 fixed: only use the day to compare from and to, and not the time.



git-svn-id: http://piwigo.org/svn/trunk@19420 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-13 10:59:17 +00:00
plegall
703465f7fc merge r19417 from branch 2.4 to trunk
bug 2805: avoid XSS from EXIF/IPTC



git-svn-id: http://piwigo.org/svn/trunk@19418 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-13 09:33:10 +00:00
mistic100
bfd46560db make sure get_sql_condition_FandF() doesn't generate corrupted SQL code
git-svn-id: http://piwigo.org/svn/trunk@19333 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-08 17:36:03 +00:00
plegall
36d1ab0e3e feature 2798: let the webmaster decide how many comments to display on
comments.php by default


git-svn-id: http://piwigo.org/svn/trunk@19303 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-06 14:19:12 +00:00
rvelices
5ca6b4c919 bug 2772: remove "Home" from html title pages on index pages - partial revert change of breadcrumb title on home page
git-svn-id: http://piwigo.org/svn/trunk@19233 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-30 20:59:02 +00:00
mistic100
cd1af14ce0 clean some function desc
git-svn-id: http://piwigo.org/svn/trunk@19225 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-29 14:57:32 +00:00
plegall
1c29bfd22e next version is 2.5.0beta3
git-svn-id: http://piwigo.org/svn/trunk@19070 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-19 22:57:11 +00:00
mistic100
470ac5b077 feature:2614 pagination on albums, change var name to allow redefinition
git-svn-id: http://piwigo.org/svn/trunk@19002 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-13 12:05:52 +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
patdenice
294b6e91b2 bug:2687
bug:2778
Unable to switch from mobile theme to classic theme with incompatible plugins.
Detect blackberry and symbian for mobile theme.
Update mdetect class.

git-svn-id: http://piwigo.org/svn/trunk@18967 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-07 09:42:28 +00:00
rvelices
0251c5122e - fill add comment form fields only if the input comment has been rejected
- simplify templates

git-svn-id: http://piwigo.org/svn/trunk@18950 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-06 20:46:56 +00:00
plegall
67748f5ccb next version is 2.5.0beta2
git-svn-id: http://piwigo.org/svn/trunk@18947 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-06 09:41:51 +00:00
rvelices
fda8092e14 all category infos from db are available in template variables and removed second paramater in event (because out of sync with the first one due to the nav bar)
git-svn-id: http://piwigo.org/svn/trunk@18924 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-04 05:41:29 +00:00
mistic100
40e652922c feature:2614 bad display when there are empty albums
revert most of the previous changes and slice the array at the very end

git-svn-id: http://piwigo.org/svn/trunk@18892 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-02 15:04:54 +00:00
plegall
26e0ed8fd6 feature 2727: improved backward compatibility with ['pass_convert']
git-svn-id: http://piwigo.org/svn/trunk@18890 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-02 14:39:01 +00:00
plegall
a73846717f feature 2727: improve password security with the use of PasswordHash class.
This class performs salt and multiple iterations. Already used in Wordpress,
Drupal, phpBB and many other web applications.

$conf['pass_convert'] is replaced by $conf['password_hash'] + $conf['password_verify']


git-svn-id: http://piwigo.org/svn/trunk@18889 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-02 13:59:07 +00:00
plegall
200f22e82b feature 2783: ability to disable ip address in the session id
git-svn-id: http://piwigo.org/svn/trunk@18850 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-01 09:18:03 +00:00
rvelices
ae887e7806 - spaces are not replaced with   in category names by default. The same thing can be achieved by css if required and long album names are cut in the middle of the word on elegant theme, picture page sidebar. NOte: I almost wanted to remove the replace_space feature, but let's wait for 2.6
git-svn-id: http://piwigo.org/svn/trunk@18815 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-30 05:59:12 +00:00
rvelices
8a44113765 feature 2771: added backward compatibility with pre jquery ui 1.9 effect file naming (combine script id issues)
git-svn-id: http://piwigo.org/svn/trunk@18775 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-28 21:25:43 +00:00
mistic100
457dbb4dac feature:2781 Add template method to sort actions buttons
git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 12:32:43 +00:00
rvelices
b57ab43510 related categories on picture page contain status and visible db fields (useful for example for "social" plugins to know if a photo is public or not)
git-svn-id: http://piwigo.org/svn/trunk@18747 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-25 20:01:14 +00:00
rvelices
9f24af98f2 add page_url (canonical picture url) for web service methods images.search, tags.getImages, images.getInfo, categories.getImages
git-svn-id: http://piwigo.org/svn/trunk@18732 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-24 20:24:44 +00:00
rvelices
856b5a2519 - navigation bar urls are always on the number of images per page boundaries (fix rare case when the admin changer the number of thumbs per page for guests, and then google bot fetches almost all start-xx pages)
git-svn-id: http://piwigo.org/svn/trunk@18729 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-23 20:19:57 +00:00
rvelices
aace3770ae - improved page title when viewing tags, fix canonical url on index page if the webmaster changes the default number of thumbnails per page
git-svn-id: http://piwigo.org/svn/trunk@18667 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-16 19:58:12 +00:00
rvelices
d283bd5128 bug 2772: remove "Home" from html title pages on index pages (better title when viewing in flat mode)
git-svn-id: http://piwigo.org/svn/trunk@18666 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-16 19:56:13 +00:00
rvelices
7f75c131ed bug 2772: remove "Home" from html title pages on index pages
git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:55:35 +00:00
rvelices
1e6e762643 feature 2760: allow tag exclusion in quick search
git-svn-id: http://piwigo.org/svn/trunk@18636 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:40:14 +00:00
mistic100
cb11878233 feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 09:05:58 +00:00
rvelices
97294dac5a feature 2771: upgrade jquery from 1.7.2 to 1.8.2 and jquery.ui from 1.8.16 to 1.9.0
Attention plugins: jquery ui effect script ids change when using combine_script because file names changed ... 

git-svn-id: http://piwigo.org/svn/trunk@18630 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 20:32:30 +00:00
rvelices
267c548896 - remove unsed code; shorten existing code and improve readability ...
git-svn-id: http://piwigo.org/svn/trunk@18629 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 20:00:16 +00:00
rvelices
1afee20ed2 some code simplification
git-svn-id: http://piwigo.org/svn/trunk@18579 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-09 19:47:22 +00:00
rvelices
05671cf18c batch manager - remove unused code, less sql queries and avoid 4 calls to same display_select function
git-svn-id: http://piwigo.org/svn/trunk@18573 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-09 04:58:57 +00:00
mistic100
8501556201 feature:2614 restore global_rank on recent_cats
git-svn-id: http://piwigo.org/svn/trunk@18464 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 16:43:58 +00:00
mistic100
b3e71e424c feature 2761: Pass all kind of messages through session on admin
git-svn-id: http://piwigo.org/svn/trunk@18463 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 16:03:25 +00:00
mistic100
b1cec7bf86 feature:2614 pagination on albums
return to old fashioned way (one query in category_cats), restoring recent_cats feature and "menubar optimization", rename "starta" into "startcat"

git-svn-id: http://piwigo.org/svn/trunk@18462 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 15:03:55 +00:00
rvelices
cc558d8694 php optimizations:
- use faster [] operator instead of array_push
- if tags are grouped by letter, don't add level to tags, sort etc ...

git-svn-id: http://piwigo.org/svn/trunk@18455 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 04:15:28 +00:00
mistic100
1e927104aa feature 2614: pagination on albums, save one query on picture page
git-svn-id: http://piwigo.org/svn/trunk@18392 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-01 13:58:11 +00:00
rvelices
3180f1638a quick search - better handling of wildcard begin/end in tag names (technically rewrote parts of query analser)
still to do: exclusion of matching tags

git-svn-id: http://piwigo.org/svn/trunk@18207 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-24 20:50:24 +00:00
mistic100
4e65d9af46 feature 2614: pagination on albums
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 11:19:26 +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
plegall
8c629a7395 merge r18116 from branch 2.4 to trunk
bug 2752 fixed: make sure we don't use the mobile theme with the no_photo_yet feature


git-svn-id: http://piwigo.org/svn/trunk@18117 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-21 09:15:26 +00:00