aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* request 302: order categories alphanumericallyplegall2006-03-064-40/+79
| | | | | | | alphanumerically sort of language keys in admin.lang.php git-svn-id: http://piwigo.org/svn/trunk@1066 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: table #categories_link was created with an hardcoded prefixplegall2006-03-053-16/+133
| | | | | | | | | | bug fixed: on source/destination links, if an image/category association is added to a source, destinations must be filled. If an image/category association is delete from a source, the same association must be deleted in the destinations. git-svn-id: http://piwigo.org/svn/trunk@1065 68402e56-0260-453c-a942-63ccdbb3a9ee
* new feature: source/destination links between categories. Will we keep thisplegall2006-03-0416-288/+1317
| | | | | | | | | | | | | | | | | feature? Code is complicated and very few people will understand how it works... modification: #images.storage_category_id replaced by #image_category.is_storage improvement: many code refactoring to improve readibility improvement: virtual category creation code was moved to a dedicated function in order to be called from admin/cat_list.php and admin/cat_modify.php (create a new destination category) git-svn-id: http://piwigo.org/svn/trunk@1064 68402e56-0260-453c-a942-63ccdbb3a9ee
* optimization: in sessions write 1 less sql query (except during login)rvelices2006-03-032-39/+31
| | | | | | bug: corrected algorithm for pretty calendar month view git-svn-id: http://piwigo.org/svn/trunk@1063 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: calendar navigation now uses at maximum one navigation barrvelices2006-03-039-96/+176
| | | | | | | | | | | together with a next/previous date links improvement: calendar view styles now shown in DIV.titrePage (I still need to move padding from H2 to DIV.titrePage ...) fix: moved all calendar css colors from template to the theme git-svn-id: http://piwigo.org/svn/trunk@1062 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar improvement: month calendar view a la flickrrvelices2006-03-0110-118/+396
| | | | | | | | fix: html 4.01 compliant in rating.tpl fix: issue with IE from version 1052 (redirect on access denied) git-svn-id: http://piwigo.org/svn/trunk@1061 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: replaced UPDATE ... LEFT JOIN for compatibility with MySql 3rvelices2006-03-011-47/+55
| | | | git-svn-id: http://piwigo.org/svn/trunk@1060 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar improvements: week on weekly list starts on Monday,rvelices2006-02-2819-336/+470
| | | | | | | | | | | ability to show grayed months/weeks/days (without any picture in it), added icons for created/posted fields language uniformization calendar fixes: correct number of pictures in calendar view, code simplification (I hope so) git-svn-id: http://piwigo.org/svn/trunk@1059 68402e56-0260-453c-a942-63ccdbb3a9ee
* remake of Remote sites and synchronize: final integration and old code cleanuprvelices2006-02-2818-3415/+1760
| | | | | | | fix: xml getAttribute always decodes html entities and added encodeAttribute function git-svn-id: http://piwigo.org/svn/trunk@1058 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar: added posted/created chronologyrvelices2006-02-249-259/+392
| | | | | | | | | | | | | | calendar: added a where are we bar (like: created/2005/august) calendar: possibility to hide the All/Any buttons ($conf['calendar_show_any']) calendar: possibility to display a single navigation bar instead of several navigation bars ($conf['calendar_multi_bar']) calendar: tried to simplify code and improve readability (still requires a review) git-svn-id: http://piwigo.org/svn/trunk@1057 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: remove all php warnings and noticesrvelices2006-02-248-308/+323
| | | | git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee
* try and set propset svn:eol-style nativervelices2006-02-242-406/+406
| | | | git-svn-id: http://piwigo.org/svn/trunk@1055 68402e56-0260-453c-a942-63ccdbb3a9ee
* modification: DAY() MySQL function replaced by DAYOFMONTH() to improveplegall2006-02-234-434/+494
| | | | | | | | | | | | | | | | backward compatibility (this function was added in MySQL 4.1) bug fixed: with chronology mode, PWG displays thumbnails on main page if even if no category (which will soon be called "section") is set. This was producing warnings on category.php from include/category_default.inc.php. refactoring: on include/calendar_base.class.php and include/functions_calendar.inc.php. Unix file format, coding guidelines, etc. While trying to understand the code, I've made some presentation modification to clarify variable names and so on. git-svn-id: http://piwigo.org/svn/trunk@1053 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: permissioning not working (2 bugs)rvelices2006-02-239-17/+45
| | | | | | | | | | | | | fix: locked gallery cannot be unlocked (impossible to login) improvement: nicer display in redirect.tpl improvement: when a page is not accessible because of permissions (accessed through bookmark or email), redirect to identification.php and after identification to the initially requested page git-svn-id: http://piwigo.org/svn/trunk@1052 68402e56-0260-453c-a942-63ccdbb3a9ee
* new calendar completely integratedrvelices2006-02-238-620/+128
| | | | git-svn-id: http://piwigo.org/svn/trunk@1051 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar redesign: monthly and weekly styles + list/calendar views for monthlyrvelices2006-02-2211-340/+788
| | | | git-svn-id: http://piwigo.org/svn/trunk@1050 68402e56-0260-453c-a942-63ccdbb3a9ee
* Step 3: Integration of new admin menu with the associated file (No ↵rub2006-02-205-0/+318
| | | | | | interface, Only Message) git-svn-id: http://piwigo.org/svn/trunk@1049 68402e56-0260-453c-a942-63ccdbb3a9ee
* request 290: replace function get_themes name to avoid redeclaration fromplegall2006-02-204-21/+21
| | | | | | | Wordpress in jillij template. git-svn-id: http://piwigo.org/svn/trunk@1048 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar redesign: step 1rvelices2006-02-205-27/+506
| | | | git-svn-id: http://piwigo.org/svn/trunk@1047 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: remote site decodes html entities from xml and addslashesrvelices2006-02-174-7/+11
| | | | | | | | | fix: picture displays "image rank/total" images even for non numeric categories fix: category comment not transformed with nl2br if allow_html_descriptions and comment already looks like html git-svn-id: http://piwigo.org/svn/trunk@1046 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 233: confirmation for deletion of remote sites, user groups and rvelices2006-02-166-4/+6
| | | | | | virtual categories git-svn-id: http://piwigo.org/svn/trunk@1045 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 264: gallery_url, rate and rate_anonymous from config file to databaservelices2006-02-169-14/+143
| | | | git-svn-id: http://piwigo.org/svn/trunk@1044 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 287 fixed: params nb_image_line and nb_line_page must be not null scalarnikrou2006-02-153-2/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@1043 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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