Commit graph

26 commits

Author SHA1 Message Date
plegall
524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
bugged (r2297 was repeating new and old header).

By the way, I've also removed the replacement keywords. We were using them
because it was a common usage with CVS but it is advised not to use them with
Subversion. Personnaly, it is a problem when I search differences between 2
Piwigo installations outside Subversion.


git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05 14:14:07 +00:00
plegall
3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
rvelices
2a1edc5c3d - an optimization of a Mysql query for tags (oddly but it's faster)
- now the dates in the RSS feed are always correct (and in GMT)

git-svn-id: http://piwigo.org/svn/trunk@2296 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 19:47:07 +00:00
rvelices
6477e12654 merge r 2151 from branch-1_7 to trunk
- update last_check from time to time even if no news, so that we don't delete used feeds

git-svn-id: http://piwigo.org/svn/trunk@2152 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-23 00:10:49 +00:00
rvelices
5aafffb22b - RSS feed is PWG charset
- iptc are now converted from iso-8859-1 or utf-8 (automatic detection) to pwg charset
- remove function get_language_filepath
- load_language also checks for the default language


git-svn-id: http://piwigo.org/svn/trunk@2132 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 22:43:09 +00:00
rub
182fb00f8f Resolved issue 0000697: with generic user a author name is necessary to comment picture.
+ Change way to determinate if user is a guest (use functions like is_admin)


git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05 22:01:15 +00:00
rub
e06d9ae13d Add on $conf value of the function get_recent_post_dates
git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04 22:40:28 +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
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
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
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
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
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
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
2122def464 corrected links in RSS feed
git-svn-id: http://piwigo.org/svn/trunk@1550 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-19 04:43:10 +00:00
rvelices
516df145c3 RSS feed improvements:
- send 404 when feed id missing/unknown
- added a guid element for each feed item (make the difference between 2
different 0/1 items - they have the same link element)
- don't update last_check unless some news are available
- new images/updated albums removed from the 0/1 feed item
- added 5 different feed items for new images/updated albums (generated by
grouping post date) with more information, thumbnails and links

git-svn-id: http://piwigo.org/svn/trunk@1549 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-18 22:51:09 +00:00
plegall
cfbadffe5f merge -r1329:1330 from branch 1.5 to trunk (bug 378 fixed).
git-svn-id: http://piwigo.org/svn/trunk@1331 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-31 21:44:46 +00:00
rub
81bdfbf7b4 [NBM] Step 1: Create new include files with current notification/mail fonctions (with improvement)
git-svn-id: http://piwigo.org/svn/trunk@1018 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-31 23:38:48 +00:00
plegall
f64ee074f5 - merge branch 1.5 r943:944 into BSF (bug 199 fixed)
git-svn-id: http://piwigo.org/svn/trunk@958 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-26 20:15:50 +00:00
plegall
518569483b - new: the number of elements waiting for validation is notified in RSS
feed.


git-svn-id: http://piwigo.org/svn/trunk@864 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17 21:14:28 +00:00
plegall
3371c75742 - improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages.

- deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists,
  check_date_format, date_convert, get_category_directories,
  get_used_metadata_list, array_remove, pwg_write_debug,
  get_group_restrictions, get_all_group_restrictions, is_group_allowed,
  style_select, deprecated_getAttribute).

- new: many new contextual help pages to replace descriptions previously
  included in pages.

- modification: reorganisation of language files. Deletion of unused
  language keys, alphabetical sort. No faq.lang.php anymore (replaced by
  help.html). Only done for en_UK.iso-8859-1.


git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-14 21:57:05 +00:00
plegall
ede184cacc - modification : RSS feed work only with a given feed identifier. Thus we
can avoid fixed frequency notification to concentrate on variable
  frequency notification, which is much more interesting. To do this, feeds
  have moved to a dedicated table allowing each user (including guest user)
  to have more than on feed.


git-svn-id: http://piwigo.org/svn/trunk@833 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 13:54:40 +00:00
plegall
273884a652 - new : external authentication in another users table. Previous users table
is divided between users (common properties with any web application) and
  user_infos (phpwebgallery specific informations). External table and
  fields can be configured.

- modification : profile.php is not reachable through administration anymore
  (not useful).

- modification : in profile.php, current password is mandatory only if user
  tries to change his password. Username can't be changed.

- deletion : of obsolete functions get_user_restrictions,
  update_user_restrictions, get_user_all_restrictions, is_user_allowed,
  update_user

- modification : $user['forbidden_categories'] equals at least "-1" so that
  category_id NOT IN ($user['forbidden_categories']) can always be used.

- modification : user_forbidden table becomes user_cache so that not only
  restriction informations can be stored in this table.


git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-08 20:52:19 +00:00
plegall
9bafdff171 - new feature : RSS notification feed. Feed generator is an external tool
(FeedCreator class v1.7.2). New file feed.php

- new database field : comments.validation_date (datetime). This field is
  required for notification feed.

- new database field : users.feed_id (varchar(50)). users.feed_id is an
  alias of users.id but is much more complicated to find (50 characters,
  figures or letters, case sensitive) : the purpose is to keep it secret (as
  far as possible).

- new database field : users.last_feed_check (datetime)

- new database field : users.registration_date (datetime)

- bug fixed : no need to add the (unavailable) session id to install.php in
  the installation form.

- modified database field : images.date_available become more precise (date
  to datetime). This precision is needed for notification feed.

- new index : comments_i1 (validation_date). Might be useful for feed
  queries.

- new index : comments_i2 (image_id). Useful each time you want to have
  informations about an element and its associated comments.

- version 9.11 of mysqldump outputs database field names and table names
  with backquote "`" (didn't find how to take them off)


git-svn-id: http://piwigo.org/svn/trunk@801 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-07-16 14:29:35 +00:00