Commit graph

602 commits

Author SHA1 Message Date
rub
7acc304f55 o add missing $lang
o use of l10n_dec
  o normalize file header


git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-29 19:04:54 +00:00
rub
69b26ddc47 Issue 578
User guest must be real user

Step 2: Installation finished, guest must be used on list and group, corrections


git-svn-id: http://piwigo.org/svn/trunk@1930 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 22:30:04 +00:00
plegall
60903d8c88 Bug fixed: in history filter screen, when no lines to display, a variable
was not defined but used later. (warning removed)


git-svn-id: http://piwigo.org/svn/trunk@1929 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 22:28:54 +00:00
rub
7c43a3c62d Issue 578
User guest must be real user

Step 1: guest is a real user

On next commit, I finish installation and use of guest of user list and group

git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 19:57:00 +00:00
rub
200c2bb3ef "Put checkbox on the left!"
git-svn-id: http://piwigo.org/svn/trunk@1920 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-26 19:15:52 +00:00
rub
f1914f122e Send email on pwg group:
o Best mail content
  o Add a text area in order to complete email

git-svn-id: http://piwigo.org/svn/trunk@1916 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 22:52:52 +00:00
rub
1a3660405a Add the last (before 1.8) tabsheet on administration menu (Waiting elements).
Small change way mail function.

git-svn-id: http://piwigo.org/svn/trunk@1915 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 18:49:19 +00:00
rub
e78d0fde73 Update svn properties (svn:eol-style and svn:keywords)
git-svn-id: http://piwigo.org/svn/trunk@1912 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:30:07 +00:00
rub
cad4270a4d Update index.php header.
Don't use explicitly index.php on the recursive call.

Add missing index.php.

Chang tags.php svn properties.

git-svn-id: http://piwigo.org/svn/trunk@1909 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:15:27 +00:00
rub
6d2ea02a95 Add new translation functions.inc.php
Translate subject of information mail.
Notification mails are sent on the default language.
No mail is sent to the author witch are not done actions

git-svn-id: http://piwigo.org/svn/trunk@1908 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-15 23:20:41 +00:00
rub
c5da19e536 Fix bad default value for language on table user_info
Improve mail send (Undisclosed-recipients, switch language, ...)
Improve send an email to group members (Use Bcc, template, multi-language, ...) (But need more improvements)

git-svn-id: http://piwigo.org/svn/trunk@1904 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13 23:01:16 +00:00
vdigital
6295173652 Updates:
- Copyrights 2003-2007
- help
- Some HTML comform requests

git-svn-id: http://piwigo.org/svn/trunk@1903 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13 22:44:45 +00:00
rub
17246da089 Add notification when a picture is loaded.
Change little translations.
Improve mail sent.

git-svn-id: http://piwigo.org/svn/trunk@1901 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 23:10:35 +00:00
rub
4577278acc Apply property svn:eol-style Value: LF
git-svn-id: http://piwigo.org/svn/trunk@1900 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 22:33:53 +00:00
plegall
b93ba12640 Improvement: in history search filtered lines, clicking on filename leads to
standard size picture.


git-svn-id: http://piwigo.org/svn/trunk@1896 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 00:15:45 +00:00
plegall
8ad635c1cb New: send an email to group members with informations about a category
(needs improvements).


git-svn-id: http://piwigo.org/svn/trunk@1895 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 00:04:25 +00:00
rub
051145723d Fix Mathias requests about French words.
Rename completely general tab into main tab.

git-svn-id: http://piwigo.org/svn/trunk@1894 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 23:02:13 +00:00
plegall
b79c8aceae New: history search results summary gives the number of filtered lines and
give details about number of total users with the number of guests and the
member names (that can be added to filter criteria).


git-svn-id: http://piwigo.org/svn/trunk@1893 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 17:40:59 +00:00
plegall
091b30247b New: history search can be filtered on image id and filename.
git-svn-id: http://piwigo.org/svn/trunk@1892 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 15:53:25 +00:00
plegall
0d28196ad4 New: in history search, display tag names instead of tag ids in filtered
lines.


git-svn-id: http://piwigo.org/svn/trunk@1891 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 15:11:53 +00:00
plegall
b0375226c9 New: history can be filtered on a user.
git-svn-id: http://piwigo.org/svn/trunk@1890 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 14:48:17 +00:00
rub
d52f81e66c Reduce number of queries a very little bit.
git-svn-id: http://piwigo.org/svn/trunk@1888 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 09:52:29 +00:00
rub
3495d30775 Add DateTime on administration introduction page (Useful to help user on the forum, ...)
Move history configuration in a other tab.
Use translation on picture hint (Kb).
Show hint oh the menu text (not only on counter)

git-svn-id: http://piwigo.org/svn/trunk@1884 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-09 22:52:22 +00:00
plegall
b0478ef330 New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata
synchronization.

Bug fixed: in getAttribute XML function, when asking "filesize", it was
returning high_filesize. The regex was too simple.


git-svn-id: http://piwigo.org/svn/trunk@1883 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-09 16:28:49 +00:00
rub
f266c3b4cb Add tabsheet on administration pages.
Step 3: Tabsheet for configuration & history
        Change css tabsheet to do like p0w0 for all themes


git-svn-id: http://piwigo.org/svn/trunk@1881 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-08 22:14:14 +00:00
rvelices
eab3d5e20e - plugin administration: small fix during activation phase
- plugins: added 3 actions in category_cats.inc.php and 1 event that allow a plugin to decide if insertion to #history occurs
- added a warning in section_init if script_basename() is not index or picture (I think we'll have issues on some servers with this function)
- web service methods categories.getImages, tags.getImages and images.search return now the image comment

git-svn-id: http://piwigo.org/svn/trunk@1880 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-08 01:55:49 +00:00
plegall
246106e83f Bug fixed: in delete_categories function, the deletion on #old_permalinks
query was using a wrong variable.


git-svn-id: http://piwigo.org/svn/trunk@1879 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 23:15:39 +00:00
rub
c813e43f78 Add tabsheet on administration pages.
Step 2: Regroup categories options into sheet Batch management.

On next commit, use of this new method on history and configuration



git-svn-id: http://piwigo.org/svn/trunk@1878 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 22:53:42 +00:00
rub
bacf165624 Undo revision 1865 in order to add tabsheet for categories.
(Not really undo help)

git-svn-id: http://piwigo.org/svn/trunk@1877 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 22:21:35 +00:00
rub
fd50890049 Add tabsheet on administration pages.
Step 1: Refactoring tabsheet on NBM and introduce generic method to add tabsheet.tpl

On next commit, use of this new method in order to reduce # of link menu.

CSS friend don't hesitate to modify tabsheet css.

git-svn-id: http://piwigo.org/svn/trunk@1874 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 23:02:02 +00:00
rvelices
f797f8c7a1 permalinks: admin fix on some tricky cases when setting a new permalinks.inc.php
permalinks: added ability to sort the permalink tables in the admin
added new action in category_cats.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1873 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 02:07: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
b72f6620e6 Remove "TODO" on picture display showed on the caddie...
git-svn-id: http://piwigo.org/svn/trunk@1868 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04 09:36:30 +00:00
rvelices
ea56d7b2ac feature 657: permalinks for categories
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28 03:07:12 +00:00
rvelices
30e259904c admin pages: merge Categories/comments page into Configuration/comments page
(they are related and we reduce the # of links in the menu)

git-svn-id: http://piwigo.org/svn/trunk@1865 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28 00:16:53 +00:00
rvelices
dca9bd094a - function delete_user now clears asssociated data in the caddie table and the sessions table
- xml writer improvement for web service

git-svn-id: http://piwigo.org/svn/trunk@1863 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27 12:32:23 +00:00
rvelices
47512ce6a6 - refactoring page['category'] before 1.7 release
page['category'] is not an id anymore, but an associative array of category info
all of page['cat_xxx'] or page['uppercats'] merged into one
simplifies calls to make_index_url
give plugins a clean start for page variables for version 1.7

git-svn-id: http://piwigo.org/svn/trunk@1861 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27 01:56:16 +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
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
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
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
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
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
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
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
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
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
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
rub
69632928a8 subcribe instead of subscribe => spam for free.
Correction of all bad English word.

git-svn-id: http://piwigo.org/svn/trunk@1806 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 12:01:07 +00:00
laurent.duretz
44153d6965 Issue : 137
Use correct SQL request ta have MySql compatibility

git-svn-id: http://piwigo.org/svn/trunk@1794 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-09 18:21:33 +00:00
rub
5b038de717 Issue 0000639: Force selected page on index.php
Continue the Radu idea, restrict more use of random list

Issue 0000598: NBM: Add new informations
Add css on mail
Use user template for mail (on next commit, best control)

Comment mass_inserts because don't with MySQL 4.1.9


git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 22:04:36 +00:00
vdigital
1f53608976 Web Service:
- Delete high and normal in #ws_access table
- start date is kept.

w0p0 template: Minor change


git-svn-id: http://piwigo.org/svn/trunk@1791 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 21:20:40 +00:00
laurent.duretz
a62ab78e2a Issue : 137
git-svn-id: http://piwigo.org/svn/trunk@1790 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 18:51:22 +00:00
rvelices
b6fc0fa5eb - correct php warnings (section_init and mass_inserts)
- flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter)
- small html validation (double class attribute)
- removed unnecessary class=""
- changed 2 times hard coded index.php?recent_pics with make_index_url(...)

git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 01:31:05 +00:00
laurent.duretz
15b3774482 git-svn-id: http://piwigo.org/svn/trunk@1786 68402e56-0260-453c-a942-63ccdbb3a9ee 2007-02-07 19:49:35 +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
9e71c703d3 history: removed some php warnings and reduced some annoying language warnings
git-svn-id: http://piwigo.org/svn/trunk@1782 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 01:10:59 +00:00
rvelices
dd339aa6c5 web services:
- respect conf['allow_web_services']
- added conf['ws_max_images_per_page'] to limit the number of images returned per web call
- fixes for Vincent's partners
- added comments

git-svn-id: http://piwigo.org/svn/trunk@1781 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 01:02:06 +00:00
laurent.duretz
b11b6cf647 Issue 0000475 : Synchroniser plus de 7000 photos
git-svn-id: http://piwigo.org/svn/trunk@1775 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-01 22:35:22 +00:00
vdigital
7ee3f5579a Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28 20:56:10 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
rub
c841c568f6 Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Change name of news triggers.
Replace & by &amp;
Improve a little add_index plugin implementation.
Add parameters pages (under construction) for add_index plugin


git-svn-id: http://piwigo.org/svn/trunk@1704 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 06:01: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
rub
60bcda3564 Fixed: HTML vulnerability (Cross Site Scripting)
git-svn-id: http://piwigo.org/svn/trunk@1696 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-03 23:28:09 +00:00
vdigital
0f2b554608 Physical duplicate files in Admin Advanced Functions
git-svn-id: http://piwigo.org/svn/trunk@1688 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02 09:02:39 +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
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
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
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
a4473e8201 Admin part in coding review status.
git-svn-id: http://piwigo.org/svn/trunk@1663 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 09:40:59 +00:00
vdigital
53d1b22c76 Web Service Admin part 2
git-svn-id: http://piwigo.org/svn/trunk@1661 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 09:21:40 +00:00
rub
c012c22df6 Feature Issue ID 0000460:
Add advanced features on administration menu

git-svn-id: http://piwigo.org/svn/trunk@1656 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-14 21:37:51 +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
51e56e9c1f bug 550: check that remote site url is not empty
git-svn-id: http://piwigo.org/svn/trunk@1654 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13 01:38:47 +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
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
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
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
636e77b04c some language cleanup
git-svn-id: http://piwigo.org/svn/trunk@1620 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-29 04:18:11 +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
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
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
0428fbe288 removed 3 never used functions
git-svn-id: http://piwigo.org/svn/trunk@1592 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-03 01:26:31 +00:00
rub
ac7f71bf1e Resolved Issue ID 0000575:
o Missing Help on screen Groups List/Group Management

Resolved Issue ID 0000356:
  o Increase security on adviser mode (Screen Group List)


git-svn-id: http://piwigo.org/svn/trunk@1591 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-02 23:11:43 +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
5aeff9b233 plugins compatible with php4
git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 06:06:42 +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
rvelices
2b3bc579e4 - plugins can add now their page to the admin page
- new plugin (event_tracer) that demonstrate it and useful to see all calls 
to trigger_event

git-svn-id: http://piwigo.org/svn/trunk@1580 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-27 00:25:02 +00:00
rvelices
12182ddcfe plugins: first prototype version
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-26 03:35:20 +00:00
rub
258fa3b40c Resolved Issue ID 0000356:
o Increase security on adviser mode

First modifications of n modifications.
All the others modifications will be done on BSF branch.


Merge branch-1_6 1568:1570 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1571 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-21 12:28:07 +00:00
rvelices
af621d40d4 feature 564: logs in the history table each user login
feature 562: possibility to log page visits for any combination of 
administrators/users/guests

git-svn-id: http://piwigo.org/svn/trunk@1565 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19 00:41:07 +00:00
rvelices
fc19eb794d merge -r 1547 from branch-1_6 to Alligator
bug 539: link to picture_modify.php instead of picture.php in rating page

git-svn-id: http://piwigo.org/svn/trunk@1548 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-09-18 21:07:42 +00:00
rvelices
d7ba4d77fe added number of tags, image-tag associations and image-category association
on the main admin page

git-svn-id: http://piwigo.org/svn/trunk@1538 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-16 04:30:35 +00:00
rub
e097dba6a6 Resolved Issue ID 0000507:
o format of email
  o max_execution_time equal to 0
  o -f with only adress mail
  o use of standard function get_webmaster_mail_address

2 news $conf parameters.

Merge branch-1_6 r1529:1530 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1531 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09 22:10:12 +00:00
nikrou
9d38573074 fix bug 510: missing permission link
svn merge -r1527:1528 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1529 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09 12:34:55 +00:00
rub
7cdf66abf0 Resolved Issue ID 0000495.
o Quotes and slashes are not correct on mail content

Merge branch-1_6 r1519:1520 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1521 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-31 22:32:23 +00:00
rub
27aa4d6bfc Resolved Issue ID 0000474 (Step 3):
o Remove .htaccess files
  o Undo svn:1505 

http://svn.gna.org/viewcvs/phpwebgallery?rev=1505&view=rev


git-svn-id: http://piwigo.org/svn/trunk@1519 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-31 22:18:32 +00:00
rub
7ca31726ed Resolved Issue ID 0000474 (Step 2):
o Add .htaccess files

=>
  * admin
      - .htaccess = deny from all
  * doc
      - no .htaccess
  * galleries
      - .htaccess = Options -Indexes
  * include
      - .htaccess = deny from all
      => move 2 .js in template-common
  * install
      - .htaccess = deny from all
  * language
      - .htaccess = deny from all
  * template
      - .htaccess = Options -Indexes
  * template-common
      - .htaccess = Options -Indexes
  * template-extension
      - .htaccess = Options -Indexes
  * tools
      - no .htaccess


git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:29:21 +00:00
nikrou
e7f8b14269 function names are case-insensitive but it's a good idea to call functions
as they appear in their declaration. 
So all functions names that manipulate url like make_index_url() 
are write with lowercase


git-svn-id: http://piwigo.org/svn/trunk@1503 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:00:16 +00:00
rvelices
aca06a08aa feature 169: each category can have its own image order
git-svn-id: http://piwigo.org/svn/trunk@1500 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 00:51:08 +00:00
nikrou
a15839b183 bug 482 fixed: deletion of our account must be impossible
git-svn-id: http://piwigo.org/svn/trunk@1489 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-21 15:28:09 +00:00
nikrou
de1ff24582 bug 471 fixed: quote in tags
git-svn-id: http://piwigo.org/svn/trunk@1487 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-21 13:44:22 +00:00
rub
27aeab97e9 Resolved Issue ID 0000474 (Step 1):
o Rename index.htm into index.php
  o Add index.php on all sub-directories
  o Use an uniform source code of index.php (like /include/index.php)

(/index.php is of course not changed)




git-svn-id: http://piwigo.org/svn/trunk@1481 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-18 21:38:54 +00:00
rub
f9147af63c Reopened and Resolved Issue ID 0000459:
o get_email_address_as_display_text could be improve in order to display '' for null email value.




git-svn-id: http://piwigo.org/svn/trunk@1462 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-13 20:58:01 +00:00
rub
8a7fff22b0 Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode



git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-11 20:51:24 +00:00
rub
e40f590bbd Resolved Issue ID 0000447:
o Fix Incorrect Tag Translations 



git-svn-id: http://piwigo.org/svn/trunk@1452 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-09 09:04:22 +00:00
plegall
876d9e63fc merge -r1439:1440 from branch 1.6 to trunk (bug 455 fixed: deleting a tag
also add a tag if "add tag" box filled).


git-svn-id: http://piwigo.org/svn/trunk@1441 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-08 09:08:48 +00:00
plegall
4ce94a5eab merge -r1426:1427 from branch 1.6 to trunk (bug 397 fixed: [...] type
comparison with operator "==").


git-svn-id: http://piwigo.org/svn/trunk@1428 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:53:26 +00:00
rub
98f8edab44 Resolved Issue ID 0000442:
o customize mail content is not used (only default value)
 

git-svn-id: http://piwigo.org/svn/trunk@1408 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-27 20:39:15 +00:00
nikrou
17d13cef8d fix bug 428: blank page when gd extension missing
svn merge -r1377:1378 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1379 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 19:41:32 +00:00
nikrou
57a108d957 bug 423 fixed: & non encoded in image url
svn merge -r1356:1357 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1358 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-16 18:47:25 +00:00
plegall
2bcf315efb merge -r1346:1347 from branch 1.6 to trunk (bug 402 fixed).
git-svn-id: http://piwigo.org/svn/trunk@1348 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-13 20:39:49 +00:00
plegall
84372ad5c9 merge -r1332:1333 from branch 1.6 to trunk (bug 374 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1334 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-02 19:31:29 +00:00
plegall
875a6b15c8 merge -r1312:1313 from branch 1.6 to trunk (bug 373 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1314 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-15 22:21:08 +00:00
plegall
fc986780f9 merge -r1308:1309 from branch 1.6 to trunk (bug 367 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1310 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-15 21:22:43 +00:00
plegall
82e74dc53f merge -r1306:1307 from branch 1.6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1308 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-15 20:53:08 +00:00
rvelices
9251fdf3fb bug 362: remote site update fails when inserting new cat (MySql err 1048)
git-svn-id: http://piwigo.org/svn/trunk@1296 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-29 16:35:07 +00:00
plegall
b0751afea2 merge -r1281:1283 from branch 1.6 to trunk (bug 228 fixed one more time, and
other little things)


git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-27 21:08:50 +00:00
plegall
a52bf8e293 merge -r1276:1277 from branch-1_6 to trunk (bug 228 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1278 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-26 21:08:44 +00:00
nikrou
a89ecb6e41 bug fixed: popuhelp (slash)
svn merge -r1248:1249 from branch-1_6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1250 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 21:16:37 +00:00
nikrou
6a52288d62 bug fixed: popuhelp
svn merge from branch-1_6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1246 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 21:09:26 +00:00