Commit graph

716 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
rvelices
b910549db2 Plugins: new way of adding links and content to administration pages...
git-svn-id: http://piwigo.org/svn/trunk@1705 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 11:38:54 +00:00
rvelices
1e7b286faa feature 606: search engine spider restrictions (meta robots)
git-svn-id: http://piwigo.org/svn/trunk@1703 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 01:30:02 +00:00
rub
75246a064c Feature Issue ID 0000601: Filter all public pages with only recent elements
Fix following problem:
- if an image appears in several categories (virtual ones)
- if you click on that image (the thumbnail) - i have several php warnings/errors and nothing is displayed


git-svn-id: http://piwigo.org/svn/trunk@1701 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08 06:14:49 +00:00
rub
4489066c98 Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Add some plugin triggers:
  o for help
  o for language
  o for site manager
  o for advanced features

Allow to launch directly plugin page (without section key)

Add add_index plugin, available on site manager and advanced features

Configuration page and best help must be coming soon.



git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08 00:16:10 +00:00
rvelices
f992150313 Web service first version.
git-svn-id: http://piwigo.org/svn/trunk@1698 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-06 11:13:08 +00:00
rub
8c60f0e7fc Issue ID 0000529 Re-Fixed.
$_SERVER["SCRIPT_FILENAME"] not treated (only $_SERVER['SCRIPT_FILENAME'] was treated)

Merge branch-1_6 1690:1691 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1692 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02 22:57:33 +00:00
rub
481188f7ea Issue ID 0000529 Re-Fixed.
Problem with "Options +MultiViews" .htaccess configuration.

Merge branch-1_6 1688:1689 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1690 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02 22:37:08 +00:00
rub
9c914a2b66 Issue ID 0000529 Fixed.
Problem with $_SERVER['SCRIPT_FILENAME'] on IIS server

Merge branch-1_6 1685:1686 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1687 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-31 17:08:37 +00:00
rub
48879ca177 Feature Issue ID 0000601: Filter all public pages with only recent elements
Fix problem with 0 category on filtered result

Big error on my last commit for $filter['visible_images']

git-svn-id: http://piwigo.org/svn/trunk@1685 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-30 22:45:52 +00:00
rub
39d974b250 Feature Issue ID 0000601: Filter all public pages with only recent elements
Fix problem with 0 category on filtered result

git-svn-id: http://piwigo.org/svn/trunk@1684 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-30 22:34:38 +00:00
rub
4a4f72cbc3 Fix Feature Issue ID 0000585.
Convergence of exif configuration between local site and remote site.

Notes added on administration page where configuration is not OK.


git-svn-id: http://piwigo.org/svn/trunk@1682 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-28 00:06:06 +00:00
rub
cc96fca4c5 Fix Feature Issue ID 0000608: crash when asking random images with no images are allowed
git-svn-id: http://piwigo.org/svn/trunk@1681 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-27 20:26:36 +00:00
vdigital
219447b9c8 Feature Issue ID 0000527: Language localization - local.lang.php can be added to each language directory. Authorize your own translation to be keep over migrations.
git-svn-id: http://piwigo.org/svn/trunk@1679 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-25 07:17:29 +00:00
rvelices
b1a6316ca2 Very small corrections:
- syntax error (action.php)
- language (call to l10n_dec and English language)
- replace some fetch_array with fetch_assoc (less memory used)
- removed one unnecessary assign_block_vars
- removed meta name="robots" (conflict with notification.php)


git-svn-id: http://piwigo.org/svn/trunk@1678 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21 23:49:12 +00:00
rub
cab8f98c4a Feature Issue ID 0000601: Filter all public pages with only recent elements
It's a finalized version.
Obsolete code of draft are removed.

You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)

You can flat categories and sub-categories with a recent date period of your choice.

Next, perhaps, a panel to choice recent date for the 2 features.

On draft, there have problem with MySql 5, be careful!

Css problem not resolved:
  - Menu "Categories" is bad centered
  - Icon on dark too on the top


git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21 21:38:20 +00:00
rub
a7ce261531 Apply Nicco's style footer to HTML mail.
Add 2 news functions to indicate to build URL with full path

git-svn-id: http://piwigo.org/svn/trunk@1676 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-19 22:05:01 +00:00
vdigital
37032d453c WEB Service: Some corrections but still an incomplete version.
git-svn-id: http://piwigo.org/svn/trunk@1674 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-18 06:44:11 +00:00
vdigital
9c72bda44c functions_webserv.inc.php common to Admin ws_checker and ws.
git-svn-id: http://piwigo.org/svn/trunk@1671 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 16:16:59 +00:00
vdigital
43399d359b Externalization of common functions of web service.
git-svn-id: http://piwigo.org/svn/trunk@1670 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 12:14:59 +00:00
vdigital
5e9f3507cd Web service on going
git-svn-id: http://piwigo.org/svn/trunk@1664 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 09:49:10 +00:00
vdigital
eef3bf079d Web Service delivery part Admin 1
git-svn-id: http://piwigo.org/svn/trunk@1660 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 09:16:59 +00:00
rvelices
f7960e7e72 - plugins admin menu appear now in the admin page menubar
- plugins are loaded immediately after loading the config (allow 
them to hack more of pwg like user init, template init etc...)
- trigger event format_exif_data (for picture display only)

git-svn-id: http://piwigo.org/svn/trunk@1655 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-14 00:58:57 +00:00
rvelices
74e5d80e89 - feature 599: option to forbid user registration
- 1 language cleanup
- added page_forbidden function (sends 403)

git-svn-id: http://piwigo.org/svn/trunk@1652 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13 01:05:38 +00:00
rub
5046b3c210 Feature Issue ID 0000601: Filter all public pages with only recent elements
Last draft before final development.
There a icon for global mode and one other for local mode.

Counters are not good, filter on images are not everywhere applied, moment to update cache are not optimized, ...

Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490


git-svn-id: http://piwigo.org/svn/trunk@1651 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13 00:05:16 +00:00
rub
5e9a4b02be Feature Issue ID 0000601: Filter all public pages with only recent elements
Change stop icon.
Add icon to menu.

It's still a draft.

Try this!

Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490


git-svn-id: http://piwigo.org/svn/trunk@1650 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-12 06:17:53 +00:00
rub
d54d1a5234 Feature Issue ID 0000602: Redirect must be done by html or http
Redirect it's only done by the html method but must be done too with http method.
Creation of two functions redirect_http and redirect_html.
Function redirect calls one or other functions follow $conf or parameters.

$conf value are true on BSF, in order to check modifications.
Must be set to false on RC.

git-svn-id: http://piwigo.org/svn/trunk@1649 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-11 06:04:53 +00:00
rub
222afe2caa Feature Issue ID 0000601: Filter all public pages with only recent elements
It's a draft of the feature witch allows to show only recent elements.
Development are not finished.
Queries and special pages (best rates, tags, etc.) are not modified.
Only main php files about images and categories are ok.

Before to continue, I prefer to determinate a solution between modify cache implementation or hide counters.

Go to http://forum.phpwebgallery.net/viewtopic.php?pid=50015#p50015


git-svn-id: http://piwigo.org/svn/trunk@1648 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-10 22:48:32 +00:00