Commit graph

1353 commits

Author SHA1 Message Date
rvelices
bfb4b15d2f - bug 654: sql error on user comment (since my commit 1849)
- languages: english corrections + keep lang files sorted by key
- admin multi view correction: language was not always properly changed
- refactor function get_computed_categories (with rub's blessing)

git-svn-id: http://piwigo.org/svn/trunk@1860 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-26 23:52:22 +00:00
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
c7f47c7d5d $Id$ are wrong on my last commit
git-svn-id: http://piwigo.org/svn/trunk@1858 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:33:26 +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
rub
e3b7e2bcb7 0000651: wrong format=flowed in notification emails
Remove format=flowed witch are not necessary and poses problem with UTF8 charset. 

git-svn-id: http://piwigo.org/svn/trunk@1847 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-21 05:52:34 +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
rub
ed97ed33d3 First Fix 0000494: Stats do not currently include Uploads
git-svn-id: http://piwigo.org/svn/trunk@1843 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-20 22:07:52 +00:00
vdigital
62db07d14d improvement:
- wipi theme minor changes
- default-color.css include a minimal look in case of empty theme.

git-svn-id: http://piwigo.org/svn/trunk@1842 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-20 20:16:43 +00:00
vdigital
241c83f5a1 improvement:
- wipi theme minor changes
- Admin Advices ! include URI.

git-svn-id: http://piwigo.org/svn/trunk@1841 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-20 07:16:41 +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
laurent.duretz
ed4b51f1f1 Cosmetic update : replace "distant" with "remote" in page title and header cell
git-svn-id: http://piwigo.org/svn/trunk@1839 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19 18:45:34 +00:00
vdigital
9d320b9b26 Thumbnails page display correction for Konqueror 3.5.5 - Opera 9.10 - MSIE 5.01 - MSIE 6.0 - MSIE 7.0 - Safari 2.0 and more.
git-svn-id: http://piwigo.org/svn/trunk@1838 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19 18:20:26 +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
c8bc5c665d Minor changes:
- last 2 buttons in Modify category
- Title and description on slideshow (with css classes to hide them)
- Category names centered on p0w0
- some display reviews on wipi

git-svn-id: http://piwigo.org/svn/trunk@1836 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19 06:48:56 +00:00
vdigital
908b59b39d Minor style changes on theme wipi and p0w0
git-svn-id: http://piwigo.org/svn/trunk@1835 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 23:17:36 +00:00
vdigital
7b5386f0dd 0000497: (facultative) themeconf.inc.php can build additional about text for PWG about page (see wipi theme).
git-svn-id: http://piwigo.org/svn/trunk@1834 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 18:52:17 +00:00
vdigital
25cd3c5f7e Some HTML changes to reach HTML 4.01 Strict!
(New): Multi view include a minimal theme.

git-svn-id: http://piwigo.org/svn/trunk@1833 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 13:15:22 +00:00
vdigital
273ea4de5c Some css changes to reach CSS3 Conformity (even not official)
(New): mozilla family hacks are all in a not-ie.css
(New): HTTP Upload has been moved (enhanced visibility).

git-svn-id: http://piwigo.org/svn/trunk@1832 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-17 10:38:21 +00:00
rub
856f707fe6 Fix Issue 0000605: Not linked elements failure with no virtual categories galleries
Add missing translations


git-svn-id: http://piwigo.org/svn/trunk@1831 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 23:13:01 +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
laurent.duretz
b99c242ab7 Valeurs par défaut identiques à la galerie principale
git-svn-id: http://piwigo.org/svn/trunk@1829 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 17:09:35 +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
d9b6ce8e87 - adviser mode: added check on admin profile page and removed 2 read-only TAG_INPUT_ENABLED
- simplified tag code in picture.php
- reduced size of dark/theme.css by combining selectors with identical content

git-svn-id: http://piwigo.org/svn/trunk@1827 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-16 03:06:41 +00:00
plegall
bbc2dc2419 Code refactoring.
git-svn-id: http://piwigo.org/svn/trunk@1825 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 21:20:52 +00:00
vdigital
db013a59a9 Web Service: Language corrections.
Old High and Normal options have been removed

git-svn-id: http://piwigo.org/svn/trunk@1824 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 19:42:34 +00:00
laurent.duretz
e1c10b7e35 Integration of remote site protection in generate action
git-svn-id: http://piwigo.org/svn/trunk@1823 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 18:50:08 +00:00
vdigital
bfc5e81f8d Minor changes to w0p0 (not only on Mathias request)
git-svn-id: http://piwigo.org/svn/trunk@1822 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 07:31:20 +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
vdigital
03911f5aa3 Minor changes to w0p0 (not only on Rub request)
git-svn-id: http://piwigo.org/svn/trunk@1813 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-13 23:31:01 +00:00
rub
dcc509b7d0 Hover touch experiment on themes!
git-svn-id: http://piwigo.org/svn/trunk@1812 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-13 22:42:27 +00:00
vdigital
d9189c9df5 Minor changes to w0p0
Minor changes to dark mail style


git-svn-id: http://piwigo.org/svn/trunk@1811 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-13 18:33:01 +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