Commit graph

1154 commits

Author SHA1 Message Date
rvelices
13b9118f41 - fix icon display on index page (calendar by post date)
- remove unnecessary include_once
- mysql functions simplification

git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-22 21:12:48 +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
714219f490 feature 2040: to finish the "automatic rotation" feature, I had configuration
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)


git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:00:38 +00:00
rvelices
2eab606970 - picture page compacts the output html using smarty strip
- decrease the default number of tags showable in the menubar

git-svn-id: http://piwigo.org/svn/trunk@8757 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 21:12:42 +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
e123585dde bug 2105 : Browsing tags is slow if tags contains many photos
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 21:16:42 +00:00
rvelices
b5046a4f94 got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:49:14 +00:00
plegall
8ccd3a203d feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php


git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 18:48:13 +00:00
rvelices
8a14faf0e1 feature 2102 : rename item/image/picture to photo (public side)
git-svn-id: http://piwigo.org/svn/trunk@8711 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-16 20:43:56 +00:00
rvelices
6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00
rvelices
4d3aa6331e feature 2108 upload removal correct syntax error
git-svn-id: http://piwigo.org/svn/trunk@8664 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 20:51:53 +00:00
rvelices
af6e6b55ca feature 2108 finalize upload removal (php warnings)
git-svn-id: http://piwigo.org/svn/trunk@8652 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 20:51:57 +00:00
plegall
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +00:00
rvelices
387354816b lang remove 'Mail address' - use existing 'Email address'
lang remove unused 'return to homepage'
lang change key 'a user use already this mail address' to 'this email address is already in use'

git-svn-id: http://piwigo.org/svn/trunk@8635 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 21:03:00 +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
plegall
6a67800d4f merge r8630 from branch 2.1 to trunk
bug 2104 fixed: ability to display EXIF/IPTC metadata from HD even if the HD
is not visible for user



git-svn-id: http://piwigo.org/svn/trunk@8631 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 14:59:11 +00:00
plegall
0ef332fc0f feature 2103 added: week may start on sunday/monday in the monthly calendar
git-svn-id: http://piwigo.org/svn/trunk@8626 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 13:41:55 +00:00
rvelices
4c9c38a9f1 bug 2101: php warning/errors + broken navigation when using the advanced search form
git-svn-id: http://piwigo.org/svn/trunk@8611 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-11 21:02:52 +00:00
rvelices
f0dbcf6adf - fix undefined function when editing a user comment on picture page
git-svn-id: http://piwigo.org/svn/trunk@8600 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-10 21:31:05 +00:00
rvelices
18cbb9635b added some comments
git-svn-id: http://piwigo.org/svn/trunk@8506 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-07 19:57:07 +00:00
plegall
b4d2a1362f feature 2095 added: new column images.added_by (foreign key on users.id)
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04 10:55:08 +00:00
rvelices
7d6af12478 - fix js exception with web services in POST mode
- added accessor for registered scripts in template
- added css rule for plugins (images in the categoryActions) it was previsously there but it dissapeared with the sprites

git-svn-id: http://piwigo.org/svn/trunk@8449 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-03 05:28:08 +00:00
rvelices
ff36bf3b70 index.tpl and thumbnails change: category description above thumbs and enclosing ul moved to index.tpl
fix some combine_xxx

git-svn-id: http://piwigo.org/svn/trunk@8401 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 19:47:17 +00:00
rvelices
788a600d78 css sprites fix ie7 display
picture.tpl more compact + removed unnecessary escape modifiers + use footer_script
template combine_css small things

git-svn-id: http://piwigo.org/svn/trunk@8378 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-29 21:00:25 +00:00
rvelices
61d07ecd8e combine_script with remote url as path works now
git-svn-id: http://piwigo.org/svn/trunk@8305 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26 06:20:52 +00:00
rvelices
0786608824 - simplified inneficient css rules
- template language key
- group picture scripts on the bottom of the page


git-svn-id: http://piwigo.org/svn/trunk@8299 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-25 12:15:46 +00:00
plegall
2f90ae9251 feature 2085 added: new method pwg.themes.performAction
git-svn-id: http://piwigo.org/svn/trunk@8297 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-24 18:03:30 +00:00
plegall
55788d5875 feature 2060: remove adivser mode on web API methods imported from the pwg.images.addSimple plugin
git-svn-id: http://piwigo.org/svn/trunk@8274 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 23:15:24 +00:00
plegall
ae5438fbce feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performAction
git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 23:12:03 +00:00
plegall
c1d517c285 feature 2082 added: new method pwg.categories.move from the pwg.images.addSimple plugin
git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 22:41:28 +00:00
plegall
130c83652e feature 2080 added: add methods pwg.images.delete and pwg.categories.delete from
pwg.images.addSimple plugin. pwg.categories.delete implements the new
photo_deletion_mode (see feature:2081) and set it to "delete_orphans" by default.


git-svn-id: http://piwigo.org/svn/trunk@8266 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:51:33 +00:00
rvelices
7d75444761 - faster trigger_event/trigger_action (it was overly complicated)
- added a new param to get_thumbnail_url event
- get_thumbnail_location is called only if the thumbnail does not exist

git-svn-id: http://piwigo.org/svn/trunk@8263 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:46:16 +00:00
plegall
16371ed5fd feature 2083 added: implement method pwg.images.addSimple in core
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)

cleaner method to initialize the upload settings


git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 10:22:51 +00:00
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
plegall
088801add4 feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose
git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 21:57:50 +00:00
patdenice
195c0b4773 merge r8222 from branch 2.1 to trunk
bug 2078: Links must not be displayed in menubar if empty.

git-svn-id: http://piwigo.org/svn/trunk@8223 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 11:14:20 +00:00
rvelices
861ef0c831 combined css and js are minified
git-svn-id: http://piwigo.org/svn/trunk@8170 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-17 06:33:16 +00:00
rvelices
d5549a0bff jquery upgrade to 1.4.4
git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-16 06:09:14 +00:00
patdenice
e97974a42e feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries.

git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 14:36:20 +00:00
patdenice
8b4e1c2b4b feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.
git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:55:37 +00:00
patdenice
480fb5c2d9 feature 2060: Add 91-database.php (set admin or webmaster advisers as normal user).
Remove $conf['allow_adviser'] form config_default.inc.php.

git-svn-id: http://piwigo.org/svn/trunk@8127 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:49:56 +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
patdenice
4ae512231a feature 2048: add $conf['send_hosting_technical_details'] parameter
git-svn-id: http://piwigo.org/svn/trunk@8082 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:09:18 +00:00
patdenice
914045aad4 feature 2057: fetchRemote can send POST data
git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 19:50:05 +00:00
rvelices
c710b81255 combine css small fixes
git-svn-id: http://piwigo.org/svn/trunk@8075 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 13:24:09 +00:00
rvelices
1cbbe10bfd combined script now really merges files
added option $conf['template_combine_files'] by default true to enable/disable file combining

git-svn-id: http://piwigo.org/svn/trunk@8012 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06 20:52:44 +00:00
patdenice
1e6cae89c3 Missing quote in header.tpl.
Add $id to script class (needed in cmp_by_mode_and_order function).

git-svn-id: http://piwigo.org/svn/trunk@8008 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06 15:39:51 +00:00
rvelices
bbd63f0088 trunk admin theme goes with combine_script instead of old style known_script
git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-04 20:32:44 +00:00
rvelices
9db8ee6008 new template feature: combine_css
- fully functional with file merging
- takes care of url() in css and recursively merge all @import
- migrated public templates only; need more code doc

git-svn-id: http://piwigo.org/svn/trunk@7987 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-03 07:00:49 +00:00
rvelices
af1cbac19d new template features: combine_script, footer_script and get_combined_scripts
migrated public templates only; need more code doc

git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-02 19:46:30 +00:00