Commit Graph

2504 Commits

Author SHA1 Message Date
vdigital 291edfc0c7 Web Service ws_add_controls is closed to final
(Next steps:
- Merge functions_webserv.inc.php into ws_functions.inc.php
- Revise ws_checker
- Restrict Method need to be generic
- ...)


git-svn-id: http://piwigo.org/svn/trunk@1757 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-27 08:22:12 +00:00
vdigital bce53b2851 WS_Access_tabble integration in ws_functions.inc.php :
- workframe
- many comments
- to share with rvelices

git-svn-id: http://piwigo.org/svn/trunk@1756 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25 21:14:35 +00:00
vdigital 4bcb544d8b Fix for 0000629: Adding display differences between physical and virtual categories
(Icon is displayed for people who have deficient vision).

git-svn-id: http://piwigo.org/svn/trunk@1755 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25 07:26:28 +00:00
rvelices d13dbba873 some more language cleanup
git-svn-id: http://piwigo.org/svn/trunk@1754 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25 02:56:51 +00:00
rvelices 80020dd756 - user profiles available from admin page
- user creation from admin page with email (bug 514)
- some language cleanup
- small template enhancements
- php syntax corrections (my mistake)

git-svn-id: http://piwigo.org/svn/trunk@1753 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25 02:18:56 +00:00
rub 4472ba6ed4 Power is back everywhere!
git-svn-id: http://piwigo.org/svn/trunk@1752 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24 22:02:20 +00:00
vdigital a7642ba987 Power is back
git-svn-id: http://piwigo.org/svn/trunk@1751 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24 21:41:08 +00:00
rvelices 585d7c434e - plugins with own independent scripts work now (cookie_path and url root are
correct)
- prepare a bit some url functions so that later we can fully embed pwg in
scripts located outside pwg
- remove some unnecessary language strings

git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24 05:07:08 +00:00
rvelices d71f764762 - admin language Statistics (fix annoying message with debug_l10n)
- somme corrections for admin_advices (css with root_url and only when needed)

git-svn-id: http://piwigo.org/svn/trunk@1749 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24 00:09:02 +00:00
rub e0ef6f5e07 Undo r1677 functions_html.inc.php, because links are wrong.
I wanted to add flat_cat on categories url, but I will keep same comportment of the calendar.

Some improvements when updating #_config table


git-svn-id: http://piwigo.org/svn/trunk@1748 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 22:03:06 +00:00
vdigital 21e201f91b $conf['ws_access_control'] will allow additionnal controls
git-svn-id: http://piwigo.org/svn/trunk@1747 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 21:13:28 +00:00
vdigital 97c6ab38a6 Help screens related to WS Admin...
git-svn-id: http://piwigo.org/svn/trunk@1746 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 20:49:54 +00:00
vdigital 9d451f6aa1 ws_status is now removed from config table. It will be replaced by ws_access_control managed in config file.
git-svn-id: http://piwigo.org/svn/trunk@1745 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 20:38:04 +00:00
rvelices e90aaffbd5 - revert feature 564: log the login of each user; but add the possibility to be
done by a plugin
- create a "standard" way to define PHP functions that we use but might not be
available in the current php version
- when a comment is rejected (spam, anti-flood etc), put the content back to the
browser in case there is a real user behind it
- now a comment can be entered only if the page was retrieved between 2 seconds
ago and 1 hour ago

git-svn-id: http://piwigo.org/svn/trunk@1744 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 01:22:52 +00:00
rub 767064c9fe Issue 0000624: Enhanced Links Menu
Add name and features options when new_window is true.
(To display a popup for example)


git-svn-id: http://piwigo.org/svn/trunk@1743 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-22 22:06:17 +00:00
vdigital ee5dbaefbb More rename index
git-svn-id: http://piwigo.org/svn/trunk@1742 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-22 21:51:52 +00:00
vdigital eab94717e1 Index rename
git-svn-id: http://piwigo.org/svn/trunk@1741 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-22 21:47:03 +00:00
rub d0c7ff3b15 Bad quotes Fixed
git-svn-id: http://piwigo.org/svn/trunk@1740 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-21 23:05:37 +00:00
vdigital eb0315c74d Inefficient and non required index is removed on #_image_category.
git-svn-id: http://piwigo.org/svn/trunk@1739 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-21 15:49:45 +00:00
vdigital 4938b8b2a4 Issue 0000615: End of page replaced by icon/page_end.png Only if + than 9 categories
Bug removed for new galleries...

git-svn-id: http://piwigo.org/svn/trunk@1738 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-19 06:50:46 +00:00
rvelices 96a0c2b1d3 feature 625: comment anti-spam - protect against some of the spam robots
git-svn-id: http://piwigo.org/svn/trunk@1737 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-19 02:56:54 +00:00
rub 6381378a8f Issue 0000624: Enhanced Links Menu
Change default value.
By default, a link will be opened on new tab/window.


git-svn-id: http://piwigo.org/svn/trunk@1736 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 22:01:28 +00:00
rub b6e43df29c Apply same modifications of revision 1734.
Mail footer.tpl like page footer.tpl 

git-svn-id: http://piwigo.org/svn/trunk@1735 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 21:48:32 +00:00
vdigital 02b26f7684 Issue 0000615: End of page replaced by icon/page_end.png Only if + than 9 categories
- footer.tpl is changed for PNG Transparency with IE
- Fine pwg_footer.png

git-svn-id: http://piwigo.org/svn/trunk@1734 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 21:10:39 +00:00
plegall 3f04afc12a Bug fixed: infinite loop in history statistics summary when no data to
display.


git-svn-id: http://piwigo.org/svn/trunk@1733 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 09:05:39 +00:00
vdigital c2920c7738 Issue 0000615: End of page replaced by icon/page_end.png
git-svn-id: http://piwigo.org/svn/trunk@1732 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 07:05:10 +00:00
rvelices 4fb42505ec plugin simplification: adding admin links does not require the plugin_id anymore...
git-svn-id: http://piwigo.org/svn/trunk@1731 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 02:09:31 +00:00
vdigital e81260cdec Issue 0000622: Optional light slideshow
(Active by default - Switch off by $conf['light_slideshow'] = false)

Order by in admin/comments.php

git-svn-id: http://piwigo.org/svn/trunk@1730 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 23:08:41 +00:00
plegall 8e43a0fec1 Modification: the history summary graph does not use a true image anymore,
CSS divs are faster and don't require GD library.


git-svn-id: http://piwigo.org/svn/trunk@1729 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 23:06:24 +00:00
rub 94755e7bd7 Issue 0000624: Enhanced Links Menu
Add optional parameter values:
  o Allow to open url of links menu on new window.
  o Dynamic visibility of links menu

It's a proposition.


git-svn-id: http://piwigo.org/svn/trunk@1728 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 22:27:10 +00:00
plegall 5d9a865fe1 Modification: new data model for history, more compact, more efficient. A
summary table is used as cache for history stats display.

New: a Perl script fill_history.pl was added to simulate a high load on
history table (making the efficiency of the new data model obvious).

Modification: function prepend_append_array_items moved from
include/functions_search.inc.php to include/functions_search.inc.php since
this function is used in new file admin/history.php

Modification: admin/images/*_stats.img.php replaced by a simpler and more
generic admin/images/stats.img.php unique file.

New: a history detail search page was added. Currently, only start and end
dates can be modified, it's just a beginning.


git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 23:39:39 +00:00
rub 62149d74a9 Very little/small corrections:
o bad parser word user on installation
  o standardization of the method to open link in new tab/windows  
  o removed not used constant
  o use/add link constants
  o use new function pwg_URL
  o add missing translation

git-svn-id: http://piwigo.org/svn/trunk@1726 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 22:23:05 +00:00
vdigital e5db05ea3a Admin Intro languages for PWG Menu.
git-svn-id: http://piwigo.org/svn/trunk@1725 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 06:04:07 +00:00
vdigital 073ab4a9e3 Feature "Admin Advices !" (Standard plugin) : May give you always now an advice on the administration page.
Quick solved list:
1 - Wording on EXIF/IPTC Advices
2 - Default language is English
3 - Some Transparency issues under IE
4 - Some Border issues
5 - PWG Menu moved from Advices Box to Intro.
6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL()
7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)).

git-svn-id: http://piwigo.org/svn/trunk@1724 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 22:44:48 +00:00
rub 6ea1ec6c86 Fixed: Missing information "recent" in URL filter start parameter
git-svn-id: http://piwigo.org/svn/trunk@1723 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 22:28:15 +00:00
rub 9362801a48 There are no filter enabled if filter configuration is empty (no icon, no functions, ...)
New system for the filter page configuration 

View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient)

Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']).


git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 00:09:14 +00:00
vdigital 3cef1e6895 Recent Wizzard Notes transparency solved for IE6... with all Themes.
git-svn-id: http://piwigo.org/svn/trunk@1721 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-14 21:10:24 +00:00
vdigital 022fc55044 Icons check.png and uncheck.png were missing can be usable any where.
They are used in Admin advice, but they can be used anywhere else.

git-svn-id: http://piwigo.org/svn/trunk@1720 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-13 20:13:25 +00:00
rvelices 80754de172 very small improvements:
- mass_inserts does not requires keys to start at 0
- recent_cats categories are sorted by global_rank (consistency)
- removed warning from page_header.php (when included from redirect)
- added 2 template functions for plugins (get_var and concat_var)
- removed unused code from profile.php
- changed css width for tag selection (search page) from 55em to almost 100%

git-svn-id: http://piwigo.org/svn/trunk@1719 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-13 03:13:40 +00:00
vdigital ed6d397aa1 Admin Advices includes :
- Tags relation check.
- PhpWebGallery link buttons.
- Its own default-layout.css (as a sample for other plugins as well).
No more functions would be included in 1.7
Please process to correct all wording errors in any advice.

git-svn-id: http://piwigo.org/svn/trunk@1718 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-12 22:36:56 +00:00
rvelices c75d7186d7 - bug 471: apostrophe lors de l'ajout d'un tag (different behavior depending on
magic_quotes_gpc)
- metadata synchronization correction: iptc keywords were MySql escaped 2
times when synchronizing from site manager, but only once when synchronizing
one image

git-svn-id: http://piwigo.org/svn/trunk@1717 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 23:56:36 +00:00
rvelices a512c69225 plugins improvements: allow plugins to fail the installation/activation
comments.php improvements:
  - no more double sql escaping on author & keyword (once in common.inc.php and
once in comments.php)
  - now can search comment content on all special char ( ', ", <, >, & )
  - author & keyword are correctly redisplayed in browser when they are MySql
escaped


git-svn-id: http://piwigo.org/svn/trunk@1716 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 23:15:26 +00:00
rub d0c2de854f Undo Revision: 1711 for filter.inc.php & config_default.php.
Restore last comportment.
admin page on config_default.php is normal.

But keep remove unused/forgotten code and best save data.


git-svn-id: http://piwigo.org/svn/trunk@1715 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 21:55:17 +00:00
rub e6ce7a1e4e Page page for add_index plugin fixed
git-svn-id: http://piwigo.org/svn/trunk@1714 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 21:29:29 +00:00
vdigital 551e803213 To solve a background issue in plugin perspective class="content" has been introduced and now it is spread to other distributed themes.
Don't be surprised by #content and .content they are different.

git-svn-id: http://piwigo.org/svn/trunk@1713 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 05:49:19 +00:00
rvelices 7397c8d4c2 - better code in filter.inc.php (remove unused code + filter is not reseted
when going to an unfiltered page)
- removed unnecessary filtered pages from config_default (especially admin !!!)
- removed flat recent category icon from irrelevant pages
- mysterious code comment appeared in picture.php

git-svn-id: http://piwigo.org/svn/trunk@1711 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 05:10:16 +00:00
vdigital 2a9c48225d Admin Advices now is p0w0 compliant (other themes as well coming).
Admin Advices random thumbnail is partly check (Name, Description, Author, creation date and metadata) well updated or not.
Tags relation will be checked asap for the thumbnail.
More : Thumbnail is directly linked to Modify picture Admin function to make it accurate.

git-svn-id: http://piwigo.org/svn/trunk@1709 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-10 21:26:23 +00:00
vdigital 6e6e9615c7 Bug 615 : (Draft version to solve it) obtain a better display related to new categories within category management.
Languages have to be modified, and maybe a test has to be included but it already works like this.

git-svn-id: http://piwigo.org/svn/trunk@1708 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-10 18:43:44 +00:00
vdigital 9c64437bef Fix for IE 7 bug on thumbnail borders
git-svn-id: http://piwigo.org/svn/trunk@1707 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 20:47:57 +00:00
vdigital bf11f74ac0 Remove all colors from admin_advices.tpl
One text correction in admin_advices/en_UK.iso-8859-1/lang.adv.php
The full French version of lang.adv.php


git-svn-id: http://piwigo.org/svn/trunk@1706 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 18:25:52 +00:00