Commit graph

671 commits

Author SHA1 Message Date
rub
69159c0e92 Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30 22:07:07 +00:00
rub
aea7649f99 Resolved issue 0000791: recent icon is wrong with winter time
Merge branch-1_7 2180:2181 into BSF


git-svn-id: http://piwigo.org/svn/trunk@2182 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-14 21:08:26 +00:00
rub
89623393d4 Resolved issue 0000784: Mail notification disabled on register user
Merge branch-1_7 2176:2177 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2178 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-12-11 06:10:38 +00:00
patdenice
58fafb94d8 Merge from branch-1_7: 2174
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/trunk@2175 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-29 13:08:38 +00:00
rub
e50433eb01 Fix problem with UTF8 and mail
git-svn-id: http://piwigo.org/svn/trunk@2168 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-22 06:26:31 +00:00
rub
e480a291cd Send comment notification only if comment is not validated and $conf is true.
git-svn-id: http://piwigo.org/svn/trunk@2166 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-20 22:30:58 +00:00
vdigital
65dbaa60c2 Add is_generic function
git-svn-id: http://piwigo.org/svn/trunk@2163 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-19 20:12:22 +00:00
vdigital
51e3d211c8 New: Language Switch plugin support
git-svn-id: http://piwigo.org/svn/trunk@2161 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-18 19:59:33 +00:00
rvelices
711018af5e merge -r 2158 from branch-1_7 to trunk
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/trunk@2159 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-01 23:08:27 +00:00
rvelices
831694b4d1 - send status code 403 when attempt to enter a user comment, but comments are disabled
- don't increase hit count when a comment is posted
- remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless)

git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-29 23:39:41 +00:00
rub
c1cd43c874 Resolved issue 0000763: mail triggers:
Add triggers on mail part:
  o NBM
  o Group mail
  o process send mail

+ check group_id null on group mail

Merge branch-1_7 2138:2139 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2140 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16 21:18:11 +00:00
rvelices
b606b6d1ab - quick search optimizations (less queries)
- added some meta_robots (noindex and nofollow) on popuphelp, search_rules and search seaction (googlebot gets crazy)

git-svn-id: http://piwigo.org/svn/trunk@2138 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16 01:46:09 +00:00
rub
608c174245 Replace htmlentities by htmlspecialchars on NBM in order to send a correct UTF8 mail.
Quote mail charset + add debug mail informations
Fix "check user with same mail" where null email was not discarded

git-svn-id: http://piwigo.org/svn/trunk@2136 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-12 22:14:23 +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
36e0e6e8f1 - changed htmlentities to htmlspecialchars in comments.php (utf-8 issue)
- web service explorer in utf-8
- removed warning in function load_language
- feature: show_queries also shows number of selected rows or number of affected rows

git-svn-id: http://piwigo.org/svn/trunk@2134 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-11 00:10:41 +00:00
rvelices
5aafffb22b - RSS feed is PWG charset
- iptc are now converted from iso-8859-1 or utf-8 (automatic detection) to pwg charset
- remove function get_language_filepath
- load_language also checks for the default language


git-svn-id: http://piwigo.org/svn/trunk@2132 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 22:43:09 +00:00
rub
78b838459d Fix some little bugs on mail functions
git-svn-id: http://piwigo.org/svn/trunk@2129 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 21:35:31 +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
rvelices
98b07a4a7f - some code refactoring before upgrade to utf (only cosmetic at this point...)
git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-08 23:46:09 +00:00
rub
5132cc1f87 Resolved 0000759: email unique for each user
Fix bug of last commit 2115

git-svn-id: http://piwigo.org/svn/trunk@2124 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-06 06:41:18 +00:00
rvelices
924733b9f0 - function str2url is compatible with utf-8
- removed some old code (useless)

git-svn-id: http://piwigo.org/svn/trunk@2123 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-05 22:56:22 +00:00
rvelices
f045ffd132 - remove str_translate_to_ascii7bits and lang_table_translate_ascii7bits
git-svn-id: http://piwigo.org/svn/trunk@2122 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-05 22:46:10 +00:00
rvelices
c4a4ea4806 - mail subject and address names can contain accentuated characters (completely obsoleted str_translate_to_ascii7bits and lang_table_translate_ascii7bits but not yet removed from code)
git-svn-id: http://piwigo.org/svn/trunk@2121 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-04 04:39:59 +00:00
rvelices
fb9abe8fea - bug 755: admin permalinks page - fix category field sort
- web service functions: 1 fix and 3 optimizations

git-svn-id: http://piwigo.org/svn/trunk@2119 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-03 23:36:21 +00:00
rvelices
2889cbc4eb - render_category_description and render_category_literal_description events refactoring
git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-02 05:38:54 +00:00
rub
f7196c793a Resolved 0000759: email unique for each user
git-svn-id: http://piwigo.org/svn/trunk@2115 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-01 22:07:47 +00:00
rub
eebf773586 Change initialization of $filter in order to prevent of problem with some systems
git-svn-id: http://piwigo.org/svn/trunk@2111 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-29 22:36:00 +00:00
rub
77c7083eec Next of commit 2109
Change translation is best of change language keyword.

git-svn-id: http://piwigo.org/svn/trunk@2110 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-29 10:01:54 +00:00
vdigital
88ab0eb7cd 0000740: English sentence in French advices
and other languages minor corrections.

git-svn-id: http://piwigo.org/svn/trunk@2109 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-28 16:12:29 +00:00
rub
08bc6015a7 Resolved 0000580: Send mail by define smtp configuration
Merge branch-1_7 2104:2105 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2106 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-25 21:52:00 +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
rvelices
179106efaf - removed unused code from the calendar
- removed some unused css rules, simplified css a bit and made some rule grouping (nothing important)

git-svn-id: http://piwigo.org/svn/trunk@2101 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-20 23:45:23 +00:00
rvelices
c5970aba22 merge -r 2099 from branch-1_7 to trunk + fix typo (replace get_cookie_var with set_cookie_var)
- fix very rare sql error (duplicate key) for rating

git-svn-id: http://piwigo.org/svn/trunk@2100 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-20 04:33:10 +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
rvelices
08aa93a93b - merge content of layout.css and popuphelp.css (very few lines) into existing css -> faster page loading the first time (avoid 2 http requests)
- optimized sql for $conf['display_fromto'] in category_cats.inc.php

git-svn-id: http://piwigo.org/svn/trunk@2091 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-13 23:30:46 +00:00
rvelices
69d0dae55d merge -r2088 from branch-1_7 to trunk
- urls used in http redirections must not be html escaped (eg. should use & instead of &)

git-svn-id: http://piwigo.org/svn/trunk@2089 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-12 04:01:54 +00:00
rvelices
9aa5052f6d bug 376: improved get_available_tags sql queries for large databases
git-svn-id: http://piwigo.org/svn/trunk@2087 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-12 03:37:01 +00:00
rub
f647fc4f26 Resolved 0000744: pwg_log: image_type is always null
Merge branch-1_7 2048:2050 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2086 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-11 21:37:42 +00:00
rvelices
92f80e5d79 feature 731: permissions at image level
- this is the first version - I wait for feedback before changing help files

git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-11 02:24:51 +00:00
rub
45fde2cc6b Resolved 0000738: Double port on url
Merge branch-1_7 2048:2050 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2083 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-30 05:32:37 +00:00
vdigital
b85685c752 0000735: Hits were displayed twice on Most visited (manual merge)
git-svn-id: http://piwigo.org/svn/trunk@2081 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-27 19:08:54 +00:00
rub
5c13d6a8f1 Resolved 0000728: Add description triggers for categories and elements
Add:
  o render_category_description
  o render_category_literal_description
  o render_element_description

Merge branch-1_7 2048:2050 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2079 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-25 23:10:12 +00:00
rub
94c265d0cd Resolved 0000726: script_basename returns bad result
With specific server configuration, script_basename returns bad result.

git-svn-id: http://piwigo.org/svn/trunk@2071 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-24 19:14:11 +00:00
rvelices
7f480b6ec6 merge -r2069 from branch-1_7 to trunk
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/trunk@2070 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-19 23:45:57 +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
rub
7183b5dffe Resolved issue 0000718: Add method "concat_var_from_handle" in template class
Rename trigger name loc_before_* by loc_begin_*

Merge branch-1_7 2048:2050 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2058 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-10 05:09:05 +00:00
rub
f3b1fed9c6 Resolved issue 0000717: guest must be guest
git-svn-id: http://piwigo.org/svn/trunk@2055 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-07 09:23:04 +00:00
rvelices
c946500244 merge r2052 from branch-1_7 to trunk
- 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/trunk@2053 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-07 02:10:11 +00:00
rub
1463bf2295 Resolved issue 0000715: Fix bad format of email with name contains special character.
+ Ignore all for plugins and theme directories

Merge branch-1_7 2048:2050 into BSF


git-svn-id: http://piwigo.org/svn/trunk@2051 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-02 06:38:45 +00:00