fix: sessions
css 3px image border goes from both clear and dark to image.css
git-svn-id: http://piwigo.org/svn/trunk@1176 68402e56-0260-453c-a942-63ccdbb3a9ee
because of categories with comments not allowed
svn merge -r1165:1166 from branche 1.6
git-svn-id: http://piwigo.org/svn/trunk@1167 68402e56-0260-453c-a942-63ccdbb3a9ee
o Change NBM configuration in order to avoid lose treatment action when occurred timeout
o Add news redirect/repost functions
git-svn-id: http://piwigo.org/svn/trunk@1156 68402e56-0260-453c-a942-63ccdbb3a9ee
Handle long category description with automatic scrollbars.
Got rid of the hr.separation which mess the display sometimes.
git-svn-id: http://piwigo.org/svn/trunk@1136 68402e56-0260-453c-a942-63ccdbb3a9ee
improvement: urls for category can be now id and category names (instead
of only id)
improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)
improvement: identification, register, search pages automatically set focus
on first form input
improvement: focus, nofocus css class now valid for all forms
fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)
git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
category are not displayed the same way as thumbnails representing a
picture. Feedback welcomed on this feature.
git-svn-id: http://piwigo.org/svn/trunk@1130 68402e56-0260-453c-a942-63ccdbb3a9ee
equivalent.
improvement: HTML properties forms rewritten to offer labelled Yes/No click
on checkboxes.
improvement: onblur onfocus attribute used on every HTML properties form.
git-svn-id: http://piwigo.org/svn/trunk@1129 68402e56-0260-453c-a942-63ccdbb3a9ee
simple fature. Replaced by static association. Links are not persistent
anymore.
modification removed: #image_category.is_storage replaced by
#images.storage_category_id as in branche 1.5..
git-svn-id: http://piwigo.org/svn/trunk@1121 68402e56-0260-453c-a942-63ccdbb3a9ee
no result, caddie is empty
fix: tag cloud was showing least used tags
fix: strip html tags from head/title element on the page
(tag index page title contained <a>...)
improvement: added 5 tag levels in css for "ready to use" tags
fix: corrected png icon calendar_created.png for IE
fix: english language for nbm
git-svn-id: http://piwigo.org/svn/trunk@1120 68402e56-0260-453c-a942-63ccdbb3a9ee
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.
git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
o reduce length of check_key
o fix bugs
o send mail on subscribe/unsubscribe
o add and used $conf parameters
o review keyword of languages
o improve selection/check
o can subscribe/unsubscribe with a link include on mail
o fix bug mass_update collate
git-svn-id: http://piwigo.org/svn/trunk@1116 68402e56-0260-453c-a942-63ccdbb3a9ee
Re-adapt idea of svn:1114 and optimize treatment:
o check/uncheck all completely done by Javascript
o add function get_user_notifications
o reduce queries for not detailed content mail
git-svn-id: http://piwigo.org/svn/trunk@1115 68402e56-0260-453c-a942-63ccdbb3a9ee
NBM: add function make_index_absolute_url
NBM: add function get_user_notifications and simplified code
git-svn-id: http://piwigo.org/svn/trunk@1114 68402e56-0260-453c-a942-63ccdbb3a9ee
Add new item on page administration/maintenance.
This item allow to repair and optimize database
Functionality tested with MySQL 4.1.9.
Please to report problem with previous version of MySql
git-svn-id: http://piwigo.org/svn/trunk@1111 68402e56-0260-453c-a942-63ccdbb3a9ee
improve: put back update remote site from local listing.xml functionality
(allow_url_fopen is false on several ISPs)
git-svn-id: http://piwigo.org/svn/trunk@1107 68402e56-0260-453c-a942-63ccdbb3a9ee
o Add news parameters
o Add file functions_notification_by_mail.inc.php in order to use in future, these functions on php file of subscribe/unsubscribe
o Write a little html help file
+ improve mass_update in order to used binary fields (used collate and SHOW COLUMNS FROM)
git-svn-id: http://piwigo.org/svn/trunk@1105 68402e56-0260-453c-a942-63ccdbb3a9ee
category thumbnails and element thubnails in order to be able to display them differently.
git-svn-id: http://piwigo.org/svn/trunk@1098 68402e56-0260-453c-a942-63ccdbb3a9ee
URL rewriting: works with image file instead of image id (change
make_picture_url to generate urls with file name instead of image id)
URL rewriting: completely works with category/best_rated and
picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url
and 'picture.php?' to 'picture' in make_picture_url to see it)
fix: picture category display in upper bar
fix: function rate_picture variables and use of the new user type
fix: caddie icon appears now on category page
fix: admin element_set sql query was using storage_category_id column
(column has moved to #image_categories)
fix: replaced some old $_GET[xxx] with $page[xxx]
fix: pictures have metadata url (use ? parameter - might change later)
git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
o Rename mailtousers.php on notification_by_mail.php
o Deactivate temporary function on notification_by_mail.php
o First design layout, no function activated, it's only a model
git-svn-id: http://piwigo.org/svn/trunk@1091 68402e56-0260-453c-a942-63ccdbb3a9ee
o can attribute status <= current user
o define mode adviser
=> buttons disabled (gray on IE, not on FF)
=> truncated actions
=> display info mode adviser
git-svn-id: http://piwigo.org/svn/trunk@1085 68402e56-0260-453c-a942-63ccdbb3a9ee
o Allow to chage high property on user list
o Set initial value for the 2 default users
+ Correction of permissions.png in user list
git-svn-id: http://piwigo.org/svn/trunk@1079 68402e56-0260-453c-a942-63ccdbb3a9ee
feature 303: page banner moved from combination of gallery_title,
gallery_description and template to database (simplifies user customization)
git-svn-id: http://piwigo.org/svn/trunk@1071 68402e56-0260-453c-a942-63ccdbb3a9ee
feature? Code is complicated and very few people will understand how it
works...
modification: #images.storage_category_id replaced by
#image_category.is_storage
improvement: many code refactoring to improve readibility
improvement: virtual category creation code was moved to a dedicated
function in order to be called from admin/cat_list.php and
admin/cat_modify.php (create a new destination category)
git-svn-id: http://piwigo.org/svn/trunk@1064 68402e56-0260-453c-a942-63ccdbb3a9ee
together with a next/previous date links
improvement: calendar view styles now shown in DIV.titrePage (I still need
to move padding from H2 to DIV.titrePage ...)
fix: moved all calendar css colors from template to the theme
git-svn-id: http://piwigo.org/svn/trunk@1062 68402e56-0260-453c-a942-63ccdbb3a9ee
fix: html 4.01 compliant in rating.tpl
fix: issue with IE from version 1052 (redirect on access denied)
git-svn-id: http://piwigo.org/svn/trunk@1061 68402e56-0260-453c-a942-63ccdbb3a9ee
ability to show grayed months/weeks/days (without any picture in it),
added icons for created/posted fields
language uniformization
calendar fixes: correct number of pictures in calendar view,
code simplification (I hope so)
git-svn-id: http://piwigo.org/svn/trunk@1059 68402e56-0260-453c-a942-63ccdbb3a9ee
fix: xml getAttribute always decodes html entities and added encodeAttribute
function
git-svn-id: http://piwigo.org/svn/trunk@1058 68402e56-0260-453c-a942-63ccdbb3a9ee
calendar: added a where are we bar (like: created/2005/august)
calendar: possibility to hide the All/Any buttons ($conf['calendar_show_any'])
calendar: possibility to display a single navigation bar instead of
several navigation bars ($conf['calendar_multi_bar'])
calendar: tried to simplify code and improve readability
(still requires a review)
git-svn-id: http://piwigo.org/svn/trunk@1057 68402e56-0260-453c-a942-63ccdbb3a9ee
fix: locked gallery cannot be unlocked (impossible to login)
improvement: nicer display in redirect.tpl
improvement: when a page is not accessible because of permissions (accessed
through bookmark or email), redirect to identification.php and after
identification to the initially requested page
git-svn-id: http://piwigo.org/svn/trunk@1052 68402e56-0260-453c-a942-63ccdbb3a9ee
fix: page['items'] for favorites category and remove old use of $has_next,
$has_prev in picture.php (slideshow and favorites section)
optimization: one less sql query in picture.php when there are no comments
display of the refresh url in redirect.tpl (useful when debugging with
browser meta redirects disabled)
git-svn-id: http://piwigo.org/svn/trunk@1041 68402e56-0260-453c-a942-63ccdbb3a9ee
3 small fixes: simplified code (unnecessary $page['tab_expand']),
urls in comments (at end of line nl2br issue+regex+html 4 validated) and
$page['where'] correction for most_visited
git-svn-id: http://piwigo.org/svn/trunk@1031 68402e56-0260-453c-a942-63ccdbb3a9ee
- synchronization for remote and local sites are done by the same code
- remote sites can update metadata now (not before) - bug 279
- fixes bug 82: has_high column
- improve feature 280: user sort by filename
- fix path to template mimetypes icons
- bug 284: session cookie lifetime, deletion on logout and corrected issue
when db upgrades were missing
git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee
improvement 82: Viewing pictures from remote galleries does not check anymore
for the high pictures (existence flag added to create_listing_file and db)
correction: link element in picture is in the head instead of body (w3c spec)
correction: in profile.php the current template was not selected by default
git-svn-id: http://piwigo.org/svn/trunk@1020 68402e56-0260-453c-a942-63ccdbb3a9ee
improvement: in category.php, an icon opening a popup display the list of
search rules.
modification: function get_search_array is responsible of search rules
retrieving from database. This function is called from get_sql_search_clause
and from search_rules.php
modification: ability to search multiple authors. Warning: this version of
search tool can't search author names including any blank space.
git-svn-id: http://piwigo.org/svn/trunk@1015 68402e56-0260-453c-a942-63ccdbb3a9ee
that links to category for search engines are the same as in category
pagination
feature 77: standard navigation link : HTML Link types
improvement: add go to first and last image buttons in picture page
improvement: do not increase image hit in picture.php when rating, adding to
favorites, caddie, ...
improvement: show number of hits in most_visited (as best_rated shows the rate)
git-svn-id: http://piwigo.org/svn/trunk@1014 68402e56-0260-453c-a942-63ccdbb3a9ee
- cosmetic : adjust big image popup to avoid unwanted scrolbars
no toolbar or status-bar in this popup
git-svn-id: http://piwigo.org/svn/trunk@985 68402e56-0260-453c-a942-63ccdbb3a9ee
plus link to "register" and move quickconnect rules from default-layout.css to menubar.css
git-svn-id: http://piwigo.org/svn/trunk@972 68402e56-0260-453c-a942-63ccdbb3a9ee
rest of the job : template (yoga), themes (clear dark), and php to handle them
git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
- feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page
git-svn-id: http://piwigo.org/svn/trunk@948 68402e56-0260-453c-a942-63ccdbb3a9ee
and too vague label for maximum width & height in thumbnail creation
screen.
git-svn-id: http://piwigo.org/svn/trunk@937 68402e56-0260-453c-a942-63ccdbb3a9ee
- "text-align: center" comes back on ul.categoryActions because action
buttons were not centered in admin/picture_modify or admin/cat_modify
git-svn-id: http://piwigo.org/svn/trunk@920 68402e56-0260-453c-a942-63ccdbb3a9ee
modifications)
- bug fixed: the total number of pictures had disappeared
git-svn-id: http://piwigo.org/svn/trunk@919 68402e56-0260-453c-a942-63ccdbb3a9ee
improvement: removed some unnecessary css rules from old tests in
FROM design in file default-layout.css
git-svn-id: http://piwigo.org/svn/trunk@912 68402e56-0260-453c-a942-63ccdbb3a9ee
Needed a little trick to fix it. Put the trick in a fix-khtml.css
Loading in header.tpl and protected from IE, Geko and Opera,
just in case (couldn't foud a safari css-only filter wich validate)
bug fixed: issue in the FORM in remote_site.tpl which prevented
HTML validation (still something to do with the TABLE).
git-svn-id: http://piwigo.org/svn/trunk@910 68402e56-0260-453c-a942-63ccdbb3a9ee
find the next user identifier has changer to MAX+1.
- improvement: information message when new user added
- bug fixed: language item "Username" used instead of "login".
git-svn-id: http://piwigo.org/svn/trunk@906 68402e56-0260-453c-a942-63ccdbb3a9ee
display : suppress bullets in admin->synchronize and checkbox under select
display : set standard font size to 12pt (untill better solution found)
git-svn-id: http://piwigo.org/svn/trunk@898 68402e56-0260-453c-a942-63ccdbb3a9ee
The first one is the right syntax but IE can't eat that so the display of the tools in the title bar was buggy (vertical instead of horizontal)
git-svn-id: http://piwigo.org/svn/trunk@893 68402e56-0260-453c-a942-63ccdbb3a9ee
- translation: bug fixed on special categories title in French
- translation: all help pages were translated in french
git-svn-id: http://piwigo.org/svn/trunk@889 68402e56-0260-453c-a942-63ccdbb3a9ee
Plus it makes the image title header smaller wich is a good thing for users with regular sized screens
git-svn-id: http://piwigo.org/svn/trunk@887 68402e56-0260-453c-a942-63ccdbb3a9ee
gallery_description are GUI managed in
Administration>Configuration>General
- bug fixed: configuration parameters (use|show)_(exif|iptc) and
authorize_remembering should have been deleted from config table some time
ago.
git-svn-id: http://piwigo.org/svn/trunk@882 68402e56-0260-453c-a942-63ccdbb3a9ee
- bug 161 fixed: guest_id not taken into account for history table insert.
- bug 164 fixed: category inserted in history table becomes too long if HTML
tags are kept.
git-svn-id: http://piwigo.org/svn/trunk@876 68402e56-0260-453c-a942-63ccdbb3a9ee
anymore.
- update: README files updated for very near branch 1.5 :-)
- new: file tools/config_local.inc.php as example for optional
include/config_local.inc.php
- bug fixed: configuration parameter show_picture_name_on_title was useless
git-svn-id: http://piwigo.org/svn/trunk@870 68402e56-0260-453c-a942-63ccdbb3a9ee
character. Correction reported from branch 1.4
- bug fixed: in admin/stats, incorrect SQL queries gave no result.
git-svn-id: http://piwigo.org/svn/trunk@868 68402e56-0260-453c-a942-63ccdbb3a9ee
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
- yoga template used for installation and by default in user_infos table
- adaptation of yoga template to itself (no use of icons from template
default)
git-svn-id: http://piwigo.org/svn/trunk@860 68402e56-0260-453c-a942-63ccdbb3a9ee
screen. These parameters are move to include/config_default.inc.php.
- new : ability to add a single picture to caddie from picture.php
- new : contextual help, only a few pages are available.
- new : ability to delete users from admin/user_list
- modification : reorganization of configuration file
- new : configuration parameter use_exif_mapping
- improvement : MOD hidemail added to standard
git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
Smaller font for thumbnails legend (less wrapping for long category names)
git-svn-id: http://piwigo.org/svn/trunk@856 68402e56-0260-453c-a942-63ccdbb3a9ee
- adds PHPWG_ROOT_PATH to form action in identification.php
- adds link to home on identification.php
- avoid using language_select and template_select in profile.php (maybe
these functions becom obsolete)
- [template cclear] solution #3 from
http://forum.phpwebgallery.net/viewtopic.php?pid=21443#p21443 : adds the
fix on min-height.
- [template cclear] new FORM class : properties. Used in identification,
profile, register.
- [template cclear] deletion of now useless DIV.formbox
- [template cclear] footer update : link to phpwebgallery website and not
pierrick email.
git-svn-id: http://piwigo.org/svn/trunk@854 68402e56-0260-453c-a942-63ccdbb3a9ee
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
notification.
- improvement : on waiting pictures management. Ability to validate all or
reject all in one clic.
- regrouped fields in admin/update
git-svn-id: http://piwigo.org/svn/trunk@849 68402e56-0260-453c-a942-63ccdbb3a9ee
page to display comment by comment instead of picture by picture.
- [template cclear] comments.tpl copied and adapted from template
default. Return to home new icon. As asked by chrisaga, special id
#commentsPage in comments.tpl to set the #content margin-left to 0 (since
no #menubar to display).
- [template cclear] FORM.filter rules taken from template default (these
rules have been written some time ago by yoDan.
- [template cclear] bug fixed on #theImage : display:block must be used only
on IMG and not on the P>A (yes, in BSF you can have HTML in picture and
categories descriptions)
git-svn-id: http://piwigo.org/svn/trunk@848 68402e56-0260-453c-a942-63ccdbb3a9ee
template generic blocks)
- new color for A:hover and its solid border-bottom, dotted border-bottom
for A (same color as link color)
- background color and border color for form input fields (input, select,
textarea) to accentuate contrast with page background.
- clear:both on #imageHeaderBar H1 let it be center on page
- in infoTable keys are right aligned and values are left aligned (more
beautiful, isn't it?)
- add "set as representative" button to cclear template in
picture.tpl. representative.png picture taken from Gorilla theme.
- invisible horizontal rule on picture.tpl to separate user comments from
the beginning of the page
git-svn-id: http://piwigo.org/svn/trunk@847 68402e56-0260-453c-a942-63ccdbb3a9ee
It's div based and informations are in a list
The hack is to fix height for Geko only
Opera 7 doesn't display very well
git-svn-id: http://piwigo.org/svn/trunk@845 68402e56-0260-453c-a942-63ccdbb3a9ee
administration. (screen is not shared with public part of the
gallery). Ability to validate all or reject all in one clic.
git-svn-id: http://piwigo.org/svn/trunk@839 68402e56-0260-453c-a942-63ccdbb3a9ee
administration screen element_set_(global|unit), cat_modify, cat_list,
cat_perm.
- new : direct link to admin/cat_modify from category.php.
git-svn-id: http://piwigo.org/svn/trunk@834 68402e56-0260-453c-a942-63ccdbb3a9ee
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
from admin/cat_modify : fieldsets regroup fields. Ability to synchronize
metadata for the displayed item.
- bug 110 fixed : "return to element view from element edition fails
depending on permissions". If a reachable (for the connected admin)
category is available, a "jump to" link is displayed, by default, using
the category given in URL.
- bug fixed : in mass_updates function, the first item of $fields['update']
has not always 0 for id (as in any array).
- modification : get_keywords function understands spaces as separator,
allow less than 3 chars keywords, allow quotes.
- new : ability to allow HTML in picture or category description (false by
default)
git-svn-id: http://piwigo.org/svn/trunk@825 68402e56-0260-453c-a942-63ccdbb3a9ee
group associations are displayed and not taken into account for user
specific permissions.
git-svn-id: http://piwigo.org/svn/trunk@818 68402e56-0260-453c-a942-63ccdbb3a9ee
included page, localized items are managed directly in the template.
- new : sub template admin/double_select is included in templates
admin/cat_options, admin/user_perm and admin/group_perm. I haven't been
able to use it in admin/picture_modify because it seems impossible to have
two instance of the same sub-template without interfering.
- modification : bug 99, in profile manager, no auto submit when changing
language (useless and generate accessibility problem).
- improvement : HTML semantically correct for administration menu, simpler
syntax, less tags, correct tags (dl/dt/dd instead of div/div).
- modification : number of waiting elements and unvalidated comments are
displayed in admin/intro instead of administration menu (with a link to
the dedicated pages).
- deletion : no link to profile from admin/user_list anymore (no need).
git-svn-id: http://piwigo.org/svn/trunk@817 68402e56-0260-453c-a942-63ccdbb3a9ee
list of existing groups and a form to add a new group. Here you can delete
a group, go to permissions management for a group, go to member list of a
group (on admin/user_list with a filter on group).
- modification : admin/user_perm and admin/group_perm are not directly
reachable by the admin menu anymore. Only the user/group list lets you
reach user/group permissions management screen.
git-svn-id: http://piwigo.org/svn/trunk@815 68402e56-0260-453c-a942-63ccdbb3a9ee
informations about PhpWebGallery version, PHP version, MySQL version,
gallery database informations (number of categories, elements, users,
comments). Ability to request phpwebgallery.net for upgrade.
- deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in
introduction page.
git-svn-id: http://piwigo.org/svn/trunk@814 68402e56-0260-453c-a942-63ccdbb3a9ee
from picture.php screen.
- improvement : dedicated icon to add elements into caddie. Ths icon is
displayed in the category title bar.
git-svn-id: http://piwigo.org/svn/trunk@811 68402e56-0260-453c-a942-63ccdbb3a9ee
categories informations (number of images, date of the last added
element), update images informations (path, average rate), purge obsolete
sessions, purge history.
- new : ability to have random representative for categories. This
configuration parameter is set to false by default.
- new : ability to set an element as representative of a category without
belonging to the category. Thus, administrator can choose representative
even for empty categories.
- improvement : semantically superior design for category edition screen by
regrouping fields in fieldsets. The improved screen contains action
buttons as in category list screen.
- new : ability to move a virtual category (ie change its parent category).
- bug fixed : the sync_users function checks all user children tables
(access, cache, group association).
git-svn-id: http://piwigo.org/svn/trunk@809 68402e56-0260-453c-a942-63ccdbb3a9ee
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
is set true : if no user matches $_SERVER['REMOTE_USER'] in "users" table,
PWG automatically creates one. This way, users can customize the behaviour
of the application.
- template : new organisation of identification menu
(category.php). Simplification is required for Apache authentication (no
logout link even if user is externally logged in)
- new : usernames can contain quotes (required because Apache authentication
authorized quotes in usernames)
git-svn-id: http://piwigo.org/svn/trunk@804 68402e56-0260-453c-a942-63ccdbb3a9ee
$conf['show_thumbnail_caption']
- new configuration parameter : hide picture name in title on picture
presentation page with $conf['show_picture_name_on_title']
- template : new CSS classes to manage picture.php title
git-svn-id: http://piwigo.org/svn/trunk@803 68402e56-0260-453c-a942-63ccdbb3a9ee
This time, it is designed to support better long users list. On this
screen, for a particular category, admin can say which groups and users
are permitted.
git-svn-id: http://piwigo.org/svn/trunk@800 68402e56-0260-453c-a942-63ccdbb3a9ee
sub-categories, elements, edit, jump to, permissions)
- categories management : semantic HTML layout (using common lists)
- categories management : new way to order categories of the same level : a
text field let the admin reorder all categories at once.
git-svn-id: http://piwigo.org/svn/trunk@798 68402e56-0260-453c-a942-63ccdbb3a9ee
$errors and $infos arrays replaced by $page['errors'] and $page['infos'],
special management for admin/update.php (more complex management)
git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
icons (more compact)
- user list : ability to associate to a group or to dissociate from a group
a list of selected users
- user list : ability to set user properties in "batch" mode (a selection of
users at once)
- user list : alternate background color for each line
- (not in ChangeLog) temporary commented code to update current user
language if $_POST['language'] is set (see include/user.inc.php for
details)
git-svn-id: http://piwigo.org/svn/trunk@787 68402e56-0260-453c-a942-63ccdbb3a9ee
comes back (as in 1.3 branch)
- user list updated : ability to filter list on username
git-svn-id: http://piwigo.org/svn/trunk@768 68402e56-0260-453c-a942-63ccdbb3a9ee
- Introduction des statistiques mensuelles.
- Modification des labels anglais lors de l'installation
git-svn-id: http://piwigo.org/svn/trunk@766 68402e56-0260-453c-a942-63ccdbb3a9ee
element_set_global and element_set_unit, infos_images (after a long time
of use) become deprecated : the more powerful element_set is used
instead. Consequently, batch management concerns caddie but also "normal
categories".
- refactoring code in admin.php to include the sub-file (clearer)
- caddie : function fill_caddie replaces the code in category.php and can be
used in admin/element_set.php
- caddie : caddie table is added in delete_elements function
git-svn-id: http://piwigo.org/svn/trunk@764 68402e56-0260-453c-a942-63ccdbb3a9ee
added : ability to manage a set of elements, element by element. This
screen is very close to the existing "infos_images" (which will soon
disappear).
* elements batch management : in screen element_set_global, the display
options are displayed at the top as in element_set_unit
git-svn-id: http://piwigo.org/svn/trunk@763 68402e56-0260-453c-a942-63ccdbb3a9ee
include/functions.inc.php : these functions are now also used in
admin/element_set_global.php
- elements batch management improved : ability to set the number of elements
to display per line, ability to set {author, name, creation date} fields,
ability to add and remove keywords, ability to take selected elements out
of caddie
git-svn-id: http://piwigo.org/svn/trunk@762 68402e56-0260-453c-a942-63ccdbb3a9ee
elements. Only admin users can see this link
- elements batch management : impossible to create a link between category
and element that already exists
- logical separation of category name under thumbnail and element name
git-svn-id: http://piwigo.org/svn/trunk@760 68402e56-0260-453c-a942-63ccdbb3a9ee
concerning elements to categories associations. This is the very first
release, needs many improvements.
- new function : array_from_query. Firstly used by "caddie" feature, it may
be useful in many cases.
git-svn-id: http://piwigo.org/svn/trunk@755 68402e56-0260-453c-a942-63ccdbb3a9ee
effect than registration date) or by username. On each line, you can
access properties and permissions for the user
git-svn-id: http://piwigo.org/svn/trunk@709 68402e56-0260-453c-a942-63ccdbb3a9ee
comprehensive list of pictures without thumbnails (no matter the
directory) unless there are no thumbnail missing.
- thumbnail creation process : form parameters are saved between 2 thumbnail
generations thanks to new process
- thumbnail creation process : can ask to create all missing thumbnails
- thumbnail creation process : default thumbnail width and height are
configured in include/config.inc.php
- thumbnail creation process : errors due to no write access directories are
catched
git-svn-id: http://piwigo.org/svn/trunk@695 68402e56-0260-453c-a942-63ccdbb3a9ee
Explorer 6 and as this browser is quite widely used... these entities are
replaced by « and »
git-svn-id: http://piwigo.org/svn/trunk@693 68402e56-0260-453c-a942-63ccdbb3a9ee
information is still available)
- when showing result of a simulation, also displays the form with values
given for simulation. Admin can perform another simulation or uncheck the
simulation option
git-svn-id: http://piwigo.org/svn/trunk@691 68402e56-0260-453c-a942-63ccdbb3a9ee
- Comments included in default.css to help admin to enhanced their gallery
git-svn-id: http://piwigo.org/svn/trunk@689 68402e56-0260-453c-a942-63ccdbb3a9ee
- language item about remote sites were translated in French in french
translation file
- french FAQ translated from english
- add square brackets around links in remote sites managements
git-svn-id: http://piwigo.org/svn/trunk@674 68402e56-0260-453c-a942-63ccdbb3a9ee
template and in query generation)
- bug on determining whether an element is commentable or not depending on
categories it belongs to
git-svn-id: http://piwigo.org/svn/trunk@668 68402e56-0260-453c-a942-63ccdbb3a9ee
disappeared
- by default, new categories are not "uploadable"
- bug fixed on date displayed from Unix format : trying to find seconds
while not provided
- bug fixed on admin/waiting template to center submit button
git-svn-id: http://piwigo.org/svn/trunk@667 68402e56-0260-453c-a942-63ccdbb3a9ee
- admin/thumbnail : use new process for finding pictures without
thumbnails. No more recursivity
- admin/thumbnail : only show list of directory containing pictures without
thumbnails, not the whole directory tree
git-svn-id: http://piwigo.org/svn/trunk@665 68402e56-0260-453c-a942-63ccdbb3a9ee
rewritten. How to speed up sync ? by avoiding recursivity !
- admin/update : option to display verbose information details
- admin/update : option to simulate only. No database insert, delete or
update will be made
- bug fixed : in admin/cat_list, if you delete a virtual category, you may
create a gap in the rank list. This gap will generate errors when trying
to move a category on this gap. Fixed by calling ordering and
update_global_rank at category deletion.
- admin/cat_list, only one query to insert a new virtual category (no need
of a second query to update uppercats and global_rank)
- for a given category, even if empty, the representing element must not be
the one of a forbidden category for the current user
- generation time optionnaly displayed on the bottom of each page becomes
more price : number of SQL queries and SQL time added.
git-svn-id: http://piwigo.org/svn/trunk@659 68402e56-0260-453c-a942-63ccdbb3a9ee
- $user keys for guest user are initialized with default values of $conf
git-svn-id: http://piwigo.org/svn/trunk@653 68402e56-0260-453c-a942-63ccdbb3a9ee
NULL in database
- new table user_forbidden {user_id,need_update,forbidden_categories} and
deletion of field users.forbidden_categories
- new function calculate_permissions to update table user_forbidden when
needed
- simplification of include/user.inc.php
- in footer of each page, use "-" instead of "::" to separate page
information
git-svn-id: http://piwigo.org/svn/trunk@648 68402e56-0260-453c-a942-63ccdbb3a9ee
count sub-categories per sub-categories became false if no sub-categories
- virtual association come back in admin/infos_images (not only in
admin/picture_modify)
- check_favorites function in admin section becomes check_user_favorites in
public section : favorites are checked when user tries to display his
favorites. Function was optimized.
- in function update_category, wrap of long queries due to many categories
to update at the same time
- typo fixed in description of paginate_pages_around configuration parameter
- bug fixed in new navigation bar : no separation pipe was displayed between
next and last when the page displayed was the last
- sessions.expiration changed of type from int to datetime (a lot easier to
read)
- sessions.ip removed : IP address is no longer used to verify session
- $lang['cat_options'] was missing in en_UK.iso-8859-1
- typo fixed in language/en_UK.iso-8859-1/admin.lang.php on
editcat_lock_info language item
git-svn-id: http://piwigo.org/svn/trunk@647 68402e56-0260-453c-a942-63ccdbb3a9ee
"private or public" choice = different language item
- get_cat_display_name changed : use $conf['level_separator'] to unify
presentation
- default values for category properties commentable, uploadable, status and
visible (set in include/config.inc.php) used for category creation
(admin/update, admin/remote_site, admin/cat_list)
- use mass_inserts in admin/update for inserting new categories
- only one query for counting the number of sub categories in admin/cat_list
git-svn-id: http://piwigo.org/svn/trunk@642 68402e56-0260-453c-a942-63ccdbb3a9ee
global_rank order
- when adding a new virtual category, initializes its global_rank
- bug fixed : in admin/cat_list, false next rank
- in admin/cat_modify, complete directory is calculated only if category is
not virtual
- admin/picture_modify rewritten : graphically nearer to admin/cat_modify,
virtual associations are back
- update_category partially rewritten : take an array of categories in
parameter, becomes optionnaly recursive, use the set_random_representant
function, set a random representant for categories with elements and no
representant
- bug fixed : on a search results screen, elements belonging to more than 1
category were shown more than once
- bug fixed : in admin/cat_modify, changing a value in a textefield and
hitting enter was setting a new random representant
git-svn-id: http://piwigo.org/svn/trunk@635 68402e56-0260-453c-a942-63ccdbb3a9ee
separated from more specific search, separation of HTML (in template) and
PHP code)
git-svn-id: http://piwigo.org/svn/trunk@634 68402e56-0260-453c-a942-63ccdbb3a9ee
- possibility to set a random representing element for a category
- bug fixed : update_category function could not update nb_images
- bug fixed : mass_updates was inserting in the wrong table
git-svn-id: http://piwigo.org/svn/trunk@633 68402e56-0260-453c-a942-63ccdbb3a9ee
- single category management screen updated : commentable and uploadable
properties added, full directory displayed, status and visibility
properties update uses inheritance, user favorite elements check moved to
somewhere else : would be too long to calculate here for too many users
- new admin functions set_cat_visible and set_cat_status : visibility and
status updates can be done in cat_options and cat_modify
- language : differentiate "locked" (state) and "lock" (action)
git-svn-id: http://piwigo.org/svn/trunk@632 68402e56-0260-453c-a942-63ccdbb3a9ee
- User control panel update (admin side)
- Add of registration link on the main page
- Minor bug correction for group management
git-svn-id: http://piwigo.org/svn/trunk@631 68402e56-0260-453c-a942-63ccdbb3a9ee
- Rewrite of the tpl file (no more table in it)
- Deletion of duplicate entry in language files
- French version
git-svn-id: http://piwigo.org/svn/trunk@622 68402e56-0260-453c-a942-63ccdbb3a9ee
page, N options in the left menu (but the same backend)
- categories.global_rank : new calculated field. It gives a global rank of
the category among all others (updated during ordering)
- category.php page : menu is generated faster thanks to
categories.global_rank, recursivity becomes useless :-)
- new function to display select box with a set of categories :
display_select_cat_wrapper
- cat_options : instead of using 1 multiselect for true/false items, using 1
multiselect for true, and another one for false. The form provides buttons
with arrows to switch categories from one multiselect to another
- deletion of obsolete function display_categories (working with the old
template system)
- deletion of obsolete functions get_user_plain_structure,
create_user_structure, get_user_subcat_ids, update_structure, count_images
: useless thanks to global_rank
git-svn-id: http://piwigo.org/svn/trunk@614 68402e56-0260-453c-a942-63ccdbb3a9ee
tree (uploadable, commentable). status and visible will be soon added
- admin.php : $conf_link var to avoid lines longer than 79 characters
- config.upload_available configuration parameter disappear : it's simpler
to manage with cat_options
- config.show_comments idem : new column categories.commentable, each
categories can be commentable or not
- categories.site_id becomes a nullable column : a virtual category does
belong to no site
- function display_select_categories has a new argument : $CSS_classes array
to optionnaly assign a CSS class to each category in the select field
- added informations in include/config.inc.php for setting default value of :
- categories.visible
- categories.status
- categories.uploadable
- categories.commentable
- 2 new indexes images_i3(average_rate) and images_i4(hit) : optimizes best
rated and most visited categories
git-svn-id: http://piwigo.org/svn/trunk@602 68402e56-0260-453c-a942-63ccdbb3a9ee
dirs/files/metadata sync on all categories or a defined one (including
subcategories)
- database sync is only available through update.php
git-svn-id: http://piwigo.org/svn/trunk@589 68402e56-0260-453c-a942-63ccdbb3a9ee
- picture for each category is segmented in src, alt and title -> no HTML
code in cat_list.php
git-svn-id: http://piwigo.org/svn/trunk@584 68402e56-0260-453c-a942-63ccdbb3a9ee
- creation of function get_thumbnail_src used everywhere a thumbnail must be
displayed
- creation of function parse_comment_content (used in comments.php and
picture.php)
- concerning undefined index on arrays retrieved in database, instead of
testing possibly unset values, use of @ operator (smarter...)
- add pre tag in default.css stylesheet for debugging purpose (need to have
left aligned text)
git-svn-id: http://piwigo.org/svn/trunk@579 68402e56-0260-453c-a942-63ccdbb3a9ee
- simplification : each session is created with a cookie and if
PhpWebGallery can't read the cookie, it uses the URI id and it will be
used in the add_session_id function.
- configuration parameter "auth_method" disappeared (didn't lived much...)
- only one session id size possible. More comments for configuration in
include/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@555 68402e56-0260-453c-a942-63ccdbb3a9ee
- new feature : "remember me" creates a long time cookie
- possibility to set the default authentication method to URI or cookie
- really technical parameters (session identifier size, session duration)
are set in the config file and not in database + configuration.php
git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
- Minor modification for template migration
- Rename of script.js in scripts.js
git-svn-id: http://piwigo.org/svn/trunk@539 68402e56-0260-453c-a942-63ccdbb3a9ee
found at PhpWebGallery root directory, it can be used to update a remote
site
- size and maxlength of prefix_thumbnail in admin/configuration are 10
git-svn-id: http://piwigo.org/svn/trunk@534 68402e56-0260-453c-a942-63ccdbb3a9ee
- Deletion of collapsed & expanded gifs (obsoletes)
- Creation of faq language file for further writing of a end user-oriented FAQ
git-svn-id: http://piwigo.org/svn/trunk@532 68402e56-0260-453c-a942-63ccdbb3a9ee
forbidden, only blank spaces are allowed)
- in admin panel, remote site management is in "general" section and not in
"configuration" section
- when retrieving languages, the array keys must be the language code and
not its display name (because 2 language codes might have the same display
name)
git-svn-id: http://piwigo.org/svn/trunk@528 68402e56-0260-453c-a942-63ccdbb3a9ee
- new feature : remote site management (generate listing, update, clean,
delete)
- on category page, no display of filesize if info not available in database
git-svn-id: http://piwigo.org/svn/trunk@526 68402e56-0260-453c-a942-63ccdbb3a9ee
page superior to the first, the right page was displayed (the one
including the element) but the navigation bar was always saying we were on
the first page
- distinguish CSS classes span.dateSelected and span.pageNumberSelected
git-svn-id: http://piwigo.org/svn/trunk@514 68402e56-0260-453c-a942-63ccdbb3a9ee
default, upload, metadata, sessions)
- admin/configuration.php and its template have been higly simplificated by
making things more generic : for example, for each configuration
parameter, its name must correspond to the name we find in the config
table and belongs to a section, in the lang array we find :
- $lang['conf_<section>_<param>']
- $lang['conf_<section>_<param>_info']
- $lang['conf_<section>_<param>_error'] optionnaly
- more described message when connection to database server is impossible
- redefinitions of get_languages and get_templates functions
- deletion of configuration parameters : webmaster, session_keyword
- rename of configuration parameters :
- default_lang => default_language
- default_style => default_template
git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
- reorganisation of special categories menu : template is used only for
template. A special category is presented as the template tells to do so.
- favorites becomes just another special category
- bug correction for best rated category : wrong MySQL query if user has
forbidden categories (see include/functions_category.inc.php diff)
git-svn-id: http://piwigo.org/svn/trunk@510 68402e56-0260-453c-a942-63ccdbb3a9ee
- number of new categories
- number of new elements
- number of deleted categories
- number of deleted elements
- only errors are fully listed
git-svn-id: http://piwigo.org/svn/trunk@498 68402e56-0260-453c-a942-63ccdbb3a9ee
on picture.php page. Metadata read functions were moved from
admin/include/functions_metadata.php to include/functions_metadata.inc.php
git-svn-id: http://piwigo.org/svn/trunk@493 68402e56-0260-453c-a942-63ccdbb3a9ee
- template vars for blocks legend, previous and next returns to this blocks
and are no longer global
git-svn-id: http://piwigo.org/svn/trunk@472 68402e56-0260-453c-a942-63ccdbb3a9ee
by adding a block thumbnails.line.thumbnail.bullet
- adds a CSS class for the name of the thumbnail
git-svn-id: http://piwigo.org/svn/trunk@445 68402e56-0260-453c-a942-63ccdbb3a9ee
- favorite menu link rewritten
- replace image alt attribute representing bullets by a ">"
- add block for calendar navigation
- deletes category information at the bottom of the page
- use CSS style "selected"
git-svn-id: http://piwigo.org/svn/trunk@431 68402e56-0260-453c-a942-63ccdbb3a9ee