Commit graph

1448 commits

Author SHA1 Message Date
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
rvelices
fca022031a distinguish event render_element name and description
git-svn-id: http://piwigo.org/svn/trunk@17975 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-17 19:57:35 +00:00
rvelices
528c75ab35 bug 2735: fix/improve non latin language tags
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive
b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters
c. missing from remove_accents characters in romanian language (Latin Extended-B)
  ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW
  ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW
  ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW
  ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW
d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output 

git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-04 20:03:33 +00:00
rvelices
c918bb9209 bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:00 +00:00
plegall
6beee17904 merge r17668 from branch 2.4 to trunk
bug 2733 fixed: when creating a sub-album in a private album with
pwg.categories.add, it is automatically private too.



git-svn-id: http://piwigo.org/svn/trunk@17669 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 12:54:29 +00:00
rvelices
a6c33e9332 remove deprecated function get_thumbnail_url + $conf['local_data_dir']
git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-27 18:32:10 +00:00
rvelices
9166a8d39d small fix on element_url returned from web service calls (now coherent with picture.php)
git-svn-id: http://piwigo.org/svn/trunk@17469 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-07 19:52:37 +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
rvelices
4ca257c5d7 - fix smartpocket : web service calls in admin not working on iphones
- removed unused func params in template

git-svn-id: http://piwigo.org/svn/trunk@17021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 17:24:54 +00:00
plegall
1e1c2d4d59 merge r17016 from branch 2.4 to trunk
bug 2706 fixed: pwg.getMissingDerivatives correctly manages galleries with not a single photo.



git-svn-id: http://piwigo.org/svn/trunk@17017 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 15:14:04 +00:00
rvelices
c382e4c865 fix prev commit - again :( (bug 2682)
git-svn-id: http://piwigo.org/svn/trunk@16994 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 22:08:59 +00:00
rvelices
0de9ecfb4a bug 2682: Watermark sizing calculation is made on the requested size not on the final one - fix
git-svn-id: http://piwigo.org/svn/trunk@16991 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 20:54:08 +00:00
rvelices
7502b3bbee bug 2682: Watermark sizing calculation is made on the requested size not on the final one
git-svn-id: http://piwigo.org/svn/trunk@16989 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 20:49:31 +00:00
rvelices
9571cf5e45 refactor code when selected derivative on index page is changed by a plugin ...
git-svn-id: http://piwigo.org/svn/trunk@16987 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 20:34:52 +00:00
flop25
618c983b9d merge r16507 from branch 2.4 to trunk
bug:2683
create get_size_css


git-svn-id: http://piwigo.org/svn/trunk@16508 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-08 17:16:41 +00:00
mistic100
ba6dfe6a34 bug 2674: cssmin 3.0.1 requires PHP 5.2.4
git-svn-id: http://piwigo.org/svn/trunk@16278 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-02 13:08:07 +00:00