509 Commits

Author SHA1 Message Date
Ian
ba518b7864 use tpl dir and smarty3 short notation fetch() method 2012-02-17 18:33:10 +01:00
onli
ff667b6617 smartified group.inc.php 2012-02-17 16:40:23 +01:00
onli
e795e4b2ea smartified export.inc.php 2012-02-17 13:27:06 +01:00
onli
55edda14bf smartifying: template.inc.php, category.inc.php 2012-02-16 20:00:08 +01:00
onli
a490e1e7a5 pdo was missing a global on db_begin/end_transaction() 2012-02-05 19:00:56 +01:00
Ian
9c7f73a857 tab converting and parseTemplate() fix 2012-02-02 14:11:50 +01:00
Ian
503c170ede update installer version need to PHP 5.2.6 2012-01-28 16:12:48 +01:00
Grischa Brockhaus
92c4b0b4f6 Prevent adding trackbacks we already have, coming from the same URL and
pointing to the same article.
2012-01-25 13:39:27 +01:00
Grischa Brockhaus
f2c6b669ad Deny duplicate pingbacks and send message about new pingbacks found in
blog.
2012-01-17 12:55:09 +01:00
Ian
4822b3e7b8 added token to support the preview link in backend entries 2012-01-16 09:10:00 +01:00
Grischa Brockhaus
d3893904ed serendipity_fetchComments produced wrong SQL code, if $where and $limit
was set but $order don't
2012-01-04 00:12:12 +01:00
Ian
82481fc1cf added nl2br to smarty allowed php modifiers 2012-01-03 14:14:14 +01:00
Garvin Hicking
de6f589f96 The $goodtoken thing is important, as when this is used, the user is not logged in, and so the comment approval via token
would not work (at least this is how I read it, I didn't implement the token approval)
2011-12-31 15:10:00 +01:00
Grischa Brockhaus
5c062c4f0b serendipity_deleteComment: Check for adminEntriesMaintainOthers
Please check this patch if it is okay, Garvin. Else redo it.
Now only users owning the depending article or having
adminEntriesMaintainOthers are allowed to delete a comment.
2011-12-31 13:47:32 +01:00
Grischa Brockhaus
0fd5541e51 serendipity_approveComment:
Only allow the user to approve a comment, if
he owns the article or has adminEntriesMaintainOthers (or forced is
true). Please check this fix, if it is okay and redo if not.
2011-12-31 13:28:16 +01:00
Grischa Brockhaus
b547d8d27e minifix (someone added a + in front of a comment) 2011-12-31 13:21:08 +01:00
Ian
09aace0ffe display back to fetch, as it was 2011-12-29 11:11:27 +01:00
Ian
4db3a08f19 corrected note typos and changed trigger_errors error LEVEL
back to Warning as before, which still is halted by the smarty error handler
2011-12-25 15:24:08 +01:00
Garvin Hicking
933c63c904 Allow plugins to use fetch() call without the need to do any weird security_settings[INCLUDE_ALL] redirections 2011-12-22 12:16:34 +01:00
Garvin Hicking
59211ce36e Magic __set method to react to $serendipity['smarty']->security = false; which is the documented way in a template's config.inc.php to disable security in past s9y versions 2011-12-21 17:21:05 +01:00
Garvin Hicking
bfea178fc4 Some plugins might needs this in the future 2011-12-21 09:16:37 +01:00
Garvin Hicking
e25a70302d patch to handle files without extensions by Markus Brueckner 2011-12-14 11:49:06 +01:00
Ian
ee116ee460 some more tweaking to the errorToExceptionHandler 2011-12-08 19:21:24 +01:00
Ian
c2afd4efc0 moved custom errorHandler to avoid XML Feed declaring and callback errors 2011-12-06 12:36:03 +01:00
Ian
7d9bf2e6c2 some doc cleanup in serendipity_smarty class 2011-12-05 13:12:17 +01:00
Ian
fd0f634621 convert all $smarty->trigger_error() to native trigger_error()
with E_USER_ERROR set and
initialize the smarty object by instance
as always cleanup some tabs
2011-12-04 17:52:37 +01:00
Ian
0682560ad8 last modified and doc header for last commit 2011-12-04 17:38:29 +01:00
Ian
747f9b207a enhanced get smarty object by instance function 2011-12-04 17:25:59 +01:00
Ian
b0377ef865 smarty compile dir - better exeption handler 2011-12-02 16:23:16 +01:00
Ian
7e0cdf30af throw exeption instead of die() 2011-12-01 15:53:10 +01:00
Ian
b84a8ccb53 date & tabs to spaces 2011-12-01 11:09:09 +01:00
Ian
dea13b461e some more caching docs in smarty class 2011-11-30 18:48:40 +01:00
Ian
b2affab6b8 Merge remote-tracking branch 'origin/master'
Conflicts:
	include/serendipity_smarty_class.inc.php
2011-11-30 18:43:25 +01:00
Ian
ebb8777932 some more caching docs in smarty clas 2011-11-30 18:40:28 +01:00
Ian
7fce1e47d8 S9y Smarty class: some more caching docs 2011-11-30 17:19:24 +01:00
Ian
436cc20a0b comment todo added 2011-11-28 12:31:09 +01:00
Ian
83185e6f28 experimental smarty class - some cleanup and noting 2011-11-28 11:33:53 +01:00
Ian
0f11ccc288 made backend comment (error) messages styleable
just as the others and added .serendipity_backend_msg_notice to add compat style modes to serendipityAdminMsgError
2011-11-25 16:42:02 +01:00
Garvin Hicking
2749dc54ad Smarty3 2011-11-24 12:16:02 +01:00
Garvin Hicking
23e5de77b7 merge Smarty3 by ophian 2011-11-24 12:14:03 +01:00
Garvin Hicking
e8cacdcfdd (backport)
Fix a situation where globally stored template variables do not get preference over local (old) ones
	docs/NEWS
2011-11-03 17:06:14 +01:00
Garvin Hicking
c292badf30 * Added new serendipity['defaultBaseURL'] variable that makes sure
that the baseURL is not overriden when configuring serendipity
      with a possibly autodetected currentl URL. Patch by Manko10.
2011-09-28 12:03:28 +00:00
Garvin Hicking
56041459b6 backport 2011-09-28 11:39:09 +00:00
Garvin Hicking
7d7a1aadee nav amount fix 2011-09-28 10:29:15 +00:00
Garvin Hicking
ebaa8afe04 patch by ian 2011-09-28 09:19:05 +00:00
Garvin Hicking
7fa9ecde6d IE6 is dead 2011-08-13 09:55:33 +00:00
Matthias Mees
0b82cb6b67 Removed alt attribute from quicksearch input elements. It's pointless now and will be invalid in HTML5. 2011-07-23 04:42:02 +00:00
Garvin Hicking
2916a08510 patch by ian 2011-07-21 12:18:39 +00:00
Garvin Hicking
22c6f6720b properly use windows replacements, by timbalu 2011-07-11 06:14:12 +00:00
Garvin Hicking
187941aac6 * Added new event hook 'backend_loginfail' to track failed logins
(serendipity_event_externalauth can make use of it for fail2ban)
2011-05-31 14:02:02 +00:00