| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$conf['newuser_default_enabled_high'] during user infos creation. Useless
use of boolean_to_string on $conf['newcat_default_status'] was removed.
modification: loading configuration parameter from database was moved to a
dedicated function to be called from include/common.inc.php and from
install.php.
improvement: use of clean insert function during install.
bug fixed: during user information creation, support new status
webmaster/normal/guest instead of admin/guest.
bug fixed: during install, no need to insert obsolete mail_webmaster
configuration parameter.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1282 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1230 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
|
|
|
|
|
|
|
|
|
|
| |
fix: cookie deletion on logout uses ini_get (on some systems
ini_set(cookie_path) is ignored)
bug 322: locked category is visible to all the users/groups that have been
assigned the permissions
git-svn-id: http://piwigo.org/svn/trunk@1117 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improve: add function access_denied called when check_status or
check_restrictions fail
fix: french language correction
fix: remove php warnings in clean_iptc_value
split search functions into include/functions_search.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1113 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
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@1081 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
|
|
|
|
|
|
|
|
|
|
| |
o Correction lock categories and is_admin (functions with parameters now)
o Cannot use check_status with upgrade.php and upgrade_feed.php => New function check_upgrade use in upgrade*.php (new functionality for upgrade_feed.php)
o upgrade_feed.php is showed only for administrator user
git-svn-id: http://piwigo.org/svn/trunk@1075 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
o Add and use Functions Check of status
o Restricted Access for user generic
git-svn-id: http://piwigo.org/svn/trunk@1072 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
| |
o Change status of table #_user_infos
o Don't send password to webmaster, guest, generic
Next Step:
o Functions Check of status
o Restricted Access for user generic
git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
log_user called from identification and register)
bug fix: empty line at the beginning of functions.php disallowed cookies
(and hence logging in)
git-svn-id: http://piwigo.org/svn/trunk@1068 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$page['where'] was an SQL clause used to retrieve pictures in #images
table. $page['items'] is the list of picture ids of the current section.
improvement: function initialize_category replaced by dedicated included PHP
script include/section_init.inc.php. Code was refactored to improve
readibility and maintenability. $page['navigation_bar'] is now build in
category.php instead of initialize_category function. Function check_cat_id
was also replaced by a piece of code in the new file. The file to include to
display thumbnails from category.php is now set in section_init.inc.php
instead of calculated in category.php.
bug fix: the test for rel="up" link for standard HTML navigation links in
category menu was not working with non numeric categories, such as
"favorites".
improvement: function check_login_authorization removed because useless but
in profile.php.
git-svn-id: http://piwigo.org/svn/trunk@1036 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
|
|
|
|
|
|
|
|
| |
PHPWG_DEFAULT_LANGUAGE added. New function get_language_filepath always
used to find language files.
git-svn-id: http://piwigo.org/svn/trunk@879 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- bug fixed: uses user configuration fields for filtering in admin/user_list
- bug fixed: don't try to create feeds automatically during sync_users (when
line in user_infos is missing)
- bug fixed: create_user_infos function gives status admin if user id
matches $conf['webmaster_id']
git-svn-id: http://piwigo.org/svn/trunk@865 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
|
|
|
|
|
|
|
|
|
| |
restrictive. Instead of deleting a favorite because it belongs to at least
one forbidden category, a favorite is deletedif it belongs to no
authorized category (which was the expected behaviour).
git-svn-id: http://piwigo.org/svn/trunk@832 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
user id was transmitted
git-svn-id: http://piwigo.org/svn/trunk@708 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
| |
- taking into account locked categories during permissions calculation
git-svn-id: http://piwigo.org/svn/trunk@680 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- my_error function moved from admin/include/functions.php to
include/functions.inc.php
- because MySQL temporary tables are not always authorized on creation, use
a temporary table name (with the current microsecond) on a non temporary
table (in mass_updates function)
- ability to retrieve distant full directories (usefull in upgrade scripts)
- global variables $count_queries and $queries_time moved into global array
$page
- get_cat_display_name displays category names in correct order : the one
given by uppercats
- function setup_style simplified
- default value for configuration parameter "show_nb_comments" set to false
(less queries by default)
git-svn-id: http://piwigo.org/svn/trunk@672 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@661 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
|
|
|
|
|
|
|
| |
instead
git-svn-id: http://piwigo.org/svn/trunk@651 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- deletion of $isadmin variable, replaced by constant IN_ADMIN
- small refactoring
- in include/common.inc.php, deletion of useless part "Obtain and encode
users IP" and corresponding functions encode_ip and decode_ip
- definition of $conf['default_language'] deleted from
include/config.inc.php : it is already present in database table config
- function init_userprefs deleted (useless), all its content moved to
include/user.inc.php
- admin.lang.php and faq.lang.php are loaded only if current user is in
administrative section
git-svn-id: http://piwigo.org/svn/trunk@650 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
Deletion of some PREFIX_TABLE occurences
git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
- DEBUG constant divided into $conf['show_queries'] and $conf['show_gt']
(display generation time at the bottom of each page)
git-svn-id: http://piwigo.org/svn/trunk@592 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
features
- by default, DEBUG is set to 0 (off)
git-svn-id: http://piwigo.org/svn/trunk@587 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
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@524 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
|
|
|
| |
default_style (renamed to default_language and default_template),
session_keyword
- in install.php, corrects bug to deletion of language keys :
conf_general_webmaster, conf_general_webmaster_info and renaming of
conf_general_mail
git-svn-id: http://piwigo.org/svn/trunk@518 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@463 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@452 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@423 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@398 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
- Admin Control Panel migration
- Category management
git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
| |
- Admin Control Panel migration
- Language migration
git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@367 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
| |
git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
|
|
|
|
|
|
|
|
|
| |
Creation of an unique include file (common.php)
Creation of an unique define file (include/constants.php)
Modification of the installation procedure
git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
|