Commit graph

369 commits

Author SHA1 Message Date
rub
5ed2bf0458 Delete cache data when category is deleted.
git-svn-id: http://piwigo.org/svn/trunk@2882 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-17 22:10:03 +00:00
patdenice
59af44a8c2 - Add fetchRemote function which allow to retrieve datas over HTTP protocol using cURL method, file_get_contents function or fsockopen method. This allow to retrieve datas or files even if allow_url_fopen is deactivated.
- Use fetchRemote function in plugins manager and in latest version checking.
- Add german translations for upgrade.lang.php.
- Remove empty line at the end of pclzip.lib.php.
- Change display of deactivated plugins after upgrade.

git-svn-id: http://piwigo.org/svn/trunk@2880 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-15 21:10:05 +00:00
patdenice
04395a4c35 - improve 1.3.1 upgrade (automatic write in mysql.inc.php).
- translate 1.3.1 upgrade informations messages.
- security fix in upgrade login.

git-svn-id: http://piwigo.org/svn/trunk@2838 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-07 13:54:35 +00:00
patdenice
e91161f331 - Webmaster or administrator can login to run upgrade.
- Inserting upgrade line in mysql.inc.php still work.
- Convert espagnol upgrade file to utf8.
- Minor changes in upgrade processus.
- Remove all comments in pclzip.lib.php.

git-svn-id: http://piwigo.org/svn/trunk@2836 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-06 14:44:51 +00:00
patdenice
214164c9a1 - Add roma theme to upgrade page.
- Upgrade translation.

git-svn-id: http://piwigo.org/svn/trunk@2819 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-03 19:52:33 +00:00
patdenice
9a7de2b6b1 - bugs correction in upgrade_1.7.0.php.
- only non-standard plugins are deactivated during upgrade.

git-svn-id: http://piwigo.org/svn/trunk@2815 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-01 21:19:20 +00:00
vdigital
a6be0e500b Merging revisions 2773-2776
- Default template and Piwigo domain ...
- No metadata synchronization icon on a remote picture (Synchro failure)
- Jump to category icon is removed on user forbidden categories (previously check_restrictions was leading administrators to the access denied page).


git-svn-id: http://piwigo.org/svn/trunk@2777 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-19 15:47:34 +00:00
patdenice
adce496a00 - If there is not new plugins to check, we don't get any more error message.
- small corrections in configuration.html and cat_modify.tpl.

git-svn-id: http://piwigo.org/svn/trunk@2701 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-10 13:13:12 +00:00
plegall
9cfd70474f feature 884 added: ability to delete photos uploaded via web API method
pwg.images.add, ie without storage_category_id. pLoader uses this method and
photos cannot be removed in any other way.


git-svn-id: http://piwigo.org/svn/trunk@2678 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-06 23:08:11 +00:00
vdigital
28ba8306af 1 - selected_admin_menu function is externalized.
2 - Plugin can force accordion to be stable by adding &plgmenu in their plugin url

git-svn-id: http://piwigo.org/svn/trunk@2662 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-04 22:52:48 +00:00
patdenice
e53eee8f16 - Plugins manager now use PEM API.
- WARNING! Need to change PEM_URL constant and utf8 encoding when PEM will be updated.
- Bug in roma/themeconf.inc.php: accordion menu wasn't selected in plugins_new et plugins_update tabs.

git-svn-id: http://piwigo.org/svn/trunk@2647 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-03 23:16:49 +00:00
plegall
0287283e38 bug fixed: remove useless mysql_real_escape because web api already process
all input parameters.


git-svn-id: http://piwigo.org/svn/trunk@2646 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-03 21:26:21 +00:00
patdenice
3d1b35b8c9 - Add set_extents function in template class.
- 752: add trigger (for flipflip).

git-svn-id: http://piwigo.org/svn/trunk@2643 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-03 09:55:14 +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
patdenice
1eb3d18ae2 - Move get_extents function to include/functions.inc.php.
- Change all plugins version to 2.0.
- LocalFiles Editor can now edit and create template extension.
- Editarea (for LocalFiles Editor) go to version 0.7.2.2 (chrome compatible)
- Editarea activation is now saved in database with AJAX.

git-svn-id: http://piwigo.org/svn/trunk@2588 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-25 17:46:27 +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
rvelices
93fb07841f - fix function get_fulldirs - works correctly eent for wrong params (virtual cats)
- fix functions_metadata.php - could not be included from inside another function 

git-svn-id: http://piwigo.org/svn/trunk@2560 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-21 11:06:20 +00:00
plegall
f3c2080767 deletion: function export_pwg_data was inadvertently added with r1817 while
the development was not finished.


git-svn-id: http://piwigo.org/svn/trunk@2551 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-19 21:18:40 +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
4d86bb2234 - images.file categories.permalink old_permalinks.permalink - become binary
- session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
- metadata sync from the sync button does not overwrite valid data with empty metadata
- other small fixes/enhancements:
 - added event get_category_image_orders
 - fix display issue with redirect.tpl (h1/h2 within h1)
 - fix known_script smarty function registration
 - query search form not submitted if q is empty
 - better admin css rules
 - some other minor changes (ws_core, rest_handler, functions_search...)

git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-12 02:17:35 +00:00
rvelices
fdffe42bdc remove ws access table/partners functionality
git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-11 01:20:25 +00:00
rvelices
b8a5fde846 - better management of fatal errors (instead of die or trigger_error rather use fatal_error ...)
git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-05 01:24:01 +00:00
vdigital
56517c7545 Bug 847: Instruction page / CSS Text-align: centered ordered lists
Bug 846: Bad link to documentation 
Some CSS Hacks in Admin theme 


git-svn-id: http://piwigo.org/svn/trunk@2495 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-03 19:23:05 +00:00
rvelices
bd833ee9bc synchro improvements:
- able to sync metadata at the same time as the files/dirs
- by default empty metadata does not overwrite database infos (checkbox can switch to previous behaviour) (bug 132)
- the form is shown again even after a successfull non simulated run

git-svn-id: http://piwigo.org/svn/trunk@2491 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-29 12:35:16 +00:00
rvelices
abb2f22b2e - based on test_menu by grum (thanks to you) - integration of dynamic menu bar to pwg
- the menubar is composed now of dynamic blocks that can be ordered/hidden
- plugins can add their own blocks 


git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-28 00:32:39 +00:00
rvelices
dcbaefafdf - ws can include php file before invoking web call method
- remove "Pierrick ..." from some languages
- tags - small change to avoid increasing number of urls
- added a missing closedir
- remove some unnecessary class names and inexisting rel attributes

git-svn-id: http://piwigo.org/svn/trunk@2478 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-19 23:58:35 +00:00
vdigital
8ab0da7da2 Admin advices can be easily extended to new advices.
Admin advices plugin can be translated like any other plugins.
Admin advices plugin has been extended with External summary (a technical and non translated part).

Some template cleaning.

git-svn-id: http://piwigo.org/svn/trunk@2472 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-12 20:43:56 +00:00
vdigital
9b51fc1173 Bug: 816 - Leading and trailing spaces are removed from new tags (observed in some bugged metadata).
git-svn-id: http://piwigo.org/svn/trunk@2350 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-18 07:15:23 +00:00
rub
dc2adc5b61 Resolved issue 0000826: Required versions (Php & MySql)
git-svn-id: http://piwigo.org/svn/trunk@2343 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-16 18:59:37 +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
rvelices
5dbad41e2e - remove some unnecessary db columns (#history_summary.id, #history.year, month, day and hour)
git-svn-id: http://piwigo.org/svn/trunk@2333 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-06 01:04:58 +00:00
rub
5436a351ef Resolved issue 0000823: Enhance upload functionalities
First commit, others will be follow.
Not hesitate to change my translations.

Add upload configuration tabsheet (move and add configuration)
Change and add define for access level
Can show upload link every time
Can restrict access upload.class.php
Can choice category on upload page
Add upload class not use for the moment
Review quickly and temporary style of upload.tpl

git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-02 21:56:21 +00:00
rvelices
7942dccf9b - move #categories.date_last and nb_images to #user_cache_categories
git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-01 01:12:34 +00:00
rvelices
23fcaf6b64 - merged function ordering() with update_global_rank() and also optimized the queries
git-svn-id: http://piwigo.org/svn/trunk@2306 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-20 22:20:20 +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
ee70a108be - remove compatibility with old template ...
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-23 00:04:46 +00:00
rvelices
f12f0026fc - admin/notification_by_mail goes smarty - THE LAST ONE :-) :-)
- get rid of user_list warnings
- some code reorganisation in template class + explode modifier
- minor template and language changes in search.tpl and cat_modify.tpl

git-svn-id: http://piwigo.org/svn/trunk@2286 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-20 00:35:36 +00:00
rvelices
cab98df776 - smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-18 23:43:38 +00:00
rub
6ae74fe965 Resolved issue 0000815: Email format standardization
Merge branch-1_7 2282:2283 into BSF


git-svn-id: http://piwigo.org/svn/trunk@2284 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-18 22:02:33 +00:00
rvelices
70e58dd7bd 5 less admin language keys
git-svn-id: http://piwigo.org/svn/trunk@2275 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-11 02:24:59 +00:00
patdenice
ff19a8f1cd Corrections in plugins management.
Add "Last revisions" sort order.

git-svn-id: http://piwigo.org/svn/trunk@2272 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-10 18:01:17 +00:00
rub
6e5f8631e3 Fix some c13y/smarty bugs
git-svn-id: http://piwigo.org/svn/trunk@2269 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-09 07:28:04 +00:00
patdenice
c68914a3b9 Corrections in plugins management.
git-svn-id: http://piwigo.org/svn/trunk@2264 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-07 17:15:46 +00:00
patdenice
6ecb1f3507 Use class for plugins management
git-svn-id: http://piwigo.org/svn/trunk@2263 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-07 10:42:51 +00:00
rvelices
d96b476bd8 - plugins.php does only the tabsheet - nothing else
- need to review plugins_update.php upgrade action

git-svn-id: http://piwigo.org/svn/trunk@2255 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-06 02:29:29 +00:00
rvelices
7688a7cbb6 - history, stats and redirect go smarty
- lang correction
- small change in calling check_server_plugins (use by ref param instead of global)

git-svn-id: http://piwigo.org/svn/trunk@2245 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-03 12:50:54 +00:00
patdenice
1283b5ecb1 Corections to respect coding conventions.
Change plugins versions to 1.8
Change 3 plugins URI.

git-svn-id: http://piwigo.org/svn/trunk@2243 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-02 18:56:05 +00:00
patdenice
78e175b3fb Enhance plugins administtration
git-svn-id: http://piwigo.org/svn/trunk@2242 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-02 17:53:23 +00:00
rub
fab44f72a8 0000810: Use of new template engine [smarty]
Migration of c13y template
It's the first step with simple migration, on next step more display action on tpl.


git-svn-id: http://piwigo.org/svn/trunk@2241 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-02 17:30:18 +00:00
rub
352f097fc7 0000809: Use more php classes implementation
Use class for c13y

Fix problem with call-time pass-by-reference

git-svn-id: http://piwigo.org/svn/trunk@2238 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-01 21:31:24 +00:00
rub
f54877ca04 0000809: Use more php classes implementation
Use class for c13y


git-svn-id: http://piwigo.org/svn/trunk@2232 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-01 13:23:51 +00:00
rub
4621be1005 0000809: Use more php classes implementation
Use class for tabsheet like grum class
Change way for tabsheet

git-svn-id: http://piwigo.org/svn/trunk@2226 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-28 23:41:47 +00:00
rvelices
c739232049 - migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-28 02:41:48 +00:00
rvelices
98d4b284e0 - works with PHP5
git-svn-id: http://piwigo.org/svn/trunk@2217 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 03:15:31 +00:00
rub
ea960a5563 Resolved issue 0000792: Admin "intro" : Integrity control bypass
Some sentences must be re-write ;-)

git-svn-id: http://piwigo.org/svn/trunk@2208 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-13 20:13:12 +00:00
rub
279f14eff9 Resolved issue 0000774: Statistics & plugin triggers => multi history
First part

Merge branch-1_7 2155:2156 into BSF


git-svn-id: http://piwigo.org/svn/trunk@2157 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-01 17:11:52 +00:00
rvelices
4afa14cc8d - fix plugin menu link broken with xamp (realpath behaves differently)
- complete quick search rewriting
 - now we can quote phrases as in google "New York" is not the same as New York
 - user comments not searched anymore (faster)
 - the big full text query does not use joins anymore (faster)
 - related tags not shown on the index page, but now you can see the matching tags and matching categories

git-svn-id: http://piwigo.org/svn/trunk@2135 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-12 03:27:34 +00:00
rvelices
e9becfa669 - PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 ready
git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 01:43:29 +00:00
rub
1a55452a4f Resolved 0000748: Name configuration of all the tables
New method of implementation!


git-svn-id: http://piwigo.org/svn/trunk@2104 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-21 21:23:09 +00:00
patdenice
b4a1fa0312 0000421 : call a function to create empty local files during install and upgrade
Avoid log errors

git-svn-id: http://piwigo.org/svn/trunk@2102 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-21 09:06:00 +00:00
rub
e74e456749 Resolved 0000748: Name configuration of all the tables
Resolved 0000750: Check anomalies after upgrade (Feature proposition)


git-svn-id: http://piwigo.org/svn/trunk@2096 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19 05:26:58 +00:00
rvelices
131cf74ba4 merge -r 2094 from branch-1_7 to trunk
- fix: quick search error if the query term contained " or '
- optimized sql query in sync_users (called every time on admin page) - a lot faster when #user_cache_categories is big
- added function Template->delete_block_vars (opposite of assign_block_vars)

git-svn-id: http://piwigo.org/svn/trunk@2095 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19 03:23:19 +00:00
rub
b879e17424 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.

It's a proposition of new feature!

git-svn-id: http://piwigo.org/svn/trunk@2065 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-18 22:48:50 +00:00
rub
bbd2ddd142 Change headers with team email
git-svn-id: http://piwigo.org/svn/trunk@2059 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-10 05:30:01 +00:00
rvelices
12af0a0079 feature 713: allow permalinks to contain the slash ("/") character
git-svn-id: http://piwigo.org/svn/trunk@2047 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-28 02:16:03 +00:00
rvelices
3ac503a15b invalidation of the users cache done in a function and an action is triggered
git-svn-id: http://piwigo.org/svn/trunk@1978 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-26 01:59:39 +00:00
rub
7acc304f55 o add missing $lang
o use of l10n_dec
  o normalize file header


git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-29 19:04:54 +00:00
rub
7c43a3c62d Issue 578
User guest must be real user

Step 1: guest is a real user

On next commit, I finish installation and use of guest of user list and group

git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 19:57:00 +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
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
rub
c5da19e536 Fix bad default value for language on table user_info
Improve mail send (Undisclosed-recipients, switch language, ...)
Improve send an email to group members (Use Bcc, template, multi-language, ...) (But need more improvements)

git-svn-id: http://piwigo.org/svn/trunk@1904 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13 23:01:16 +00:00
vdigital
6295173652 Updates:
- Copyrights 2003-2007
- help
- Some HTML comform requests

git-svn-id: http://piwigo.org/svn/trunk@1903 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13 22:44:45 +00:00
rub
4577278acc Apply property svn:eol-style Value: LF
git-svn-id: http://piwigo.org/svn/trunk@1900 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-12 22:33:53 +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
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
plegall
246106e83f Bug fixed: in delete_categories function, the deletion on #old_permalinks
query was using a wrong variable.


git-svn-id: http://piwigo.org/svn/trunk@1879 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-07 23:15:39 +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
fd50890049 Add tabsheet on administration pages.
Step 1: Refactoring tabsheet on NBM and introduce generic method to add tabsheet.tpl

On next commit, use of this new method in order to reduce # of link menu.

CSS friend don't hesitate to modify tabsheet css.

git-svn-id: http://piwigo.org/svn/trunk@1874 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 23:02:02 +00:00
rvelices
f797f8c7a1 permalinks: admin fix on some tricky cases when setting a new permalinks.inc.php
permalinks: added ability to sort the permalink tables in the admin
added new action in category_cats.inc.php

git-svn-id: http://piwigo.org/svn/trunk@1873 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 02:07:15 +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
dca9bd094a - function delete_user now clears asssociated data in the caddie table and the sessions table
- xml writer improvement for web service

git-svn-id: http://piwigo.org/svn/trunk@1863 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27 12:32:23 +00:00
rub
c7f47c7d5d $Id$ are wrong on my last commit
git-svn-id: http://piwigo.org/svn/trunk@1858 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:33:26 +00:00
rub
b3e3b8dcf0 Reduce number of images on NBM for more visibility. (Next parameters for RSS & NBM on $conf in order to be more easy to modify)
Use $id$ on php headers

git-svn-id: http://piwigo.org/svn/trunk@1857 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:26:52 +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
rvelices
20ba76b753 - change the way conf['guest_access'] is handled so that web services work correctly (and also nbm.php and feed.php)
git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 05:31:08 +00:00
plegall
aabdb3e929 New: history logs high quality access via action.php. A new column
#history.is_high was added. Filter was added on administration history
detail view.

Modification: function get_sql_condition_FandF was slightly refactored for
presentation improvement.


git-svn-id: http://piwigo.org/svn/trunk@1817 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 22:53:02 +00:00
rub
9ceec74971 When not template are selected for mail, PWG uses default template..
Sent multi-part message in MIME format. (With only one part for the moment).

Improvement pwg_mail function.

git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-12 23:21:23 +00:00
rub
69632928a8 subcribe instead of subscribe => spam for free.
Correction of all bad English word.

git-svn-id: http://piwigo.org/svn/trunk@1806 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-11 12:01:07 +00:00
laurent.duretz
44153d6965 Issue : 137
Use correct SQL request ta have MySql compatibility

git-svn-id: http://piwigo.org/svn/trunk@1794 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-09 18:21:33 +00:00
rub
5b038de717 Issue 0000639: Force selected page on index.php
Continue the Radu idea, restrict more use of random list

Issue 0000598: NBM: Add new informations
Add css on mail
Use user template for mail (on next commit, best control)

Comment mass_inserts because don't with MySQL 4.1.9


git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 22:04:36 +00:00
laurent.duretz
a62ab78e2a Issue : 137
git-svn-id: http://piwigo.org/svn/trunk@1790 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 18:51:22 +00:00
rvelices
b6fc0fa5eb - correct php warnings (section_init and mass_inserts)
- flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter)
- small html validation (double class attribute)
- removed unnecessary class=""
- changed 2 times hard coded index.php?recent_pics with make_index_url(...)

git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08 01:31:05 +00:00
laurent.duretz
15b3774482 git-svn-id: http://piwigo.org/svn/trunk@1786 68402e56-0260-453c-a942-63ccdbb3a9ee 2007-02-07 19:49:35 +00:00
rub
e517cfad64 Issue 0000598: NBM: Add new informations
Notification by mail:
Add new informations about last categories and last images like new feature of RSS notification.

2 parts:
  - Possibility to send HTML mail
  - Include last categories and last images on HTML format into notification mail


ccs & HTML experts! Please! Check, fix, improve and enhance HTML mail content!


git-svn-id: http://piwigo.org/svn/trunk@1784 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 22:55:12 +00:00
vdigital
7ee3f5579a Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28 20:56:10 +00:00
rvelices
4fb42505ec plugin simplification: adding admin links does not require the plugin_id anymore...
git-svn-id: http://piwigo.org/svn/trunk@1731 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 02:09:31 +00:00
rub
62149d74a9 Very little/small corrections:
o bad parser word user on installation
  o standardization of the method to open link in new tab/windows  
  o removed not used constant
  o use/add link constants
  o use new function pwg_URL
  o add missing translation

git-svn-id: http://piwigo.org/svn/trunk@1726 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 22:23:05 +00:00
vdigital
073ab4a9e3 Feature "Admin Advices !" (Standard plugin) : May give you always now an advice on the administration page.
Quick solved list:
1 - Wording on EXIF/IPTC Advices
2 - Default language is English
3 - Some Transparency issues under IE
4 - Some Border issues
5 - PWG Menu moved from Advices Box to Intro.
6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL()
7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)).

git-svn-id: http://piwigo.org/svn/trunk@1724 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 22:44:48 +00:00
rvelices
80754de172 very small improvements:
- mass_inserts does not requires keys to start at 0
- recent_cats categories are sorted by global_rank (consistency)
- removed warning from page_header.php (when included from redirect)
- added 2 template functions for plugins (get_var and concat_var)
- removed unused code from profile.php
- changed css width for tag selection (search page) from 55em to almost 100%

git-svn-id: http://piwigo.org/svn/trunk@1719 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-13 03:13:40 +00:00
rvelices
c75d7186d7 - bug 471: apostrophe lors de l'ajout d'un tag (different behavior depending on
magic_quotes_gpc)
- metadata synchronization correction: iptc keywords were MySql escaped 2
times when synchronizing from site manager, but only once when synchronizing
one image

git-svn-id: http://piwigo.org/svn/trunk@1717 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-11 23:56:36 +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
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
vdigital
219447b9c8 Feature Issue ID 0000527: Language localization - local.lang.php can be added to each language directory. Authorize your own translation to be keep over migrations.
git-svn-id: http://piwigo.org/svn/trunk@1679 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-25 07:17:29 +00:00
rub
a7ce261531 Apply Nicco's style footer to HTML mail.
Add 2 news functions to indicate to build URL with full path

git-svn-id: http://piwigo.org/svn/trunk@1676 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-19 22:05:01 +00:00
rub
262ee7d119 Feature Issue ID 0000598:
Possibility to send HTML mail
Optimize, fix little bugs and add footer information

NBM: Replace // by / on subscribe/unsubscribe link

git-svn-id: http://piwigo.org/svn/trunk@1645 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-09 00:43:23 +00:00
rub
63638b9b6d Resolved Issue ID 0000299:
o Add (new) icon of parent category with children categories including new images
  o Improved display text for images count
  o Improved (a little) mass_* functions

More explications on the forum.
You must call directly upgrade_feep.php (http://127.0.0.1/BSF/upgrade_feed.php for example)

git-svn-id: http://piwigo.org/svn/trunk@1624 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 23:31:19 +00:00
rvelices
998385c48d plugins: added actions for register_user, delete_categories, delete_elements
and delete_user

git-svn-id: http://piwigo.org/svn/trunk@1605 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 00:51:15 +00:00
rvelices
724671b669 git-svn-id: http://piwigo.org/svn/trunk@1604 68402e56-0260-453c-a942-63ccdbb3a9ee 2006-11-10 01:10:42 +00:00
rvelices
0428fbe288 removed 3 never used functions
git-svn-id: http://piwigo.org/svn/trunk@1592 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-03 01:26:31 +00:00
rvelices
bce8b9f680 plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-01 05:54:35 +00:00
rvelices
a81bac0f15 plugins go now in the #plugins table
git-svn-id: http://piwigo.org/svn/trunk@1584 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-31 02:41:32 +00:00
rvelices
2b3bc579e4 - plugins can add now their page to the admin page
- new plugin (event_tracer) that demonstrate it and useful to see all calls 
to trigger_event

git-svn-id: http://piwigo.org/svn/trunk@1580 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-27 00:25:02 +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
rub
e097dba6a6 Resolved Issue ID 0000507:
o format of email
  o max_execution_time equal to 0
  o -f with only adress mail
  o use of standard function get_webmaster_mail_address

2 news $conf parameters.

Merge branch-1_6 r1529:1530 into BSF


git-svn-id: http://piwigo.org/svn/trunk@1531 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09 22:10:12 +00:00
rub
27aeab97e9 Resolved Issue ID 0000474 (Step 1):
o Rename index.htm into index.php
  o Add index.php on all sub-directories
  o Use an uniform source code of index.php (like /include/index.php)

(/index.php is of course not changed)




git-svn-id: http://piwigo.org/svn/trunk@1481 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-18 21:38:54 +00:00
rub
e40f590bbd Resolved Issue ID 0000447:
o Fix Incorrect Tag Translations 



git-svn-id: http://piwigo.org/svn/trunk@1452 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-09 09:04:22 +00:00
plegall
4ce94a5eab merge -r1426:1427 from branch 1.6 to trunk (bug 397 fixed: [...] type
comparison with operator "==").


git-svn-id: http://piwigo.org/svn/trunk@1428 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:53:26 +00:00
plegall
b0751afea2 merge -r1281:1283 from branch 1.6 to trunk (bug 228 fixed one more time, and
other little things)


git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-27 21:08:50 +00:00
plegall
a52bf8e293 merge -r1276:1277 from branch-1_6 to trunk (bug 228 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1278 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-26 21:08:44 +00:00
plegall
7e13640ad1 merge -r1221:1222 from branch 1.6 to trunk (bug 339)
git-svn-id: http://piwigo.org/svn/trunk@1223 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20 21:13:47 +00:00
rub
aa493527fc Issue ID 330:
o Remove "background treatment"
  o Add button "Continue treatment"


git-svn-id: http://piwigo.org/svn/trunk@1177 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-14 23:23:10 +00:00
rub
8da9ed8d9b Issue ID 330:
o Change NBM configuration in order to avoid lose treatment action when occurred timeout
  o Add news redirect/repost functions



git-svn-id: http://piwigo.org/svn/trunk@1156 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-12 22:49:42 +00:00
plegall
cf5f9f4eb6 typo fixed: forgotten a "$" on $tags_of array when calling set_tags_of.
modification: "." and ";" are also supported as IPTC keywords separator.


git-svn-id: http://piwigo.org/svn/trunk@1127 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-05 18:02:10 +00:00
plegall
d8c15ddf65 feature deleted: code for categories link was too complicated for such a
simple fature. Replaced by static association. Links are not persistent
anymore.

modification removed: #image_category.is_storage replaced by
#images.storage_category_id as in branche 1.5..


git-svn-id: http://piwigo.org/svn/trunk@1121 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-04 22:29:35 +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
324f3c4279 [NBM] Step 7: Add functionalities subscribe/unsubscribe:
o reduce length of check_key
  o fix bugs
  o send mail on subscribe/unsubscribe
  o add and used $conf parameters
  o review keyword of languages
  o improve selection/check
  o can subscribe/unsubscribe with a link include on mail
  o fix bug mass_update collate




git-svn-id: http://piwigo.org/svn/trunk@1116 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01 01:14:57 +00:00
rub
39c2bfb3b1 Improvement issue 0000319:
Add new item on page administration/maintenance.
This item allow to repair and optimize database

Functionality tested with MySQL 4.1.9.
Please to report problem with previous version of MySql

git-svn-id: http://piwigo.org/svn/trunk@1111 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28 21:05:12 +00:00
rub
d63d25a61d [NBM] Step 4: Screen NBM is available
o Add news parameters
  o Add file functions_notification_by_mail.inc.php in order to use in future, these functions on php file of subscribe/unsubscribe
  o Write a little html help file

+ improve mass_update in order to used binary fields (used collate and SHOW COLUMNS FROM)
 


git-svn-id: http://piwigo.org/svn/trunk@1105 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-26 22:06:20 +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
ade00c95c2 Step 4 improvement issue 0000301:
o Correction lock categories and is_admin (functions with parameters now)
  o Cannot use check_status with upgrade.php and upgrade_feed.php => New function check_upgrade use in upgrade*.php (new functionality for upgrade_feed.php)
  o upgrade_feed.php is showed only for administrator user



git-svn-id: http://piwigo.org/svn/trunk@1075 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-10 20:17:18 +00:00
rub
15bb94715f Step 3 improvement issue 0000301:
o Remove file isadmin.inc.php (not used yet)


git-svn-id: http://piwigo.org/svn/trunk@1073 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 22:48:41 +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
rub
b263f0c996 Step 1 improvement issue 0000301:
o Change status of table #_user_infos
  o Don't send password to webmaster, guest, generic

Next Step:
  o Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-08 23:14:53 +00:00
rvelices
1e7c9034de bug fix: call to undefined session_create in register.php (added function
log_user called from identification and register)

bug fix: empty line at the beginning of functions.php disallowed cookies 
(and hence logging in)

git-svn-id: http://piwigo.org/svn/trunk@1068 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-07 01:20:02 +00:00
plegall
c08fa6f67e new feature: source/destination links between categories. Will we keep this
feature? Code is complicated and very few people will understand how it
works...

modification: #images.storage_category_id replaced by
#image_category.is_storage

improvement: many code refactoring to improve readibility

improvement: virtual category creation code was moved to a dedicated
function in order to be called from admin/cat_list.php and
admin/cat_modify.php (create a new destination category)


git-svn-id: http://piwigo.org/svn/trunk@1064 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-04 23:31:46 +00:00
rvelices
3f329df09f fix: replaced UPDATE ... LEFT JOIN for compatibility with MySql 3
git-svn-id: http://piwigo.org/svn/trunk@1060 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-01 00:48:29 +00:00
plegall
16034a592a request 290: replace function get_themes name to avoid redeclaration from
Wordpress in jillij template.


git-svn-id: http://piwigo.org/svn/trunk@1048 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-20 22:14:24 +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
rub
687a7ca122 [NBM] Step 2: Add new table user_mail_notification (update, install, constants, delete user
+ Correction delete user (table user_feed missing, table sessions must be removed)

git-svn-id: http://piwigo.org/svn/trunk@1028 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-06 22:59:30 +00:00
nikrou
9e1fabeaf7 - merge branch 1.5 r1000:1001 into BSF:
not include .svn directory in the candidates directories for update

git-svn-id: http://piwigo.org/svn/trunk@1006 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-17 20:40:16 +00:00
plegall
233bd56dd8 - bug 174 fixed: use_exif_mapping configuration parameter was not used to
list database fields to update from EXIF values.


git-svn-id: http://piwigo.org/svn/trunk@903 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-19 21:56:53 +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
afec77c0fa - bug 160 fixed: (part one of the bug) hard coded column name of users table
had to be replaced by the configurable column name. This correction was
  made by a full rewrite of filtered users list management. The other bug
  (not submited in bugtracker) that needed this rewrite was that when you
  choose "all" as target for mass users modification, you expected to apply
  modification on filtered users, not all users.

- bug 160 fixed: (part two of the bug) hard coded column name for primary
  key in mass_updates function.

- modification: configuration parameter users_page is now located in the
  correct file (include/config_default.inc.php instead of
  admin/user_list.php)


git-svn-id: http://piwigo.org/svn/trunk@880 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-05 19:41:37 +00:00
plegall
60fc8c061a - improvement: add information about how to use an external table for users
- bug fixed: uses user configuration fields for filtering in admin/user_list

- bug fixed: don't try to create feeds automatically during sync_users (when
  line in user_infos is missing)

- bug fixed: create_user_infos function gives status admin if user id
  matches $conf['webmaster_id']


git-svn-id: http://piwigo.org/svn/trunk@865 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17 22:22:22 +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
ede184cacc - modification : RSS feed work only with a given feed identifier. Thus we
can avoid fixed frequency notification to concentrate on variable
  frequency notification, which is much more interesting. To do this, feeds
  have moved to a dedicated table allowing each user (including guest user)
  to have more than on feed.


git-svn-id: http://piwigo.org/svn/trunk@833 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19 13:54:40 +00:00
plegall
7a8b502e11 - improvement : screen admin/picture_modify rewritten. Presentation copied
from admin/cat_modify : fieldsets regroup fields. Ability to synchronize
  metadata for the displayed item.

- bug 110 fixed : "return to element view from element edition fails
  depending on permissions". If a reachable (for the connected admin)
  category is available, a "jump to" link is displayed, by default, using
  the category given in URL.

- bug fixed : in mass_updates function, the first item of $fields['update']
  has not always 0 for id (as in any array).

- modification : get_keywords function understands spaces as separator,
  allow less than 3 chars keywords, allow quotes.

- new : ability to allow HTML in picture or category description (false by
  default)


git-svn-id: http://piwigo.org/svn/trunk@825 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-18 17:59: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
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
11cf1e01f7 - bug fixed : instead of showing a blank page when trying to use Exif tags
read function, display a message telling the problem


git-svn-id: http://piwigo.org/svn/trunk@738 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-13 12:49:52 +00:00
plegall
ec98902e5a - bug fixed : no need to wrap iptc values into quotes, they are added by
mass_insert


git-svn-id: http://piwigo.org/svn/trunk@730 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-08 21:56:12 +00:00
plegall
30002c53ea - bug fixed : only fields corresponding to the metadata synchronization are
updated (ie : no update of keywords if use_iptc is off)


git-svn-id: http://piwigo.org/svn/trunk@702 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-17 19:10:55 +00:00
plegall
971d0c5a95 - deletion of calculated permissions when deleting a user
- taking into account locked categories during permissions calculation


git-svn-id: http://piwigo.org/svn/trunk@680 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-08 11:23:52 +00:00
plegall
6244654872 all headers adapted to new year 2005, happy new year
git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07 23:10:51 +00:00
plegall
79c440d8bb - upgrade scripts added for releases 1.3.x
- my_error function moved from admin/include/functions.php to
  include/functions.inc.php

- because MySQL temporary tables are not always authorized on creation, use
  a temporary table name (with the current microsecond) on a non temporary
  table (in mass_updates function)

- ability to retrieve distant full directories (usefull in upgrade scripts)

- global variables $count_queries and $queries_time moved into global array
  $page

- get_cat_display_name displays category names in correct order : the one
  given by uppercats

- function setup_style simplified

- default value for configuration parameter "show_nb_comments" set to false
  (less queries by default)


git-svn-id: http://piwigo.org/svn/trunk@672 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-06 22:16:21 +00:00
gweltas
22e0536a05 - Group permission delivery
- Reorganisation of common.lang.php


git-svn-id: http://piwigo.org/svn/trunk@671 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-06 16:33:04 +00:00
gweltas
0d8918b7d8 - French translation
- Deletion of the eCard template entry


git-svn-id: http://piwigo.org/svn/trunk@670 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-04 16:27:17 +00:00
plegall
4c8d18de5b - user permissions ask update at each admin page generation. Table
user_forbidden must be updated only if current user is not in
  administrative section

- bug fixed : category.php, error on page title when non category selected

- admin/search : bug on variable $PHP_SELF, replaced by $_SERVER['PHP_SELF']

- admin/user_perm : inheritence management. When a category become
  authorized, all parent categories become authorized, when a category
  become forbidden, all child category become forbidden

- no more recursivity in delete_categories function

- new function get_fs_directories for future new method of synchronization

- new function get_uppercat_ids replacing several pieces of code doing the
  same

- new function get_fulldirs used for metadata function get_filelist and
  future new method of synchronization

- new function get_fs for future new method of synchronization

- typo correction on lang item "about_message"

- no link to category privacy status management on user permission anymore
  (giving the menu item instead)


git-svn-id: http://piwigo.org/svn/trunk@657 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-25 19:33:36 +00:00
plegall
c19f01d77c - replacement of PREFIX_TABLE constant in delete_user function
- deletion of $isadmin variable, replaced by constant IN_ADMIN

- small refactoring

- in include/common.inc.php, deletion of useless part "Obtain and encode
  users IP" and corresponding functions encode_ip and decode_ip

- definition of $conf['default_language'] deleted from
  include/config.inc.php : it is already present in database table config

- function init_userprefs deleted (useless), all its content moved to
  include/user.inc.php

- admin.lang.php and faq.lang.php are loaded only if current user is in
  administrative section


git-svn-id: http://piwigo.org/svn/trunk@650 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-20 19:26:43 +00:00
plegall
f0e9cd804a - bug fixed : in admin/cat_list, next_rank cant' be calculted and query to
count sub-categories per sub-categories became false if no sub-categories

- virtual association come back in admin/infos_images (not only in
  admin/picture_modify)

- check_favorites function in admin section becomes check_user_favorites in
  public section : favorites are checked when user tries to display his
  favorites. Function was optimized.

- in function update_category, wrap of long queries due to many categories
  to update at the same time

- typo fixed in description of paginate_pages_around configuration parameter

- bug fixed in new navigation bar : no separation pipe was displayed between
  next and last when the page displayed was the last

- sessions.expiration changed of type from int to datetime (a lot easier to
  read)

- sessions.ip removed : IP address is no longer used to verify session

- $lang['cat_options'] was missing in en_UK.iso-8859-1

- typo fixed in language/en_UK.iso-8859-1/admin.lang.php on
  editcat_lock_info language item


git-svn-id: http://piwigo.org/svn/trunk@647 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-18 22:05:30 +00:00
plegall
391fac78a8 - in admin menu, status option for categories is not "permissions" but
"private or public" choice = different language item

- get_cat_display_name changed : use $conf['level_separator'] to unify
  presentation

- default values for category properties commentable, uploadable, status and
  visible (set in include/config.inc.php) used for category creation
  (admin/update, admin/remote_site, admin/cat_list)

- use mass_inserts in admin/update for inserting new categories

- only one query for counting the number of sub categories in admin/cat_list


git-svn-id: http://piwigo.org/svn/trunk@642 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-12 21:06:39 +00:00
plegall
1ab32cccb7 - ordering function moved from admin/update to admin/include/function
- remote_site uses ordering and update_global_rank


git-svn-id: http://piwigo.org/svn/trunk@638 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 22:47:46 +00:00
plegall
484a431a7e if all links between a category and elements have disappeared, no line is
returned by the update_category query but the update must be done with
nb_images = 0 and date_last = NULL


git-svn-id: http://piwigo.org/svn/trunk@637 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 22:02:36 +00:00
plegall
9064686d99 - on picture.php, related categories under the element are displayed in
global_rank order

- when adding a new virtual category, initializes its global_rank

- bug fixed : in admin/cat_list, false next rank

- in admin/cat_modify, complete directory is calculated only if category is
  not virtual

- admin/picture_modify rewritten : graphically nearer to admin/cat_modify,
  virtual associations are back

- update_category partially rewritten : take an array of categories in
  parameter, becomes optionnaly recursive, use the set_random_representant
  function, set a random representant for categories with elements and no
  representant

- bug fixed : on a search results screen, elements belonging to more than 1
  category were shown more than once

- bug fixed : in admin/cat_modify, changing a value in a textefield and
  hitting enter was setting a new random representant


git-svn-id: http://piwigo.org/svn/trunk@635 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05 21:28:40 +00:00
plegall
b3336f57d5 - shows the element representing a non empty category in cat_modify
- possibility to set a random representing element for a category

- bug fixed : update_category function could not update nb_images

- bug fixed : mass_updates was inserting in the wrong table


git-svn-id: http://piwigo.org/svn/trunk@633 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-04 17:42:07 +00:00
plegall
a383f3148c - change "->" in a beautiful arrow :-) for categories level in admin
- single category management screen updated : commentable and uploadable
  properties added, full directory displayed, status and visibility
  properties update uses inheritance, user favorite elements check moved to
  somewhere else : would be too long to calculate here for too many users

- new admin functions set_cat_visible and set_cat_status : visibility and
  status updates can be done in cat_options and cat_modify

- language : differentiate "locked" (state) and "lock" (action)


git-svn-id: http://piwigo.org/svn/trunk@632 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-04 12:10:17 +00:00
gweltas
b35dc19ab6 Update of the user preferences panel.
Deletion of some PREFIX_TABLE occurences


git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-02 15:42:57 +00:00
plegall
759b1e8839 - update_global_rank new function : far more intelligent update. Take into
account the possiblity to have category tree not in category id ascending
  order

- update global_rank when moving categories among the same parent

- new function mass_updates : depending on MySQL version, create a temporary
  table, make one big insert and one big update by joining 2 tables (4.0.4
  or above) or make 1 update per primary key

- function update_category improved for representative_picture_id check :
  only one useful query (equivalent to NOT EXISTS) instead of N (N = number
  of categories) queries


git-svn-id: http://piwigo.org/svn/trunk@625 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-30 20:26:44 +00:00
plegall
514bac91c6 date_metadata_update between simple quotes
git-svn-id: http://piwigo.org/svn/trunk@624 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-30 19:53:33 +00:00
plegall
f0fcd1eedc - global categories' options : instead of N horizontal tabs on a single
page, N options in the left menu (but the same backend)

- categories.global_rank : new calculated field. It gives a global rank of
  the category among all others (updated during ordering)

- category.php page : menu is generated faster thanks to
  categories.global_rank, recursivity becomes useless :-)

- new function to display select box with a set of categories :
  display_select_cat_wrapper

- cat_options : instead of using 1 multiselect for true/false items, using 1
  multiselect for true, and another one for false. The form provides buttons
  with arrows to switch categories from one multiselect to another

- deletion of obsolete function display_categories (working with the old
  template system)

- deletion of obsolete functions get_user_plain_structure,
  create_user_structure, get_user_subcat_ids, update_structure, count_images
  : useless thanks to global_rank


git-svn-id: http://piwigo.org/svn/trunk@614 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-23 22:31:24 +00:00
plegall
13cd251e63 - optimization : representative picture becomes mandatory for a non empty
category. So, at each insertion in images table for a category, a new
  representative element is elected (by rand). This must be improved by not
  reelcting a random picture admin set an element as representative
  manually.

- optimization : recent cats page only needs 2 queries instead of 3*N (N
  categories to display). The bad point is that it shows representative
  element of recent cat and not a random element among recently added.

- optimization : empty cats page only needs 1 query per non empty sub
  category instead of... a lot. For each sub category, PhpWebGallery shows
  the representative element of a category chosen randomly in sub
  cats. Thus, get_non_empty_subcat_ids and get_first_non_empty_cat_id
  becomes obsolete.

- new function get_cat_display_name_cache to show category names with a
  caching for all gallery categories names. This function, to the contrary
  of get_cat_display_name shows names in the correct order...


git-svn-id: http://piwigo.org/svn/trunk@610 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-20 17:23:42 +00:00
plegall
1bf3753f14 - images.path column added to reduce database access
- function mass_inserts moved from admin/remote_sites.php to
  admin/include/function.php

- function mass_inserts used in admin/update.php


git-svn-id: http://piwigo.org/svn/trunk@606 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-16 23:38:34 +00:00
plegall
f57020b3cb IPTC mapping done in include/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@600 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-10 22:31:51 +00:00
plegall
765bfa10b1 verifies whether the file has a picture extension before trying getimagesize function
git-svn-id: http://piwigo.org/svn/trunk@597 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-09 08:49:15 +00:00
z0rglub
a8b1a03018 update headers to comply with GPL
git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-06 21:12:59 +00:00
z0rglub
5b7c761bbf bug correction : if no category found, no element to search in get_filelist
git-svn-id: http://piwigo.org/svn/trunk@590 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-02 23:25:27 +00:00
z0rglub
7cd9b65e32 - function mysql_query replaced by pwg_query : the same with debugging
features

- by default, DEBUG is set to 0 (off)


git-svn-id: http://piwigo.org/svn/trunk@587 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-30 15:42:29 +00:00
z0rglub
9b3138c6af - bug correction : only local categories can be metadata synchronized
git-svn-id: http://piwigo.org/svn/trunk@582 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-24 18:57:19 +00:00
z0rglub
9b1a330905 replacement of PhpWebGallery folder representative by pwg_representative and
high by pwg_high


git-svn-id: http://piwigo.org/svn/trunk@563 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-09 11:30:23 +00:00
z0rglub
bfe13288a1 clean keywords string from IPTC fields
git-svn-id: http://piwigo.org/svn/trunk@562 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-09 10:04:23 +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
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
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
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
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
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
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
a9298b67e8 - deletion functions updated : no needs to call delete_elements if no
element must be deleted

- improvement of function update_category : the function is not recursive
  anymore, but still works on all sub-categories thanks to a SQL query on
  uppercats database field. Less queries : for updating N categories, only
  (1+N) SQL queries compared to (3*N) in the previous revision.

- function my_error added (debug purpose)


git-svn-id: http://piwigo.org/svn/trunk@491 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:20:28 +00:00
z0rglub
d4519a348f - add files metadata support : use info for database fields
- distinction between directories synchronization and metadata synchronization


git-svn-id: http://piwigo.org/svn/trunk@486 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 12:52:43 +00:00
z0rglub
74bc00f9f7 - non picture files management
- refactoring

- function delete_category and delete_element now runs with an array of ids
  in parameters instead of a single id.


git-svn-id: http://piwigo.org/svn/trunk@467 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-05 17:35:43 +00:00
z0rglub
5643049f23 table user_category dropped
git-svn-id: http://piwigo.org/svn/trunk@423 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-05-28 21:56:07 +00:00
gweltas
9fd459d051 - Template migration
- Admin Control Panel migration
- Category management


git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26 17:08:09 +00:00
gweltas
4128835db8 - Template migration
- Admin Control Panel migration
- Language migration


git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-20 00:52:37 +00:00