Commit graph

245 commits

Author SHA1 Message Date
plegall
3a542bdb31 bug 1301 fixed: it is now possible to move root category 4 into root category
49. Sometimes a single comma makes a huge difference!

git-svn-id: http://piwigo.org/svn/branches/2.0@4400 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-01 00:03:17 +00:00
plegall
00c0d36632 feature 1231: subscribe to cn.piwigo.org/announcement when current language is
zh_CN

git-svn-id: http://piwigo.org/svn/branches/2.0@4213 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-05 21:51:49 +00:00
patdenice
916fa5ea70 Plugins upgrade now delete obsolete files from obsolete.list.
git-svn-id: http://piwigo.org/svn/branches/2.0@4033 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-14 14:59:23 +00:00
patdenice
57225129b2 set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3.
Add a @ to avoid this notices.
This functions need to be removed with PHP 6

git-svn-id: http://piwigo.org/svn/branches/2.0@4005 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 14:38:54 +00:00
patdenice
203a8a33cf merge r3716-3717 from trunk to branch 2.0
Allow to add description.txt file in language directory for plugin description.
Add multilingual descriptions for plugins.

git-svn-id: http://piwigo.org/svn/branches/2.0@3824 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-05 11:35:20 +00:00
patdenice
d39ce214bc Update pclzip to 2.8.1 (PHP 5.3 compatibility)
git-svn-id: http://piwigo.org/svn/branches/2.0@3822 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-05 11:20:48 +00:00
plegall
5695654d35 feature 953: avoid fatal error when delete a photo (added with pwg.images.add
API) and the file doesn't not exist on the filesystem.

git-svn-id: http://piwigo.org/svn/branches/2.0@3656 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 20:07:44 +00:00
plegall
cd10ccec6f feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo
announcement newsletter.

git-svn-id: http://piwigo.org/svn/branches/2.0@3620 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-17 21:19:03 +00:00
patdenice
c975589d63 Update pclzip library to 2.8
git-svn-id: http://piwigo.org/svn/branches/2.0@3581 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:34:06 +00:00
plegall
ccc032c809 feature 1020: simplify the URL to subscribe to Piwigo Announcements
Newsletter.

git-svn-id: http://piwigo.org/svn/branches/2.0@3401 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-08 21:12:06 +00:00
plegall
32a24fefc9 feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on
administration panel index.

git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31 19:35:51 +00:00
rub
b113b3fb08 merge -c3243 from trunk to branch 2.0
Resolved issue 0000974: Adding a link to the gallery in the notification of inscription 

git-svn-id: http://piwigo.org/svn/branches/2.0@3244 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-21 17:10:36 +00:00
nikrou
462b87485c merge r3216 from trunk to branch 2.0
feature_948_accordion feature 948 : fix problem with incorrect submenu open in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists

git-svn-id: http://piwigo.org/svn/branches/2.0@3217 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-19 21:39:38 +00:00
patdenice
a45e1f526e merge r3205 from trunk to branch 2.0.
Update version in plugins table during plugin activation.

git-svn-id: http://piwigo.org/svn/branches/2.0@3206 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:22:46 +00:00
plegall
ab6f96964a bug 926 fixed: change links to piwigo.org so that they go to existing URLs.
new: if the current language is french, the links go to fr.piwigo.org insted.


git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:37:34 +00:00
rvelices
368059d535 merge 3145-3146 from trunk
Last (I hope) paranoic optims ...
- move get_uysername and get_groupname from public to admin/functions.inc.php
- optim in index.php
- tags.tpl does not need smarty modifier included
- move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page)

git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14 02:28:21 +00:00
patdenice
35e9af66be merge r3143 from trunk to branch 2.0
- Show number of downloads in plugins list.
- Allow to sort plugins by number of downloads.
- Fix plugin revision URL (no more revision_view in PEM).

git-svn-id: http://piwigo.org/svn/branches/2.0@3144 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 21:03:02 +00:00
rvelices
b77b4f0aba merge r3136 from trunk
- moved check upgrade feed code to admin/include/functions_upgrade.php
- refactored some code (shorter and somehow faster - but nothing revolutionary)
- decrease lost space in permalinks.tpl and hard coded column width (was illisible)

git-svn-id: http://piwigo.org/svn/branches/2.0@3137 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 13:02:20 +00:00
rub
882ffed349 merge -c3072 from trunk to branch 2.0
Fix bad $lang.
Remove not necessary information messages on upgrade.

git-svn-id: http://piwigo.org/svn/branches/2.0@3073 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-13 18:56:17 +00:00
patdenice
644f226af6 merge -c3070 from trunk to branch 2.0.
Send user language when retrieving datas from PEM api.

git-svn-id: http://piwigo.org/svn/branches/2.0@3071 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-13 00:40:40 +00:00
plegall
aeaffa61bd Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:09:15 +00:00
patdenice
60f2d18f1f merge -c2902 from trunk to branch 2.0.
- Add home and identification buttons after installation.
- Use fetchRemote function for remote site actions.
- Corrections in fetchRemote fnction.
- Move PLUGIN_PICTURE_BEFORE in picture.tpl.

git-svn-id: http://piwigo.org/svn/branches/2.0@2903 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-23 17:25:24 +00:00
patdenice
a1e6ae0f15 merge -c2900 from trunk to branch 2.0.
- Bug fixed: username or password with accented character are now accepted for upgrade.
- Simplify query in  pwg_session_write function.
- Retrieve data with cURL method in fetchRemote function now work with forwarded URL.

git-svn-id: http://piwigo.org/svn/branches/2.0@2901 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-22 23:34:58 +00:00
rub
5e91a36359 Add argument at trigger_action in invalidate_user_cache function
merge -c2892 from trunk to branch 2.0
The exact copy of commit log in 2892.

git-svn-id: http://piwigo.org/svn/branches/2.0@2893 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 20:51:19 +00:00
rub
487ba19c94 Delete caches and optimize tables on upgrade
merge -c2890 from trunk to branch 2.0
The exact copy of commit log in 2890.

git-svn-id: http://piwigo.org/svn/branches/2.0@2891 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 20:06:20 +00:00
patdenice
70e5f51d00 merge -c2884 from trunk to branch 2.0.
- Replace some mysql_query by pwg_query function.
- Add home button after upgrade.php.
- Add utf8 charset for access denied message.
- Replace some #content by .content in css files.
- Fix menubar blocks borders with IE.

git-svn-id: http://piwigo.org/svn/branches/2.0@2885 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19 15:46:49 +00:00
rub
e037bbe726 Delete cache data when category is deleted.
merge -c2882 from trunk to branch 2.0
The exact copy of commit log in 2882.

git-svn-id: http://piwigo.org/svn/branches/2.0@2883 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-17 22:12:15 +00:00
patdenice
3b0caa8de4 merge -c2880 from trunk to branch 2.0
- 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/branches/2.0@2881 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-15 21:11:58 +00:00
patdenice
2f586c6791 merge -c2838 from trunk to branch 2.0
- 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/branches/2.0@2839 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-07 13:56:00 +00:00
patdenice
5f1fe1d4f9 merge -c2836 from trunk to branch 2.0
- 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/branches/2.0@2837 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-06 14:46:41 +00:00
patdenice
78af3df65b merge -c2819 from trunk to branch 2.0
- Add roma theme to upgrade page.
- Upgrade translation.

git-svn-id: http://piwigo.org/svn/branches/2.0@2820 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-03 19:55:35 +00:00
patdenice
108937e81a merge -c2815 from trunk to branch 2.0
- bugs correction in upgrade_1.7.0.php.
- only non-standard plugins are deactivated during upgrade.


git-svn-id: http://piwigo.org/svn/branches/2.0@2816 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-01 21:22:08 +00:00
vdigital
aa1a71488f 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/branches/2.0@2776 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-19 15:37:43 +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