39 Commits

Author SHA1 Message Date
azett
107f6d99eb Added missing properties to fix "Dynamic properties are deprecated"
errors under PHP 8.2
2023-10-28 13:56:05 +02:00
azett
80abe0a55d fixed endless loop in entry overview; fixed PHP warning 2022-10-11 13:43:19 +02:00
azett
52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00
azett
5a0b7541e7 Getting FlatPress ready for PHP 8: Added a lot of missing checks for undefined variables and array keys in template and PHP files. 2020-12-19 12:52:53 +01:00
azett
d8de4bfb02 Replaced some more class-named constructors (and calls to them).
Removed unused and/or commented code.
Replaced calls to deprecated each() with array_shift() (not completely done yet, still some more to fix!).
Replaced call to deprecated create_function() with real callback function.
2018-10-03 13:53:40 +02:00
azett
6b8a4776df Included Matthias Mauch's PHP7.1 patch. Besides other changes regarding PHP7 compatibility, it replaces all the class-named constructors with __construct(). Thanks a lot, Matthias!
Please visit his website http://www.aadmm.org/fp-patch/ and read patch-description.txt to learn more about the details of the patch.

I adapted the patch slighty: It now does not just add a __construct() function to the existing class-named one, instead it replaces it completely. Therefore, some parent::__construct() calls had to be changed, too.
2018-10-03 11:00:55 +02:00
real_nowhereman
4447d11a3b fix a stupid 'strict' warning 2012-03-24 15:20:04 +00:00
real_nowhereman
3c94284f70 Did I REALLY parsed entry TWICE in comments and permalinks??
added 'localcache' field in FPDB_Query, keeps a hash with last "fullparsed" entries
2010-08-27 19:56:42 +00:00
real_nowhereman
24596571c7 Fix notice (walker/not a valid index(0)) when index is composed of one entry 2010-08-22 16:42:47 +00:00
real_nowhereman
d7c5a410bf should fix bug with 404: always returning true for non-existing entries 2010-08-17 08:08:23 +00:00
real_nowhereman
d6261d4763 postviews plugin no longer fiddling with (supposedly) private fields of FPDB_Query 2010-04-23 18:36:47 +00:00
real_nowhereman
970036e866 breaking change in fpdb, again, fixed (global $post was not set) 2009-12-05 18:12:04 +00:00
real_nowhereman
a20fb1702a brought back comments 2009-12-05 15:29:24 +00:00
real_nowhereman
345ad28d5f bplustree: making a message more explicit (walker)
fpdb:      fixed problem with single post navigation (new method)
2009-12-03 10:41:54 +00:00
real_nowhereman
bd5e6e5a33 commented out count--; needs investigation 2009-11-30 16:26:05 +00:00
real_nowhereman
2b5c9fb20f old 'not' reference prevented 'exclude' queries from working 2009-11-21 21:02:01 +00:00
real_nowhereman
42f944fabc New exciting experimental feature: EXCLUDE queries.
append exclude:ID to your URL query string to exclude a category from the listing. e.g. ?x=cat:10;exclude:5 to list all the entries which belongs to cat-id 10 AND NOT to cat-id 5
2009-11-21 16:06:57 +00:00
real_nowhereman
eccfec41ee porting to PHP5-style object assignments (it should work now...) 2009-07-23 15:19:06 +00:00
real_nowhereman
744e16a9bb reverting awful mess in fp-includes 2009-07-21 16:41:35 +00:00
real_nowhereman
5e7f579ff5 future proofing, changed all object assignments to PHP5-style 2009-07-21 07:24:42 +00:00
real_nowhereman
57c212c9c8 added new comment form, fixed a few issues with fpdb, cosmetich changes for the comment form, minor changes in comment handling 2009-07-03 15:39:23 +00:00
real_nowhereman
7fa207b8f8 wrong count limit for paged views 2009-02-28 16:06:15 +00:00
real_nowhereman
d5e666a1a1 big commit: implemented sort-of 2-phase (3-phase actually) safe commit in FP; first entry is saved as draft, then content is moved along when indices have been succesfully updated; this way if btree fails, entry is anyway kept in a safe place; added a few cosmetic changes, a bunch of new, more descriptive language strings for the entry panel; added a "you are editing a draft" notice in the panel; hope you will like it :) 2009-02-03 16:53:52 +00:00
real_nowhereman
d86ddd0eae php4 compatibility 2009-01-01 19:11:34 +00:00
real_nowhereman
e052fa4e4a huge commit, bringing back text links, even though not completely functional if nextpage link comes _before_ the {entry} block; the commit contains the 'loose' search option for bplustree, which lets loosely search the tree for the nearest key to a given search key, which makes the thing possible; a few fixes to 404 error handling and related prettyurls stuff 2008-11-12 16:54:40 +00:00
real_nowhereman
bdf98d0d7f fixed $post global 2008-09-24 17:17:39 +00:00
real_nowhereman
bf51547230 prettyurls works now with the new system; TODO: move the index eventually to bplustree 2008-09-23 20:34:06 +00:00
real_nowhereman
d16d523b23 pagination now working, archives working, set comments=false as default 2008-09-14 10:01:57 +00:00
real_nowhereman
29a9e6bbd1 suppressing "file not found" errors for indices, fall back to 404 error; correctly return seek position when inserting into SBPlusTrees 2008-09-08 15:20:07 +00:00
real_nowhereman
13dc0b6cb4 allowing quick parsing to display comment count, in order to list entries quickly; changed admin panel accordingly (no author column anymore) 2008-09-08 09:06:54 +00:00
real_nowhereman
5572be3b3c changed entry_cached_index, direct subclass... cache_filelister now probably useless; muted prev/next page for single; "last-entries" still broken; categories not tested yet 2008-09-08 08:25:20 +00:00
real_nowhereman
02d8d27418 things are starting to get going 2008-09-08 07:37:07 +00:00
real_nowhereman
141ef1292a iterators should now work; need to update the behaviour of the upper lever classes 2008-09-07 15:19:13 +00:00
real_nowhereman
b3e97edd66 adding index manager, still probably not functional 2008-09-06 13:46:03 +00:00
real_nowhereman
dea2a2fa87 a few preliminar changes, not working yet 2008-09-06 10:10:30 +00:00
real_nowhereman
6c891bfb86 fixed notice messages on pass-by-reference 2008-05-10 15:11:32 +00:00
real_nowhereman
d249400e85 should fix the commslock bug without new issues (crossing fingers) 2008-03-12 14:13:11 +00:00
real_nowhereman
65f96ea1a9 nextpage, prevpage were swapped in singlepost 2008-03-05 09:59:49 +00:00
real_nowhereman
a68630bf35 First revision of FlatPress Crescendo+1 ( 0.703+n :) ) 2007-10-30 10:30:07 +00:00