Commit graph

563 commits

Author SHA1 Message Date
rub
eac687a6e6 Remove $conf['show_nb_hits'] condition witch can hide $conf['user_nb_hits'] condition.
git-svn-id: http://piwigo.org/svn/trunk@1859 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-26 06:19:17 +00:00
rub
b3e3b8dcf0 Reduce number of images on NBM for more visibility. (Next parameters for RSS & NBM on $conf in order to be more easy to modify)
Use $id$ on php headers

git-svn-id: http://piwigo.org/svn/trunk@1857 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:26:52 +00:00
vdigital
3a64bf1502 menuInfoCat and menuInfoCatByChild Minor changes:
- Hidden in subcatify area with dark
- Small and normal font with p0w0
- Hidden with wipi
- Clear wasn't changed.

Bugs in header: href in link rel="start" was empty.
Which meant a wrong tag (e.g. for google)


git-svn-id: http://piwigo.org/svn/trunk@1856 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 20:24:44 +00:00
rub
ab922de742 Improvement for PWG installation:
o Installation is now with new colors
  o On selected language, page are reload in order to display page with selected language


git-svn-id: http://piwigo.org/svn/trunk@1855 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 11:42:25 +00:00
rub
027db797b2 Fix bug on my revision 1851.
git-svn-id: http://piwigo.org/svn/trunk@1854 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 23:50:26 +00:00
vdigital
f800d4fb40 New / Web Services:
- ws_checker.php makes its own web service request to control availability
- config_default.inc.php : comment for cURL support needed for checker
- ws_function authorize session and getVersion for any partner
- help review

New Admin Menu: review.

git-svn-id: http://piwigo.org/svn/trunk@1853 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 23:25:34 +00:00
rvelices
cb2408a82c Plugins:
- display author and and author url (if present) on plugin admin page
 - uniformized versions/authors... for all plugins in svn
 - security fix (html escape name, version, uri, author... to avoid javascript injection which could automatically simulate click on Install)
 - added confirmation for install/uninstall plugins

Web services:
 - web service explorer now caches method details in order to avoid unnecessary web calls
 - web service explorer can now send parameters as arrays
 - web service explorer uses now prototype.js version 1.5
 - small improvements

- added and use function bad_request (sends http status code 400)

git-svn-id: http://piwigo.org/svn/trunk@1852 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 13:18:34 +00:00
rub
6f03e29735 o Proposition: improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories
o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development)

git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 20:20:30 +00:00
rvelices
20ba76b753 - change the way conf['guest_access'] is handled so that web services work correctly (and also nbm.php and feed.php)
git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 05:31:08 +00:00
rvelices
cea58b64ee - user comments are not saved in the database with htmlspecialchars anymore
- web service: added the possibility to enter a user comment using the service...
- new comment functions from picture_comment.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 01:12:32 +00:00
rub
64108c075b Thumbnail upload max size is less than default values for thumbnails creation.
Now, values are equal by default.

git-svn-id: http://piwigo.org/svn/trunk@1848 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-21 22:33:05 +00:00
rvelices
57278c2960 - added check in redirect to see if headers have been sent before doing a redirect_http
- old category.php uses redirect_http whenever possible
- replaced some old {L_xxx} in picture.tpl

git-svn-id: http://piwigo.org/svn/trunk@1846 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-21 05:46:56 +00:00
rvelices
f579b7bef4 revert revision 1842 on default-colors.css (it messes with where backgrounds are transparent and/or inherited - see picture page for clear and dark theme!)
web services correction:
- urls were not sent for method images.getInfo
- uniformization: all element urls (tn_url, element_url, high_url) are xml attributes for all methods

git-svn-id: http://piwigo.org/svn/trunk@1845 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-21 00:20:02 +00:00
plegall
3b46143435 New: non picture files are now logged in history when downloaded. The
history filter was redesigned: #history.is_high replaced by
#history.image_type = high. The filter is simpler.


git-svn-id: http://piwigo.org/svn/trunk@1844 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-20 23:40:02 +00:00
rvelices
f39bf0bb26 - without subcatify, category thumbnail alt text is 'x images in y sub-categories'
- improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories
- small lang improvement (plural 'Images within the' instead 'Image within the')

git-svn-id: http://piwigo.org/svn/trunk@1840 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-20 01:40:40 +00:00
rvelices
c3614fd12c web service: added method to query search elements
picture: small correction on my last commit
monthly calendar nice view: always use getimagesize instead of guessing the size
query search: improved results (filename is searched separately) and sometimes less sql queries than before

git-svn-id: http://piwigo.org/svn/trunk@1837 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19 16:25:47 +00:00
vdigital
92192fdd7c 0000645: HTML Conformity (Temporary fixed)
Description 	1- tags.php/tags.tpl    Need to be fixed more... see FIXME in tags.tpl
when no tags are available.

2- search.php => Remove class="bouton" : Done


 0000648: CSS Conformity (1) (Partly fixed)
Description
clear/theme.css + dark/theme
54 #content UL.thumbnails SPAN.wrap2:hover Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite
60 #content UL.thumbnailCategories DIV.thumbnailCategory:hover Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite
66 #content UL.thumbnailCategories DIV.thumbnailCategory:hover A Propriété érronée : background-color AntiqueWhite n'est pas une valeur de color : AntiqueWhite

wipi/theme.css et p0w0
274 .2nmore En CSS1, il était possible d'avoir un nom de classe commençant par un chiffre (".55xx") sauf s'il s'agissait d'une dimension (".55cm"). En CSS2, de tels noms sont analysés comme étant des dimensions inconnues, pour permettre l'ajout de nouvelles unités).To make ".2nmore" a valid class, CSS2 requires the first digit to be escaped (".\32nmore")

w0p0
247 Le pseudo-élément ::after ne peut apparaitre dans le contexte css2
247 #content H2 Propriété érronée : content leader(dotted) n'est pas une valeur de content : leader(dotted)

git-svn-id: http://piwigo.org/svn/trunk@1830 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 21:28:50 +00:00
rub
1ddc82e510 - reduced size of clear/wipi theme.css by combining selectors with identical
content
- don't send comment/user notification to admin/adviser

git-svn-id: http://piwigo.org/svn/trunk@1828 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 06:24:25 +00:00
rvelices
ceb77253c3 - plugins: added new action user_init
- put in a new admin_multi_view:allows admins to change on the fly language/theme and view gallery as guest (useful for developers and just to show a 'new' way of using plugins)
- removed some warnings from history.php and increased table width to 99%
- remove unused admin language strings

git-svn-id: http://piwigo.org/svn/trunk@1821 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 03:03:16 +00:00
rvelices
11714951b3 - feature 642: display both subcategory thumbnails and element thumbnails (if a
category has both) in the index page
- get rid of $page['cat_nb_images'] and $page['thumbnails_include'] (superfluous)
- changed sql queries in section_init.inc.php for better performance with
flat category view
- web service fixes for categories.getList

git-svn-id: http://piwigo.org/svn/trunk@1820 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 00:10:41 +00:00
rub
b39e05fd5a Stupid modification on picture_comment.inc.php about validate link!
git-svn-id: http://piwigo.org/svn/trunk@1819 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 23:16:54 +00:00
rub
bb78990601 My last improvements before 1.7.0RC1.
Can include Cc & Bcc on mail.
Send mail to all administrators on new comment or new users.
Add validate link on new comment mail.
Try to detect if the NBM complementary content is HTML or plain text. With plain text, this content is convert to readable HTML.

git-svn-id: http://piwigo.org/svn/trunk@1818 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 22:53:04 +00:00
plegall
aabdb3e929 New: history logs high quality access via action.php. A new column
#history.is_high was added. Filter was added on administration history
detail view.

Modification: function get_sql_condition_FandF was slightly refactored for
presentation improvement.


git-svn-id: http://piwigo.org/svn/trunk@1817 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 22:53:02 +00:00
rvelices
58a359e3c1 - fill #searches.last_seen column
- small correction on my previous commit (functions_tag.inc.php)
- web service tags.getImages correction

git-svn-id: http://piwigo.org/svn/trunk@1816 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 05:45:20 +00:00
rvelices
df3b43d356 tags returned by get_all_tags, get_available_tags contain id key instead of tag_id
(as expected by make_index_url, as $page['tags'] was and as the database model is)

git-svn-id: http://piwigo.org/svn/trunk@1815 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 01:37:38 +00:00
rvelices
711ebcbf2c - thumbnails creation for all local sites (not only site id 1)
- urls for images in notification (rss & mail) is now correct
- removed "Recent pictures" from title in when the flat view is in effect
- removed unnecessary class="" from comments.tpl
- english language correction
- removed unused web service files
- set rating star button left & right margin to 0 (javascript)
- admin menu - put site manager and synchronize together

git-svn-id: http://piwigo.org/svn/trunk@1814 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 00:36:34 +00:00
rub
9ceec74971 When not template are selected for mail, PWG uses default template..
Sent multi-part message in MIME format. (With only one part for the moment).

Improvement pwg_mail function.

git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-12 23:21:23 +00:00
rub
62c1993adc add_index plugin cleanup
Fix reading html mail on webmail (like webmail free)

git-svn-id: http://piwigo.org/svn/trunk@1808 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-12 06:09:05 +00:00
rub
f02ef033ad Issue 0000598: NBM: Add new informations
VDigital structure applied!

git-svn-id: http://piwigo.org/svn/trunk@1807 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 12:17:41 +00:00
rub
fb8ac5394a Fix text/plain mail
Fix translations

git-svn-id: http://piwigo.org/svn/trunk@1803 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 00:43:53 +00:00
rub
8a8c80d440 Add picture link on RSS & mail notification.
git-svn-id: http://piwigo.org/svn/trunk@1802 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 00:06:14 +00:00
rub
e79d03c1fc Replace all flat_cat by flat.
git-svn-id: http://piwigo.org/svn/trunk@1800 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-10 23:09:37 +00:00
rub
9adbcc7d13 Issue 0000598: NBM: Add new informations
Css style including on mail are save on separated files.
Default and local can be defined!

git-svn-id: http://piwigo.org/svn/trunk@1797 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-10 17:43:11 +00:00
rub
5b038de717 Issue 0000639: Force selected page on index.php
Continue the Radu idea, restrict more use of random list

Issue 0000598: NBM: Add new informations
Add css on mail
Use user template for mail (on next commit, best control)

Comment mass_inserts because don't with MySQL 4.1.9


git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 22:04:36 +00:00
laurent.duretz
a62ab78e2a Issue : 137
git-svn-id: http://piwigo.org/svn/trunk@1790 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 18:51:22 +00:00
rvelices
b6fc0fa5eb - correct php warnings (section_init and mass_inserts)
- flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter)
- small html validation (double class attribute)
- removed unnecessary class=""
- changed 2 times hard coded index.php?recent_pics with make_index_url(...)

git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 01:31:05 +00:00
rub
5631a3fc54 Issue 0000639: Force selected page on index.php
When page index.php is called without defined section, redirect to a page selected  by random on a user list.

git-svn-id: http://piwigo.org/svn/trunk@1788 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-07 23:08:04 +00:00
laurent.duretz
15b3774482 git-svn-id: http://piwigo.org/svn/trunk@1786 68402e56-0260-453c-a942-63ccdbb3a9ee 2007-02-07 19:49:35 +00:00
rub
e517cfad64 Issue 0000598: NBM: Add new informations
Notification by mail:
Add new informations about last categories and last images like new feature of RSS notification.

2 parts:
  - Possibility to send HTML mail
  - Include last categories and last images on HTML format into notification mail


ccs & HTML experts! Please! Check, fix, improve and enhance HTML mail content!


git-svn-id: http://piwigo.org/svn/trunk@1784 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 22:55:12 +00:00
rvelices
dd339aa6c5 web services:
- respect conf['allow_web_services']
- added conf['ws_max_images_per_page'] to limit the number of images returned per web call
- fixes for Vincent's partners
- added comments

git-svn-id: http://piwigo.org/svn/trunk@1781 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 01:02:06 +00:00
vdigital
ce3bcbc353 1 - A new trigger point in include/page_header.php
2 - Previous version of p0w0 is replaced by a close version to the phpwebgallery.net web site.

git-svn-id: http://piwigo.org/svn/trunk@1778 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-04 18:42:37 +00:00
vdigital
cb58bff46e Web Service:
- Delete functions_webserv.inc.php 
- Activate $colling_partner_id in ws.php


git-svn-id: http://piwigo.org/svn/trunk@1777 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-03 15:50:07 +00:00
vdigital
0a2c520436 Issue 0000614: Display hits under thumbnails like comments counter
- Comments are not plurial < 2
- hits and comments have specific classes for css control

git-svn-id: http://piwigo.org/svn/trunk@1769 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-30 07:00:17 +00:00
rvelices
2f70d58b22 web services: give vincent the calling partner id
git-svn-id: http://piwigo.org/svn/trunk@1768 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-29 20:38:08 +00:00
vdigital
3b11eb39cf Issue 0000614: Display hits under thumbnails like comments counter
Include Show_nb_hits in #config and remove from config_default.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1767 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-29 20:19:48 +00:00
rvelices
27e4f0a52a bug 623: Char "+" is not supported in gallery URL (the function url_is_remote
should not check if the url is actually valid but only if it starts with http://)

git-svn-id: http://piwigo.org/svn/trunk@1766 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-29 20:08:24 +00:00
vdigital
7ee3f5579a Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28 20:56:10 +00:00
vdigital
0a366bae97 Web Service Revise ws_checker and ws_functions.inc.php
(Next steps:
- Restrict Method need to be more generic maybe
- Delete functions_webserv.inc.php 
- Activate $partner in ws.php
- Include checked access in tools
- ...)


git-svn-id: http://piwigo.org/svn/trunk@1760 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-27 18:52:20 +00:00
rvelices
9ab24e423b - added missing get_sql_condition_FandF in calendar
- cat list removed closing element tags never opened
- removed php warning from web service (cant get the result)

git-svn-id: http://piwigo.org/svn/trunk@1759 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-27 18:20:58 +00:00
vdigital
b003303bc3 Web Service Merge functions_webserv.inc.php into ws_functions.inc.php
(Next steps:
- Revise ws_checker
- Restrict Method need to be more generic maybe
- Delete functions_webserv.inc.php 
- ...)


git-svn-id: http://piwigo.org/svn/trunk@1758 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-27 15:06:33 +00:00