Commit graph

645 commits

Author SHA1 Message Date
rub
81a509d5bf Resolved issue 0000712: PWG-ERROR-VERSION on remote synchronization
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2212 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-16 13:22:47 +00:00
rvelices
e31b4e49d6 merge revisions 2205 and 2206 from trunk to branch-1_7
feature 803: Implement keyboard navigation (left/right arrows) on the picture page
fix: non-image elements without representative and without mime type icon default to thumbnail if possible

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2207 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-13 01:25:07 +00:00
rub
7bb12f4f48 Replace old use of $lang by l10n function.
Merge BSF 2200:2201 into branch-1_7


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2202 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30 22:16:01 +00:00
rub
972b8a1a9b Resolved issue 0000791: recent icon is wrong with winter time
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2181 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-14 21:03:17 +00:00
rub
1117ff9ed2 Resolved issue 0000784: Mail notification disabled on register user
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2177 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-12-11 06:04:07 +00:00
patdenice
58b1c34aa1 Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php.
Add render_page_banner trigger.

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2174 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-29 13:03:15 +00:00
rub
d453f9a7d4 Send comment notification only if comment is not validated and $conf is true.
Merge BSF 2165:2166 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2167 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-20 22:34:13 +00:00
rvelices
fabfd5eb6e fix: in page_header.php U_HOME template var was overwriting the ones from every page -> now it is always make_index_url
fix: unvalidated comments use start end for RSS instead of end only (otherwise google reader creates a new item every time it downloads the feed)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2158 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-01 23:06:52 +00:00
rvelices
56a533f3cb - send status code 403 when attempt to enter a comment, but comments are disabled
- added trigger wether we should increment hit count

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2154 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-29 23:10:31 +00:00
rub
a2e3963cb0 Resolved issue 0000763: mail triggers:
Add triggers on mail part:
  o NBM
  o Group mail
  o process send mail

+ check groud_id null on group mail


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2139 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16 20:45:00 +00:00
rvelices
0fea350295 - fix plugin menu link broken with xamp (realpath behaves differently) (merge from trunk to branch 1_7)
- added some meta_robots (noindex and nofollow) on popuphelp, search_rules and search seaction (googlebot gets crazy)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2137 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16 01:45:26 +00:00
rub
26d336bd3b Commit 2128 was done with a latest version.
Fix my mistake!

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2133 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 23:03:30 +00:00
rub
33b7f46dd3 Fix some little bugs on mail functions
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2128 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 21:34:03 +00:00
rvelices
a15cc194b9 merge revisions 2121, 2122 and 2123 from trunk to branch-1_7
- function str2url is compatible with utf-8
- removed some old code (useless)
- remove str_translate_to_ascii7bits and lang_table_translate_ascii7bits
- mail subject and address names can contain accentuated characters

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2125 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-08 23:13:56 +00:00
rvelices
d446a221cd merge rev 2119 from trunk
- bug 755: admin permalinks page - fix category field sort
- web service functions: 1 fix and 3 optimizations

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2120 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-03 23:38:37 +00:00
rvelices
530e3e6974 - merge r 2117 from trunk (render_category_description and render_category_literal_description events refactoring)
- fix admin multiview plugin

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2118 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-02 05:42:22 +00:00
rub
7948d1871d Change initialization of $filter in order to prevent of problem with some systems
Merge BSF 2110:2111 into branch-1_7


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2112 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-29 22:38:49 +00:00
rub
f1f4e4386c Resolved 0000580: Send mail by define smtp configuration
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2105 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-25 21:49:21 +00:00
rvelices
94cd8b4fbb - fix very rare sql error (duplicate key) for rating
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2099 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-20 01:00:16 +00:00
rvelices
bb07324f76 - 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/branches/branch-1_7@2094 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-19 03:06:16 +00:00
rvelices
0a8cfa318a urls used in http redirections must not be html escaped (eg. should use & instead of &)
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2088 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-12 03:52:16 +00:00
rub
160fdcf517 Resolved 0000744: pwg_log: image_type is always null
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2085 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-11 21:36:02 +00:00
rub
fad95e6522 Resolved 0000738: Double port on url
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2082 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-30 05:30:19 +00:00
vdigital
61f2646d4e 0000735: Hits were displayed twice on Most visited
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2080 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-27 18:28:42 +00:00
rub
9d91210e41 Resolved 0000728: Add description triggers for categories and elements
Add:
  o render_category_description
  o render_category_literal_description
  o render_element_description

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2078 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-25 23:08:02 +00:00
rub
d958a19ed5 Resolved 0000726: script_basename returns bad result
With specific server configuration, script_basename returns bad result.

Merge BSF 2070:2071 into branch-1_7


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2072 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-24 19:16:02 +00:00
rvelices
e78758a25c added 2 events: get_categories_menu_sql_where and get_html_menu_category in order to allow personalisation of the category menu
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2069 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-19 23:39:43 +00:00
rub
c83520ffe1 Change headers with team email
Merge BSF 2058:2059 into branch-1_7


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2060 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-10 05:35:56 +00:00
rub
6fb6cf516f Rename trigger name loc_before_* by loc_begin_*
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2057 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-10 05:06:01 +00:00
rub
e7130ac18c Resolved issue 0000718: Add method "concat_var_from_handle" in template class
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2056 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-09 22:13:12 +00:00
rub
28a8e83485 Resolved issue 0000717: guest must be guest
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2054 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-07 09:22:11 +00:00
rvelices
c281046fca - fix set_status_header for fastCGI installations that are strict in terms of http protocol (1.0 or 1.1)
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2052 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-06 01:04:50 +00:00
rub
3d6fc7d9ea Resolved issue 0000715: Best fix bad format of email with name contains special character.
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2050 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-02 06:36:53 +00:00
rub
30532b2186 Resolved issue 0000715: Fix bad format of email with name contains special character.
+ Ignore all for plugins and theme directories

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2049 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-02 06:26:44 +00:00
rvelices
134c91774f merge 2043 from trunk to branch-1_7
quick search results improvement: elements with the same relevance are ordered using the global order_by 

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2044 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-23 19:42:56 +00:00
rub
97703aa9de Resolved issue 0000708: Error on synchronization
Resolved issue 0000709: Error with $conf['default_admin_layout']

Merge BSF 2037:2039 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2040 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-21 21:00:09 +00:00
rub
58dc3aa595 Enhancement for the plugin development:
o Add footer block
  o Add useful triggers on template object

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2035 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-13 05:14:54 +00:00
rub
fcb3c824a0 Resolved issue 0000702: Code Injection with picture comment
Merge BSF 2029:2030 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2031 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-07 18:52:40 +00:00
rub
13a7e043ac Issue 0000619: bad result of cookie_path() function
Manage gallery install on directly on root directory

Apply modifications from BSF (2006) ;-)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2011 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-14 21:09:21 +00:00
rub
2f9084b5e9 Issue 0000619: bad result of cookie_path() function
After discussion with Radu of an other case, PATH_INFO is re-introduce with news conditions.

Apply modifications from BSF (2006) ;-)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2007 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-11 20:09:21 +00:00
rub
1e8220d083 Issue 0000619: bad result of cookie_path() function
I removed source code with PATH_INFO because this code generates problem on some environment and because I don't understand this utility (next substr extracts good value)

Manual merge BSF 2004-2004 into branch_1.7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2005 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-08 10:16:26 +00:00
rvelices
ae6cd8f928 merge r1996 from trunk to branch-1_7
correct bug on one of my previous commits (flat for picture page)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1997 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-02 23:08:45 +00:00
rub
933749789c Issue 0000529:
Enhance computing method of script_basename function.

http://forum.phpwebgallery.net/viewtopic.php?pid=58258#p58258

Merge BSF 1988:1989 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1990 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-29 15:54:31 +00:00
rub
a44bf33a85 Issue 0000682: Error on user registration
On register page when the 2 passwords are not the same, an error occurs but user is also created.

=> Just error must be raised.


Merge BSF 1984:1985 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1986 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-27 05:24:01 +00:00
rvelices
53522d5411 merge r1983 from trunk to branch-1_7
category image order not correct

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1984 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-27 04:23:08 +00:00
rvelices
5b0d26b779 merge revisions 1980 and 1981 from trunk to branch-1_7
put some code from the huge section_init to 2 functions
- parse_section_url does the exact opposite of make_section_in_url
- parse_well_known_params_url does the exact opposite of add_well_known_params_in_url
maintenance on categories also invalidates the user cache

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1982 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-27 00:22:41 +00:00
rub
8a97ff299e Merge BSF 1956:1958 into branch-1_7
Small improvement:
  Random selection of pictures on notifications.

Caddie:
  Fix issue when the are not pictures attached to disassociated categories


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1959 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-14 12:34:44 +00:00
rvelices
1d02741910 flat view small improvements (picture page on root category sorter urls and works in several cases)
correction in permalinks admin (error was assignment in if instead of comparison)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1955 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-13 23:57:55 +00:00
rvelices
5f4f11299a permalink and category.php redirections are permanent (http code 301) instead of temporary (301)
added rel nofollow for the metadata link on picture page
changed h2 background color style in dark/mail-css (was not readable when images are not downloaded)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1949 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-09 23:24:34 +00:00
plegall
009e0e3029 Change PWG version to "branch 1.7"
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1937 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-06 17:34:28 +00:00