aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-07-21feature 953: avoid fatal error when delete a photo (added with pwg.images.addplegall1-1/+1
API) and the file doesn't not exist on the filesystem. git-svn-id: http://piwigo.org/svn/branches/2.0@3656 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-17feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigoplegall1-2/+10
announcement newsletter. git-svn-id: http://piwigo.org/svn/branches/2.0@3620 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-08feature 1020: simplify the URL to subscribe to Piwigo Announcementsplegall1-2/+2
Newsletter. git-svn-id: http://piwigo.org/svn/branches/2.0@3401 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter fromplegall1-0/+9
Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13bug 926 fixed: change links to piwigo.org so that they go to existing URLs.plegall1-12/+5
new: if the current language is french, the links go to fr.piwigo.org insted. git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14merge 3145-3146 from trunkrvelices1-3/+58
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
2009-01-13merge -c3072 from trunk to branch 2.0rub1-2/+2
Fix bad $lang. Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/branches/2.0@3073 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04Administration: happy new year 2009, all PHP headers updated.plegall1-1/+1
git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-23merge -c2902 from trunk to branch 2.0.patdenice1-1/+17
- Add home and identification buttons after installation. - Use fetchRemote function for remote site actions. - Corrections in fetchRemote fnction. - Move PLUGIN_PICTURE_BEFORE in picture.tpl. git-svn-id: http://piwigo.org/svn/branches/2.0@2903 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-22merge -c2900 from trunk to branch 2.0.patdenice1-10/+13
- Bug fixed: username or password with accented character are now accepted for upgrade. - Simplify query in pwg_session_write function. - Retrieve data with cURL method in fetchRemote function now work with forwarded URL. git-svn-id: http://piwigo.org/svn/branches/2.0@2901 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19Add argument at trigger_action in invalidate_user_cache function rub1-1/+1
merge -c2892 from trunk to branch 2.0 The exact copy of commit log in 2892. git-svn-id: http://piwigo.org/svn/branches/2.0@2893 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19Delete caches and optimize tables on upgraderub1-4/+16
merge -c2890 from trunk to branch 2.0 The exact copy of commit log in 2890. git-svn-id: http://piwigo.org/svn/branches/2.0@2891 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-17Delete cache data when category is deleted.rub1-1/+6
merge -c2882 from trunk to branch 2.0 The exact copy of commit log in 2882. git-svn-id: http://piwigo.org/svn/branches/2.0@2883 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-15merge -c2880 from trunk to branch 2.0patdenice1-0/+108
- Add fetchRemote function which allow to retrieve datas over HTTP protocol using cURL method, file_get_contents function or fsockopen method. This allow to retrieve datas or files even if allow_url_fopen is deactivated. - Use fetchRemote function in plugins manager and in latest version checking. - Add german translations for upgrade.lang.php. - Remove empty line at the end of pclzip.lib.php. - Change display of deactivated plugins after upgrade. git-svn-id: http://piwigo.org/svn/branches/2.0@2881 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-19Jump to category icon is removed on user forbidden categories (previously ↵vdigital1-0/+23
check_restrictions was leading administrators to the access denied page). git-svn-id: http://piwigo.org/svn/branches/2.0@2776 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-06feature 884 added: ability to delete photos uploaded via web API methodplegall1-1/+40
pwg.images.add, ie without storage_category_id. pLoader uses this method and photos cannot be removed in any other way. git-svn-id: http://piwigo.org/svn/trunk@2678 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-03bug fixed: remove useless mysql_real_escape because web api already processplegall1-2/+0
all input parameters. git-svn-id: http://piwigo.org/svn/trunk@2646 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-03- Add set_extents function in template class.patdenice1-0/+1
- 752: add trigger (for flipflip). git-svn-id: http://piwigo.org/svn/trunk@2643 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-01feature 874 added: new Web API method pwg.tags.add.plegall1-0/+45
git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-25- Move get_extents function to include/functions.inc.php.patdenice1-0/+28
- Change all plugins version to 2.0. - LocalFiles Editor can now edit and create template extension. - Editarea (for LocalFiles Editor) go to version 0.7.2.2 (chrome compatible) - Editarea activation is now saved in database with AJAX. git-svn-id: http://piwigo.org/svn/trunk@2588 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-23bug fixed: now that WebService method pwg.images.add create image recordsplegall1-0/+1
with no storage_category_id, we allow this field to be null in the administration code. git-svn-id: http://piwigo.org/svn/trunk@2575 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-21- fix function get_fulldirs - works correctly eent for wrong params (virtual ↵rvelices1-13/+4
cats) - fix functions_metadata.php - could not be included from inside another function git-svn-id: http://piwigo.org/svn/trunk@2560 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-19deletion: function export_pwg_data was inadvertently added with r1817 whileplegall1-91/+0
the development was not finished. git-svn-id: http://piwigo.org/svn/trunk@2551 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-05- better management of fatal errors (instead of die or trigger_error rather ↵rvelices1-1/+1
use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-03Bug 847: Instruction page / CSS Text-align: centered ordered lists vdigital1-1/+1
Bug 846: Bad link to documentation Some CSS Hacks in Admin theme git-svn-id: http://piwigo.org/svn/trunk@2495 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-29synchro improvements:rvelices1-114/+101
- able to sync metadata at the same time as the files/dirs - by default empty metadata does not overwrite database infos (checkbox can switch to previous behaviour) (bug 132) - the form is shown again even after a successfull non simulated run git-svn-id: http://piwigo.org/svn/trunk@2491 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-28- based on test_menu by grum (thanks to you) - integration of dynamic menu ↵rvelices1-7/+24
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
2008-08-19- ws can include php file before invoking web call methodrvelices1-2/+3
- 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
2008-08-12Admin advices can be easily extended to new advices.vdigital1-5/+18
Admin advices plugin can be translated like any other plugins. Admin advices plugin has been extended with External summary (a technical and non translated part). Some template cleaning. git-svn-id: http://piwigo.org/svn/trunk@2472 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-18Bug: 816 - Leading and trailing spaces are removed from new tags (observed ↵vdigital1-1/+2
in some bugged metadata). git-svn-id: http://piwigo.org/svn/trunk@2350 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-14Change some PhpWebGallery to Piwigo.rub1-4/+4
Not all PhpWebGallery has been translated! git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-06- remove some unnecessary db columns (#history_summary.id, #history.year, ↵rvelices1-17/+32
month, day and hour) git-svn-id: http://piwigo.org/svn/trunk@2333 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-02Resolved issue 0000823: Enhance upload functionalitiesrub1-0/+16
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
2008-05-01- move #categories.date_last and nb_images to #user_cache_categoriesrvelices1-144/+41
git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-20- merged function ordering() with update_global_rank() and also optimized ↵rvelices1-76/+41
the queries git-svn-id: http://piwigo.org/svn/trunk@2306 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-19merge -r 2303 from branch-1_7 to trunkrvelices1-61/+20
- removed some unused code - mass_updates function does not need SELECT VERSION() - rewrote update_uppercats to avoid db update if no change git-svn-id: http://piwigo.org/svn/trunk@2304 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-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
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09- PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 readyrvelices1-0/+30
git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19merge -r 2094 from branch-1_7 to trunkrvelices1-2/+2
- fix: quick search error if the query term contained " or ' - optimized sql query in sync_users (called every time on admin page) - a lot faster when #user_cache_categories is big - added function Template->delete_block_vars (opposite of assign_block_vars) git-svn-id: http://piwigo.org/svn/trunk@2095 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-18Resolved issue 0000725: Check integrityrub1-36/+0
Replace actual test (exif) by a new dynamic system of check integrity. Anomalies are listed with automatic correction if it's possible. It's a proposition of new feature! git-svn-id: http://piwigo.org/svn/trunk@2065 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-26invalidation of the users cache done in a function and an action is triggeredrvelices1-0/+12
git-svn-id: http://piwigo.org/svn/trunk@1978 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-29 o add missing $langrub1-2/+2
o use of l10n_dec o normalize file header git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28Issue 578rub1-30/+1
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
2007-03-07Bug fixed: in delete_categories function, the deletion on #old_permalinksplegall1-1/+1
query was using a wrong variable. git-svn-id: http://piwigo.org/svn/trunk@1879 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28feature 657: permalinks for categoriesrvelices1-0/+5
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27- function delete_user now clears asssociated data in the caddie table and ↵rvelices1-58/+38
the sessions table - xml writer improvement for web service git-svn-id: http://piwigo.org/svn/trunk@1863 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14New: history logs high quality access via action.php. A new columnplegall1-4/+97
#history.is_high was added. Filter was added on administration history detail view. Modification: function get_sql_condition_FandF was slightly refactored for presentation improvement. git-svn-id: http://piwigo.org/svn/trunk@1817 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-09Issue : 137laurent.duretz1-3/+1
Use correct SQL request ta have MySql compatibility git-svn-id: http://piwigo.org/svn/trunk@1794 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08Issue 0000639: Force selected page on index.phprub1-3/+6
Continue the Radu idea, restrict more use of random list Issue 0000598: NBM: Add new informations Add css on mail Use user template for mail (on next commit, best control) Comment mass_inserts because don't with MySQL 4.1.9 git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee