Commit graph

234 commits

Author SHA1 Message Date
Eric
bac7567b5c PHP 5.3 compatibility - Deprecated functions were replace as follows :
ereg() -> preg_match()
ereg_replace() -> preg_replace()
eregi() -> preg_match() with the 'i' modifier
eregi_replace() -> preg_replace() with the 'i' modifier
set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix.

git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-17 16:21:09 +00:00
plegall
9b16d67c22 merge r3453 from branch 2.0 to trunk
feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.


git-svn-id: http://piwigo.org/svn/trunk@3454 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 23:01:35 +00:00
plegall
fc4b25e120 modification: update SVN URL to http://piwigo.org/svn
git-svn-id: http://piwigo.org/svn/trunk@3280 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-06 21:37:02 +00:00
plegall
3c27690c87 merge r3239 from branch 2.0 to trunk
bug 949 fixed: to avoid memory limit on server side, base64 encode chunks one
by one on client side and base64 decode chunks one by one on server side.


git-svn-id: http://piwigo.org/svn/trunk@3240 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-14 22:54:39 +00:00
plegall
87a7b60bed merge r3196 from branch 2.0 to trunk
bug 926 fixed: change links to piwigo.org so that they go to existing URLs.

new: if the current language is french, the links go to fr.piwigo.org instead.


git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:43:50 +00:00
plegall
f94ff8b8e1 merge r3192 from branch 2.0 to trunk
bug 941 fixed: to be able to upload heavy photo, chunk the files, send parts
one by one, and then pwg.images.add merge chunks together. Now big uploads
works and you can even have a fine progress bar on client side.


git-svn-id: http://piwigo.org/svn/trunk@3193 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 23:14:50 +00:00
nikrou
bea3462f56 fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-09 19:41:45 +00:00
plegall
d4914a3447 merge r3134 from branch 2.0 to trunk
new: phpwebgallery renamed piwigo

modification: pwg_rel_create.sh only creates the zip file


git-svn-id: http://piwigo.org/svn/trunk@3135 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-12 23:55:27 +00:00
plegall
83275fd036 merge r3064 from branch 2.0 to trunk
bug 912 fixed: we need an extra original_sum to pwg.images.add API method to
check photo existence. Using the file_sum was a bad idea.


git-svn-id: http://piwigo.org/svn/trunk@3065 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-08 23:33:35 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
plegall
4fc7acc18b merge r2722 from branch 2.0 to trunk
feature 892 added: pwg.images.setInfo added so that once we have discovered
the photo was already in the database (thanks to pwg.images.exist), we can
only set the photo metadata.


git-svn-id: http://piwigo.org/svn/trunk@2919 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-03 22:55:17 +00:00
laurent.duretz
82a2d09d76 Issue 899
git-svn-id: http://piwigo.org/svn/trunk@2833 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-06 07:13:27 +00:00
laurent.duretz
a5aa24e213 Issue 894 : Missing slash at the end of URL
git-svn-id: http://piwigo.org/svn/trunk@2751 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-15 18:45:47 +00:00
plegall
273fd6f186 version management: trunk codename changes to Colibri, see topic:13884.
git-svn-id: http://piwigo.org/svn/trunk@2725 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-12 18:47:46 +00:00
plegall
3eecf04629 feature 889 added: pwg.images.exist check the existence of a photo in the
database based on its md5sum. (avoid failing on pwg.images.add).


git-svn-id: http://piwigo.org/svn/trunk@2683 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-07 22:01:14 +00:00
rub
4d87bb1d96 Change 1.7 to Butterfly
git-svn-id: http://piwigo.org/svn/trunk@2681 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-07 20:03:42 +00:00
plegall
b53cddbf6a feature 885 added: pwg.images.add web API method now supports additional
high resolution format.


git-svn-id: http://piwigo.org/svn/trunk@2670 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-05 21:22:57 +00:00
plegall
600e2d87ec feature 874 added: new Web API method pwg.tags.add.
git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-01 21:08:51 +00:00
plegall
5adad7565c new: WebService method pwg.tags.getAdminList was added. The difference with
pwg.tags.getList is that this new method doesn't take permissions into
account, and so is available only for administrator connected users.


git-svn-id: http://piwigo.org/svn/trunk@2584 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-24 21:30:33 +00:00
plegall
6df515a54f new: WebService method pwg.categories.add so that pLoader can create a
virtual category.


git-svn-id: http://piwigo.org/svn/trunk@2583 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-24 20:25:39 +00:00
plegall
aa41a468e5 improvement: WebService method pwg.images.add can set fill #images table
columns. rank is directly related to a category and several categories can
be linked at once. Basic technical metadata {filesize, width, height} are
automaticaly filled.


git-svn-id: http://piwigo.org/svn/trunk@2569 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-22 21:47:03 +00:00
plegall
d55107e3e3 improvement: instead of sending the images_max_rank of each category in
pwg.categories.getList so that you can correctly set the rank in
pwg.images.add, the rank is calculated automatically in pwg.images.add so
that the image is added at the end of the category.


git-svn-id: http://piwigo.org/svn/trunk@2553 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-19 22:59:41 +00:00
plegall
272113c417 feature added: ability to set rank from webservice upload.
git-svn-id: http://piwigo.org/svn/trunk@2520 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-11 22:19:04 +00:00
plegall
197d4a92e7 bug fixed: following r2516, remove partner from piwigo_remote.pl, the
argument is not useful any longer.


git-svn-id: http://piwigo.org/svn/trunk@2519 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-11 22:09:21 +00:00
plegall
255a4f393a improvement: remote client summarizes HTTP response when invoking
pwg.images.add => code, message.


git-svn-id: http://piwigo.org/svn/trunk@2500 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-04 22:08:47 +00:00
plegall
45960b4631 feature 839, first step : early proof of concept, no error handling. A
remote client can add a photo in a category thanks to the web API. A new
"upload" directory is created (write access required on the base
directory). Uploaded photo have path such as
upload/<year>/<month>/<day>/<datetime>-random.jpg. The thumbnail must come
with the "web sized" photo. The photo has no storage_category_id.

Bugs still need to be fixed and a discussion must occur before next steps.


git-svn-id: http://piwigo.org/svn/trunk@2463 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-30 21:53:00 +00:00
rvelices
f9927090e0 - feature 832: Folders with no images sql optimization
- recent pics are sorted by date descending, and only then by conf['order_by']
- updated prototype.js to version 1.6

git-svn-id: http://piwigo.org/svn/trunk@2424 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-05 22:13:28 +00:00
stripy
93a4c7a150 git-svn-id: http://piwigo.org/svn/trunk@2370 68402e56-0260-453c-a942-63ccdbb3a9ee 2008-05-31 09:46:08 +00:00
stripy
2f2cdb6b91 git-svn-id: http://piwigo.org/svn/trunk@2360 68402e56-0260-453c-a942-63ccdbb3a9ee 2008-05-28 21:18:50 +00:00
patdenice
eb975a8cda Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

git-svn-id: http://piwigo.org/svn/trunk@2352 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-20 00:27:26 +00:00
rub
3cffa07182 Change some PhpWebGallery to Piwigo. (2/2)
All phpwebgallery.net are not changed!



git-svn-id: http://piwigo.org/svn/trunk@2342 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-15 18:43:33 +00:00
rub
51491ab08f Change some PhpWebGallery to Piwigo.
Not all PhpWebGallery has been translated!

git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-14 22:25:36 +00:00
rub
52797d017e Resolved issue 0000825: create_listing_file.php don't work with port server
git-svn-id: http://piwigo.org/svn/trunk@2337 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-14 21:53:25 +00:00
plegall
524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
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-05 14:14:07 +00:00
plegall
3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
mathiasm
d5015da6ec update release script to avoid the ../ warning in zip
added md5sum in the script

git-svn-id: http://piwigo.org/svn/trunk@2200 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-27 21:01:32 +00:00
rub
48220bdf7b Resolved issue 0000794: Avoid to change create_listing_file.php on each version
Resolved issue 0000795: In create_listing_file.php, it's not safe mode but set_time_limit is disabled

Merge branch-1_7 2197:2198 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2199 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-27 08:37:59 +00:00
mathiasm
c1448de29e Fixed some inconsistencies in folder management
git-svn-id: http://piwigo.org/svn/trunk@2197 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-24 22:00:56 +00:00
plegall
24553207a9 New: procedure and release creation script added.
git-svn-id: http://piwigo.org/svn/trunk@2176 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-29 23:03:19 +00:00
rvelices
36e0e6e8f1 - changed htmlentities to htmlspecialchars in comments.php (utf-8 issue)
- web service explorer in utf-8
- removed warning in function load_language
- feature: show_queries also shows number of selected rows or number of affected rows

git-svn-id: http://piwigo.org/svn/trunk@2134 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-11 00:10:41 +00:00
rvelices
a3b23df6ef - admin, comments and tags pages include page_header later in the code (as in picture and index) allowing plugins to change the header until the very end
- fix in admin.php : picture_modify requires cache invalidation
- fix in site_update.php : some echo func calls changed to $template->output .= ...
- upgraded prototype.js to latest version 1.5.1.1

git-svn-id: http://piwigo.org/svn/trunk@2107 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-27 22:46:17 +00:00
laurent.duretz
7142203c4e Issue 0000729 : Distant Site on http://members.lycos.co.uk/
git-svn-id: http://piwigo.org/svn/trunk@2077 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-11 11:21:37 +00:00
laurent.duretz
18072ce5e6 Issue 0000727: create_listing_file.php n'assigne pas la miniature aux fichiers non images
git-svn-id: http://piwigo.org/svn/trunk@2075 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-25 19:03:01 +00:00
rub
6c888182b9 In create_listing_file.php file, re-set $conf['use_exif'] value with same value defined in config_default.inc.php file.
With 1.7, action are done in order to standardize between this 2 files.

Reduce line length (<79)

git-svn-id: http://piwigo.org/svn/trunk@1968 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-21 22:17:06 +00:00
plegall
38ca856ea4 New: trunk code name changes from "Alligator" to "Butterfly".
git-svn-id: http://piwigo.org/svn/trunk@1954 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-11 08:33:18 +00:00
rub
e78d0fde73 Update svn properties (svn:eol-style and svn:keywords)
git-svn-id: http://piwigo.org/svn/trunk@1912 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:30:07 +00:00
rub
cad4270a4d Update index.php header.
Don't use explicitly index.php on the recursive call.

Add missing index.php.

Chang tags.php svn properties.

git-svn-id: http://piwigo.org/svn/trunk@1909 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 06:15:27 +00:00
plegall
b0478ef330 New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata
synchronization.

Bug fixed: in getAttribute XML function, when asking "filesize", it was
returning high_filesize. The regex was too simple.


git-svn-id: http://piwigo.org/svn/trunk@1883 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-09 16:28:49 +00:00
laurent.duretz
44f057a5f0 minor update : supress warning on images without IPTC metadatas
git-svn-id: http://piwigo.org/svn/trunk@1867 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28 08:31:00 +00:00
rvelices
cb2408a82c Plugins:
- display author and and author url (if present) on plugin admin page
 - uniformized versions/authors... for all plugins in svn
 - security fix (html escape name, version, uri, author... to avoid javascript injection which could automatically simulate click on Install)
 - added confirmation for install/uninstall plugins

Web services:
 - web service explorer now caches method details in order to avoid unnecessary web calls
 - web service explorer can now send parameters as arrays
 - web service explorer uses now prototype.js version 1.5
 - small improvements

- added and use function bad_request (sends http status code 400)

git-svn-id: http://piwigo.org/svn/trunk@1852 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 13:18:34 +00:00