Commit graph

199 commits

Author SHA1 Message Date
rvelices
c0bb4dfb43 feature 2384: improve average rating calculation (final)
git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-26 19:04:50 +00:00
mistic100
daa0bdd09e remplace FCBKcomplete by TokenInput
git-svn-id: http://piwigo.org/svn/trunk@10970 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-21 00:25:26 +00:00
mistic100
e38092f36c restore HOME links, change parameter name for remove menu on certain page
git-svn-id: http://piwigo.org/svn/trunk@10824 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-09 15:04:15 +00:00
mistic100
3fecd755bf Undefined variable: url_admin in picture.php on line 1048
git-svn-id: http://piwigo.org/svn/trunk@10814 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-07 17:05:15 +00:00
mistic100
fdfe41e343 merge spread_menus to the core
git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-07 15:55:10 +00:00
mistic100
c9ec229a5a bug:1791 update webservices upload methods
git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 10:51:54 +00:00
mistic100
797ddead2a bug:1791 display hd dimensions instead of websize dimensions
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 09:09:13 +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
1dc5c7ccfd bug 270 fixed: (yes "270", submitted in 2006), time (hour:minute:second) added
in the date_creation field and in the synchronization from EXIF metadata.


git-svn-id: http://piwigo.org/svn/trunk@9073 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-03 08:18:38 +00:00
plegall
99f25fdb32 merge r9054 from branch 2.1 to trunk
bug 2175 fixed: do not use the HTML prefetch feature with Google Chrome because
it was sometimes making the photos impossible to show.



git-svn-id: http://piwigo.org/svn/trunk@9055 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-02 11:39:17 +00:00
plegall
dfb0b9d1fa bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has a
higher privacy level than user privacy level.

For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;


git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20 13:32:34 +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
rvelices
05ab300c39 - picture uses the same variables as the index page to compute thumbnails url
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation

git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 20:41:00 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
plegall
aadf746e49 merge r6711 from branch 2.1 to trunk
add trigger for ExtendedDescription on photo name


git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:30:59 +00:00
nikrou
267c1c63a2 Bug 1755 : Needs single quotes in queries official plugins
git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03 12:20:38 +00:00
rvelices
7125711f59 merge r6414 from branch 2.1
favorite image icon is not taken from php but left to the theme

git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28 19:45:21 +00:00
nikrou
5561730d35 Bug 1743 fixed : comment form is not visible because of boolean management
git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-23 18:34:45 +00:00
plegall
8a1f11a294 merge r6460 from branch 2.1 to trunk
feture 1712 : backmerge r6454, useless feature. It can be done another way
without changing core code.


git-svn-id: http://piwigo.org/svn/trunk@6461 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-03 19:01:36 +00:00
plegall
a79d547f05 merge r6454 from branch 2.1 to trunk
feature 1712: ability to add a CSS class on body 


git-svn-id: http://piwigo.org/svn/trunk@6455 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-03 12:49:31 +00:00
plegall
10dac9de37 bug 1637: make the privacy level the same everywher, use "who can see this photo?"
instead of "minimum privacy level".

git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-30 22:38:17 +00:00
plegall
80067101ca bug 1565 fixed: ability to validate a user comment from the picture page
(copy/past typo fixed)

git-svn-id: http://piwigo.org/svn/trunk@5653 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-04 22:46:56 +00:00
laurent.duretz
a37f1fbae1 Issue 1521 : picture.tpl updated to avoid double home link, picture.php updated because tpl update, functions_html.inc.php updated to work with question_mark_in_urls = false
git-svn-id: http://piwigo.org/svn/trunk@5451 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 17:05:38 +00:00
patdenice
6c31dd4326 Feature 1533: Bug corrected on favorite option and navigation bar.
git-svn-id: http://piwigo.org/svn/trunk@5305 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-24 00:54:39 +00:00
patdenice
151920ed09 Feature 1533: Allow activation or deactivation of download icon.
Add display configuration for picture properties.

git-svn-id: http://piwigo.org/svn/trunk@5304 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-24 00:39:34 +00:00
patdenice
c4fd9f9141 Feature 1533: Change "General" by "Options" in Configuration menu.
Change "Default Display" tab by "Guest Settings" tab.
Add display tab in Configuration/Option menu.

Allow to activate/deactivate a lot of display features:

On main page:
# Display only recently posted images
# Sort order
# Display all elements in all sub-categories
# Display a calendar by posted date
# Display a calendar by creation date
# Slideshow

On photo page:
# Show file metadata
# slideshow
# Add this image to your favorites
# Navigation Bar
# Navigation Thumbnails

git-svn-id: http://piwigo.org/svn/trunk@5293 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 21:19:55 +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
rvelices
2d7a399f7e - fix php warning followed by mysql query fatal error
- don't include a file unless necessary

git-svn-id: http://piwigo.org/svn/trunk@5127 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 05:59:14 +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
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
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +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
nikrou
1e8ae9e88b feature 1028 : Allow admin to validate comment from picture page
git-svn-id: http://piwigo.org/svn/trunk@3409 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-10 20:11:28 +00:00
rvelices
54902df0a4 small code refactor - group together some code that should be together
git-svn-id: http://piwigo.org/svn/trunk@3167 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03 01:39:48 +00:00
rvelices
e8dac75c40 - removed second parameter $type from function format_date
git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04 02:41:03 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
rvelices
e9c0f98e14 merge r 2758 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@2759 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-16 00:53:15 +00:00
rvelices
dda9f5db66 - removed #debug css rule (why would we need that in default-layout?)
- order by rank is not available in calendar/chronology mode
- small non-functional change in functions_search.inc.php (handy for plugin)
- unused variables/smaller code/unused params in func call

git-svn-id: http://piwigo.org/svn/trunk@2572 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-23 01:04:41 +00:00
vdigital
bff424f8d9 Extend_for_templates include slideshow.tpl overides.
menubar.tpl is no longer supported by Extend_for_templates.
Titling_categories.tpl was in error (Wrong recent icon var)

git-svn-id: http://piwigo.org/svn/trunk@2549 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-18 21:26:33 +00:00
rvelices
4d86bb2234 - images.file categories.permalink old_permalinks.permalink - become binary
- session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
- metadata sync from the sync button does not overwrite valid data with empty metadata
- other small fixes/enhancements:
 - added event get_category_image_orders
 - fix display issue with redirect.tpl (h1/h2 within h1)
 - fix known_script smarty function registration
 - query search form not submitted if q is empty
 - better admin css rules
 - some other minor changes (ws_core, rest_handler, functions_search...)

git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-12 02:17:35 +00:00
rvelices
9aec2fb5e7 - fix typing error in index.tpl
- added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example)
- removed unused themeconf.template_dir 

git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-09 09:53:31 +00:00
rvelices
26474d349f - fix issue when picture_url_style = file (sql query like)
- sql call SET NAMES "xxx" (if required) in upgrade.php, upgrade_feed.php and after 65-database.php

git-svn-id: http://piwigo.org/svn/trunk@2512 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-09 01:16:32 +00:00
rvelices
b62eb188a2 - remove admin :hover css rule (bouncing thumbnails in caddie FF)
- move some code from notification.php to notification.tpl
- remove some unused variables from picture.php
- make random.php work even if top_number is a lot (some issues solved with url length)

git-svn-id: http://piwigo.org/svn/trunk@2446 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-22 01:29:38 +00:00
rvelices
2c08827ea0 - bug 600: Page not found after a strong rating revise (and extended to most cases when the image is not in the requested section)
git-svn-id: http://piwigo.org/svn/trunk@2430 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-12 00:33:12 +00:00
rvelices
644f8ee621 - first use of web services as Ajax: change the privacy level directly from the picture page
git-svn-id: http://piwigo.org/svn/trunk@2413 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-02 01:11:26 +00:00
mathiasm
8d64d10732 Bug 817 (metadata display persistency) fixed for Butterfly
git-svn-id: http://piwigo.org/svn/trunk@2407 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-06-28 13:59:26 +00:00
rvelices
40a882c3cf just some optimizations (especially for large dbs)
- replace some REGEXP with LIKE in sql
- optimized queries for the combination of large data sets with picture_url_style file

git-svn-id: http://piwigo.org/svn/trunk@2327 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-03 01:52:08 +00:00
rvelices
10dbfea6f6 - less mysql queries on picture page (under some circumstances)
git-svn-id: http://piwigo.org/svn/trunk@2309 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-25 23:38:04 +00:00