ianb [Sun, 18 Jan 2009 02:47:10 +0000 (02:47 +0000)]
MirBasicChildArticlePostingHandler: fixed build failure
ngu [Sun, 26 Oct 2008 13:37:28 +0000 (13:37 +0000)]
we check now if the parent article is allowed for publication while adding a child to it
zapata [Sat, 1 Mar 2008 20:10:53 +0000 (20:10 +0000)]
fixed a glitch
zapata [Mon, 17 Dec 2007 13:03:28 +0000 (13:03 +0000)]
*** empty log message ***
zapata [Sat, 15 Dec 2007 00:24:41 +0000 (00:24 +0000)]
support for CAPTCHAs
replaced gnu regexp with oro which is much faster
zapata [Wed, 15 Aug 2007 23:10:40 +0000 (23:10 +0000)]
user agent filters now use sub strings instead of regular expressions
zapata [Wed, 15 Aug 2007 23:09:31 +0000 (23:09 +0000)]
fixed a filter updating bug
zapata [Wed, 15 Aug 2007 22:25:17 +0000 (22:25 +0000)]
user agent filter now works with substrings
zapata [Mon, 4 Jun 2007 17:57:09 +0000 (17:57 +0000)]
spurious > removed
zapata [Mon, 4 Jun 2007 17:56:00 +0000 (17:56 +0000)]
cosmetic changes to the article list page
zapata [Mon, 4 Jun 2007 17:53:37 +0000 (17:53 +0000)]
description is now shown in the article list if the title isn't available
zapata [Mon, 4 Jun 2007 17:16:29 +0000 (17:16 +0000)]
language now also visible on the content list page
zapata [Wed, 30 May 2007 20:26:01 +0000 (20:26 +0000)]
adminster operation configuration now supports escape characters
zapata [Mon, 28 May 2007 00:49:58 +0000 (00:49 +0000)]
very basic support for localized add/edit article pages
ngu [Sun, 27 May 2007 12:17:10 +0000 (12:17 +0000)]
fixing scaling images -> nullpointer, patch by yossarian
zapata [Sun, 22 Apr 2007 01:51:42 +0000 (01:51 +0000)]
fixed a bug causing nullpointer exceptions in some image files (i.e. the ones
that do not need to be scaled)
john [Thu, 19 Apr 2007 18:30:12 +0000 (18:30 +0000)]
java 1.4 compatible
john [Thu, 19 Apr 2007 18:08:11 +0000 (18:08 +0000)]
Use jakarta feedparser to parse RSS2 files.
Theoretically this could be use to parse everything, including Atom.
john [Thu, 19 Apr 2007 18:04:17 +0000 (18:04 +0000)]
file RSS2Reader.java was added on branch MIR_1_1 on 2007-04-19 18:08:11 +0000
john [Thu, 19 Apr 2007 18:03:13 +0000 (18:03 +0000)]
file saxpath-1.0-FCS.jar was added on branch MIR_1_1 on 2007-04-19 18:08:11 +0000
john [Thu, 19 Apr 2007 18:03:13 +0000 (18:03 +0000)]
file jdom-b9.jar was added on branch MIR_1_1 on 2007-04-19 18:08:11 +0000
john [Thu, 19 Apr 2007 18:03:13 +0000 (18:03 +0000)]
file jaxen-1.0-FCS-full.jar was added on branch MIR_1_1 on 2007-04-19 18:08:11 +0000
john [Thu, 19 Apr 2007 18:03:13 +0000 (18:03 +0000)]
file commons-feedparser-0.5-SNAPSHOT.jar was added on branch MIR_1_1 on 2007-04-19 18:08:11 +0000
john [Mon, 16 Apr 2007 20:15:41 +0000 (20:15 +0000)]
values for web bugs squasher
john [Mon, 16 Apr 2007 20:08:24 +0000 (20:08 +0000)]
kill web bugs!
john [Thu, 8 Feb 2007 21:42:37 +0000 (21:42 +0000)]
config attribute filters via config.propertieis./
ngu [Thu, 25 Jan 2007 19:59:57 +0000 (19:59 +0000)]
forgot one </if>
ngu [Thu, 25 Jan 2007 19:52:42 +0000 (19:52 +0000)]
fix for: if more than one mediatype attached to a comment, the medias are shown multiple times
yossarian [Mon, 15 Jan 2007 23:42:44 +0000 (23:42 +0000)]
Removing the config value for whether images get scaled, as this is no longer necessary - the class mircoders.media.MediaHandlerImagesExternScaling does scaling if it is selected as the image media handler class in the site admin; no image scaling occurs if mircoders.media.MediaHandlerImagesExtern is selected instead.
yossarian [Mon, 15 Jan 2007 23:35:32 +0000 (23:35 +0000)]
Adding class MediaHandlerImagesExternScaling to take care of scaling images (this class can replace MediaHandlerImagesExtern, which doesn't scale images, if the site admins want image scaling).
zapata [Sun, 14 Jan 2007 02:17:33 +0000 (02:17 +0000)]
better logging for the filter engine
zapata [Mon, 25 Dec 2006 21:47:37 +0000 (21:47 +0000)]
whoops
zapata [Mon, 25 Dec 2006 20:10:22 +0000 (20:10 +0000)]
added:
* url blacklist filter
* delete operation for comments / articles
yossarian [Sat, 16 Dec 2006 15:38:35 +0000 (15:38 +0000)]
I've split out the image scaling code into a separate class and returned this class to its original state - i.e. Zapata's code from revision 1.12.2.11
The only thing that should be different is that I've also added the
reportChange() lines to the bottom of the produce() method so that the ChangeTracker gets change reports.
zak [Sat, 18 Nov 2006 18:41:52 +0000 (18:41 +0000)]
More time-handling tweaks in update.pl
yossarian [Mon, 13 Nov 2006 22:44:35 +0000 (22:44 +0000)]
Refactored the class with a whole lot of extract method to make it easier to understand.
zak [Sun, 12 Nov 2006 23:35:23 +0000 (23:35 +0000)]
Stream fetched files to disk rather than reading them
into memory.
zak [Sun, 12 Nov 2006 23:17:06 +0000 (23:17 +0000)]
Use Date::Calc for date math
Remove Date::Parse and Date::Format which conflict with HTTP::Date
Don't fail if some changes files don't exist
zak [Sun, 12 Nov 2006 21:57:42 +0000 (21:57 +0000)]
update.pl:
Reject paths containing ".." for security
Remember where we'd got to within a day's changes
Last-Modified and If-Modified-Since handling
yossarian [Sun, 12 Nov 2006 21:32:13 +0000 (21:32 +0000)]
Videos don't actually do a "produce()" method.
So in order to catch them we're putting in a ChangeTracker notification when file uploads are stored. This means that all media types descending from MediaHandlerGeneric are going to notify twice. This should be looked at. I'm doing this on the advice of Zapata though so it must be ok.
zak [Sun, 12 Nov 2006 20:59:20 +0000 (20:59 +0000)]
Fixes to update.pl and tidying up
yossarian [Sun, 12 Nov 2006 20:58:37 +0000 (20:58 +0000)]
Removed unused imports
yossarian [Sun, 12 Nov 2006 20:57:24 +0000 (20:57 +0000)]
Removing ChangeTracker notification from MediaGeneratingProducerNode as these notifications are now happening in each Media class.
yossarian [Sun, 12 Nov 2006 20:30:19 +0000 (20:30 +0000)]
PUtting the ChangeTracker stuff back into GeneratingProducerNode, it does in fact need to be there.
yossarian [Sun, 12 Nov 2006 18:44:46 +0000 (18:44 +0000)]
Took the ChangeTracker reporting out of GeneratingProducerNode and put it into the Media subclasses.
The following classes now report changes to themselves (and icons if there are icons generated for that media type):
MediaHandlerImages
MediaHandlerImagesExtern
MediaHandlerMp3
MediaHandlerOgg
MediaHandlerRealAudio
MediaHandlerRealVideo
The reportChange protected method is in AbstractMediaHandler so that this method is available to all Media subclasses.
zak [Sun, 12 Nov 2006 10:38:37 +0000 (10:38 +0000)]
Remove temp files that got committed along with mirror-scripts
dmgarland [Sat, 11 Nov 2006 19:54:57 +0000 (19:54 +0000)]
Added icon changes code to MediaGeneratingProducerNode
dmgarland [Sat, 11 Nov 2006 19:43:44 +0000 (19:43 +0000)]
Updated MediaGeneratingProducerNode to use the baseStoragePath and publish_path
zapata [Sat, 11 Nov 2006 19:21:28 +0000 (19:21 +0000)]
further fixes to the change reporting framework
yossarian [Sat, 11 Nov 2006 18:17:33 +0000 (18:17 +0000)]
Rsync replacement scripts, uses Perl to pull changed files to mirrors. The changes files are written out be Mir's ChangeTracker which is currently being worked on.
Some of this will need to be trimmed out.
zapata [Sat, 11 Nov 2006 16:45:46 +0000 (16:45 +0000)]
change report is now appended instead of overwritten and new lines are added after each line
yossarian [Sat, 11 Nov 2006 16:38:17 +0000 (16:38 +0000)]
Switched to just using "destinationIdentifier" for the output path for the ChangeTracker. This should work because it's super-simple, but it'll have to be changed later probably to a different path. We're just trying to get something working at this point though.
zapata [Sat, 11 Nov 2006 16:36:01 +0000 (16:36 +0000)]
whoops
zapata [Sat, 11 Nov 2006 16:21:45 +0000 (16:21 +0000)]
whoops
dmgarland [Sat, 11 Nov 2006 16:20:38 +0000 (16:20 +0000)]
Changed FileDateSettingProducerNode to call changeTracker with a modification type on the file's absolute path
yossarian [Sat, 11 Nov 2006 16:18:57 +0000 (16:18 +0000)]
Clarified a commented TODO a bit.
yossarian [Sat, 11 Nov 2006 16:16:36 +0000 (16:16 +0000)]
DirCopyingProducerNode is now alerting the ChangeTracker when a directory gets copied.
zapata [Sat, 11 Nov 2006 16:16:14 +0000 (16:16 +0000)]
addition of the Change Reporting producer node
dmgarland [Sat, 11 Nov 2006 16:12:46 +0000 (16:12 +0000)]
Added a call to ChangeTracker to FileDeletingProducerNode notifying it of the absolute path to the deleted file and a change type of delete
dmgarland [Sat, 11 Nov 2006 15:54:07 +0000 (15:54 +0000)]
Changed MediaGeneratorProducerNode to call the ChangeTracker to notify it of a modification to the file.
The path used is the database field publish_path
yossarian [Sat, 11 Nov 2006 15:53:38 +0000 (15:53 +0000)]
GeneratingProducerNode now alerts the ChangeTracker whenever a file change is made during a producer run.
zapata [Sat, 11 Nov 2006 15:48:50 +0000 (15:48 +0000)]
some javadoc additions some early work on the new producer node to report changes and a compilation problem in ServletModuleFileEdit related to the change reporter has been fixed
zapata [Sat, 11 Nov 2006 15:42:22 +0000 (15:42 +0000)]
updates on the change tracker
zak [Sat, 11 Nov 2006 12:52:05 +0000 (12:52 +0000)]
Copy mir-setup to 1.1 branch
zapata [Sat, 21 Oct 2006 23:46:08 +0000 (23:46 +0000)]
another tiny fix
zapata [Sat, 21 Oct 2006 23:42:03 +0000 (23:42 +0000)]
small fixes
pietrus [Fri, 20 Oct 2006 23:59:47 +0000 (23:59 +0000)]
reverting unnedeed change i classpath
pietrus [Fri, 20 Oct 2006 23:50:59 +0000 (23:50 +0000)]
removing wrong entry bout source dir.
zapata [Sat, 14 Oct 2006 20:21:24 +0000 (20:21 +0000)]
small fix
pietrus [Wed, 27 Sep 2006 21:28:11 +0000 (21:28 +0000)]
Use '/usr/share/java' to construct the classpath because some OS vendors place java libs inthat dir instead of forcing everyone use te CLASSPATH environment variable
pietrus [Tue, 26 Sep 2006 17:58:38 +0000 (17:58 +0000)]
honour user CLASSPATH environment variable
pietrus [Fri, 1 Sep 2006 04:37:36 +0000 (04:37 +0000)]
fixing typos
zapata [Wed, 23 Aug 2006 19:34:41 +0000 (19:34 +0000)]
small fix to the binary distribution ant task
pietrus [Wed, 23 Aug 2006 00:22:22 +0000 (00:22 +0000)]
script to fix permissions of files and dirs in the binary distribuition
pietrus [Wed, 23 Aug 2006 00:21:45 +0000 (00:21 +0000)]
ant build file for the binary distribuition
pietrus [Tue, 22 Aug 2006 21:31:47 +0000 (21:31 +0000)]
changed the "source-distribution" target to produce a tar.gz instead of a zip file.
created a new target called "full-distribution" that will build mir, build the source distribution tarball, copy the source distribution to "bin/mir/WEB-INF" and create a tarball of "bin/mir" called "mir-${version}.tar.gz" in "dist"
yossarian [Sun, 13 Aug 2006 19:46:46 +0000 (19:46 +0000)]
Made the following variables (which deal with the new image resizing code) local rather than instance:
private String imagesOriginalDir;
private String imagesOriginalDirRelPath;
private String imageOriginalFilePath;
private String imageOriginalRelPath;
Also took out the reference to StreamCopier.copyFile as there was already something in Mir that was designed for this purpose: FileRoutines.copyFile
Cleaned up source formatting somewhat to use 2 spaces instead of tabs.
Using Integer.toString(foo) rather than new Integer(foo).toString() on Zapata's advice.
yossarian [Sun, 13 Aug 2006 18:25:32 +0000 (18:25 +0000)]
Changes which allow images to be resized by Mir and saved in the filesystem if an image upload exceeds a certain size (defined in config.properties).
In order to save the location of the original (unresized) image to the database, a field needs to be added to the "images" table:
original_file_path - varchar(255)
Image resizing should be considered highly experimental. It is turned off by default.
zapata [Thu, 10 Aug 2006 20:03:51 +0000 (20:03 +0000)]
whoops 3
zapata [Thu, 10 Aug 2006 20:00:28 +0000 (20:00 +0000)]
whoops 2
zapata [Thu, 10 Aug 2006 19:55:20 +0000 (19:55 +0000)]
whoops
zapata [Thu, 10 Aug 2006 19:29:33 +0000 (19:29 +0000)]
reintroduced StringUtil.regexpReplace
updated license javadoc
zapata [Sun, 16 Jul 2006 03:14:10 +0000 (03:14 +0000)]
added better support for article urls in PDF files
zapata [Thu, 1 Jun 2006 18:28:21 +0000 (18:28 +0000)]
lockfile added
zapata [Thu, 1 Jun 2006 18:26:51 +0000 (18:26 +0000)]
introduction of the change engine
zapata [Thu, 1 Jun 2006 17:57:20 +0000 (17:57 +0000)]
replaced some gnu RE's with the much faster jakarta ORO
zapata [Thu, 1 Jun 2006 11:50:41 +0000 (11:50 +0000)]
tiny fixes here and there
zapata [Sat, 13 May 2006 17:01:14 +0000 (17:01 +0000)]
removed some system.out logging
zapata [Sun, 19 Mar 2006 20:53:11 +0000 (20:53 +0000)]
added a posting size anti-abuse filter
john [Tue, 28 Feb 2006 17:01:35 +0000 (17:01 +0000)]
bug fix take 2
john [Tue, 28 Feb 2006 16:50:36 +0000 (16:50 +0000)]
bug fix for the bug fix.
john [Tue, 28 Feb 2006 16:44:21 +0000 (16:44 +0000)]
bug fix for dates
zapata [Tue, 21 Feb 2006 20:24:43 +0000 (20:24 +0000)]
changed the behaviour of entity uploaded media so that articles/comments linking to the media will no longer be marked unproduced
zapata [Mon, 20 Feb 2006 22:47:19 +0000 (22:47 +0000)]
fixed the ogg mime type
zapata [Sat, 28 Jan 2006 18:33:15 +0000 (18:33 +0000)]
*** empty log message ***
zapata [Thu, 26 Jan 2006 19:21:45 +0000 (19:21 +0000)]
whoops
zapata [Sat, 14 Jan 2006 19:09:03 +0000 (19:09 +0000)]
cosmetic fix on the message board: the right column's width is now 10%
zapata [Mon, 26 Dec 2005 00:28:52 +0000 (00:28 +0000)]
up/down/top/bottom implemented for filters and filter groups
zapata [Sun, 25 Dec 2005 23:22:38 +0000 (23:22 +0000)]
admin start page table fixes
zapata [Sun, 25 Dec 2005 21:52:19 +0000 (21:52 +0000)]
fixed a bug concerning article parent selection