Commit graph

4013 commits

Author SHA1 Message Date
0a9be160dd Rewrote Images.Image.getUrl() method 2012-06-04 18:38:45 +00:00
de2b2c7333 Rewrote Image.getUrl() method 2012-06-04 18:38:08 +00:00
f7a415cd83 Rewrote getStaticUrl() and processHref() methods of Site 2012-06-04 18:36:30 +00:00
50c331f86f * Moved Root.static_macro() to Site
* Added call for Site.processHref() before returning result of Site.getStaticUrl()
 * Fixed URL in bookmarklet link of $Site#edit skin
2012-05-29 11:53:49 +00:00
0a498e7294 Moved aspect code to new global file to prevent ugly errors from incorrect code update 2012-05-29 09:52:07 +00:00
b0ef753860 Set correct svn:mimetype properties for css, font and javascript files 2012-05-29 08:39:35 +00:00
1a0c8240ce Fixed bug causing incorrect image link 2012-05-24 12:48:45 +00:00
f997f56c77 Fixed wrong setting of image width and height 2012-05-24 12:46:37 +00:00
61b843629e Added arguments for max. width and height of the image 2012-05-24 12:40:02 +00:00
9900a640fe Fixed bug causing incorrect image URLS 2012-05-24 12:11:15 +00:00
38443d4e79 Removed <% request.http_host %> macro from bookmarklet as it seems to be necessary only for my local installation 2012-05-24 11:51:35 +00:00
7cdc36d9bc Added bookmarklet for easily posting a story and one image with a link to the URL of the active
browser window or tab. Only tested with Chrome, needs further testing with other browsers.
2012-05-24 11:48:09 +00:00
509cd9b142 Updated documentation, mainly for the global namespace 2012-05-22 08:19:02 +00:00
d17e3cc0aa * Added console.log() method for conveniently logging from Helma directly to the browser console
* Reverted changes in list_macro() to prevent existing macros from breaking
 * Refactored randomize_macro() to become random_macro()
 * Removed obsolete code
 * Wrapped import of i18n files in anonymous function
 * Added and/or completed missing documentation
2012-05-19 17:43:59 +00:00
ebbfd2235f Added and/or completed missing documentation 2012-05-19 17:39:37 +00:00
c6519a0245 Fixed case of Aspects module 2012-05-19 13:02:27 +00:00
f11246cc70 Removed call for obsolete HopObject._renderSkin() method 2012-05-19 12:45:44 +00:00
bf06beac65 Turned ugly code overriding HopObject.renderSkin/AsString() methods into helma.Aspects and added check if skins should be wrapped into extra <div>s for showing edit controls 2012-05-19 12:41:24 +00:00
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
08f3c6b2c9 Fixed “new Comment” constructor call according to latest changes in constructors 2012-05-12 14:18:31 +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
e58d37e820 Added --force switch to svn export command for directories which are now already created from git submodules 2012-04-22 17:17:36 +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
7a67cd369f Updated JAR files built with source from oberhamsi/jetty7 branch 2012-04-20 11:26:12 +00:00