Commit graph

369 commits

Author SHA1 Message Date
z0rglub
3c8309a7e6 - deletion of session_time and session_id_size as config parameter
- new feature : "remember me" creates a long time cookie

- possibility to set the default authentication method to URI or cookie

- really technical parameters (session identifier size, session duration)
  are set in the config file and not in database + configuration.php


git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-02 23:12:50 +00:00
z0rglub
da836ea95f directories "high" and "representative" are not returned anymore as
potential category directories


git-svn-id: http://piwigo.org/svn/trunk@540 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-02 22:59:03 +00:00
gweltas
28dcfea993 - Change of the picture page behavior to be able to open the full size image in a new window
- Minor modification for template migration
- Rename of script.js in scripts.js


git-svn-id: http://piwigo.org/svn/trunk@539 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-01 22:50:50 +00:00
z0rglub
e7b24ebdd0 add support of exif and iptc for remote site
git-svn-id: http://piwigo.org/svn/trunk@538 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-27 21:51:07 +00:00
gweltas
1d4238055a -First draft of history display
git-svn-id: http://piwigo.org/svn/trunk@537 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-26 21:24:49 +00:00
z0rglub
bb8189ea75 add support of a third size picture in "high" sub-directory
git-svn-id: http://piwigo.org/svn/trunk@536 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-24 08:37:29 +00:00
z0rglub
1d40fed004 bug correction : if you rate a picture and then launch the slideshow, all
pictures are rated with the same rate


git-svn-id: http://piwigo.org/svn/trunk@535 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-24 00:03:07 +00:00
z0rglub
acfbcac7bb - (re)added feature : in remote site management, if a listing.xml file is
found at PhpWebGallery root directory, it can be used to update a remote
  site

- size and maxlength of prefix_thumbnail in admin/configuration are 10


git-svn-id: http://piwigo.org/svn/trunk@534 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 23:41:23 +00:00
gweltas
c2ceeae013 - Small update of category.tpl
git-svn-id: http://piwigo.org/svn/trunk@533 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 17:14:04 +00:00
gweltas
79a6102edc - Delivery of french translation in order to test i18n
- Deletion of collapsed & expanded gifs (obsoletes)
- Creation of faq language file for further writing of a end user-oriented FAQ


git-svn-id: http://piwigo.org/svn/trunk@532 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 17:09:06 +00:00
gweltas
4106c2a524 - New template for picture.tpl
- Creation of a menu bar in the picture display


git-svn-id: http://piwigo.org/svn/trunk@531 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-23 16:42:11 +00:00
z0rglub
0b86652fa0 - change language keys
- depending on PHP version and MySQL version, nullable fields might be not
  returned as key on query

- deletion of call to deprecated synchronize_all_users function


git-svn-id: http://piwigo.org/svn/trunk@530 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-20 21:10:17 +00:00
z0rglub
86770499b5 - commenting unused function guess_lang
- code refactoring (commenting, code conventions)

- reorganize variable init in install.php avoiding "undefined constant" in
  languages files

- PhpWebGallery site and forum URL are not variables anymore, only text in
  language file


git-svn-id: http://piwigo.org/svn/trunk@529 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-20 20:54:22 +00:00
z0rglub
9d0ffba637 - huge refactoring of admin/configuration.php (reminder : tabs in code are
forbidden, only blank spaces are allowed)

- in admin panel, remote site management is in "general" section and not in
  "configuration" section

- when retrieving languages, the array keys must be the language code and
  not its display name (because 2 language codes might have the same display
  name)


git-svn-id: http://piwigo.org/svn/trunk@528 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-20 20:08:15 +00:00
gweltas
288818b06d - dispatch of configuration
git-svn-id: http://piwigo.org/svn/trunk@527 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-19 22:26:41 +00:00
z0rglub
094bbe3cee - new version of create_file_listing.php for future 1.4 branch
- new feature : remote site management (generate listing, update, clean,
  delete)

- on category page, no display of filesize if info not available in database


git-svn-id: http://piwigo.org/svn/trunk@526 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:09:47 +00:00
z0rglub
aa392c1fdd init of $xml_content var avoiding PHP warnings
git-svn-id: http://piwigo.org/svn/trunk@525 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:08:24 +00:00
z0rglub
e9cd9b5395 code refactoring
git-svn-id: http://piwigo.org/svn/trunk@524 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:07:40 +00:00
z0rglub
79de56d63c deletion of rate lines when deleting an element
git-svn-id: http://piwigo.org/svn/trunk@523 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:05:15 +00:00
z0rglub
01d3587006 representative was badly tested using prefix_thumbnail...
git-svn-id: http://piwigo.org/svn/trunk@522 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:04:41 +00:00
z0rglub
9519786fa4 verification of number of elements to delete in the function and not before
calling function (for delete_elements and delete_categories)


git-svn-id: http://piwigo.org/svn/trunk@521 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-12 08:33:56 +00:00
gweltas
c6e6f131fa waiting tpl migration
git-svn-id: http://piwigo.org/svn/trunk@520 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-11 10:36:03 +00:00
gweltas
eaad1d61d7 Minor bugs correction
git-svn-id: http://piwigo.org/svn/trunk@519 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-07 20:10:36 +00:00
z0rglub
47a1e49c1e - corrects bugs due to deletion of configuration parameters default_lang,
default_style (renamed to default_language and default_template),
  session_keyword

- in install.php, corrects bug to deletion of language keys :
  conf_general_webmaster, conf_general_webmaster_info and renaming of
  conf_general_mail


git-svn-id: http://piwigo.org/svn/trunk@518 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-07 19:29:42 +00:00
z0rglub
21886493a7 - adjustements on length fields
- usage of predefined values for nb_image_line and nb_line_page


git-svn-id: http://piwigo.org/svn/trunk@517 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-05 20:49:31 +00:00
z0rglub
b220e5db42 deletion of $conf['site_url'] and $conf['forum_url'] and all their usage
(thus avoiding the usage of $conf in *.lang.php)


git-svn-id: http://piwigo.org/svn/trunk@516 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-05 15:49:54 +00:00
z0rglub
1f8b6b0790 when clicking on configuration page of admin panel, the general section in
the menu was not displayed as the focused one.


git-svn-id: http://piwigo.org/svn/trunk@515 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-04 09:19:36 +00:00
z0rglub
dd38c14639 - bug correction : when coming from picture.php on a picture of category.php
page superior to the first, the right page was displayed (the one
  including the element) but the navigation bar was always saying we were on
  the first page

- distinguish CSS classes span.dateSelected and span.pageNumberSelected


git-svn-id: http://piwigo.org/svn/trunk@514 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-04 08:07:33 +00:00
z0rglub
af5bb2dde0 - in admin/configuration, add new step with "sections" (general, comments,
default, upload, metadata, sessions)

- admin/configuration.php and its template have been higly simplificated by
  making things more generic : for example, for each configuration
  parameter, its name must correspond to the name we find in the config
  table and belongs to a section, in the lang array we find :

  - $lang['conf_<section>_<param>']
  - $lang['conf_<section>_<param>_info']
  - $lang['conf_<section>_<param>_error'] optionnaly

- more described message when connection to database server is impossible

- redefinitions of get_languages and get_templates functions

- deletion of configuration parameters : webmaster, session_keyword

- rename of configuration parameters :

  - default_lang => default_language
  - default_style => default_template


git-svn-id: http://piwigo.org/svn/trunk@513 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-03 22:05:31 +00:00
z0rglub
1f71a31084 - in admin/configuration, add new step with "sections" (general, comments,
default, upload, metadata, sessions)

- admin/configuration.php and its template have been higly simplificated by
  making things more generic : for example, for each configuration
  parameter, its name must correspond to the name we find in the config
  table and belongs to a section, in the lang array we find :

  - $lang['conf_<section>_<param>']
  - $lang['conf_<section>_<param>_info']
  - $lang['conf_<section>_<param>_error'] optionnaly

- more described message when connection to database server is impossible

- redefinitions of get_languages and get_templates functions

- deletion of configuration parameters : webmaster, session_keyword

- rename of configuration parameters :

  - default_lang => default_language
  - default_style => default_template


git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-03 15:01:05 +00:00
z0rglub
fb5b21cbde - refactoring
- adaptation of the URL for searching associated keywords to the new search
  URL string


git-svn-id: http://piwigo.org/svn/trunk@511 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01 21:56:24 +00:00
z0rglub
2dbc66da3b - new special category : random pictures
- reorganisation of special categories menu : template is used only for
  template. A special category is presented as the template tells to do so.

- favorites becomes just another special category

- bug correction for best rated category : wrong MySQL query if user has
  forbidden categories (see include/functions_category.inc.php diff)


git-svn-id: http://piwigo.org/svn/trunk@510 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01 21:39:29 +00:00
gweltas
f13b345dcf Template migration : picture_modify.php
git-svn-id: http://piwigo.org/svn/trunk@509 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-31 23:05:19 +00:00
z0rglub
a8cb550b92 if category is best_rated : displays the average rate of the element before
its name


git-svn-id: http://piwigo.org/svn/trunk@508 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-31 21:32:58 +00:00
z0rglub
0e2436f50a add rating feature
git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-30 22:00:46 +00:00
gweltas
0c482df04e Migration of the template of images_infos.php
git-svn-id: http://piwigo.org/svn/trunk@506 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 21:22:24 +00:00
z0rglub
c714a9dbaf adds image id in the order by statement. Without it, you can encounter
problems with searchs returning elements that have same date of
availability, same filename. images.id is the only field you can be sure of
unicity


git-svn-id: http://piwigo.org/svn/trunk@505 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 17:25:33 +00:00
gweltas
2884773818 PHP5 compatibility
git-svn-id: http://piwigo.org/svn/trunk@504 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:56:05 +00:00
z0rglub
bfff1c341d deletion of a debug instruction
git-svn-id: http://piwigo.org/svn/trunk@503 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:52:28 +00:00
z0rglub
54c907ce9d search in sub-categories option is available
git-svn-id: http://piwigo.org/svn/trunk@502 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:50:49 +00:00
z0rglub
7aa6ab3a4f corrects a bug in language item choice
git-svn-id: http://piwigo.org/svn/trunk@501 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 14:29:24 +00:00
z0rglub
d6620ab646 - uses a trick to get all categories with the function to get menu
categories

- corrects a bug in language item choice


git-svn-id: http://piwigo.org/svn/trunk@500 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 14:29:14 +00:00
gweltas
196f36176e Call to get_plain_structure() replaced by a call to get_user_plain_structure()
git-svn-id: http://piwigo.org/svn/trunk@499 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 13:53:48 +00:00
z0rglub
38f7bcd8ac simplier display of update result :
- number of new categories
 - number of new elements
 - number of deleted categories
 - number of deleted elements
 - only errors are fully listed


git-svn-id: http://piwigo.org/svn/trunk@498 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 11:21:21 +00:00
z0rglub
c414a9133e possibility to choose the date field you want to use for calendar category
(date_available or date_creation).


git-svn-id: http://piwigo.org/svn/trunk@497 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-26 23:00:28 +00:00
gweltas
11c2e58053 - Deletion of obsolete functions in the administrative part
- Repair of virtual category management


git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 22:25:58 +00:00
z0rglub
c8fb7c2e36 refresh time decreases from 5 seconds to 1
git-svn-id: http://piwigo.org/svn/trunk@495 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:19:56 +00:00
z0rglub
e63b7ea949 very small refactoring
git-svn-id: http://piwigo.org/svn/trunk@494 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:18:59 +00:00
z0rglub
d8494248fc "show metadata" feature added : you can ask to show metadata (EXIF and IPTC)
on picture.php page. Metadata read functions were moved from
admin/include/functions_metadata.php to include/functions_metadata.inc.php


git-svn-id: http://piwigo.org/svn/trunk@493 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:09:09 +00:00
z0rglub
593574214c in get_icon function, if the date is not in the right format, returns empty
string


git-svn-id: http://piwigo.org/svn/trunk@492 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:50:54 +00:00