Commit Graph

101 Commits

Author SHA1 Message Date
79e7937762 Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.
2015-01-07 10:47:45 +01:00
e0c26282a6 scrutinizer documentations issues 2014-09-29 03:34:17 +02:00
ed74b60ead Merge pull request #626 from splitbrain/feedmodelistsort
Added sort by date option to feed in list mode
2014-05-25 11:47:07 +02:00
470bf4b293 username_link should show user's name in feed too 2014-05-14 20:58:35 +02:00
d2704764cf use new $INPUT->valid() method in feed.php 2014-04-30 19:49:25 +02:00
477e59988f add date sort option for list mode of feed 2014-03-20 15:40:31 +01:00
6dcc1e8f85 Improve encoding dir in rssListNamespace() 2014-03-20 15:39:57 +01:00
b09b9f475d add 404 status header to feed disabled 2014-03-18 14:02:01 +01:00
54be1338e5 allow disabling the rss feed 2014-03-18 13:19:05 +01:00
3275c5d6fe Merge branch 'master' into diff_navigation
* master: (103 commits)
  Add a basic test case for the cache
  Events: Trigger a warning if the default action is not callable
  Fix caching (make the event callback public again)
  translation update
  translation update
  translation update
  translation update
  translation update
  translation update
  translation update
  avoid HTTP image screenshot urls. closes #595
  translation update
  Extension manager: Fix cache extension to be .repo
  adjusted the office type color again
  another instance of empty() where an array key might not exist
  remove placeholder van denied.txt
  updated file icons once more
  removed 'not logged in' text, loginform is shown already
  Revert "added stripped bit to language file"
  fixed index file
  ...

Conflicts:
	inc/html.php
2014-03-14 17:09:29 +01:00
e90eadd0d4 Merge pull request #547 from splitbrain/chris_rssfeedfixes
RSS feed fixes
2014-03-02 19:48:20 +00:00
26b26af6b5 add security character '$' around REMOTE_USER in cache key to avoid key clashes 2014-02-26 01:52:56 +00:00
4a193141ca remove rendundant line 2014-02-26 01:50:39 +00:00
3bf4233a75 add HOST and PORT to feed cache key 2014-02-26 01:49:29 +00:00
8fcb305db0 Merge remote-tracking branch 'origin/master' into diff_navigation
Conflicts:
	inc/html.php
2014-02-23 22:07:26 +01:00
0e2431b761 Improve PHPDocs, rename auth_basic to DokuWiki_Auth_Plugin 2014-02-17 19:01:57 +01:00
2643fc174c Merge remote-tracking branch 'origin/master' into diff_navigation 2014-02-15 15:10:15 +01:00
27538f87e3 make media links in rss feeds absolute
This resolves issues with broken images when the wiki feed is
hosted by third parties (e.g. FeedBurner), as mentioned in
FS#2931 comments.
2014-02-14 21:04:08 +00:00
ed714c3e6d add missing '&' before 't' in url construction 2014-02-14 21:00:10 +00:00
0b4e20cc13 Fix RSS namespace listings containing hidden pages 2013-12-02 00:15:38 +01:00
11540fc120 Revert "Exclude hidden pages (config["hidepages"]) from RSS feed (see https://www.dokuwiki.org/config:hidepages)"
This reverts commit f5151bdbf9.
2013-12-02 00:15:38 +01:00
44f1166462 Revert "fix indention of RSS patch"
This reverts commit a010fc32a9.
2013-12-02 00:15:38 +01:00
047bad06fa refactor PageRevisionLog into Media- and PageChangelog extending Changelog 2013-11-21 21:07:08 +01:00
f523c9718b update function calls to changelog functions 2013-11-20 13:36:22 +01:00
a010fc32a9 fix indention of RSS patch 2013-10-13 11:14:43 +02:00
f5151bdbf9 Exclude hidden pages (config["hidepages"]) from RSS feed (see https://www.dokuwiki.org/config:hidepages) 2013-10-11 13:54:55 +02:00
3e967eac77 removed superfluous parameter FS#2773 2013-05-05 19:52:33 +02:00
a494ed3306 FS#2738, fix double encoding of html entities in RSS feeds (updates feed.php for changes to Diff class introduced in PR#179) 2013-04-10 18:36:35 +01:00
1512eb894e Fix content of pages with incorrect metadata in list feeds
Before this change the last modification time was taken from metadata
and then the revision that was specified there was loaded from the
attic. Now revisions from attic are only loaded when the page has been
modified more recently and the date is normally the last modification
time of the page source. This was a problem when the most recent change
was an external edit, then an older revision was shown in the feed.
2013-01-11 11:52:29 +01:00
be808eff89 Fix title of media items in the feed with useheading on
This fixes the problem that media items in the feed got the title of the
previous item when useheading was enabled as no metadata is loaded for
media entries and thus the previous metadata was used again. This also
fixes dates for media files.
2012-09-14 13:49:45 +02:00
29f2dfdcb8 Merge branch 'input-validation' of git://github.com/whoopdedo/dokuwiki into pull-request-110
* 'input-validation' of git://github.com/whoopdedo/dokuwiki:
  fix incorrect usage of tpl_getMediaFile
  fix necessary global declaration
  Input wrapper for html forms
  Input validation for media manager
  Input wrapper for exe scripts
  more INPUT wrapper uses: cache purge, sectok, getID
  Input wrapper for action.php

Conflicts:
	lib/exe/css.php
2012-07-06 11:07:34 +02:00
0c06a18181 Merge branch 'master' of github.com:splitbrain/dokuwiki into frontend_improvements
Conflicts:
	lib/tpl/dokuwiki/css/basic.css
2012-06-29 17:51:09 +01:00
df06cef4cd removed superfluous whitespaces 2012-06-29 15:37:34 +02:00
36d61a2c62 fix incorrect usage of tpl_getMediaFile 2012-06-29 00:04:38 -04:00
8fbb9b1406 added Input wrapper to feed.php 2012-06-24 15:17:38 +02:00
f9aa73bff8 code cleanup 2012-06-24 14:59:43 +02:00
1a8210512c match on img tag in feed's img align replacement
this should avoid false positive matches on user content (which is
already escaped at this point)
2012-04-23 12:51:25 +02:00
3c86b7ebf3 removed align attribute from images and inserted them only in the feed (FS#1351)
can someone with better regex skills please revise this?
2012-04-08 17:35:25 +01:00
a7c93226bd make RSS contents (media/pages) configurable 2012-03-02 08:08:29 +01:00
27833958af added tpl_getMediaFile() to replace tpl_getFavicon()
The function tpl_getFavicon() was doing more than its name was implying. Therefore the new tpl_getMediaFile() was introduced (which is doing nearly exactly the same) and tpl_getFavicon() was deprecated.
tpl_favicon() can still be used, though.
2012-01-29 20:03:50 +00:00
e5d185e17e issue #9 config option to disable media revisions, auth 2011-08-02 20:25:17 +03:00
6dd095f599 issue #10 media revisions/changes in RSS feed 2011-08-02 19:15:11 +03:00
d6b643faf1 fixed location of favicon in feed.php (FS#2232) 2011-05-01 11:27:53 +02:00
b5a0be432b Various changes to feed.php’s parameter handling
* Do not emit E_NOTICEs
  * Introduce explicit feed mode default value »recent« instead of handling
    every unknown feed mode as recent changes mode. This means:
    - FEED_MODE_UNKNOWN is only executed if the given feed mode is indeed
      unknown. This is specifically not the case if no feed mode request param
      has been specified or the requested feed mode is »recent«.
    - FEED_MODE_UNKNOWN dies with an error as default behaviour
  * opt[items] is forced to be a non-negative integer
  * opt[show_minor] is forced to be a boolean and thus has a default value of
    false instead of null
2010-12-08 17:43:22 +01:00
e3776c06c3 Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3
As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is opened,
thus this commit removes the enc setting from the modeline.
2010-11-29 16:19:49 +01:00
de3eb1d7f9 Small fixes / cleanup 2010-09-28 16:42:43 +02:00
681a59b237 FS#1884: respect $conf['showuseras'] in feeds 2010-06-26 13:28:21 +02:00
05ed2c25ea some more load fixes 2010-03-12 14:09:57 +01:00
49eb6e3806 some more coding standard compliance updates 2010-01-15 19:50:13 +01:00
0bda03632f Fix feed author mail after variable name change
Ignore-this: ae4838a9a494746190a1c2c00838fe85

darcs-hash:20091214121831-e4919-e2cd550ff9d486a2681f1958f451c9f24bdaa577.gz
2009-12-14 13:18:31 +01:00