Commit graph

4003 commits

Author SHA1 Message Date
2c82c05d6d Renamed to 5.less-helma-1.3.0.js 2012-05-14 16:02:05 +00:00
b72da5e2b0 Added less.js file built with fork at https://github.com/p3k/less.js 2012-05-14 16:01:25 +00:00
770b2d0717 Added support for LESS (http://lesscss.org) using a patched Rhino build 2012-05-14 14:51:54 +00:00
a94d061ce6 Fixed regression bug preventing site-wide disabling of comments and archive 2012-05-13 20:49:16 +00:00
4f143747f5 Added table name “tag” to column “name” 2012-05-13 20:03:57 +00:00
eeaa94116d Made sure that argument is always a string before starting to replace in gettext() methods 2012-05-13 20:02:54 +00:00
1af49c2b5a * Fixed bug in Site.link_macro() method of the compatibility layer
* Fixed rendering of legacy navigation skins with overridden HopObject.renderSkinAsString() method
 * Fixed typo when saving the original HopObject.renderSkinAsString() method
2012-05-13 19:22:56 +00:00
f5e4a8111f Set color of helma macros to black 2012-05-13 18:34:30 +00:00
8fceb47681 Added white background to CodeMirror input element 2012-05-13 18:31:15 +00:00
d571c921fe * Added i18n and label for sandbox checkbox in $Layout#edit skin
* Fixed value of layout sandbox cookie in Layout.sandbox() method
 * Removed (yet) unused Layout.sandbox_action()
 * Removed (yet) unused session.data.layout in HopObject.onRequest() 
 * Moved code setting res.contentType to top of Tag.rss_xml_action()
2012-05-13 18:22:05 +00:00
eff1a99adc Added code to override the HopObject.renderSkin() methods to enable display of skin edit controls. 2012-05-13 17:05:12 +00:00
b21d98211e Implemented first basic version of layout option for switching display of skin edit controls, ie. a button that appears next to every editable skin and directly leads to the skin editor when clicked. 2012-05-13 17:02:09 +00:00
99b771f8af Added confirmation for constructor call 2012-05-12 18:18:52 +00:00
e3a5e68102 Changed signature of HopObject.confirmConstructor() method: argument can now be either a constructor function or a prototype instance 2012-05-12 16:31:43 +00:00
4fa342c65b * Added new static add() method to most of the prototypes doing all necessary stuff to create the desired object, updating it, adding it to the right collection etc.
* Disburdened constructor methods of most of the prototypes by moving most of the code to the new static add() method.
 * Added temporary debugging method HopObject.confirmConstructor() to log a warning whenever a constructor is directly called – in which case it should be checked if the static add() method is to be preferred.
2012-05-12 13:54:04 +00:00
56d85942ed Replaced “return false” with “event.preventDefault()” in $Poll.skin#edit skin 2012-05-12 13:52:38 +00:00
531778c38c Fixed table layout, only creating one table for all results instead of one per each. 2012-05-12 13:52:09 +00:00
2cb742024d * Added new static add() method to most of the prototypes doing all necessary stuff to create the desired object, updating it, adding it to the right collection etc.
* Disburdened constructor methods of most of the prototypes by moving most of the code to the new static add() method.
 * Added temporary debugging method HopObject.confirmConstructor() to log a warning whenever a constructor is directly called – in which case it should be checked if the static add() method is to be preferred.
 * Removed obsolete code in Poll.edit_action() method.
2012-05-12 13:50:41 +00:00
744e72d3b4 Fixed tiny bug causing erroneously repeating lines 2012-04-22 17:15:34 +00:00
385bb40b48 Fixed control links 2012-04-21 16:08:57 +00:00
c760ba1c76 Slightly improved error ratio output 2012-04-21 15:46:45 +00:00
172f1c901a * Revamped and condensed health output
* Added error ratio for last 5 minutes. Fixes issue 65.
2012-04-21 15:35:44 +00:00
8e0e494d9a Implemented selection of macro code on click 2012-04-21 14:55:15 +00:00
c321c837d0 Fixed another occurrence of bug described in previous commit 2012-04-21 13:58:00 +00:00
4304d5c2ab Fixed strange bug causing the following macro structure to throw [Macro error in gettext: TypeError: Cannot find function replace in object Public. (/opt/helma/apps/antville/code/Global/i18n.js#100)]:
<% gettext <% item.status | capitalize %> %>
2012-04-21 13:57:17 +00:00
4f51765105 Fixed page width 2012-04-20 23:52:08 +00:00
e250a1bf3c Fixed i18n 2012-04-20 23:43:32 +00:00
bc2a770097 Improved diff view of skins (side-by-side, lighter colors, controls) 2012-04-20 23:21:50 +00:00
ebcf50bfe6 Implemented syntax highlighting in skin editor using Code Mirror from http://codemirror.net 2012-04-20 19:11:56 +00:00
0642342673 * Fixed issue requiring java.net.IDN class (ie. Java version >= 1.6) when creating a site
* Improved checks for site name containing problematic characters when used in vhost environment
2011-07-14 14:32:07 +00:00
2ebcb20184 Removed "final" as default string for the development part of Root.VERSION 2011-06-28 07:58:55 +00:00
f65641e28f Fixed link to Helma Documentation 2011-06-27 20:22:23 +00:00
66951ca743 Completed API documentation 2011-06-27 20:17:21 +00:00
a4bd814c47 Fixed typo 2011-06-27 20:15:55 +00:00
3954dc9894 Fixed some (missing) API doc tags 2011-06-27 20:14:55 +00:00
5732b470a5 Added missing API doc comments 2011-06-27 19:19:12 +00:00
Philipp Naderer
c7803133b3 Added addition parameters to API methods to upload images. 2011-06-27 13:52:02 +00:00
2f0b263110 Fixed bug in Story.format_filter() causing exception when replacing pseudo-quotes with their entities 2011-06-27 11:51:05 +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
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
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
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
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
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