Commit graph

480 commits

Author SHA1 Message Date
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
rub
262ee7d119 Feature Issue ID 0000598:
Possibility to send HTML mail
Optimize, fix little bugs and add footer information

NBM: Replace // by / on subscribe/unsubscribe link

git-svn-id: http://piwigo.org/svn/trunk@1645 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-09 00:43:23 +00:00
rub
7eb74b3b12 Feature Issue ID 0000598:
Possibility to send HTML mail

Fixed: $template_mail created only when it's necessary


git-svn-id: http://piwigo.org/svn/trunk@1644 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-08 06:05:01 +00:00
rvelices
7325369bf5 - new function set_status_header (set http status code)
- correction on recent/recent_by_child icons

git-svn-id: http://piwigo.org/svn/trunk@1643 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-08 00:12:44 +00:00
rub
92fc9abb14 Feature Issue ID 0000598:
Possibility to send HTML mail


git-svn-id: http://piwigo.org/svn/trunk@1642 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:49:52 +00:00
rvelices
961640b8d6 - remove #user_cache_categories.is_child_date_last
- optimize code in get_icon
- correct css font-wigth:italic to font-style:italic
- aditionnal check on $conf['authorize_remembering'] before allowing auto_login

git-svn-id: http://piwigo.org/svn/trunk@1641 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:21:54 +00:00
rub
fd4d057426 Function compute_branch_cat_data was an internal function of update_user_cache_categorie
Move to global because function be redeclare when it's internal
 

git-svn-id: http://piwigo.org/svn/trunk@1640 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:10:21 +00:00
rvelices
d8ea8fd791 put some functionnality from feed.php into a function (to be used
later in the notification by email)

git-svn-id: http://piwigo.org/svn/trunk@1639 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 03:49:20 +00:00
rub
04047f3716 Icon is showed in the same way between recent categories and recent images.
git-svn-id: http://piwigo.org/svn/trunk@1638 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 00:10:22 +00:00
rub
fddfd816a7 Proposition of translations about:
A recent picture is a last picture but a last picture is not a recent picture.
  A recent category is a last category but a last category is not a recent category.
So it's a proposition about last is not like recent.

Improvement of string including decimal number in order to concord singular and plural.
Now, function l10n_dec must be used.

git-svn-id: http://piwigo.org/svn/trunk@1637 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-06 23:56:24 +00:00
rvelices
f880be0609 feature 583: notification infromation can be filtered by the requester
(optionnally no comments/new users...)
small lang correction in header.tpl

git-svn-id: http://piwigo.org/svn/trunk@1636 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-06 01:07:03 +00:00
rub
af138fa631 Fixed Issue ID 0000593: *.jpeg support in PWG
git-svn-id: http://piwigo.org/svn/trunk@1635 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-04 22:08:35 +00:00
rub
4c7e7fb0fb Fixed Issue ID 0000494: Stats do not currently include Uploads
Fixed: Error when thumbnail directory not exists
Fixed: Apply current translation norme
Fixed: Improvement style sheet (like other PWG sheet)


git-svn-id: http://piwigo.org/svn/trunk@1631 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-03 22:32:02 +00:00
chrisaga
782a75bb8f improve page header : slightly prettier title and
first implementation of meta tags and rel links (see the wiki specs)
	some code improvements are still need.

git-svn-id: http://piwigo.org/svn/trunk@1627 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-02 16:46:15 +00:00
rub
63638b9b6d Resolved Issue ID 0000299:
o Add (new) icon of parent category with children categories including new images
  o Improved display text for images count
  o Improved (a little) mass_* functions

More explications on the forum.
You must call directly upgrade_feep.php (http://127.0.0.1/BSF/upgrade_feed.php for example)

git-svn-id: http://piwigo.org/svn/trunk@1624 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 23:31:19 +00:00
rvelices
b2de3c32ee - sessions are always started (even for visitors)
- thumbnail order saved in the session instead of cookie

git-svn-id: http://piwigo.org/svn/trunk@1623 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 01:46:32 +00:00
rvelices
7111d867b9 get rid of #users.auto_login_key
git-svn-id: http://piwigo.org/svn/trunk@1622 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 00:48:49 +00:00
rvelices
47580bcdb9 added some code comments for quick/query search
git-svn-id: http://piwigo.org/svn/trunk@1619 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-29 01:50:39 +00:00
plegall
3787fb6743 bug fixed: searching $search array twice in get_regular_search_results was
useless and buggy because $search_id was not existing in this function.


git-svn-id: http://piwigo.org/svn/trunk@1618 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-23 23:40:50 +00:00
rvelices
5de8aeafad feature 440: send mail to admin when comment is entered
git-svn-id: http://piwigo.org/svn/trunk@1617 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-22 04:41:25 +00:00
rvelices
f3db3ef388 - action.php makes use of Last-Modified and If-Modified-Since HTTP headers
- renamed $conf['disble_plugins'] to $conf['enable_plugins']

git-svn-id: http://piwigo.org/svn/trunk@1616 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-22 02:57:41 +00:00
rvelices
b068137ddc - plugins can have full control over the path/url of the element/image/
thumbnail/high (it is possible now to have secure images, on the fly 
watermarking, mod download and media integrator plugins working together in 
any combination and without touching PWG core)

git-svn-id: http://piwigo.org/svn/trunk@1612 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-17 04:26:10 +00:00
rvelices
31e312028c - bug fix: comments_forall and category commentable were not checked during
POST and a comment could be inserted
- feature 524: anti-spam: 
  - check number of links
  - check ip address against spamhaus.org block list
  - action when comment is qualified spam (needs validation or reject)
  - so far everything is in the config file

git-svn-id: http://piwigo.org/svn/trunk@1610 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-16 03:31:57 +00:00
rvelices
221d839769 completely replaced get_thumbnail_src it get_thumbnail_url
or get_thumbnail_path

git-svn-id: http://piwigo.org/svn/trunk@1609 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-15 04:25:12 +00:00
rvelices
6a314e6375 feature 479: when more than 3 tags selected, be able to remove one tag
from the multiple tags

git-svn-id: http://piwigo.org/svn/trunk@1606 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 02:53:24 +00:00
rvelices
998385c48d plugins: added actions for register_user, delete_categories, delete_elements
and delete_user

git-svn-id: http://piwigo.org/svn/trunk@1605 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 00:51:15 +00:00
rvelices
724671b669 git-svn-id: http://piwigo.org/svn/trunk@1604 68402e56-0260-453c-a942-63ccdbb3a9ee 2006-11-10 01:10:42 +00:00
rvelices
e5e776a263 - comments.php improvements:
- unvalidated comments are shown only for administrators
  - added delete/validate icons for admins
  - removed some unused code
- display of comment content performed through an event
- replace some get_thumbnail_src with get_thumbnail_url

git-svn-id: http://piwigo.org/svn/trunk@1598 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-08 04:28:30 +00:00
rvelices
e44f0b0154 - merge category_recent_cats and category_subcats into category_cats (a lot
of common code,and now representative selection works for recent cats...)
- some replacements of get_thumbnail_src with get_thumbnail_url

git-svn-id: http://piwigo.org/svn/trunk@1597 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-08 03:01:28 +00:00
rvelices
8f52e36a6f - deprecated get_thumbnail_src (still there for compatibility). use rather
get_thumbnail_path or get_thumbnail_url (these allow plugins to override)
- plugins can hook into index thumbnail display (items only so far)

git-svn-id: http://piwigo.org/svn/trunk@1596 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07 03:37:57 +00:00
rvelices
eb4214096f - added trigger_action in menubar and page_tail (begin and end)
- small cosmetic change in menubar to simplify life for some plugin features

git-svn-id: http://piwigo.org/svn/trunk@1595 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07 00:55:36 +00:00
rvelices
bce8b9f680 plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-01 05:54:35 +00:00
rvelices
525c9bc40a fix: get_filename_wo_extension (check for ===false) and template make_filename
improvement: can retrieve template output outside the template

git-svn-id: http://piwigo.org/svn/trunk@1589 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-01 05:04:24 +00:00
rvelices
a26ec603b9 template improvement: added merge_block_vars method (instead of creating a
new block iteration, it merges given variables with the last block). This
is a trick available to plugins (it will avoid calling trigger_event 
every 2 lines).

git-svn-id: http://piwigo.org/svn/trunk@1587 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 03:39:39 +00:00
rvelices
8c4cb2d09a bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
git-svn-id: http://piwigo.org/svn/trunk@1586 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 02:49:16 +00:00
rvelices
a81bac0f15 plugins go now in the #plugins table
git-svn-id: http://piwigo.org/svn/trunk@1584 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 02:41:32 +00:00
rub
9c3e182268 Resolved Issue ID 0000526:
o Add default group to new user

Allow to have n default groups.
Property are save on table #_group and can be modified on administration group screen.


git-svn-id: http://piwigo.org/svn/trunk@1583 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-30 23:34:31 +00:00