43 Commits

Author SHA1 Message Date
azett
e02b6b9474 Fixes #305: Fixed more "Creation of dynamic property is deprecated"
errors
2024-01-23 19:36:48 +01:00
Fraenkiman
7d8386a209 ...Use of PrettyURLs
- As a result of 85e100c removed reference to the PrettyURLs plugin from the setup language files.
- The PrettyURLs panel now contains a note on the server software used
2023-12-26 04:26:36 +01:00
Frank Hochmuth
d40dcdb250
Update plugin.prettyurls.php 2023-12-14 20:59:08 +01:00
Frank Hochmuth
0fc7258493
Protects the .htacces file from external access
- Only the FlatPress admin and server admin should be able to access the .htacces file
2023-12-14 20:45:54 +01:00
Fraenkiman
0928ae8a70 PrettyURLS plugin does not prevent directory browsing
Preventing directory browsing via PrettyURLS plugin when .htaccess is deleted by the user. ...as an addition to #No. 174
2022-12-26 02:36:47 +01:00
azett
bee5635ec6 Fixed PHP warning - thx laborix! 2022-11-13 13:16:45 +01:00
azett
fa95af79fc fixes #126 2022-07-02 13:01:21 +02:00
azett
0ceec7a50f Fix for #76: Check date array for expected format.
Also: Fixed autocompletion mess-up in plugin.prettyurls.php -_-
2021-02-28 12:11:01 +01:00
azett
fe1d222742 Handling of missing array indices added 2021-02-24 18:41:13 +01:00
azett
d43dcb2e69 Meh, commit 27c3e825b35de07d767a87d85b78af26a37654de was buggy. Here are the *correct* fixes of the Heredoc strings. 2021-02-14 11:44:47 +01:00
azett
27c3e825b3 Fixed Heredoc strings. Turns out, Heredoc syntax - https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc - only works with closing tags being the first characters of a line. Eclipse's reformatting and indention of the code does not seem to know that^^
Fix: Changed Heredoc strings to "normal" strings.
2021-02-13 13:47:18 +01:00
azett
7e8ddb88b8 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Fixed some tiny PHP errors.
Thanks for reporting, Matthias!
2021-02-13 13:03:09 +01:00
azett
c2accdedcc Description and authors of all default plugins reworked. (Original plugin authors are mentioned in CONTRIBUTORS.md from now on.) 2020-10-24 20:42:59 +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
2c687145da revert changes to prettyurls -- erroneous commit 2011-04-15 18:59:44 +00:00
real_nowhereman
6721d8098d fix ie9.. not entirely satisfied though.. 2011-04-14 07:36:31 +00:00
real_nowhereman
0e962daf68 fixes paging with PRETTYURLS_TITLES = true 2011-04-05 11:59:00 +00:00
real_nowhereman
35bcf84f57 prettyurls multiple 'backend' 2011-04-04 10:33:56 +00:00
real_nowhereman
b9c3a2e7af revert clumsy r376 2011-04-03 19:38:07 +00:00
real_nowhereman
ee6e7c551c nasty auth bug 2011-04-03 17:13:12 +00:00
real_nowhereman
925eeb979a did not throw an error on non-existent category; thanks to pierovdfn for reporting 2010-09-13 15:56:46 +00:00
real_nowhereman
fec91ae412 many minor edits, porting to jQuery (thanks to pierovdfn!) 2010-08-12 10:02:52 +00:00
real_nowhereman
9dbd816209 added more options 2010-06-27 13:23:16 +00:00
real_nowhereman
b0ee0cf01a "smart" prettyurls: pathinfo URLs are default ONLY if there is no .htaccess in your BLOG_ROOT; it is true that having a .htaccess in your root does not imply mod_rewrite is enabled: if that is the case you can anyway overridable as usual by setting true or false manually 2009-02-11 15:31:33 +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
1c9c056a12 bad entities fixed 2008-10-06 08:06:57 +00:00
real_nowhereman
9ad26f6ac1 fixing datatype warning in arary_search due to wrong return value in cache_get 2008-09-27 12:47:47 +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
b71facd9ec fixed pathinfo conflict with GET parameters 2008-09-23 19:48:38 +00:00
real_nowhereman
1c6fb0bb3d fixing some date/linking minor problems 2008-04-14 07:46:47 +00:00
real_nowhereman
ff3fe3cd0f you can now enjoy pathinfo URLs! set PRETTYURLS_PATHINFO to true in the plugin.prettyurls.php; if it'll work change was trivial (please report any strange issues, it involved altering defaults.php) 2008-04-11 19:27:05 +00:00
real_nowhereman
a6a0db42f5 should fix erroneous 404s 2008-03-31 17:55:05 +00:00
real_nowhereman
aa77e6edf1 the infamous "session bug" with antispam should be in fact a bug with prettyurls; some themes might refer their images (or, generally speaking, their resources) via relative paths, which are translated into wrong urls when prettyurls are enabled; this led to secondary requests to the same comment page, which made the plugin regenerate the question! the bug looked random because when those request came BEFORE the main page had been rendered the question stored in session would have been still correct; otherwise, if those came AFTER, the correct question was overwritten, and therefore the result would have been reported as wrong even though at a first glance it was not; now prettyurls correctly 404s when you point to a resource with a wrong path: update your themes if they are suffering from this bug (hey, really, you did not wondered why some images were not displayed sometimes??) :) 2008-03-29 11:15:42 +00:00
real_nowhereman
b5758344d1 merging new-urls branch 2008-03-24 20:25:33 +00:00
real_nowhereman
987eb106a4 fixes to pagination 2008-02-20 13:48:12 +00:00
real_nowhereman
12ef0a7ecf should fix bad handling of 404 by making up a non existent entry -- unless you've written one on 00/00/2000 at 00:00:00, and then you really should tell me on WHICH DAY and MONTH that happened because if I were in you I'd be scared :P 2008-02-19 20:19:05 +00:00
real_nowhereman
ae4ed473f7 prettyurls are not working if (for instance) the root dir is symlinked and defaults.php is left unchanged! so we should probably get the path from fp_config and as a plus maybe compare to the auto generated one. 2008-02-11 08:17:17 +00:00
real_nowhereman
e68b39ff39 removing anchors from url string before parsing 2008-02-11 08:05:38 +00:00
real_nowhereman
34f682dd5a fixed whitespace 2008-01-16 21:05:04 +00:00
real_nowhereman
af2cc0f4c3 Added new style for prettyurls: set PRETTYURLS_TITLES to false (head of the plugin): this way titles will just show as an entry id
e.g. http://yourblog.tld/flatpress/2008/01/16/entry160108-123456/
2008-01-16 20:34:37 +00:00
real_nowhereman
a1ef058ab0 prettyurls: some fixes to the htaccess editor 2007-11-09 08:09:15 +00:00
real_nowhereman
dea5876cbd Several fixes - I hope - to prettyurls, still some issues on some servers, need to investigate this DIRNAME/ to DIRNAME.php 2007-11-06 21:26:14 +00:00
real_nowhereman
a68630bf35 First revision of FlatPress Crescendo+1 ( 0.703+n :) ) 2007-10-30 10:30:07 +00:00