aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace another depreciated functions.patdenice2009-10-141-2/+2
| | | | | | Depreciated functions were removed in trunk in commit 3747 by Eric. git-svn-id: http://piwigo.org/svn/branches/2.0@4036 68402e56-0260-453c-a942-63ccdbb3a9ee
* Replace some ereg function (depreciated) by preg_match.patdenice2009-10-141-2/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4035 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fix (use uasort for computed categories instead of usort) - I think ↵rvelices2009-07-201-1/+1
| | | | | | this is an old bug and somehow it worked before) git-svn-id: http://piwigo.org/svn/branches/2.0@3643 68402e56-0260-453c-a942-63ccdbb3a9ee
* correct bug in commit r3623 ( feature 1053 )rvelices2009-07-201-3/+3
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3641 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3622 from trunk to branch 2.0rvelices2009-07-181-41/+51
| | | | | | - feature 1053: hide categories that contain no photo due to privacy level git-svn-id: http://piwigo.org/svn/branches/2.0@3623 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 3145-3146 from trunkrvelices2009-02-141-56/+0
| | | | | | | | | | Last (I hope) paranoic optims ... - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r 3126 from trunkrvelices2009-02-051-12/+12
| | | | | | | | - embellish_url compacts now .. - some trigger improvements (render_category_description) - improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page ) git-svn-id: http://piwigo.org/svn/branches/2.0@3127 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated.plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed some unused constants from constants.phprvelices2008-11-041-14/+1
| | | | | | | - removed some unused css rules - removed unused code git-svn-id: http://piwigo.org/svn/branches/2.0@2823 68402e56-0260-453c-a942-63ccdbb3a9ee
* - security paranoia: protect session/remember me cookies from XSS attacks ↵rvelices2008-10-161-4/+30
| | | | | | (works only if php>=5.2 and with IE/FF maybe others) git-svn-id: http://piwigo.org/svn/branches/2.0@2756 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2752:patdenice2008-10-151-2/+2
| | | | | | | - change mysql_escape_string function (deprecated) by mysql_real_escape_string. - Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/branches/2.0@2753 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed #debug css rule (why would we need that in default-layout?)rvelices2008-09-231-9/+2
| | | | | | | | - order by rank is not available in calendar/chronology mode - small non-functional change in functions_search.inc.php (handy for plugin) - unused variables/smaller code/unused params in func call git-svn-id: http://piwigo.org/svn/trunk@2572 68402e56-0260-453c-a942-63ccdbb3a9ee
* $_SERVER["HTTP_ACCEPT_LANGUAGE"] could be empty so test it.nikrou2008-09-141-1/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@2537 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix too strict regex for emailnikrou2008-09-071-1/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@2507 68402e56-0260-453c-a942-63ccdbb3a9ee
* - add #user_cache.cache_update_time - useful for plugins or the filter when ↵rvelices2008-07-221-13/+8
| | | | | | it is not possible/desirable to cache/calculate data specific to the user when pwg core does it; note that this opens the possibility to implement a data cache (file/shared mem/ etc...) for every user (for very large databases) git-svn-id: http://piwigo.org/svn/trunk@2448 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix some side effects with browser language (wrong display/user creation ↵rvelices2008-07-051-15/+13
| | | | | | in admin and mails to admin in user browser language) git-svn-id: http://piwigo.org/svn/trunk@2425 68402e56-0260-453c-a942-63ccdbb3a9ee
* - put back browser language (deleted by error during my last commit - was ↵rvelices2008-07-011-3/+29
| | | | | | working on an old version) git-svn-id: http://piwigo.org/svn/trunk@2411 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remember me cookie security improvement (the time when the cookie was ↵rvelices2008-07-011-37/+17
| | | | | | | | | | | | generated is saved and checked in range [now-remember_me_length; now] - tags improvements * pass to templates all fields in table #tags (handy for plugins such as type tags) * fix issue with tag letter when first letter is accentuated (utf-8) * tags are sorted on url_name instead of name (accentuated first letter chars are the same as without accent) * better use of columns in by letter display mode git-svn-id: http://piwigo.org/svn/trunk@2409 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 0000080: Browser language detection (Use first active browser ↵vdigital2008-05-311-1/+27
| | | | | | language as language for guest, generic members, registering process). If the language is not available PHPWG_DEFAULT_LANGUAGE is used as previously. git-svn-id: http://piwigo.org/svn/trunk@2371 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000823: Enhance upload functionalitiesrub2008-05-021-3/+3
| | | | | | | | | | | | | | | First commit, others will be follow. Not hesitate to change my translations. Add upload configuration tabsheet (move and add configuration) Change and add define for access level Can show upload link every time Can restrict access upload.class.php Can choice category on upload page Add upload class not use for the moment Review quickly and temporary style of upload.tpl git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
* - move #categories.date_last and nb_images to #user_cache_categoriesrvelices2008-05-011-15/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: jQuery and Accordion Admin menusvdigital2008-04-261-6/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2313 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: as rvelices notified me by email, my header replacement script wasplegall2008-04-051-24/+0
| | | | | | | | | | | | bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall2008-04-041-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
* - security fix (profile)rvelices2008-03-081-5/+4
| | | | | | | - les langues a la hache - fix some copy/paste errors git-svn-id: http://piwigo.org/svn/trunk@2268 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from revision 2236.patdenice2008-03-011-1/+10
| | | | | | | | 801: add trigger in register_user function. 805: add 2 triggers in profile.php. 769: correct get_email_address_as_display_text function. git-svn-id: http://piwigo.org/svn/trunk@2237 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from revision 2228.patdenice2008-02-291-2/+2
| | | | | | | | | Resolved bugs: 741 and 793: Added user does not appear in listing. 769: show email address in adviser mode when editing user profil. 800: get_absolute_root_url does not work with https protocol. git-svn-id: http://piwigo.org/svn/trunk@2229 68402e56-0260-453c-a942-63ccdbb3a9ee
* little correctionsrub2008-02-271-2/+3
| | | | | | | Merge branch-1_7 2219:2220 into BSF git-svn-id: http://piwigo.org/svn/trunk@2221 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000784: Mail notification disabled on register userrub2007-12-111-17/+40
| | | | | | Merge branch-1_7 2176:2177 into BSF git-svn-id: http://piwigo.org/svn/trunk@2178 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add is_generic functionvdigital2007-11-191-6/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@2163 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: Language Switch plugin supportvdigital2007-11-181-0/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@2161 68402e56-0260-453c-a942-63ccdbb3a9ee
* - RSS feed is PWG charsetrvelices2007-10-091-74/+0
| | | | | | | | | - iptc are now converted from iso-8859-1 or utf-8 (automatic detection) to pwg charset - remove function get_language_filepath - load_language also checks for the default language git-svn-id: http://piwigo.org/svn/trunk@2132 68402e56-0260-453c-a942-63ccdbb3a9ee
* - PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 readyrvelices2007-10-091-8/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved 0000759: email unique for each userrub2007-10-061-3/+5
| | | | | | Fix bug of last commit 2115 git-svn-id: http://piwigo.org/svn/trunk@2124 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved 0000759: email unique for each userrub2007-10-011-12/+31
| | | | git-svn-id: http://piwigo.org/svn/trunk@2115 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 731: permissions at image level rvelices2007-09-111-28/+68
| | | | | | - this is the first version - I wait for feedback before changing help files git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000717: guest must be guestrub2007-07-071-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@2055 68402e56-0260-453c-a942-63ccdbb3a9ee
* Error on my last commit 2038rub2007-06-211-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@2039 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000708: Error on synchronizationrub2007-06-211-8/+5
| | | | | | | | Resolved issue 0000709: Error with $conf['default_admin_layout'] git-svn-id: http://piwigo.org/svn/trunk@2038 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000489: Mail address obligatoryrub2007-06-101-2/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2032 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000697: with generic user a author name is necessary to ↵rub2007-06-051-14/+40
| | | | | | | | | comment picture. + Change way to determinate if user is a guest (use functions like is_admin) git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 0000682: Error on user registrationrub2007-04-271-2/+1
| | | | | | | | On register page when the 2 passwords are not the same, an error occurs but user is also created. => Just error must be raised. git-svn-id: http://piwigo.org/svn/trunk@1985 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove forgotten debug linerub2007-03-301-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@1933 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 578rub2007-03-281-4/+18
| | | | | | | | | 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
* Issue 578rub2007-03-281-60/+170
| | | | | | | | | | 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
* Fix bad default value for language on table user_inforub2007-03-131-3/+9
| | | | | | | 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
* - bug 654: sql error on user comment (since my commit 1849)rvelices2007-02-261-48/+36
| | | | | | | | - languages: english corrections + keep lang files sorted by key - admin multi view correction: language was not always properly changed - refactor function get_computed_categories (with rub's blessing) git-svn-id: http://piwigo.org/svn/trunk@1860 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug on my revision 1851.rub2007-02-231-17/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@1854 68402e56-0260-453c-a942-63ccdbb3a9ee
* o Proposition: improved display of 'x images in y sub-categories' or 'x ↵rub2007-02-221-17/+23
| | | | | | | | images in this category' for cases when categories contain both images and sub-categories o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development) git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee
* - change the way conf['guest_access'] is handled so that web services work ↵rvelices2007-02-221-11/+18
| | | | | | correctly (and also nbm.php and feed.php) git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee