Commit graph

123 commits

Author SHA1 Message Date
plegall
b6789d4de9 fixes #2218 avoid search engines to index search pages 2024-09-03 21:05:57 +02:00
plegall
52969a7708 issue #1957 albums/tags found now correctly filled 2023-08-17 11:12:56 +02:00
plegall
b787dfd291 issue #1953 improved privacy on searches and associate each search to its creator
* remove temporary functions ws_gallery_getSearch and ws_gallery_updateSearch
* split get_search_array into sub-functions to use them in web API
* use search_uuid as search_id instead of the numeric search.id : better privacy
* only the creator of the search can update it
* if a visitors tries to open the search of another user, it (the search) gets forked into a new search
2023-08-09 19:18:30 +02:00
HWFord
5a4a669c08 Issue #1625 add array key for dataset
add array keys for body data helpful when selecting via javascript

also separates ids for combined tags and albums
2022-04-08 09:14:18 +02:00
HWFord
acbf86a6fa Issue #1625 removes forgotton echo 2022-04-07 14:40:41 +02:00
HWFord
722c26a1b3 Issue #1625 body class definition in section init
Initialize body_classes in common.inc.php
Add class for section and section id
also add class with search id
Class is added to $page in section_init now
Also add tis info to the body dataset for javascript use
2022-04-07 14:30:47 +02:00
plegall
a641b9eb08 fixes #1266 improve url parsing after bugs introduced for #626
* /categories/123-album/start-10 now works
* /categories/permalink1/permalink2/start-20 now works (each permalink can contain several "/")
2020-12-17 16:31:51 +01:00
plegall
4f3880af89 fixes #626 related albums (menu, combine, url)
* ability to combine albums in URL index.php?/category/1/2/3 will consider 1 as $page['category'] and {2,3} as $page['combined_categories']

* new menu block "related albums" which displays only the hierarchy of albums related to the current set of photos, excluding current album(s). In the hierarchy, only the related albums have a link, not ancestors
2020-11-09 14:28:55 +01:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Julien Samson
29f938acba display login page if there is no images at the tag (URL) 2019-01-16 15:23:51 +01:00
Bartosz Korczak
7e41e21af4 Fix issue #844 2018-07-05 15:50:38 +02:00
MaximeBOURMAUD
c4af38fe48 Fixes issue 723 now when requesting an private id, permalink isn't re… (#771)
* Fixes issue 723 now when requesting an private id, permalink isn't revealed

* remove newline at end of files and one useless line

* remove newline at end of files and one useless line

* Fixes if condition
2017-09-19 11:31:17 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
f1f7e5d4ad added a persistent cache mechanism; used so far to cache image ids in flat view mode
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-11 08:26:41 +00:00
rvelices
38ccebec61 removed url compatibility with phpwebgallery 1.6 and below
git-svn-id: http://piwigo.org/svn/trunk@28320 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-30 18:52:28 +00:00
rvelices
2d9887993c arrayfromquery optimizations: move double if from inside loop to outside + use directly mysqli calls to avoid function call overhead for every row retrieved from db
git-svn-id: http://piwigo.org/svn/trunk@27336 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11 21:47:44 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
plegall
f81a7de103 merge r22282 from branch 2.5 to trunk
bug 2891 fixed: pure root_url on Home link in breadcrumb


git-svn-id: http://piwigo.org/svn/trunk@22283 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-18 13:18:17 +00:00
rvelices
5627167a31 fix home link with flat parameter from picture page breadcrumb
git-svn-id: http://piwigo.org/svn/trunk@22161 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-12 05:01:28 +00:00
rvelices
55275efb66 feature 2557 recent photos/albums should never be empty
git-svn-id: http://piwigo.org/svn/trunk@21802 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-23 10:50:57 +00:00
mistic100
0bba3bfcf7 some code cleaning
git-svn-id: http://piwigo.org/svn/trunk@20453 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-29 18:46:23 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
5ca6b4c919 bug 2772: remove "Home" from html title pages on index pages - partial revert change of breadcrumb title on home page
git-svn-id: http://piwigo.org/svn/trunk@19233 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-30 20:59:02 +00:00
rvelices
d283bd5128 bug 2772: remove "Home" from html title pages on index pages (better title when viewing in flat mode)
git-svn-id: http://piwigo.org/svn/trunk@18666 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-16 19:56:13 +00:00
rvelices
7f75c131ed bug 2772: remove "Home" from html title pages on index pages
git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:55:35 +00:00
mistic100
b1cec7bf86 feature:2614 pagination on albums
return to old fashioned way (one query in category_cats), restoring recent_cats feature and "menubar optimization", rename "starta" into "startcat"

git-svn-id: http://piwigo.org/svn/trunk@18462 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 15:03:55 +00:00
mistic100
1e927104aa feature 2614: pagination on albums, save one query on picture page
git-svn-id: http://piwigo.org/svn/trunk@18392 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-01 13:58:11 +00:00
mistic100
4e65d9af46 feature 2614: pagination on albums
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 11:19:26 +00:00
rvelices
5a05371627 - is_homepage not set for flat view/calendar modes
- added require jquery for some footer_script
- removed unused/unnecesary css (hope I'm done for now)
- if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter)

git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03 18:18:26 +00:00
plegall
65bb5d44b6 feature 2368: better canonical URL for homepage
git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-02 15:28:43 +00:00
plegall
25200e2c25 convert tabulations into 2-spaces for indentation (introduced in r13240)
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19 19:59:22 +00:00
rvelices
a893882789 - multisize thumb longest side can be smaller than the square size
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster)

git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18 20:46:46 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
rvelices
86ae4d8b3a rename #images.average_rate to rating_score
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-02 19:20:50 +00:00
plegall
6db359c622 Happy new year 2011
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
2011-01-18 00:02:52 +00:00
rvelices
e123585dde bug 2105 : Browsing tags is slow if tags contains many photos
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 21:16:42 +00:00
rvelices
6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00
rvelices
c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
plegall
7ce249f0bb merge r6905 from branch 2.1 to trunk
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
2010-09-13 20:52:47 +00:00
rvelices
4748adc3f5 - removed function get_extra_fields and its usage (unnecessary + perf issue 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
2010-07-06 20:10:03 +00:00
nikrou
a9849aa9b6 Bug 1763 fixed : [PostgreSQL] double quote used in queries
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05 21:18:14 +00:00
rvelices
7125711f59 merge r6414 from branch 2.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
2010-06-28 19:45:21 +00:00
rvelices
722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- 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
2010-05-28 19:58:51 +00:00
laurent.duretz
43a30afea6 Issue 1521 : correction for admin pages
git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 09:11:10 +00:00
laurent.duretz
463d6f5f2f Issue 1521 : get_absolute_root_url() missing in section_init.inc.php
git-svn-id: http://piwigo.org/svn/trunk@5469 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-30 08:30:41 +00:00
laurent.duretz
72bdf727ee Issue 1521 : Integration of LinkRoot plugin in Piwigo core
git-svn-id: http://piwigo.org/svn/trunk@5441 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 08:02:44 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
nikrou
2e890e9597 Feature 1451 : localization with gettext
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
2010-03-02 14:54:22 +00:00