Commit graph

1230 commits

Author SHA1 Message Date
rvelices
4e4dc79e51 feature 2384: improve average rating calculation (still need to update language files)
git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 18:04:50 +00:00
rvelices
86bc4d1143 - simplify calculation of auto login key (no need to concatenate 2 hashes)
git-svn-id: http://piwigo.org/svn/trunk@11826 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 17:56:47 +00:00
plegall
45f6aff982 change version number to 2.3.0beta3
git-svn-id: http://piwigo.org/svn/trunk@11769 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-18 08:25:24 +00:00
plegall
20c2300aaf merge r11755 from branch 2.2 to trunk
feature 2243 added: pwg.session.getStatus returns current date (used for images.date_available field, ie database time)


git-svn-id: http://piwigo.org/svn/trunk@11756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 19:24:17 +00:00
rvelices
5869dada4c - removed admin never used function cat_admin_access
- removed obsolete known_script template block
- added a warning on usage of is_adviser function

git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 18:56:20 +00:00
plegall
0431669642 merge r11745 from branch 2.2 to trunk
feature 2376 added: new method pwg.categories.setRepresentative


git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 21:44:14 +00:00
plegall
64adb8eac1 merge r11738 from branch 2.2 to trunk
bug 2375 fixed: ability to deactivate representative cache on sub-albums (['representative_cache_on_subcats']) or when searching for another representative due to privacy level (['representative_cache_on_level'])


git-svn-id: http://piwigo.org/svn/trunk@11739 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 22:03:36 +00:00
plegall
aefd941d75 merge r11736 from branch 2.2 to trunk
bug 2338 fixed: force purge on sessions table (each time a user gets connected)


git-svn-id: http://piwigo.org/svn/trunk@11737 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 20:16:50 +00:00
mistic100
c16eeb1f2e feature:2330 ability to hide the "new" icon for recent photos
correct a big mistake in var name

git-svn-id: http://piwigo.org/svn/trunk@11591 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 21:14:04 +00:00
mistic100
9c0cfb0084 feature:2317 move order config to Admin->Config->Options
new GUI interface for simple paterns
in GUI, order_by and order_by_inside_category are merged (not un DB)
users can define special paterns with $conf['order_by_custom'] and $conf['order_by_inside_category_custom']

git-svn-id: http://piwigo.org/svn/trunk@11587 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 13:19:35 +00:00
mistic100
4099c6146a bug:2361 fixed : remove html tags in categories drop-down lists
git-svn-id: http://piwigo.org/svn/trunk@11512 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-26 10:02:12 +00:00
plegall
d9f8479cdf feature 2365 added: Piwigo version is written in the database (as
"piwigo_db_version" in the config table). We only store the branch,
not the release : 2.3 and not 2.3.1, because database structure is
not changing between minor releases.


git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 22:03:12 +00:00
mistic100
029688227b feature:2359 add single_update and single_insert functions
git-svn-id: http://piwigo.org/svn/trunk@11485 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-22 15:56:19 +00:00
mistic100
8d22af01b9 feature:2358 allow non-recursive mode for get_random_image_in_category
git-svn-id: http://piwigo.org/svn/trunk@11481 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-22 13:04:45 +00:00
plegall
d11eb3a6be merge r11371 from branch 2.2 to trunk
bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.



git-svn-id: http://piwigo.org/svn/trunk@11372 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 13:54:05 +00:00
plegall
fcda519119 merge r11367 from branch 2.2 to trunk
bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".



git-svn-id: http://piwigo.org/svn/trunk@11368 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:14:29 +00:00
plegall
2a95460f36 merge r11363 from branch 2.2 to trunk
bug 2342 fixed: with MySQL 5.5, "set level = NULL" fails because images.level
is a NOT NULL field. The same test is performed in the same function
(mass_updates) but for array bigger than 10 rows.



git-svn-id: http://piwigo.org/svn/trunk@11364 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:03:08 +00:00
plegall
a9ee6d4944 merge r11355 from branch 2.2 to trunk
bug 2340 fixed: external authentication was broken, error in SQL syntax and wrong PHP variable name was used.



git-svn-id: http://piwigo.org/svn/trunk@11356 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 08:25:45 +00:00
mistic100
def88719e8 feature:2322 Add two new trigger events for tag name display and tag url
git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-11 14:35:38 +00:00
mistic100
7532e1a802 feature:2330 ability to hide the "new" icon for recent photos
git-svn-id: http://piwigo.org/svn/trunk@11285 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-09 20:34:48 +00:00
Eric
6b15352225 bug 2323 : Refactoring update_user_comment() function to use user_comment_check trigger in a better place.
git-svn-id: http://piwigo.org/svn/trunk@11253 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-06 19:59:02 +00:00
mistic100
7982355402 transmit comment ID to template on comments and picture_comment
git-svn-id: http://piwigo.org/svn/trunk@11236 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-04 21:05:28 +00:00
plegall
4f614c9fef change version to next release: 2.3.0beta2
git-svn-id: http://piwigo.org/svn/trunk@11188 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:49:16 +00:00
plegall
2cbdb6575d change version to next release: 2.3.0beta1
git-svn-id: http://piwigo.org/svn/trunk@11186 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:46:59 +00:00
plegall
d50562fde1 merge r11160 from branch 2.2 to trunk
bug 2310 fixed: conf_update_param() does not erase config.comment column
anymore, we only insert a new row if the param does not exist yet in the
table.



git-svn-id: http://piwigo.org/svn/trunk@11162 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 22:23:06 +00:00
plegall
257808402b merge r11152 from branch 2.2 to trunk
feature 1622 added: pwg.categories.getList is now able to return a tree with
the new "tree_output" option. Only compatible with json/php output formats.



git-svn-id: http://piwigo.org/svn/trunk@11155 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:25:40 +00:00
plegall
f650346a8d merge r11121 from branch 2.2 to trunk
bug 2316 fixed: remote urls on local CSS files should not be modified



git-svn-id: http://piwigo.org/svn/trunk@11122 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 22:24:45 +00:00
plegall
301b652fcb merge r11117 from branch 2.2 to trunk
bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing


git-svn-id: http://piwigo.org/svn/trunk@11118 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:38:53 +00:00
plegall
5159af4e09 merge r11115 from branch 2.2 to trunk
feature 2244 added: web API methods pwg.categories.getImages,
pwg.tags.getImages and pwg.images.search now give the date_creation
and date_available for each returned photo.



git-svn-id: http://piwigo.org/svn/trunk@11116 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:32:10 +00:00
flop25
0a0bad781b feature:1835
better managment if $conf['insensitive_case_logon'] is true, for identification

git-svn-id: http://piwigo.org/svn/trunk@10860 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-12 14:26:21 +00:00
patdenice
3ba5410a5f feature:2284
Add param library for websize resize web service.

git-svn-id: http://piwigo.org/svn/trunk@10747 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-03 14:21:35 +00:00
patdenice
0db141fc62 feature:2259
Create two different methods in webservice to create/regenerate thumbnail and to regenerate websize.

git-svn-id: http://piwigo.org/svn/trunk@10686 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:38:59 +00:00
patdenice
4f8e0b54ac feature:2284
Send forgotten file in previous commit (again!)

git-svn-id: http://piwigo.org/svn/trunk@10685 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:17:09 +00:00
rvelices
b0f5bd822a merge -r10655 from branch 2.2 to trunk
get_combined_scripts footer and header can be now in the same tpl file (warning before and not working properly)

git-svn-id: http://piwigo.org/svn/trunk@10656 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28 19:05:40 +00:00
patdenice
3ee1056d8f Insert upload form parameters in database during installation.
Remove prepare_upload_configuration function.

git-svn-id: http://piwigo.org/svn/trunk@10653 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28 17:16:45 +00:00
patdenice
d95ddb7c61 feature:2284
Create a class to manipulate images.

git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27 17:03:25 +00:00
rvelices
e5de7e6efc combine_script - more checks and warnings...
git-svn-id: http://piwigo.org/svn/trunk@10616 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-25 19:06:47 +00:00
patdenice
b6249220fd Only reset one type of extension.
git-svn-id: http://piwigo.org/svn/trunk@10596 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23 13:32:08 +00:00
patdenice
a3963aedef feature:2274
Create thumbnail through ajax.
Remove $conf['tn_width'], $conf['tn_height'] and $conf['tn_compression_level'] parameters.

git-svn-id: http://piwigo.org/svn/trunk@10570 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 13:19:36 +00:00
patdenice
10ff3f2f06 feature:2274
pwg.images.resize method is able to create or regenerate image from image path. 

git-svn-id: http://piwigo.org/svn/trunk@10563 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 11:34:57 +00:00
patdenice
17a04fcd39 feature:2273
Add crop functionality to webservice and batch manager.

git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 22:35:16 +00:00
patdenice
f5ef4fddd7 feature:2271
Add pwg.extensions.checkUpdates method to webservices.
Add a warning message on intro page if update is availble for piwigo or extensions.
Add an "Ignore All" button on extensions update page.

git-svn-id: http://piwigo.org/svn/trunk@10538 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 15:12:38 +00:00
patdenice
491e8adc74 feature:2271
Merge autoupdate plugin into piwigo core.

git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-20 14:52:52 +00:00
rvelices
13f099f128 bug:2268 combine_script - sometimes precedent scripts were not being loaded before ...
in admin, the accordion is loaded in the header (admin pages have the same header combined script, but usually different bottom scripts)

git-svn-id: http://piwigo.org/svn/trunk@10503 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19 20:08:34 +00:00
patdenice
f7bc47d1f6 feature:2259
Add "Regenerate Websize Photos" action.

git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-17 19:08:06 +00:00
plegall
562f391c70 merge r10430 from branch 2.2 to trunk
bug 1818 fixed: fix "select distinct" queries for PostgreSQL. Patch by leloupv



git-svn-id: http://piwigo.org/svn/trunk@10431 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 21:22:39 +00:00
rvelices
4232445260 feature:2248 Improve quick/query search results
git-svn-id: http://piwigo.org/svn/trunk@10340 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-12 19:46:36 +00:00
patdenice
89803639ac feature:2259
Add web service method: pwg.images.resize

git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-10 08:59:02 +00:00
mistic100
76194270be bug:2224 one parameter for change thumnails number (needs some translations)
git-svn-id: http://piwigo.org/svn/trunk@10198 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-09 14:52:15 +00:00
mistic100
c9ec229a5a bug:1791 update webservices upload methods
git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 10:51:54 +00:00