aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* new: webservice method pwg.categories.getAdminList was added so that pLoaderplegall2008-09-211-0/+56
| | | | | | | | can see the list of categories as you can see in the administration interface : not filtered by individual permissions. git-svn-id: http://piwigo.org/svn/trunk@2563 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: instead of sending the images_max_rank of each category inplegall2008-09-191-21/+19
| | | | | | | | | pwg.categories.getList so that you can correctly set the rank in pwg.images.add, the rank is calculated automatically in pwg.images.add so that the image is added at the end of the category. git-svn-id: http://piwigo.org/svn/trunk@2553 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: webservice methode pwg.categories.getList returns theplegall2008-09-171-4/+34
| | | | | | | | | images_max_rank for each category, based on #image_category.rank content. So that a remote client can correctly add photos with webservice method pwg.images.add. git-svn-id: http://piwigo.org/svn/trunk@2548 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 861 fixed: only $conf['check_upgrade_feed'] is required to check forplegall2008-09-171-3/+1
| | | | | | | development upgrades, not PHPWG_IN_UPGRADE constant any longer. git-svn-id: http://piwigo.org/svn/trunk@2544 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix status header (web services + IE6 min display)rvelices2008-09-175-80/+46
| | | | | | | - sql optims in feed /notification - dont send cookie for 10 years from admin/history.php git-svn-id: http://piwigo.org/svn/trunk@2543 68402e56-0260-453c-a942-63ccdbb3a9ee
* - upgrade smarty to latest release 2.6.20rvelices2008-09-168-25/+53
| | | | git-svn-id: http://piwigo.org/svn/trunk@2538 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
* real static paramnikrou2008-09-141-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@2536 68402e56-0260-453c-a942-63ccdbb3a9ee
* Wigo becomes "goto".vdigital2008-09-141-1/+1
| | | | | | Admin tpl files are moved. git-svn-id: http://piwigo.org/svn/trunk@2530 68402e56-0260-453c-a942-63ccdbb3a9ee
* Change config to wigo/romavdigital2008-09-141-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2527 68402e56-0260-453c-a942-63ccdbb3a9ee
* - images.file categories.permalink old_permalinks.permalink - become binaryrvelices2008-09-128-24/+32
| | | | | | | | | | | | | | - session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range) - metadata sync from the sync button does not overwrite valid data with empty metadata - other small fixes/enhancements: - added event get_category_image_orders - fix display issue with redirect.tpl (h1/h2 within h1) - fix known_script smarty function registration - query search form not submitted if q is empty - better admin css rules - some other minor changes (ws_core, rest_handler, functions_search...) git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature added: ability to set rank from webservice upload.plegall2008-09-111-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2520 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 169 added: ability to manually sort images inside a category. Aplegall2008-09-113-8/+48
| | | | | | | | | dedicated screen let the administrator sort the images (pur HTML, no JavaScript yet). The "rank" sort order is available only for a category without flat mode. New database column image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@2517 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove ws access table/partners functionalityrvelices2008-09-113-174/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION ↵rvelices2008-09-103-14/+13
| | | | | | | | (extend_for_templates) and F_C13Y_ACTION (check_integrity) - normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now) git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix typing error in index.tplrvelices2008-09-091-0/+32
| | | | | | | - added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example) - removed unused themeconf.template_dir git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: it seems that the upload file.jpg had -rw------- permissionsplegall2008-09-081-0/+2
| | | | | | | | | which is not enough if the http server user is different from the file owner (which is the case when suphp is running). The permissions are set to -rw-r--r--. git-svn-id: http://piwigo.org/svn/trunk@2511 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
* mispellin variablenikrou2008-09-061-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2505 68402e56-0260-453c-a942-63ccdbb3a9ee
* - better management of fatal errors (instead of die or trigger_error rather ↵rvelices2008-09-056-50/+59
| | | | | | use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: ws method pwg.images.add checks the dumped files against theplegall2008-09-041-3/+22
| | | | | | | | | | expected md5 sum. bug fixed: ws method pwg.images.add invalidate the user cache so that category date_last and category nb_images (and related data) git-svn-id: http://piwigo.org/svn/trunk@2501 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed : call set_status_header for HTTP response when webserviceplegall2008-09-041-0/+2
| | | | | | | | | PwgError is called, so that http response code and related message are part of the structure response and not only in a serialized content (see how tools/piwigo_remote.pl gets the response) git-svn-id: http://piwigo.org/svn/trunk@2499 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 854: better checks of directory creations ( local_data_dir, ↵rvelices2008-09-043-48/+73
| | | | | | templates_c, tmp etc...) git-svn-id: http://piwigo.org/svn/trunk@2497 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove hello_world plugin (not working anymore)rvelices2008-09-041-8/+12
| | | | | | | | | - web service method images.add works only for admins now - fix template-common js web service calls did not have the parameters url encoded - improve admin user_list - submitting the form with no user selected triggers a javascript alert (had fun with jquery selectors) git-svn-id: http://piwigo.org/svn/trunk@2496 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed and moved (from common to admin) some CSS rulesrvelices2008-08-281-4/+4
| | | | | | - upgraded jQuery and accordion to latest version (and reorganised a bit their location) git-svn-id: http://piwigo.org/svn/trunk@2489 68402e56-0260-453c-a942-63ccdbb3a9ee
* - based on test_menu by grum (thanks to you) - integration of dynamic menu ↵rvelices2008-08-284-235/+461
| | | | | | | | | | bar to pwg - the menubar is composed now of dynamic blocks that can be ordered/hidden - plugins can add their own blocks git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2483 from branch 1.7rvelices2008-08-232-17/+26
| | | | | | | - security fix : when conf['question_mark_in_urls']=true , $_SERVER['PATH_INFO'] was not sanitized against sql injection - mysql errors are now dumped using trigger_error instead of echo and die -> allow admins to see later on if someone tries funny stuff git-svn-id: http://piwigo.org/svn/trunk@2484 68402e56-0260-453c-a942-63ccdbb3a9ee
* - further reduce css rules and remove unused onesrvelices2008-08-221-4/+28
| | | | | | - added a smarty prefilter so that html output is nicely indented now ... git-svn-id: http://piwigo.org/svn/trunk@2481 68402e56-0260-453c-a942-63ccdbb3a9ee
* - local.lang is loaded without fallback on default language or ↵rvelices2008-08-204-75/+85
| | | | | | | | | PHPWG_DEFAULT_LANGUAGE (needed to change the signature of load_language which became a little too big) - move a function from functions.inc.php to functions_picture.inc.php (included only when necessary) - removed some css (not as much as I wanted) git-svn-id: http://piwigo.org/svn/trunk@2479 68402e56-0260-453c-a942-63ccdbb3a9ee
* - ws can include php file before invoking web call methodrvelices2008-08-191-13/+18
| | | | | | | | | - remove "Pierrick ..." from some languages - tags - small change to avoid increasing number of urls - added a missing closedir - remove some unnecessary class names and inexisting rel attributes git-svn-id: http://piwigo.org/svn/trunk@2478 68402e56-0260-453c-a942-63ccdbb3a9ee
* - optim dont include a php file if not requiredrvelices2008-08-163-20/+17
| | | | | | | - eng lang small change - remove link to unexisting admin css git-svn-id: http://piwigo.org/svn/trunk@2476 68402e56-0260-453c-a942-63ccdbb3a9ee
* git-svn-id: http://piwigo.org/svn/trunk@2471 ↵rvelices2008-08-111-1/+1
| | | | 68402e56-0260-453c-a942-63ccdbb3a9ee
* updating files for the Menu class (test_menu)grum2008-08-091-17/+23
| | | | | | | | | | | | | | | | | | + fixes "Links" translation bug updating files for the AMenuManager plugin + enhance links template updating common classes grum_plugins_classes-2 (needed for the AMenuManager plugin) + clearing the code updating the calendar_base.class.php the 'get_nav_bar_from_items' method was returning a hard coded html string now replaced by a template file (calendar_nav.tpl) git-svn-id: http://piwigo.org/svn/trunk@2469 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature:837 "Extend for templates" could have dedicated .css files by a ↵vdigital2008-07-311-12/+0
| | | | | | simple technical {html_head} inclusion. git-svn-id: http://piwigo.org/svn/trunk@2464 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 839, first step : early proof of concept, no error handling. Aplegall2008-07-301-0/+100
| | | | | | | | | | | | | remote client can add a photo in a category thanks to the web API. A new "upload" directory is created (write access required on the base directory). Uploaded photo have path such as upload/<year>/<month>/<day>/<datetime>-random.jpg. The thumbnail must come with the "web sized" photo. The photo has no storage_category_id. Bugs still need to be fixed and a discussion must occur before next steps. git-svn-id: http://piwigo.org/svn/trunk@2463 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature:837 "Extend for templates" could have dedicated .css files.vdigital2008-07-301-0/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@2462 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove functions_group.inc.php (empty for some years; avoid unnecessary ↵rvelices2008-07-242-27/+0
| | | | | | | | | include_file) - thumbnails-fix-ie5-ie6.css merged into fix-ie5-ie6.css (avoid 2 IE6 css file requests) - removed unused css git-svn-id: http://piwigo.org/svn/trunk@2456 68402e56-0260-453c-a942-63ccdbb3a9ee
* - normalize behaviour of query search versus std search (now both return ↵rvelices2008-07-234-60/+82
| | | | | | items already sorted and permission checked); also more optimized sql queries (in some cases) git-svn-id: http://piwigo.org/svn/trunk@2451 68402e56-0260-453c-a942-63ccdbb3a9ee
* - add #user_cache.cache_update_time - useful for plugins or the filter when ↵rvelices2008-07-223-38/+22
| | | | | | 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
* - image rating on picture page done through ajax (tested safari/ie 6&7/ff)rvelices2008-07-152-5/+43
| | | | git-svn-id: http://piwigo.org/svn/trunk@2435 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature template-extension based on 2006 chrisaga's idea.vdigital2008-07-141-3/+25
| | | | | | | chrisaga wrote: "If you want to make some template customization without building a brand new template, you should use ..." git-svn-id: http://piwigo.org/svn/trunk@2434 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from branch-1_7 (r2432).patdenice2008-07-123-3/+35
| | | | | | | Add triggers for category name (render_category_name). Add strip_tags for ALT attribute on category thumbnail. git-svn-id: http://piwigo.org/svn/trunk@2433 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 600: Page not found after a strong rating revise (and extended to most ↵rvelices2008-07-121-34/+5
| | | | | | cases when the image is not in the requested section) git-svn-id: http://piwigo.org/svn/trunk@2430 68402e56-0260-453c-a942-63ccdbb3a9ee
* - add to caddie on picture page done through ajaxrvelices2008-07-121-0/+28
| | | | git-svn-id: http://piwigo.org/svn/trunk@2429 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix some side effects with browser language (wrong display/user creation ↵rvelices2008-07-052-17/+15
| | | | | | in admin and mails to admin in user browser language) git-svn-id: http://piwigo.org/svn/trunk@2425 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 832: Folders with no images sql optimizationrvelices2008-07-052-40/+55
| | | | | | | - recent pics are sorted by date descending, and only then by conf['order_by'] - updated prototype.js to version 1.6 git-svn-id: http://piwigo.org/svn/trunk@2424 68402e56-0260-453c-a942-63ccdbb3a9ee
* - first use of web services as Ajax: change the privacy level directly from ↵rvelices2008-07-022-1/+30
| | | | | | the picture page git-svn-id: http://piwigo.org/svn/trunk@2413 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-015-69/+46
| | | | | | | | | | | | 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
* Fix on Admin theme (No update thru Multi-View Plugin).vdigital2008-06-231-5/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@2394 68402e56-0260-453c-a942-63ccdbb3a9ee