aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* feature 288: manage rates for administratorsrvelices2006-02-1511-10/+373
| | | | git-svn-id: http://piwigo.org/svn/trunk@1042 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 251: Rating For Anonymous usersrvelices2006-02-146-120/+283
| | | | | | | | | | | | | 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
* merge -r1038:1039 from branches/branch-1_5 into trunk (bug 269 fixed)plegall2006-02-131-6/+28
| | | | | | | | improvement: use a cache on get_icon function since it's often used with the same argument on a page generation. git-svn-id: http://piwigo.org/svn/trunk@1040 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r1036:1037 from branches/branch-1_5 into trunk (bug 276 fixed)plegall2006-02-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@1038 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: $page['where'] string replaced by $page['items'].plegall2006-02-1212-611/+645
| | | | | | | | | | | | | | | | | | | | | | | $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
* not include .svn directory in the candidates (get_dirs function) for new themesnikrou2006-02-121-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@1035 68402e56-0260-453c-a942-63ccdbb3a9ee
* The session garbage collector should not be called when a session is closednikrou2006-02-121-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@1034 68402e56-0260-453c-a942-63ccdbb3a9ee
* remake Remote Site/Synchro - bug on commentable + use l10n instead of get_langrvelices2006-02-113-48/+36
| | | | git-svn-id: http://piwigo.org/svn/trunk@1033 68402e56-0260-453c-a942-63ccdbb3a9ee
* small modification: we can now store any information in sessionsnikrou2006-02-111-1/+2
| | | | | | (cf topic:5667) git-svn-id: http://piwigo.org/svn/trunk@1032 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 77: standard navigation link - finalizedrvelices2006-02-106-60/+54
| | | | | | | | | 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
* merge branch 1.5 into trunk r1001:1002: bug 259 fixednikrou2006-02-091-7/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@1030 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remake of Remote sites and Synchronize: rvelices2006-02-0822-36/+1770
| | | | | | | | | | | | | | | - 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
* [NBM] Step 2: Add new table user_mail_notification (update, install, ↵rub2006-02-064-9/+91
| | | | | | | | constants, delete user + Correction delete user (table user_feed missing, table sessions must be removed) git-svn-id: http://piwigo.org/svn/trunk@1028 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: upgrades id retrieving in include/common.inc.php andplegall2006-02-064-33/+45
| | | | | | | | | | | | upgrade_feed.php are now made by dedicated function get_available_upgrade_ids. bug fixed: after an installation, you had to play all available upgrades, which was wrong. install.php inserts informations related to all available upgrades at installation time. Thus avoiding automatic upgrades. git-svn-id: http://piwigo.org/svn/trunk@1027 68402e56-0260-453c-a942-63ccdbb3a9ee
* Languages corrections: bug 225, 237, 248, 257, 258 fixednikrou2006-02-044-13/+13
| | | | git-svn-id: http://piwigo.org/svn/trunk@1025 68402e56-0260-453c-a942-63ccdbb3a9ee
* html error: title_send_mail should be encoded nikrou2006-02-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@1024 68402e56-0260-453c-a942-63ccdbb3a9ee
* fixed problem of cookie session pathnikrou2006-02-032-5/+6
| | | | | | | fixed problem of undefined variable conf in upgrade_feed.php fixed problem of undefined index is_the_guest of tab variable user git-svn-id: http://piwigo.org/svn/trunk@1023 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 280: code simplificationrvelices2006-02-012-18/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@1022 68402e56-0260-453c-a942-63ccdbb3a9ee
* Applying coding style guidelines to r1018 and r1019.plegall2006-02-015-328/+367
| | | | | | | | | | | | | | | | New function get_webmaster_mail_address used in include/page_tail.php and include/functions_mail.inc.php. Nothing else than functions in include/functions*, init_conf_mail() was useless in include/functions_mail.inc.php because $conf_mail is only used in function pwg_mail. bug fixed: files include/functions_mail.inc.php and include/functions_notification.inc.php had been commited in DOS format! Unix file format is the only file format authorized. git-svn-id: http://piwigo.org/svn/trunk@1021 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 280: Allow visitors/users to choose image ordering inside a categoryrvelices2006-02-0115-45/+229
| | | | | | | | | | | 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
* [NBM] Step 1: Create new include files with current notification/mail ↵rub2006-01-312-0/+336
| | | | | | fonctions (with improvement) git-svn-id: http://piwigo.org/svn/trunk@1019 68402e56-0260-453c-a942-63ccdbb3a9ee
* [NBM] Step 1: Create new include files with current notification/mail ↵rub2006-01-313-224/+10
| | | | | | fonctions (with improvement) git-svn-id: http://piwigo.org/svn/trunk@1018 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge branch 1.5 r1015:1016 into trunk (bug 277 fixed)nikrou2006-01-281-1/+1
| | | | | | Caddie text is always in english git-svn-id: http://piwigo.org/svn/trunk@1017 68402e56-0260-453c-a942-63ccdbb3a9ee
* Search engine redesign, second part :plegall2006-01-279-25/+373
| | | | | | | | | | | | | | | 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
* improvement: got rid of num= _GET param in category.php (use only start=) sorvelices2006-01-277-33/+83
| | | | | | | | | | | | | | | | | 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
* bug: new session system does not use db session handler during install.phprvelices2006-01-251-1/+31
| | | | | | | | bug: put back function generate_key (was also used by new password generation and new feed generation) git-svn-id: http://piwigo.org/svn/trunk@1013 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge branch 1.5 r1010:1011 into BSF:nikrou2006-01-213-5/+17
| | | | | | - bug 268 fixed: display debug content correctly git-svn-id: http://piwigo.org/svn/trunk@1012 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve sessions: add comments to functionsnikrou2006-01-211-28/+60
| | | | git-svn-id: http://piwigo.org/svn/trunk@1010 68402e56-0260-453c-a942-63ccdbb3a9ee
* Code cleaning (deletion of previously commented code)plegall2006-01-201-21/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@1009 68402e56-0260-453c-a942-63ccdbb3a9ee
* Search engine redesign, first part :plegall2006-01-207-221/+374
| | | | | | | | | | | | | | | | | | | | | - new table #search to store search rules associated to a search id. - search rules are not passed through GET anymore, the search array build in search.php is serialized in #search table, so no need to rebuild it in function include/functions_category.inc.php::category_initialize - search array build code is improved (efficiency and layout) in search.php - SQL related to search is build in a dedicated function include/functions::get_sql_search_clause - direct search author:<...>, date_avalaible:<...>, date_creation:<...>, keywords:<...> from picture.php are not available anymore. They will come back later, with improvement (new design). Same for date_*:<> in calendar calendar category. git-svn-id: http://piwigo.org/svn/trunk@1008 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix 261: improve security of sessions (next to svn:1004):nikrou2006-01-184-37/+123
| | | | | | | - improve presentation code style - add upgrade database file git-svn-id: http://piwigo.org/svn/trunk@1007 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge branch 1.5 r1000:1001 into BSF: nikrou2006-01-171-0/+1
| | | | | | not include .svn directory in the candidates directories for update git-svn-id: http://piwigo.org/svn/trunk@1006 68402e56-0260-453c-a942-63ccdbb3a9ee
* Improve security of sessions: nikrou2006-01-1543-349/+247
| | | | | | | - use only cookies to store session id on client side - use default php session system with database handler to store sessions on server side git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r998:999 from branches/branch-1_5 into trunk (bug 260 fixed)nikrou2006-01-071-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@1000 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r960:997 from branches/branch-1_5 into trunk (bug 238 fixed)nikrou2006-01-011-1/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@998 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix bug 249: XHTML Validation in install.phpchrisaga2005-12-311-8/+9
| | | | | | | install.tpl is now HTML4.01 strict git-svn-id: http://piwigo.org/svn/trunk@996 68402e56-0260-453c-a942-63ccdbb3a9ee
* deletion: of unused code in picture.phpchrisaga2005-12-302-8/+18
| | | | | | | merge -r993:994 from branches/branch-1_5 into trunk (bug 254 fixed). git-svn-id: http://piwigo.org/svn/trunk@995 68402e56-0260-453c-a942-63ccdbb3a9ee
* - svn : set svn keywords for action.phpchrisaga2005-12-191-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@986 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 232 : icon tool to download big image in pwg_high if existschrisaga2005-12-193-4/+83
| | | | | | | | - 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
* cosmetic : change page title form {PAGE_TITLE} to ↵chrisaga2005-12-121-1/+1
| | | | | | {GALLERY_TITLE}:{PAGE_TITLE} in template git-svn-id: http://piwigo.org/svn/trunk@983 68402e56-0260-453c-a942-63ccdbb3a9ee
* cosmetic : provide a "favicon" to the browserchrisaga2005-12-112-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@982 68402e56-0260-453c-a942-63ccdbb3a9ee
* template : fix categoryActions margins and picture page title backgroundchrisaga2005-12-102-30/+36
| | | | git-svn-id: http://piwigo.org/svn/trunk@981 68402e56-0260-453c-a942-63ccdbb3a9ee
* template : {themeconf:icon_dir}/*.png in admin/*.tplchrisaga2005-12-1013-26/+26
| | | | git-svn-id: http://piwigo.org/svn/trunk@980 68402e56-0260-453c-a942-63ccdbb3a9ee
* - manual merge -r976:977 from branch 1.5 (background color for comments)plegall2005-12-091-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@978 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r974:975 from branch 1.5 (PHP warning bug fixed)plegall2005-12-091-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@976 68402e56-0260-453c-a942-63ccdbb3a9ee
* add feature 221 : Add a link to "lost password" in quick connect formchrisaga2005-12-034-21/+38
| | | | | | | 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
* - bug 205 fixed: advise to perform maintenance actions at the end of upgradeplegall2005-12-031-0/+6
| | | | | | | process. git-svn-id: http://piwigo.org/svn/trunk@971 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix : errors.png and infos.png path was incorrect in default-colors.csschrisaga2005-12-031-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@970 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r967:968 from branches/branch-1_5 into trunk (bug 220 fixed)plegall2005-12-031-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@969 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r965:966 from branches/branch-1_5 into trunk (bug 224 fixed)plegall2005-12-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@967 68402e56-0260-453c-a942-63ccdbb3a9ee