Commit graph

81 commits

Author SHA1 Message Date
rvelices
034e914870 feature 765: Sort alphabetically the admin plugin menus and plugin list
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2143 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-19 02:04:24 +00:00
rub
027d0c8846 Resolved issue 0000725: Check integrity
Replace actual test (exif) by a new dynamic system of check integrity.
Anomalies are listed with automatic correction if it's possible.

Merge BSF 2064:2066 into branch-1_7


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2067 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-19 20:03:17 +00:00
rvelices
bd73ae2b2d merge revision 1978 from trunk to branch-1_7
invalidation of the users cache done in a function and an action is triggered

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1979 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-26 02:01:36 +00:00
rvelices
ee399d727d fix admin.php #_user_cache.need_update
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1953 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-11 00:49:58 +00:00
rub
bb5821e577 Update #_user_cache.need_update only for pages witch change permission
=> Increase treatment time for NBM for example

Merge BSF 1944:1945 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1946 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-07 21:52:48 +00:00
rub
1a3660405a Add the last (before 1.8) tabsheet on administration menu (Waiting elements).
Small change way mail function.

git-svn-id: http://piwigo.org/svn/trunk@1915 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-16 18:49:19 +00:00
rub
051145723d Fix Mathias requests about French words.
Rename completely general tab into main tab.

git-svn-id: http://piwigo.org/svn/trunk@1894 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-11 23:02:13 +00:00
rub
f266c3b4cb Add tabsheet on administration pages.
Step 3: Tabsheet for configuration & history
        Change css tabsheet to do like p0w0 for all themes


git-svn-id: http://piwigo.org/svn/trunk@1881 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-08 22:14:14 +00:00
rub
c813e43f78 Add tabsheet on administration pages.
Step 2: Regroup categories options into sheet Batch management.

On next commit, use of this new method on history and configuration



git-svn-id: http://piwigo.org/svn/trunk@1878 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 22:53:42 +00:00
rub
bacf165624 Undo revision 1865 in order to add tabsheet for categories.
(Not really undo help)

git-svn-id: http://piwigo.org/svn/trunk@1877 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 22:21:35 +00:00
rvelices
ea56d7b2ac feature 657: permalinks for categories
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28 03:07:12 +00:00
rvelices
30e259904c admin pages: merge Categories/comments page into Configuration/comments page
(they are related and we reduce the # of links in the menu)

git-svn-id: http://piwigo.org/svn/trunk@1865 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28 00:16:53 +00:00
vdigital
0a366bae97 Web Service Revise ws_checker and ws_functions.inc.php
(Next steps:
- Restrict Method need to be more generic maybe
- Delete functions_webserv.inc.php 
- Activate $partner in ws.php
- Include checked access in tools
- ...)


git-svn-id: http://piwigo.org/svn/trunk@1760 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-27 18:52:20 +00:00
plegall
5d9a865fe1 Modification: new data model for history, more compact, more efficient. A
summary table is used as cache for history stats display.

New: a Perl script fill_history.pl was added to simulate a high load on
history table (making the efficiency of the new data model obvious).

Modification: function prepend_append_array_items moved from
include/functions_search.inc.php to include/functions_search.inc.php since
this function is used in new file admin/history.php

Modification: admin/images/*_stats.img.php replaced by a simpler and more
generic admin/images/stats.img.php unique file.

New: a history detail search page was added. Currently, only start and end
dates can be modified, it's just a beginning.


git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 23:39:39 +00:00
rvelices
b910549db2 Plugins: new way of adding links and content to administration pages...
git-svn-id: http://piwigo.org/svn/trunk@1705 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 11:38:54 +00:00
rub
2bac6aab19 Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Missing state 'active' to check direct access plugin page.

git-svn-id: http://piwigo.org/svn/trunk@1700 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08 05:48:37 +00:00
rub
4489066c98 Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Add some plugin triggers:
  o for help
  o for language
  o for site manager
  o for advanced features

Allow to launch directly plugin page (without section key)

Add add_index plugin, available on site manager and advanced features

Configuration page and best help must be coming soon.



git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08 00:16:10 +00:00
rub
4a4f72cbc3 Fix Feature Issue ID 0000585.
Convergence of exif configuration between local site and remote site.

Notes added on administration page where configuration is not OK.


git-svn-id: http://piwigo.org/svn/trunk@1682 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-28 00:06:06 +00:00
rub
68450f256b Add new menu on administration menu: "Specials".
Remove old plugin menu.
Change label pictures menu (pictures to Pictures)

git-svn-id: http://piwigo.org/svn/trunk@1672 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-17 11:02:09 +00:00
vdigital
3288690009 Admin menu
git-svn-id: http://piwigo.org/svn/trunk@1665 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-16 10:22:31 +00:00
rub
c012c22df6 Feature Issue ID 0000460:
Add advanced features on administration menu

git-svn-id: http://piwigo.org/svn/trunk@1656 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-14 21:37:51 +00:00
rvelices
f7960e7e72 - plugins admin menu appear now in the admin page menubar
- plugins are loaded immediately after loading the config (allow 
them to hack more of pwg like user init, template init etc...)
- trigger event format_exif_data (for picture display only)

git-svn-id: http://piwigo.org/svn/trunk@1655 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-14 00:58:57 +00:00
rvelices
12182ddcfe plugins: first prototype version
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-26 03:35:20 +00:00
plegall
42abf4c576 improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.


git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02 22:26:19 +00:00
rub
3609c224c7 [NBM] Step 3: Layout Model
o Rename mailtousers.php on notification_by_mail.php
  o Deactivate temporary function on notification_by_mail.php
  o First design layout, no function activated, it's only a model


git-svn-id: http://piwigo.org/svn/trunk@1091 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-21 22:58:59 +00:00
plegall
114ae32445 new: cleaner URL. Instead of category.php?cat=search&search=123&start=42,
you now have category.php?/search/123/start-42. Functions make_index_url and
make_picture_url build these new URLs. Functions duplicate_picture_url and
duplicate_index_url provide shortcuts to URL creation. The current main page
page is still category.php but this can be modified easily in make_index_url
function. In this first version, no backward compatibility. Calendar
definition in URL must be discussed with rvelices.

improvement: picture.php redesigned. First actions like "set as
representative" or "delete a comment" which all lead to a redirection. Then
the page (the big mess) and includes of new sub pages to manage specific
parts of the page (metadata, user comments, rates).

new: with the cleaner URL comes a new terminology. $page['cat'] doesn't
exist anymore. $page['section'] is among 'categories', 'tags' (TODO),
'list', 'most_seen'... And sub parameters are set : $page['category'] if
$page['section'] is "categories". See URL analyse in
include/section_init.inc.php for details.


git-svn-id: http://piwigo.org/svn/trunk@1082 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-15 22:44:35 +00:00
rub
31d9ce1604 Step 2 improvement issue 0000301:
o Add and use Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1072 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 22:46:28 +00:00
rvelices
316d89a90b bug 255: parameter values in #config limited to 255 chars (value becomes text)
feature 303: page banner moved from combination of gallery_title, 
gallery_description and template to database (simplifies user customization)


git-svn-id: http://piwigo.org/svn/trunk@1071 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 01:57:13 +00:00
rvelices
4cd5b05d40 remake of Remote sites and synchronize: final integration and old code cleanup
fix: xml getAttribute always decodes html entities and added encodeAttribute
function

git-svn-id: http://piwigo.org/svn/trunk@1058 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-28 01:13:16 +00:00
rub
2afff7c226 Step 3: Integration of new admin menu with the associated file (No interface, Only Message)
git-svn-id: http://piwigo.org/svn/trunk@1049 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-20 23:47:01 +00:00
rvelices
33485fa91b feature 288: manage rates for administrators
git-svn-id: http://piwigo.org/svn/trunk@1042 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-15 02:29:26 +00:00
rvelices
0e78db47de - remake of Remote sites and Synchronize:
- synchronization for remote and local sites are done by the same code
  - remote sites can update metadata now (not before) - bug 279
  - fixes bug 82: has_high column

- improve feature 280: user sort by filename

- fix path to template mimetypes icons

- bug 284: session cookie lifetime, deletion on logout and corrected issue 
when db upgrades were missing 

git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-08 01:17:07 +00:00
nikrou
9410522e9f bug fix 261: improve security of sessions (next to svn:1004):
- improve presentation code style
- add upgrade database file

git-svn-id: http://piwigo.org/svn/trunk@1007 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-18 15:16:30 +00:00
nikrou
c3397a2c73 Improve security of sessions:
- use only cookies to store session id on client side
- use default php session system with database handler to store sessions on server side

git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-15 13:45:42 +00:00
chrisaga
a291085987 - report bug 206 correction and some template improvement from branch 1.5
- feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page


git-svn-id: http://piwigo.org/svn/trunk@948 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-11-19 23:46:18 +00:00
plegall
f9baa625b6 - new: mass virtual categories movement manager in
Administration>Categories>Move screen.


git-svn-id: http://piwigo.org/svn/trunk@881 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-07 22:04:53 +00:00
plegall
3371c75742 - improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages.

- deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists,
  check_date_format, date_convert, get_category_directories,
  get_used_metadata_list, array_remove, pwg_write_debug,
  get_group_restrictions, get_all_group_restrictions, is_group_allowed,
  style_select, deprecated_getAttribute).

- new: many new contextual help pages to replace descriptions previously
  included in pages.

- modification: reorganisation of language files. Deletion of unused
  language keys, alphabetical sort. No faq.lang.php anymore (replaced by
  help.html). Only done for en_UK.iso-8859-1.


git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-14 21:57:05 +00:00
plegall
7eae759590 - modification : less configuration parameters in administration
screen. These parameters are move to include/config_default.inc.php.

- new : ability to add a single picture to caddie from picture.php

- new : contextual help, only a few pages are available.

- new : ability to delete users from admin/user_list

- modification : reorganization of configuration file

- new : configuration parameter use_exif_mapping

- improvement : MOD hidemail added to standard


git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-03 16:36:05 +00:00
plegall
f01a9f5b7c - new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.

- deletion : admin/search useless

- improvement : in admin/user_list, special behaviour for true/false fields
  (expand, show_comments)

- new : gallery_title and gallery_description are displayed at the top of
  each page.

- improvement : simplification in HTML for categories menu.

- improvement : standardization of presentation in all public pages
  (identification, registration, search, profile, notification, comments,
  etc.)

(not in ChangeLog, below this line)

- add forgotten notification.php (should have been added in a previous
  commit)

- [template cclear] deletion of useless class .bouton

- [template cclear] for test purpose, new presentation of register page
  (using FORM.filter)

- [template cclear] adaptation of admin/group_list from template default

- [template cclear] deletion of obsolete admin/infos_images

- [template cclear] deletion of obsolete admin/search_username

- [template cclear] new icon register.png


git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-25 22:43:47 +00:00
plegall
20f0541697 - modification : major simplification of admin.php. Titles are managed by
included page, localized items are managed directly in the template.

- new : sub template admin/double_select is included in templates
  admin/cat_options, admin/user_perm and admin/group_perm. I haven't been
  able to use it in admin/picture_modify because it seems impossible to have
  two instance of the same sub-template without interfering.

- modification : bug 99, in profile manager, no auto submit when changing
  language (useless and generate accessibility problem).

- improvement : HTML semantically correct for administration menu, simpler
  syntax, less tags, correct tags (dl/dt/dd instead of div/div).

- modification : number of waiting elements and unvalidated comments are
  displayed in admin/intro instead of administration menu (with a link to
  the dedicated pages).

- deletion : no link to profile from admin/user_list anymore (no need).


git-svn-id: http://piwigo.org/svn/trunk@817 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-17 14:25:38 +00:00
plegall
5840251d55 - modification : admin/group_list screen completely rewrite to present the
list of existing groups and a form to add a new group. Here you can delete
  a group, go to permissions management for a group, go to member list of a
  group (on admin/user_list with a filter on group).

- modification : admin/user_perm and admin/group_perm are not directly
  reachable by the admin menu anymore. Only the user/group list lets you
  reach user/group permissions management screen.


git-svn-id: http://piwigo.org/svn/trunk@815 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-16 15:19:40 +00:00
plegall
149edc131d - new : introduction page to administration section. This page gives
informations about PhpWebGallery version, PHP version, MySQL version,
  gallery database informations (number of categories, elements, users,
  comments). Ability to request phpwebgallery.net for upgrade.

- deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in
  introduction page.


git-svn-id: http://piwigo.org/svn/trunk@814 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-15 22:01:00 +00:00
plegall
1549745402 - new : maintenance screen in administration. There you can update
categories informations (number of images, date of the last added
  element), update images informations (path, average rate), purge obsolete
  sessions, purge history.

- new : ability to have random representative for categories. This
  configuration parameter is set to false by default.

- new : ability to set an element as representative of a category without
  belonging to the category. Thus, administrator can choose representative
  even for empty categories.

- improvement : semantically superior design for category edition screen by
  regrouping fields in fieldsets. The improved screen contains action
  buttons as in category list screen.

- new : ability to move a virtual category (ie change its parent category).

- bug fixed : the sync_users function checks all user children tables
  (access, cache, group association).


git-svn-id: http://piwigo.org/svn/trunk@809 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-13 23:09:54 +00:00
plegall
273884a652 - new : external authentication in another users table. Previous users table
is divided between users (common properties with any web application) and
  user_infos (phpwebgallery specific informations). External table and
  fields can be configured.

- modification : profile.php is not reachable through administration anymore
  (not useful).

- modification : in profile.php, current password is mandatory only if user
  tries to change his password. Username can't be changed.

- deletion : of obsolete functions get_user_restrictions,
  update_user_restrictions, get_user_all_restrictions, is_user_allowed,
  update_user

- modification : $user['forbidden_categories'] equals at least "-1" so that
  category_id NOT IN ($user['forbidden_categories']) can always be used.

- modification : user_forbidden table becomes user_cache so that not only
  restriction informations can be stored in this table.


git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-08 20:52:19 +00:00
plegall
315f9c5670 - category permissions management comes back! (it disappeared in branch 1.4)
This time, it is designed to support better long users list. On this
  screen, for a particular category, admin can say which groups and users
  are permitted.


git-svn-id: http://piwigo.org/svn/trunk@800 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-30 21:20:06 +00:00
plegall
e851f504ac - errors and informations boxes : management centralized in admin.php,
$errors and $infos arrays replaced by $page['errors'] and $page['infos'],
  special management for admin/update.php (more complex management)


git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-11 14:10:04 +00:00
plegall
bd6d2d0a21 - profile.php is no longer used for listing users : admin/user_list.php
comes back (as in 1.3 branch)

- user list updated : ability to filter list on username


git-svn-id: http://piwigo.org/svn/trunk@768 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-25 21:35:10 +00:00
plegall
b63d91c59e - elements batch management : element_set page becomes the frontend to
element_set_global and element_set_unit, infos_images (after a long time
  of use) become deprecated : the more powerful element_set is used
  instead. Consequently, batch management concerns caddie but also "normal
  categories".

- refactoring code in admin.php to include the sub-file (clearer)

- caddie : function fill_caddie replaces the code in category.php and can be
  used in admin/element_set.php

- caddie : caddie table is added in delete_elements function


git-svn-id: http://piwigo.org/svn/trunk@764 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-16 16:56:32 +00:00
plegall
41e52d7a8a - elements batch management : in addition to global mode, a unit mode is
added : ability to manage a set of elements, element by element. This
  screen is very close to the existing "infos_images" (which will soon
  disappear).

* elements batch management : in screen element_set_global, the display
  options are displayed at the top as in element_set_unit


git-svn-id: http://piwigo.org/svn/trunk@763 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-16 07:49:55 +00:00
plegall
ef080278bf - new feature : caddie. The purpose is batch management, especially
concerning elements to categories associations. This is the very first
  release, needs many improvements.

- new function : array_from_query. Firstly used by "caddie" feature, it may
  be useful in many cases.


git-svn-id: http://piwigo.org/svn/trunk@755 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-03-25 22:10:55 +00:00