Commit Graph

1108 Commits

Author SHA1 Message Date
nikrou d8d8ca5ed3 Fix get_enums function for SQLite
hard coded enums values for all tables
because enum feature doesn't exists for SQLite.

git-svn-id: http://piwigo.org/svn/trunk@6153 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:52:38 +00:00
plegall 8469140471 add nl.piwigo.org as domain name if current language is nl_NL
fix typos on language names in install.php

correct list of available newsletters

git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:51:01 +00:00
plegall 3597dcaa7a bug fixed on authentication check for upgrade without the 'now' mode
git-svn-id: http://piwigo.org/svn/trunk@6131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 21:25:33 +00:00
plegall f34bce6847 add a warning about SQLite/PostgreSQL: they are currently in "experimental"
state.

git-svn-id: http://piwigo.org/svn/trunk@6128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:32:36 +00:00
nikrou f1c5936f8b Fix language key (return in string) for message introduction in upgrade.php
git-svn-id: http://piwigo.org/svn/trunk@6127 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 20:23:13 +00:00
nikrou a34af69677 Amend bug 1559. standard deviation was not removed in some places.
So, sqlite crashed because std function has been removed.

git-svn-id: http://piwigo.org/svn/trunk@6125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08 18:43:50 +00:00
patdenice 973d15f338 Upgrade can be launched automaticaly if user is already connected as webmaster.
git-svn-id: http://piwigo.org/svn/trunk@6110 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 23:08:51 +00:00
plegall 7c460b8258 constants should not contain - but _
git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:35:43 +00:00
plegall 48ab333212 bug 1648 fixed: add the pwg_db_check_version functions for pdo-sqlite, sqlite
and pgsql, also make the $pwg_db_link global in the install_db_connect function
so that it can be used in SQLite functions.

bug fixed: with pdo-sqlite, pwg_db_num_rows always returns 0, so when
initializing user data, it tries to insert the same row twice.

git-svn-id: http://piwigo.org/svn/trunk@6090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-07 00:34:56 +00:00
plegall addb6b5ddc feature 620: ability to synchronize metadata from high definition photo, if no
metadata available in "web sized" photo. This commit is a report of r4683 from
update_metadata function in admin/include/functions_metadata.php in the
duplicated code get_element_metadata of admin/site_reader_local.php. See
feature 620 for details about code duplication.

git-svn-id: http://piwigo.org/svn/trunk@6076 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 23:45:20 +00:00
plegall 2a4d98ed75 bug fixed: on admin/cat_modify, the permissions icon had a bad src.
git-svn-id: http://piwigo.org/svn/trunk@6073 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:48:38 +00:00
plegall 8fd6efeb61 improve colors on admin clear theme to make it more readable (listbox and buttons, mainly)
git-svn-id: http://piwigo.org/svn/trunk@6072 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-04 21:46:40 +00:00
plegall 1f01b7f912 bug 1642 fixed: if no category exists, prevent from selecting an existing
category (before form submission).

git-svn-id: http://piwigo.org/svn/trunk@6057 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 21:24:34 +00:00
plegall 322d345077 bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronize
(the same for the Site Manager). The big "Quick Synchro" button is kept on
administration homepage. A link to the Synchronize screen was added into
Admin>Photos>Add>FTP+Synchro screen.

git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 20:13:03 +00:00
plegall a3f7bac7a6 deactivate debug traces for advanced upload form
git-svn-id: http://piwigo.org/svn/trunk@6054 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 13:38:12 +00:00
plegall 0c8cebe044 bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']
parameter (web API already use it).

By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH
because it becomes a real mess when admin/include/uploadify.php (called
directly, not from an include) tries to perform an upload.

Improvement: make clearer how $conf['upload_dir'] can be set (relative to the
Piwigo installation directory + HTTP reachable)

git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 12:49:26 +00:00
plegall 89384aa6b1 improvement: use the same code to check upload readiness in admin>photos>add
screen and in web API.

bug fixed: UploadForm partly takes into account the configurable upload
directory (must be propagated everywhere in the UploadForm process)

git-svn-id: http://piwigo.org/svn/trunk@6051 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 09:56:22 +00:00
plegall e803366a57 bug 1638 fixed: the "admin>tools>maintenance>unlinked elements" features now
works if you have only virtual categories, this is what happens if you don't
use synchronization to add photos (if you use pLoader or UploadForm for
example).

git-svn-id: http://piwigo.org/svn/trunk@6048 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-02 22:06:39 +00:00
nikrou 6ed3a3b5f0 Bug 1636 fixed : add radius for chrome. Simplify css tabsheet.
git-svn-id: http://piwigo.org/svn/trunk@6027 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-01 13:35:05 +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 5a44a6f532 - Fix tab display on IE
- Display missing screenshot on themes_new if screenshot is missing.

git-svn-id: http://piwigo.org/svn/trunk@6015 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 21:34:37 +00:00
plegall a6f0b397df bug fixed: on Google Chrome (Linux), fieldsets were center aligned in administration
git-svn-id: http://piwigo.org/svn/trunk@6000 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 16:04:33 +00:00
plegall 884c9375f3 bug 1613 fixed: split the "pending" screen into 2 distinct sections :
admin>photos>pending + admin>tools>pending comments.

git-svn-id: http://piwigo.org/svn/trunk@5997 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 13:58:40 +00:00
plegall a07188b3be bug 1634: default theme and default language have a specific page, ability to
set them from guest settings was removed.

git-svn-id: http://piwigo.org/svn/trunk@5996 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 13:35:33 +00:00
plegall f117dbe378 bug fixed: Admin>Config>Options>GuestSettings must show the guest settings,
not the default user settings.

git-svn-id: http://piwigo.org/svn/trunk@5995 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 13:15:25 +00:00
plegall 6e67764dd0 bug fixed: Admin>Config>Options>GuestSettings must show the guest settings,
not the default user settings.

git-svn-id: http://piwigo.org/svn/trunk@5994 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:55:46 +00:00
patdenice a2ccb9a5c9 feature 1502: Add $themeconf['load_parent_css'] parameter
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:45:27 +00:00
plegall eb93271eb6 bug 1631: the pwg_token was missing on default tag administration screen.
git-svn-id: http://piwigo.org/svn/trunk@5987 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 17:20:01 +00:00
plegall 73db66afa5 feature 1630: upgrade to Piwigo 2.1 :-)
bug 1604: only activate core themes not all themes.

git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 14:28:05 +00:00
patdenice 48cf944cf3 Fix tooltip position on admin intro page.
Menubar reordering now looks like category reordering.

git-svn-id: http://piwigo.org/svn/trunk@5980 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 00:35:24 +00:00
patdenice 3e29cdd0e0 In user_list page, theme value must be theme id, not theme name.
git-svn-id: http://piwigo.org/svn/trunk@5974 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-27 10:09:03 +00:00
patdenice 7a92117456 Change filename handler name for photos add pages.
git-svn-id: http://piwigo.org/svn/trunk@5960 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-24 23:29:54 +00:00
patdenice 8a1b7a4e5f Add triggers for image and thumbnail resizing.
git-svn-id: http://piwigo.org/svn/trunk@5957 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-24 22:22:32 +00:00
nikrou 9ffeaaf2c8 Feature 1156 fixed : unit mode acts as picture modify, so remove action leave and set to.
git-svn-id: http://piwigo.org/svn/trunk@5956 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-24 21:54:39 +00:00
nikrou fdc4577d0b Feature 1156 fixed : add privacy level to photo bulk manager in unit mode
git-svn-id: http://piwigo.org/svn/trunk@5955 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-24 21:48:13 +00:00
nikrou 23cc91fcff Feature 1620 : add triggers on admin side for categories and batch mode.
git-svn-id: http://piwigo.org/svn/trunk@5933 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-21 12:51:48 +00:00
nikrou 9559829f59 Fix some errors in generated html
git-svn-id: http://piwigo.org/svn/trunk@5931 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-20 21:41:07 +00:00
nikrou 94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
plegall 9ee08fcf12 feature 1605: ability to forbid theme activation, needed for gally-default.
git-svn-id: http://piwigo.org/svn/trunk@5874 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-15 22:08:37 +00:00
plegall c72c976eda bug 1612: hide admin header/footer in help popups.
git-svn-id: http://piwigo.org/svn/trunk@5866 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-15 14:15:39 +00:00
nikrou 90253ebf73 Bug 1542 fixed : add message when changing order of items
git-svn-id: http://piwigo.org/svn/trunk@5853 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-14 19:46:39 +00:00
plegall ce82578b04 feature 1601: improve error feedback on multiple upload : use jGrowl jQuery
plugin to display individual state for each uploaded file.

git-svn-id: http://piwigo.org/svn/trunk@5848 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-14 14:08:19 +00:00
plegall 8571655d0f feature 1600: the upload_mode is "remembered".
git-svn-id: http://piwigo.org/svn/trunk@5812 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-12 09:35:33 +00:00
nikrou 9131b5a1cb add icon to say that items for menu can be drag and drop to reorganize them.
git-svn-id: http://piwigo.org/svn/trunk@5783 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 20:05:37 +00:00
nikrou 8ed51d8497 Fix some issues with database connections.
install_db_connect() function must return database resource link
insert into set syntax is mysql specific

git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 19:49:30 +00:00
nikrou ef7b4cd2b5 Feature 1031 : Automatically sort photos by rank when manual ranks are edited
Add fields to choose sorting mode.
If order of images is changed, checked automaticaly rank for sorting mode.

Need refactoring between admin/element_set_ranks.php admin/cat_modify.php

git-svn-id: http://piwigo.org/svn/trunk@5759 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 13:25:20 +00:00
plegall 8a4b177c7b feature 1587: move advanced features screen into maintenance screen.
git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09 21:38:16 +00:00
plegall ca04de7d5e bug 1555: make sure the #formErrors block is hidden by default when submitting
the form.

git-svn-id: http://piwigo.org/svn/trunk@5744 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09 20:05:27 +00:00
plegall e39b4c4a0c feature 1591: smarter default categories in upload form. We use the most
recently added photo as reference.

git-svn-id: http://piwigo.org/svn/trunk@5743 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09 19:47:29 +00:00
plegall fce10ca2d4 feature 1590: hide the upload form when displaying upload results.
git-svn-id: http://piwigo.org/svn/trunk@5742 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09 18:29:34 +00:00