aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge r7612 from branch 2.1 to trunkplegall2010-11-031-3/+2
| | | | | | | | | | bug 2003 fixed: random failure on calling invalidate_user_cache. I move the include of admin functions outside conditional blocks, even if we should also enter the first block. git-svn-id: http://piwigo.org/svn/trunk@7613 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r7549 from branch 2.1 to trunkplegall2010-11-011-0/+17
| | | | | | | | | bug 1986 fixed: add category description in pwg.categories.getList and pwg.categories.getAdminList. git-svn-id: http://piwigo.org/svn/trunk@7550 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add possibility to configure the url for the extension managergrum2010-10-302-4/+17
| | | | | | feature:1966 git-svn-id: http://piwigo.org/svn/trunk@7501 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1915: add protection on user registration against robots rvelices2010-10-304-33/+32
| | | | git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r7210 from branch 2.1 to trunkplegall2010-10-151-0/+1
| | | | | | | feature 1756 added: returns the security token in method pwg.session.getStatus git-svn-id: http://piwigo.org/svn/trunk@7212 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (4th commit; almost there)rvelices2010-09-211-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (first commit; still to come)rvelices2010-09-165-11/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove_accents function improvement: shorter + faster code (less func calls)rvelices2010-09-161-94/+93
| | | | git-svn-id: http://piwigo.org/svn/trunk@6947 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1852: html redirections fail on admin pages rvelices2010-09-161-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@6944 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6905 from branch 2.1 to trunkplegall2010-09-131-0/+4
| | | | | | | | bug 1849 fixed: protect $_GET keys against SQL injections before parsing URL. git-svn-id: http://piwigo.org/svn/trunk@6906 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6890 from branch 2.1 to trunkplegall2010-09-131-1/+1
| | | | | | | | bug 1848 fixed: do not print methodName in header to avoid CRLF attack. git-svn-id: http://piwigo.org/svn/trunk@6892 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
* merge r6715 from branch 2.1 to trunkplegall2010-07-272-3/+4
| | | | | | | bug 1785 fixed: the number of related tags is no longer hard coded git-svn-id: http://piwigo.org/svn/trunk@6716 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6711 from branch 2.1 to trunkplegall2010-07-271-0/+2
| | | | | | | add trigger for ExtendedDescription on photo name git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c6705 from branch 2.1 to trunkrub2010-07-241-4/+5
| | | | | | | | Feature 0001778: Thumbnails missing on NBM Fix move_ccs_rules_to_body function git-svn-id: http://piwigo.org/svn/trunk@6706 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed function get_extra_fields and its usage (unnecessary + perf issue ↵rvelices2010-07-064-25/+20
| | | | | | | | | | | 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 1766 fixed : [PostgreSQL] unkown database function UNIX_TIMESTAMP()nikrou2010-07-065-1/+21
| | | | | | Add a new function pwg_db_date_to_ts() to calculate a timestamp from a date git-svn-id: http://piwigo.org/svn/trunk@6666 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou2010-07-053-6/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@6664 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 1760 fixed : Avoid session fixationnikrou2010-07-051-1/+1
| | | | | | | After connection, session id is changed using session_regenerate_id but without removing old session. Passing param true makes the job. git-svn-id: http://piwigo.org/svn/trunk@6660 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1755 : Needs single quotes in queries official pluginsnikrou2010-07-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1754 fixed : The keyword AS is mandatory for alias in PostgreSQL queriesnikrou2010-07-034-10/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@6652 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6414 from branch 2.1rvelices2010-06-281-3/+1
| | | | | | favorite image icon is not taken from php but left to the theme git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1744 fixed : Incorrect use of timezone with SQLitenikrou2010-06-255-5/+26
| | | | | | | | Fixed anti-flood system. Need refactoring between each interval functions git-svn-id: http://piwigo.org/svn/trunk@6604 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
* Bug 1735 fixed : Comment page is not PostgreSQL compatiblenikrou2010-06-241-2/+2
| | | | | | | | | Fixed by adding all fields except category_id in group by clause category_id is retrieved later in an another query. Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible. git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1743 fixed : comment form is not visible because of boolean managementnikrou2010-06-231-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug 1733 : queries must use single quotesnikrou2010-06-231-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@6589 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1737 fixed : Concatenation error with POstgreSQLnikrou2010-06-223-10/+4
| | | | | | Simplify same function for SQLite git-svn-id: http://piwigo.org/svn/trunk@6580 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1738 fixed : hour function doesn't exists for database other than mysql.nikrou2010-06-224-12/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
* misplaced closing paranthesis in common.inc.phprvelices2010-06-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1730 fixed : search doesn't work when database engine is not mysqlnikrou2010-06-101-1/+1
| | | | | | For posgresql and sqlite date must allways use day and month with two diggits. git-svn-id: http://piwigo.org/svn/trunk@6518 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug 1722 : PosgtreSQL wants all fields in select to be in Group by clausenikrou2010-06-093-12/+30
| | | | | | | or agregate function Fix issue for lambda function (incorrect number of params) git-svn-id: http://piwigo.org/svn/trunk@6510 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1716 fixed : Check upgrades failed in intronikrou2010-06-091-3/+3
| | | | | | | Incorrect use of database dependant functions. Fixed same problem for ws functions git-svn-id: http://piwigo.org/svn/trunk@6500 68402e56-0260-453c-a942-63ccdbb3a9ee
* - revert r6473 and r6475rvelices2010-06-072-33/+32
| | | | | | - moved call to event format_exif_data earlier git-svn-id: http://piwigo.org/svn/trunk@6484 68402e56-0260-453c-a942-63ccdbb3a9ee
* previous commit was still not okrvelices2010-06-061-4/+4
| | | | | | - quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when displaying metadata on picture page (event called with different input) git-svn-id: http://piwigo.org/svn/trunk@6475 68402e56-0260-453c-a942-63ccdbb3a9ee
* - quick fix (maybe not the cleanest) of regression 2.0 -> 2.1 when ↵rvelices2010-06-062-27/+27
| | | | | | displaying metadata on picture page (event called with different input) git-svn-id: http://piwigo.org/svn/trunk@6473 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug 1717 : SQLite: access failure on Admin > Tools > Historynikrou2010-06-042-0/+12
| | | | | | hour function doesn't exists git-svn-id: http://piwigo.org/svn/trunk@6463 68402e56-0260-453c-a942-63ccdbb3a9ee
* - do not remove slashes before calling insert_user_comment (homogeneity with ↵rvelices2010-06-013-22/+7
| | | | | | | | update_user_comment and general use of slashes in piwigo) - when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster) git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1705 fixed : double quotes were not escapednikrou2010-05-291-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6423 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6368,6410 from branch-2.1 to trunkrvelices2010-05-284-52/+44
| | | | | | | - merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path) - added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6384 from branch 2.1 to trunkplegall2010-05-271-0/+4
| | | | | | | | bug 1704 fixed: windows needs a specific directory separator when creating recursive directory. git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6361 from branch 2.1 to trunkplegall2010-05-261-0/+3
| | | | | | | feature 1697: ability to deactivate the synchronization method to add photos. git-svn-id: http://piwigo.org/svn/trunk@6365 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)rvelices2010-05-251-15/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6338 from branch 2.1 to trunkplegall2010-05-241-4/+4
| | | | | | | bug 1694 fixed: COMPUTED Exif fields were not displayed on picture.php git-svn-id: http://piwigo.org/svn/trunk@6340 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug 1695 : incorrect boolean to string conversion for SQLite and ↵nikrou2010-05-243-9/+9
| | | | | | PostgreSQL database engines git-svn-id: http://piwigo.org/svn/trunk@6339 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6321 from branch 2.1 to trunkplegall2010-05-241-1/+2
| | | | | | | | | | | bug 1682: r6312 was producing a MySQL error (depending on the MySQL server version) because a count() implies a group by. This code change was checked against MySQL 5.0.75, MySQL 5.0.51 (where the error occured) and SQLite 3.6.22. git-svn-id: http://piwigo.org/svn/trunk@6322 68402e56-0260-453c-a942-63ccdbb3a9ee
* $themeconf['id'] hard coded in template classpatdenice2010-05-241-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6313 from branch 2.1 to trunkplegall2010-05-231-1/+1
| | | | | | | bug 1685 fixed: typo on identification.php link git-svn-id: http://piwigo.org/svn/trunk@6316 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6312 from branch 2.1 to trunkplegall2010-05-231-14/+18
| | | | | | | | | | | | | | bug 1684 fixed: the test to check availability of the user_infos line was wrong. I had changed the old db_num_rows > 0 because it was not working with SQLite. As suggested by nicolas, let's use a simpler trick "count(1)" in the query itself, this way it should work with any database engine. I've also removed the while (true) (ugly infinite loop, with a condition for exit) that was producing an infinite loop for Piwigo installations with 2.0 database model and 2.1 code (before launching upgrade.php) git-svn-id: http://piwigo.org/svn/trunk@6315 68402e56-0260-453c-a942-63ccdbb3a9ee