Commit graph

122 commits

Author SHA1 Message Date
z0rglub
d65473d1bc Php warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@306 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 07:49:57 +00:00
z0rglub
9180de2f11 Php warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@305 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 07:43:54 +00:00
z0rglub
e8f465a67a Php warnings corrections
git-svn-id: http://piwigo.org/svn/branches/release-1_3@304 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-19 22:33:26 +00:00
z0rglub
982bc009b6 Performances improved : replacing the useless LEFT JOIN by INNER JOIN
git-svn-id: http://piwigo.org/svn/branches/release-1_3@301 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-19 21:18:34 +00:00
z0rglub
7250f30ce7 Use the stored calculated date users.forbidden_categories instead of trying
to use a deprecated function get_all_restrictions


git-svn-id: http://piwigo.org/svn/branches/release-1_3@293 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 21:56:20 +00:00
z0rglub
c058388379 Updating insert_remote* function the same way the local ones : really faster !
git-svn-id: http://piwigo.org/svn/branches/release-1_3@285 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:14:41 +00:00
z0rglub
9e0303774b Using a one shot function to retrieve all directories : faster
git-svn-id: http://piwigo.org/svn/branches/release-1_3@284 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:13:49 +00:00
z0rglub
020d991cb1 synchronize user calculated data if a (some) site is deleted
git-svn-id: http://piwigo.org/svn/branches/release-1_3@283 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:13:12 +00:00
z0rglub
a2626afcee UPDATE query in update_category was not correctly written and never executed
git-svn-id: http://piwigo.org/svn/branches/release-1_3@282 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 12:40:23 +00:00
z0rglub
b8d74dde50 improved function update_category essentially by using INNER JOIN instead of
LEFT JOIN


git-svn-id: http://piwigo.org/svn/branches/release-1_3@281 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 23:19:51 +00:00
gweltas
384ec739f6 Correction of php warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@280 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 17:06:45 +00:00
gweltas
855398f63e Corretion of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@279 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 00:11:00 +00:00
z0rglub
fb880db771 Improved function insert_local_image : about 80 to 90 % of update time saved
:-)


git-svn-id: http://piwigo.org/svn/branches/release-1_3@278 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-13 22:43:18 +00:00
z0rglub
1c59964dff Adding functions to retrieve all files from a directory into an array :
- get_picture_files : returns an array with all picture files according to
   $conf['picture_ext']

 - get_thumb_files : returns an array with all thumbnails according to
   $conf['picture_ext'] and $conf['prefix_thumbnail']


git-svn-id: http://piwigo.org/svn/branches/release-1_3@277 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-13 22:36:56 +00:00
gweltas
0fa0c8bb07 Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-12 23:41:53 +00:00
gweltas
e1b59cb0a8 Corrections de quelques warnings php.
git-svn-id: http://piwigo.org/svn/branches/release-1_3@274 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 23:40:39 +00:00
z0rglub
298077dff6 - adding table user_category
- adding field users.forbidden_categories

 - adding field categories.uppercats

 - adding indexes


git-svn-id: http://piwigo.org/svn/branches/release-1_3@273 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 21:02:49 +00:00
z0rglub
7254f66549 improved again function insert_local_category : only one multiple insert
query, one update for uppercats field


git-svn-id: http://piwigo.org/svn/branches/release-1_3@272 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 00:05:10 +00:00
z0rglub
1592a942f0 add get_category_directories function
git-svn-id: http://piwigo.org/svn/branches/release-1_3@270 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 23:17:51 +00:00
z0rglub
185b2c2596 improvement of insert_local_category function : less SQL queries, only one
short access to filesystem.


git-svn-id: http://piwigo.org/svn/branches/release-1_3@269 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 23:17:24 +00:00
z0rglub
09da40f461 using new syntax for get_dirs
git-svn-id: http://piwigo.org/svn/branches/release-1_3@263 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-04 10:15:35 +00:00
z0rglub
61f40a7eb4 - when deleting a user, deletes rows in user_category
- when deleting a group, first synchronize_group

 - add functions
                 . get_plain_structure
                 . create_structure
                 . get_subcats_ids
                 . get_all_subcats_ids
                 . update_user_category
                 . update_uppercats
                 . get_user_restrictions
                 . synchronize
                 . synchronize_all_users
                 . synchronize_user
                 . synchronize_group
                 . update_user_restrictions
                 . get_user_all_restrictions
                 . is_user_allowed


git-svn-id: http://piwigo.org/svn/branches/release-1_3@262 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:46:16 +00:00
z0rglub
179be31976 if permissions modified, synchronize_user
git-svn-id: http://piwigo.org/svn/branches/release-1_3@261 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:41:13 +00:00
z0rglub
5dddcea90c if associate or dissociate from a group, synchronize_user
git-svn-id: http://piwigo.org/svn/branches/release-1_3@260 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:40:47 +00:00
z0rglub
74878b33e3 if any update has been done, synchronize_all_users
git-svn-id: http://piwigo.org/svn/branches/release-1_3@259 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:39:52 +00:00
z0rglub
fa92671b15 for virtual category to picture association, if the number of categories is
more than $conf['max_LOV_categories'], we only show a text box asking parent
category id


git-svn-id: http://piwigo.org/svn/branches/release-1_3@258 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:36:59 +00:00
z0rglub
02f153125b if permissions are updated, synchronize_group
git-svn-id: http://piwigo.org/svn/branches/release-1_3@257 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:31:27 +00:00
z0rglub
caad9b65c6 if permissions are updated, synchronize_all_users
git-svn-id: http://piwigo.org/svn/branches/release-1_3@256 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:30:55 +00:00
z0rglub
9c55b0f45c if category status changes, synchronize_all_users
git-svn-id: http://piwigo.org/svn/branches/release-1_3@255 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:29:59 +00:00
z0rglub
7c9c3eb42b - categories are now collapsed if there is more than
$conf['max_LOV_categories'] categories

 - if there is more than $conf['max_LOV_categories'] categories, there is no
   list of values of parent for adding virtual category

 - synchronize_all_users if adding or deleting a virtual category

 - in the url link to up,first,down,last #id is not shown anymore


git-svn-id: http://piwigo.org/svn/branches/release-1_3@254 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:29:13 +00:00
z0rglub
25f2c15f77 Use install language for "guest" user
git-svn-id: http://piwigo.org/svn/trunk@205 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 15:27:04 +00:00
z0rglub
f9d7b25c23 Display a message of warning if file admin/install.php is still present
after install.


git-svn-id: http://piwigo.org/svn/trunk@202 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 14:54:06 +00:00
z0rglub
b29e955167 Display a message linked to the help forum
git-svn-id: http://piwigo.org/svn/trunk@199 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 14:32:06 +00:00
z0rglub
2978cbc1b3 When reordering a category, the page comes back with the top aligned with
the moved category


git-svn-id: http://piwigo.org/svn/trunk@198 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 14:30:46 +00:00
z0rglub
673228fbe8 If there is no date given in the form, function check_date_format doesn't
send a warning


git-svn-id: http://piwigo.org/svn/trunk@196 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-11 14:17:07 +00:00
z0rglub
2341e82094 Show a link to open or close a day details (only the arrow at the beginning
of the line was not enough).


git-svn-id: http://piwigo.org/svn/trunk@195 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-11 14:16:21 +00:00
z0rglub
af22c24545 Only the webmaster can modify webmaster's permissions
git-svn-id: http://piwigo.org/svn/trunk@190 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-09 19:39:59 +00:00
z0rglub
721ce0f934 if we try to modify the webmaster, we have to set the status to "admin"
git-svn-id: http://piwigo.org/svn/trunk@188 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-09 19:39:30 +00:00
z0rglub
1ee0d7153c Support of special syntax to underline, emphasis or italic words in users
comments


git-svn-id: http://piwigo.org/svn/trunk@180 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 13:43:00 +00:00
z0rglub
458b548ef6 Display a message to update the database after validating uploaded pictures
git-svn-id: http://piwigo.org/svn/trunk@177 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 13:10:54 +00:00
z0rglub
ddcce44dfa Webmaster mustn't have his status modified
git-svn-id: http://piwigo.org/svn/trunk@171 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 10:59:42 +00:00
z0rglub
c7910b9679 Checking favorites after modifying group permissions
git-svn-id: http://piwigo.org/svn/trunk@170 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 10:42:54 +00:00
z0rglub
907e07ce19 Every user (including the webmaster) must have his favorites checked
git-svn-id: http://piwigo.org/svn/trunk@169 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 10:41:33 +00:00
z0rglub
fbe8d191b2 Deleting dead code
git-svn-id: http://piwigo.org/svn/trunk@168 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 10:40:53 +00:00
z0rglub
6d0112b562 Bug in the deletion of favorites : even if the category was authorized, the
favorites where deleted for the user


git-svn-id: http://piwigo.org/svn/trunk@167 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-04 17:13:19 +00:00
z0rglub
0a79e27155 The generation of mail address works back. Since the add of another form on
the same page, it didn't work, because, when adding a new user and no
errors, the $_POST was cleaned, but made no differences between the 2
forms...


git-svn-id: http://piwigo.org/svn/trunk@164 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-24 19:30:24 +00:00
z0rglub
5d511623e5 $cat_directory was not used in the function
git-svn-id: http://piwigo.org/svn/trunk@163 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-23 21:37:31 +00:00
z0rglub
8f1394a7b7 Filename must use the same characters as the directories
git-svn-id: http://piwigo.org/svn/trunk@161 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-23 21:37:04 +00:00
z0rglub
1d7758f029 Filename must use the same characters as the directories
git-svn-id: http://piwigo.org/svn/trunk@160 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-22 20:45:44 +00:00
z0rglub
e6abf333fe Add seconds for display
git-svn-id: http://piwigo.org/svn/trunk@157 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-21 18:27:13 +00:00