aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_notification.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature #392, add authentication key in NBM mailsplegall2016-01-041-19/+48
| | | | | | There are many links in NBM (Notification By Mail, see screen [Administration > Users > Notification]). I had to change several functions to take this authentication key into account.
* added persistent cache for some slow queries in feed notification (even if ↵rvelices2014-05-291-1/+7
| | | | | | not important to be fast on RSS feed, it might slow down galleries that are very large and actively used) git-svn-id: http://piwigo.org/svn/trunk@28560 68402e56-0260-453c-a942-63ccdbb3a9ee
* more query2arrayrvelices2014-02-131-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update headers to 2014. Happy new year!!mistic1002014-01-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: documentation of functions_search and functions_tagmistic1002013-11-231-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@25658 68402e56-0260-453c-a942-63ccdbb3a9ee
* aliases trigger_event() in trigger_change() and trigger_action() in ↵mistic1002013-11-201-5/+4
| | | | | | | | trigger_notify() complete removal for 2.7 or 2.8 git-svn-id: http://piwigo.org/svn/trunk@25602 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: Documentation of include/functions_notification + clean codemistic1002013-11-191-215/+223
| | | | git-svn-id: http://piwigo.org/svn/trunk@25578 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-9/+7
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - implement delete_element_derivativesrvelices2012-01-171-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@12917 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-271-2/+2
| | | | | | | - core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-2/+2
| | | | | | | Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2102 : rename item/image/picture to photorvelices2011-01-141-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2108 upload removal correct syntax errorrvelices2011-01-141-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@8664 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2108 added: user upload removed from core. It will come back as aplegall2011-01-131-39/+2
| | | | | | | "new generation" user upload in the Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (first commit; still to come)rvelices2010-09-161-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix (recent some months): RSS and mail notifications could send the same ↵rvelices2010-09-091-3/+3
| | | | | | thumbnail several times git-svn-id: http://piwigo.org/svn/trunk@6870 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed function get_extra_fields and its usage (unnecessary + perf issue ↵rvelices2010-07-061-3/+14
| | | | | | | | | | | when retrieving many image ids in a section) - 2 fixes recent feed.php commit * month names were decalated by one * strptime function is not implemented under Windows in php - added somme missing $ROOT_URL in templates git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1762 fixed : Compleet RSS Feed returns noticenikrou2010-07-051-23/+2
| | | | | | Remove mysql specific function git-svn-id: http://piwigo.org/svn/trunk@6662 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1754 fixed : The keyword AS is mandatory for alias in PostgreSQL queriesnikrou2010-07-031-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@6652 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1736 fixed : Complete RSS Feed returns errornikrou2010-06-241-19/+57
| | | | | | start or end dates can be null git-svn-id: http://piwigo.org/svn/trunk@6597 68402e56-0260-453c-a942-63ccdbb3a9ee
* less warnings + language fixes rvelices2010-03-201-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@5206 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-1/+1
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255: modification in sql queriesrub2009-12-211-1/+1
| | | | | | | correction git-svn-id: http://piwigo.org/svn/trunk@4542 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255: modification in sql queriesnikrou2009-11-251-1/+1
| | | | | | | | | - manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-211-3/+3
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-211-3/+3
| | | | | | Replace in queries LIMIT N,M by LIMIT N OFFSET M git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-5/+5
| | | | | | | | Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-151-2/+2
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* Rollback "Missing <ul> on NBM" in order to dd <ul> on feed too.rub2009-04-261-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3257 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix html warnings. unclosed monotagsnikrou2009-03-091-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3185 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/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix status header (web services + IE6 min display)rvelices2008-09-171-7/+7
| | | | | | | - 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
* Admin waiting page was changed to upload, there are a lot time...rub2008-05-101-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2335 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
* merge -r 2158 from branch-1_7 to trunkrvelices2007-11-011-24/+12
| | | | | | | fix: in page_header.php U_HOME template var was overwriting the ones from every page -> now it is always make_index_url fix: unvalidated comments use start end for RSS instead of end only (otherwise google reader creates a new item every time it downloads the feed) git-svn-id: http://piwigo.org/svn/trunk@2159 68402e56-0260-453c-a942-63ccdbb3a9ee
* Small improvement:rub2007-04-141-0/+1
| | | | | | Random selection of pictures on notifications. git-svn-id: http://piwigo.org/svn/trunk@1957 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add on $conf value of the function get_recent_post_datesrub2007-03-041-0/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee
* Reduce number of images on NBM for more visibility. (Next parameters for RSS ↵rub2007-02-251-1/+0
| | | | | | | | & NBM on $conf in order to be more easy to modify) Use $id$ on php headers git-svn-id: http://piwigo.org/svn/trunk@1857 68402e56-0260-453c-a942-63ccdbb3a9ee
* - thumbnails creation for all local sites (not only site id 1)rvelices2007-02-141-2/+5
| | | | | | | | | | | | - urls for images in notification (rss & mail) is now correct - removed "Recent pictures" from title in when the flat view is in effect - removed unnecessary class="" from comments.tpl - english language correction - removed unused web service files - set rating star button left & right margin to 0 (javascript) - admin menu - put site manager and synchronize together git-svn-id: http://piwigo.org/svn/trunk@1814 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add picture link on RSS & mail notification.rub2007-02-111-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@1802 68402e56-0260-453c-a942-63ccdbb3a9ee
* - correct php warnings (section_init and mass_inserts)rvelices2007-02-081-111/+111
| | | | | | | | | - flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter) - small html validation (double class attribute) - removed unnecessary class="" - changed 2 times hard coded index.php?recent_pics with make_index_url(...) git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 0000598: NBM: Add new informationsrub2007-02-061-3/+92
| | | | | | | | | | | | | | | Notification by mail: Add new informations about last categories and last images like new feature of RSS notification. 2 parts: - Possibility to send HTML mail - Include last categories and last images on HTML format into notification mail ccs & HTML experts! Please! Check, fix, improve and enhance HTML mail content! git-svn-id: http://piwigo.org/svn/trunk@1784 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature Issue ID 0000601: Filter all public pages with only recent elementsrub2006-12-211-11/+36
| | | | | | | | | | | | | | | | | | | | | It's a finalized version. Obsolete code of draft are removed. You can filter categories and images with recent date period on your screen selection. In the future, filter could be easy done on other type data (plugin?) You can flat categories and sub-categories with a recent date period of your choice. Next, perhaps, a panel to choice recent date for the 2 features. On draft, there have problem with MySql 5, be careful! Css problem not resolved: - Menu "Categories" is bad centered - Icon on dark too on the top git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
* put some functionnality from feed.php into a function (to be used rvelices2006-12-071-3/+74
| | | | | | later in the notification by email) git-svn-id: http://piwigo.org/svn/trunk@1639 68402e56-0260-453c-a942-63ccdbb3a9ee
* Proposition of translations about:rub2006-12-061-18/+11
| | | | | | | | | | | A recent picture is a last picture but a last picture is not a recent picture. A recent category is a last category but a last category is not a recent category. So it's a proposition about last is not like recent. Improvement of string including decimal number in order to concord singular and plural. Now, function l10n_dec must be used. git-svn-id: http://piwigo.org/svn/trunk@1637 68402e56-0260-453c-a942-63ccdbb3a9ee
* corrected links in RSS feedrvelices2006-09-191-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@1550 68402e56-0260-453c-a942-63ccdbb3a9ee
* RSS feed improvements:rvelices2006-09-181-39/+48
| | | | | | | | | | | | - send 404 when feed id missing/unknown - added a guid element for each feed item (make the difference between 2 different 0/1 items - they have the same link element) - don't update last_check unless some news are available - new images/updated albums removed from the 0/1 feed item - added 5 different feed items for new images/updated albums (generated by grouping post date) with more information, thumbnails and links git-svn-id: http://piwigo.org/svn/trunk@1549 68402e56-0260-453c-a942-63ccdbb3a9ee