Commit graph

145 commits

Author SHA1 Message Date
z0rglub
09a00acc0c - bug 55 : Cannot redeclare scandir(), this function is new in PHP 5.x
git-svn-id: http://piwigo.org/svn/branches/release-1_3@557 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-07 21:42:22 +00:00
z0rglub
138fe984a2 bug 43 : disable possibility to create thumbnail for pictures containing wrong characters
git-svn-id: http://piwigo.org/svn/branches/release-1_3@549 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-03 18:58:00 +00:00
z0rglub
a16ebeda85 bug 15 : useless index in categories dropped
git-svn-id: http://piwigo.org/svn/branches/release-1_3@407 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31 21:14:51 +00:00
z0rglub
44dfda7a10 bug 22 : can't create a virtual category at root (with a list of values as
parent category)


git-svn-id: http://piwigo.org/svn/branches/release-1_3@389 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-12 23:15:45 +00:00
z0rglub
fc6b9d6a79 delete debug prints
git-svn-id: http://piwigo.org/svn/branches/release-1_3@379 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-28 09:23:27 +00:00
z0rglub
ca540ce7bc comments on echo
git-svn-id: http://piwigo.org/svn/branches/release-1_3@377 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-27 17:37:10 +00:00
z0rglub
76f75f3042 changing error reporting level to stay calm when undefined indexes are found
in language files


git-svn-id: http://piwigo.org/svn/branches/release-1_3@372 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-24 23:10:37 +00:00
z0rglub
3a98bb3f88 Php Warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@338 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-31 20:38:46 +00:00
z0rglub
1121543ad9 if a category has no last_date, the corresponding date_last in user_category
table is also NULL


git-svn-id: http://piwigo.org/svn/branches/release-1_3@334 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:49:24 +00:00
z0rglub
6119c01fbb Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@333 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:48:30 +00:00
z0rglub
f7527692b3 changing get_restrictions to get_user_restrictions
git-svn-id: http://piwigo.org/svn/branches/release-1_3@332 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:47:47 +00:00
z0rglub
27c7e9d5a2 - Php warnings correction
- many categories management : display a simple text field for uppercat id
   instead of a selection box


git-svn-id: http://piwigo.org/svn/branches/release-1_3@331 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:47:18 +00:00
z0rglub
6ea2c1b7d9 Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@330 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:33:42 +00:00
gweltas
9e4078def4 CSS Admin creation
git-svn-id: http://piwigo.org/svn/branches/release-1_3@329 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-29 22:31:43 +00:00
z0rglub
ee8227a3ce Php Warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@328 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-29 21:18:53 +00:00
z0rglub
3a07d869d0 during synchronization, moving the structure creation to previous the update
of users forbidden categories


git-svn-id: http://piwigo.org/svn/branches/release-1_3@323 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-26 23:31:56 +00:00
z0rglub
12fd934471 moving the synchronization between data and calculated after the real update
of the category status (still if changed)


git-svn-id: http://piwigo.org/svn/branches/release-1_3@322 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-26 23:29:52 +00:00
z0rglub
e39dc7c0ab Php Warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@319 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-24 22:57:36 +00:00
z0rglub
c882b26915 bug correction : no filename displayed when containing forbidden characters
git-svn-id: http://piwigo.org/svn/branches/release-1_3@318 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-24 22:56:41 +00:00
z0rglub
d92002f922 - Php Warnings correction (file not found)
- feature 5 : using same mail address for webmaster and initial admin


git-svn-id: http://piwigo.org/svn/branches/release-1_3@317 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-24 22:55:02 +00:00
z0rglub
40a11658a9 Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@311 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 23:33:56 +00:00
z0rglub
54813d73b0 bug correction : POST[associate] was always set even if not ! test also the
emptiness of the var


git-svn-id: http://piwigo.org/svn/branches/release-1_3@308 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 22:14:47 +00:00
z0rglub
1dea45e873 Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@307 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 22:03:20 +00:00
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