Commit graph

92 commits

Author SHA1 Message Date
mistic100
e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100
4926fced5e replace some mass_updates/inserts by single_update/insert
git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 18:17:10 +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
mistic100
2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
rvelices
a67a99120e fix picture modify create date for days/months on two digits starting with 0
git-svn-id: http://piwigo.org/svn/trunk@24946 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-16 19:42:38 +00:00
mistic100
f7d95017a4 bug:2822 editing photo replaces date_creation time to 00:00:00
git-svn-id: http://piwigo.org/svn/trunk@20531 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-03 15:25:52 +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
plegall
a1002f61fd little code refactoring over r17424
bug fixed on Edit Photo page when associating with no album.


git-svn-id: http://piwigo.org/svn/trunk@17980 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-18 11:43:36 +00:00
rvelices
0b59bf7465 user_cache was not invalidated on photo deletion
git-svn-id: http://piwigo.org/svn/trunk@16334 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-03 20:19:47 +00:00
mistic100
b82ddfb655 feature 2564: small changes in infos list
git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 17:02:54 +00:00
mistic100
d0303b4ff0 feature 2564: display picture infos as list
git-svn-id: http://piwigo.org/svn/trunk@13084 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 16:10:00 +00:00
plegall
bea45c89b6 feature 2564: redesign on photo administration screen.
* one screen with several tabs (for now: properties + coi)

* double select boxes for album associations and representation have been
  converted to simple multiple select boxes with jQuery Chosen

* more details about the photo in an introduction text


git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 10:52:07 +00:00
rvelices
0d277219fc multisize - added the coi (still to affine the admin ui + language)
multisize - derivatives can be revuild from a larger derviative instead of the original

git-svn-id: http://piwigo.org/svn/trunk@13038 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-06 20:59:20 +00:00
plegall
ae6a63bee0 feature 2561: redesign on album administration screen.
* only one form on the screen and several tabs

* simpler URL pattern : page=album-123-properties / page=album-123-sort_order
  / page=album-123-permissions

* action to associate all photos of an album to another (new) virtual album
  was removed. This can be easily done with the new Batch Manager

* notification by email on an album still has to be moved on a new dedicated tab

* action icons (jump to album, manage photos, manage sub-albums, delete album...)
  replaced by plain text links


git-svn-id: http://piwigo.org/svn/trunk@13013 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-01 23:03:35 +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
34717c1391 feature 2548 multisize - improved picture.php display (original...) + code cleanup
git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05 22:06:21 +00:00
rvelices
d0b5df605c feature 2548 multisize
- rewrote local site sync + metadata sync

git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-03 20:21:13 +00:00
rvelices
753f58d6a9 feature 2541 multisize
- 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
2011-12-27 05:26:44 +00:00
mistic100
0fbc085f52 feature:2466 Display high-definition dimensions in picture_modify
(file size was already displayed)

git-svn-id: http://piwigo.org/svn/trunk@12612 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-12 12:45:19 +00:00
plegall
347fb6e321 bug 2449 fixed: in the "tags box" on batch manager and picture_modify, we
should only display the tag in the current user language, not the tag in all
available languages.


git-svn-id: http://piwigo.org/svn/trunk@12259 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 13:48:49 +00:00
rvelices
c17ed8b55f feature 2387: addd a filter by tag in the batch manager
git-svn-id: http://piwigo.org/svn/trunk@11853 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-30 04:49:02 +00:00
patdenice
0af1d99ebf bug:2326
Mysql error on picture_modify if tag input is empty.

git-svn-id: http://piwigo.org/svn/trunk@11220 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-03 16:40:25 +00:00
patdenice
c9b7beb12f Load tags for tokeninput directly in html page. Ajax is too slow.
git-svn-id: http://piwigo.org/svn/trunk@11039 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 09:00:46 +00:00
plegall
a387525c08 bug fixed: makes really sure there is a defined category id before redirection on photo deletion
git-svn-id: http://piwigo.org/svn/trunk@9943 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-30 21:22:47 +00:00
plegall
0a44acdd8a feature 1062 added: ability to delete a single photo from its administration
screen


git-svn-id: http://piwigo.org/svn/trunk@8764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:51:03 +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
plegall
7ca4f8e060 feature 2102: add a few language keys to remove all image/picture/element and replace by photo
git-svn-id: http://piwigo.org/svn/trunk@8727 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 23:53:47 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
plegall
a61e471e02 merge r6713 from branch 2.1 to trunk
bug 1757 fixed: ability to use HTML in author field


git-svn-id: http://piwigo.org/svn/trunk@6714 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:37:38 +00:00
plegall
10dac9de37 bug 1637: make the privacy level the same everywher, use "who can see this photo?"
instead of "minimum privacy level".

git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-30 22:38:17 +00:00
patdenice
0abfb916e3 Remove @, test $_POST['date_creation_year'] instead, make nicolas joyful ;-)
git-svn-id: http://piwigo.org/svn/trunk@5288 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 17:38:55 +00:00
patdenice
87f5424cca Avoid error if creation date calendar is empty.
Avoid error on picture_modify.php if creation date is not correct.

git-svn-id: http://piwigo.org/svn/trunk@5283 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 11:08:09 +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
plegall
c695136e4d bug 1328: backport the pwg_token on trunk
bug 1329: backport the check_input_parameter on trunk

feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).

git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:25:39 +00:00
plegall
3a076f460d feature 724: FCBKcomplete propagated to element_set_global and
element_set_unit to manage tags.

Note: multiple instances of FCBKcomplete on the same page does not work as
good as a single instance.

git-svn-id: http://piwigo.org/svn/trunk@5188 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 12:50:19 +00:00
plegall
1c545c601b feature 724: improved "add tags" form. Instead of a big list of checkboxes,
displays a dynamic list of tags with jQuery, with suggestions based on
existing tags and the ability to create new tags on the fly.

The change was applied only on admin/picture_modify.php for test purpose.

Note : FCBKcomplete 2.7 had a bug on "remote tag" click, and the bug was fixed
on 2.7.1. But the suggestions were not working with 2.7.1. So I took the 2.7
and applied the tiny change to make the "remove tag" click work.

git-svn-id: http://piwigo.org/svn/trunk@5067 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-06 22:10:23 +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
nikrou
924dd262ec Feature 1244 resolved
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
2009-11-20 14:17:04 +00:00
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +00:00
plegall
65e10b68d5 merge r3389 from branch 2.0 to trunk
bug 1022 fixed: a photo can be associateed to no category (now that a photo
can have NULL as storage_category_id, it's possible to have no associated
category), the admin/picture_modify doesn't break anymore.

git-svn-id: http://piwigo.org/svn/trunk@3390 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-02 20:22:45 +00:00
rvelices
e8dac75c40 - removed second parameter $type from function format_date
git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04 02:41:03 +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
52f0cce24f bug fixed: now that WebService method pwg.images.add create image records
with no storage_category_id, we allow this field to be null in the
administration code.


git-svn-id: http://piwigo.org/svn/trunk@2575 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-23 21:26:36 +00:00
vdigital
fecb04f2ec Wigo becomes "goto".
Admin tpl files are moved.

git-svn-id: http://piwigo.org/svn/trunk@2530 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-14 07:16:15 +00:00
rvelices
55095f9ce9 merge -r 2303 from branch-1_7 to trunk
- removed some unused code
- mass_updates function does not need SELECT VERSION() 
- rewrote update_uppercats to avoid db update if no change

git-svn-id: http://piwigo.org/svn/trunk@2304 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-19 03:00:11 +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
rvelices
ef77dac315 - remove unused functions get_month_list and get_day_list
git-svn-id: http://piwigo.org/svn/trunk@2252 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-05 02:26:58 +00:00
rvelices
ba4f23dd83 picture, footer and picture modify template migration
git-svn-id: http://piwigo.org/svn/trunk@2227 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-29 01:25:13 +00:00
rub
69159c0e92 Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30 22:07:07 +00:00