Commit graph

4080 commits

Author SHA1 Message Date
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
87c86776fe Added padded JSON response to Members.connect_action() for trivially checking login status across domains 2011-05-04 13:54:58 +00:00
7b4e241cff Added padded JSON response to error handler 2011-05-04 13:50:44 +00:00
0580f0ae33 Replaced SHORTDATEFORMAT constant which since has been removed with literal date format string 2011-04-07 12:09:37 +00:00
3a932fdf38 Initial commit of simple non-caching proxy for JSON and JSONP requests 2011-04-05 13:28:40 +00:00
a68035971a Slightly modified order of properties and added missing ones 2011-04-05 13:26:55 +00:00
4678f272b6 Implemented first draft of JSONP support for creating stories and images as a new part of the Antville API. I.e. it is now possible to create an image (cross-domain!) from within client-side JavaScript simply by calling e.g. Images.create_action() and also providing a name for the callback method in req.data.callback:
* Added JSON.pad() and JSON.sendPaddedResponse() methods
 * Added calls for JSON.sendPaddedResponse() in Stories.create_action() and Images.create_action()
2011-04-05 12:34:30 +00:00
468809b033 Added JSON.pad() method for wrapping data in a JSONP-compatible response 2011-04-04 18:16:12 +00:00
24bfbc95b8 Updated AntClick’s H2 database with current schema 2011-03-30 09:36:58 +00:00
8b37e6a224 Rewrote build script to work with forked Helma repositories at GitHub 2011-03-30 09:35:55 +00:00
b5947d888a Changed way to invoke Feature.getPermission() by using Function.apply() with object instance and arguments array 2011-03-29 11:18:45 +00:00
cc4c31b46d * Added calls for HopObject.deleteMetadata() in HopObject.remove() methods of prototypes using Metadata
* Removed call for Site.processHref() method in Site.getStaticUrl() - still to be evaluated
 * Added call for Feature.getPermission() in Site.getPermission()
2011-03-29 10:54:19 +00:00