Commit graph

4691 commits

Author SHA1 Message Date
525be5bf82 Added some comments to explain the JSDoc wrapper script 2011-06-16 16:13:14 +00:00
1c9e0e3c03 Removed obsolete files 2011-06-16 16:04:17 +00:00
51d2953305 * Removed obsolete svn:externals property
* Updated build.xml according to recent changes of jsdoc-toolkit
2011-06-16 15:57:09 +00:00
79c37d3869 * Renamed jsdoc-toolkit directory to jsdoc
* Added wrapper for running jsdoc/jsrun.sh with svn:executable property
 * Moved external jsdoc-toolkit checkout to subdirectory
2011-06-16 15:52:54 +00:00
d032a634df Replaced copy of jsdoc-toolkit with svn:externals property 2011-06-16 10:46:41 +00:00
c12b9f7c72 Renamed static antville-1.2.js to antville.js – version is now determined in query string 2011-06-16 09:47:31 +00:00
53e3848b14 Escaped false quotes to smooth things out with TextMate 2011-06-16 09:28:26 +00:00
5a4e8a1de3 * Updated H2 database driver to version 1.3.155
* Set Antville version to 1.3rc
2011-06-16 09:25:06 +00:00
b897dd7b16 Replaced rotten links with equivalent web.archive.org URLs 2011-06-16 09:16:00 +00:00
4df1183c03 Removed confusing comment 2011-06-16 08:59:40 +00:00
d483c14650 Trying to reduce SQL queries and thus speed up things by issuing HopObject.prefetchChildren() requests for metadata and layout images 2011-06-09 08:43:46 +00:00
b860191347 Trying to improve site deletion routine:
* Call Admin.purgeSites() from scheduler() to reduce delay between deletion date and running nightly()
 * Do not remove already existing deletion job, can be useful for debugging
 * Do not increase Site.deleted property when queueing the deletion job
 * Remove deletion job if exists and the site status has been changed again to prevent undesired deletion of sites
2011-06-09 08:25:24 +00:00
1914185389 Patch for fixing content table containing erroneous status values caused by issue 47. 2011-06-06 16:05:14 +00:00
6374e99b9f Fixes issue 147. 2011-06-06 15:23:42 +00:00
8f788da1b2 Fixed the Sql.SEARCH query to be compatible with PostgreSQL, too 2011-06-06 14:53:21 +00:00
a72fd7e1ee Fixed Sql.SEARCH query to only output distinct IDs to prevent redundant results 2011-06-06 14:31:23 +00:00
b06deec5c2 Fixed URLs to Google Code Wiki 2011-06-06 08:39:21 +00:00
15cb3bd568 Fixed careless setting of email to arbitrary string instead of root.replyTo in connect.scribe() method 2011-06-06 07:27:16 +00:00
06406614db Fixed regular expression to remove single and double ticks (aka false quotes); using hexadecimal codes to prevent my editor from choking. 2011-06-06 07:00:15 +00:00
2de6c6ff15 Added default parameter to macro of connect feature; not really beautiful but for now it should be ok. 2011-06-06 06:33:25 +00:00
9ea5d8246a Fixed connect feature not working with a custom domain simply by not displaying the connection links if we are not serving from the default domain. See http://about.antville.org/stories/2064860/#2064899 2011-06-06 06:20:59 +00:00
98bfb0b0db Fixed Root.VERSION to print build variables instead of [object Object] when the version string pattern cannot be applied 2011-06-04 18:53:00 +00:00
fe4132440e Updated i18n files 2011-06-04 18:04:28 +00:00
2174ec3ab4 * Fixed bad bug in User.update() causing user.email and user.url to be overwritten even with invalid data
* Added connect feature to user profile by providing links to connect and disconnect from the various services
 * Updated Scribe library to version 1.2 (used by connect feature)
2011-06-04 10:53:35 +00:00
002660ac64 Fixed bug causing images to be rendered in Story#history skin as reported in http://about.antville.org/stories/2062518/#2064313 2011-05-31 09:13:29 +00:00
fb129cc351 Updated i18n files 2011-05-29 13:59:21 +00:00
2837612b49 Improved display of window title in Archive by calculating res.data.title more elaborately in Archive.main_action() 2011-05-29 13:55:47 +00:00
3a02c7b557 Updated i18n files 2011-05-29 10:50:48 +00:00
c158dafa70 Removed debugging output 2011-05-29 10:49:45 +00:00
d6dcaa26d8 Added two macros for compatibility 2011-05-29 09:09:49 +00:00
aff6a03f0e Added compatibility fix for rendering full URLs in HopObject.link_macro() – e.g. <% story.link to="http://antville.org" text="Antville rocks!" %>. Fixes issue 21. 2011-05-29 08:19:39 +00:00
f51d2fb0ca Slightly modified last change by using Number() instead of parseFloat() 2011-05-28 15:29:32 +00:00
b28007a3aa Fixed bug in Metadata.getValue() when calculating a Date type value 2011-05-28 15:25:20 +00:00
8b852014a2 Removed display of concrete time values in global formatDate() 2011-05-21 17:04:02 +00:00
4a4849a02a * Increased version to 1.3b
* Modified helma.dir property to static path
 * Added “extra” to set of directories the gettext parser will scan
2011-05-21 11:21:27 +00:00
2bc771a40c Added l10n for connect feature 2011-05-21 11:11:52 +00:00
745514faf1 Updated POT file and localized message files for en and de 2011-05-21 11:07:07 +00:00
6f397102f1 Only display connect feature when JavaScript is enabled 2011-05-21 10:51:26 +00:00
ac0cf040b4 Updated POT file and localized message files for en and de 2011-05-21 10:16:03 +00:00
b0ab9f6ba2 * Added new formats to global formatDate() method: text and iso
* Changed format argument to text for modified sites on frontpage and content in history
 * Fixed assignment of Root.VERSION in Layout.getArchive()
2011-05-21 09:47:01 +00:00
fe6c951909 Fixed bug introduced in r4388 preventing tags from being set by topics (compatibility layer): other than req.data, req.postParams et al. are not mutable. Thus, setting req.postParams.tags = [topics] failed. Solved by cloning the request params object which hopefully does not break anything else. 2011-05-19 12:10:08 +00:00
9679f3d561 * Removed Site.longDateFormat and Site.shortDateFormat properties; date formatting is now completely delegated to the underlying JVM
* Removed <select> elements for long and short date formats in $Site.edit skin
 * Removed compatibility support for long and short date formats
 * Removed global getDateFormats() method and commented code in global formatDate() method
 * Slightly shortened <select> elements in site preferences again
2011-05-16 16:52:21 +00:00
84fd98200e * Rewrote global getTimeZones() method
* Rewrite client-side code for reformatting the time zone <select> element according to changes in global getTimeZones() method
 * Replaced “return false” with call for event.preventDefault() in client-side event-driven code
 * Rewrote global getDateFormats() and formatDate() methods – caution! getDateFormats() will be removed in the next commit because the dropdown menus in site preferences are obsolete; just committing the code for the record
2011-05-16 16:35:41 +00:00
e5d037cded Removed legacy properties from req.postParams in aspects.fixStoryEditorParams() 2011-05-15 14:59:22 +00:00
0f7c8f53e1 * Slightly modified Story.content_macro() in compat to prevent leaking of param properties into HTML attributes
* Replaced req.data with req.params in Stories.create_action() and Images.create_action() to prevent leaking of unwanted data (e.g. http_*) to the database
* Renamed and refactored Story.setMetadata() to Story.setCustomContent()
* Renamed Story.isMetadata() to Story.isCustomContent()
2011-05-15 14:42:54 +00:00
5a05bc3d48 Added empty string as fallback for the feed channel description in Root.updates_xml_action() as new metadata could render a missing tagline as null 2011-05-08 12:03:12 +00:00
db1af9e7ce Upgrade to code from Crockford’s json2.js as of 23 Feb 2011 (see https://github.com/douglascrockford/JSON-js/blob/master/json2.js) 2011-05-08 11:52:02 +00:00
778921abed Added optional third argument defining a user to Admin.queue() 2011-05-08 11:46:14 +00:00
7537c7fced Prefixed column names when creating metadata indexes in postgre.sql script 2011-05-08 11:41:27 +00:00
0c2ae2aca3 Output prototype.name when logging process 2011-05-08 11:39:09 +00:00