Commit graph

3984 commits

Author SHA1 Message Date
061fc70a35 Fixed regression bugs in Site.add() method 2013-04-06 21:28:33 +00:00
462c2d6dd9 Updated file upload button 2013-04-06 20:30:03 +00:00
3a28e99d08 Updated XHR method to retrieve JSON data 2013-04-06 20:18:32 +00:00
b354275126 Fixed bug in JSON output caused by incompatible use of toSource() method, preventing Story restore feature from working 2013-04-06 20:16:54 +00:00
6da05126fe Moved allowed Story this.link_macro() to compat layer 2013-04-06 20:04:26 +00:00
483f040e6d Moved some more deprecated allowed Story macros to compat layer 2013-04-06 19:53:11 +00:00
c4e64ac700 * Moved deprecated macros allowed in a story to compatibility layer
* Simultaneously defined allowed macros in a constant array for further use
2013-04-06 19:35:18 +00:00
d98803cfb7 * Pinned jQuery version to 1.8 to prevent compatibility patches for now
* Fixed mimetypes of RSS output
2013-04-04 14:42:07 +00:00
b6095cc869 Added referrer as “via” to bookmarklet text 2012-07-20 17:46:12 +00:00
6bb171cea6 Added some margin to the bottom of an skin edit link 2012-06-22 11:59:16 +00:00
4c54e3805c Refactored code for displaying skin editing links to prevent erroneous or redundant rendering 2012-06-22 11:37:21 +00:00
0a289e2d51 Fixed bug causing redundant date headers to be rendered due to inconsistent timezone conversion 2012-06-13 13:54:16 +00:00
7afeffee97 Added scheme to result of Site.getStaticUrl() again, otherwise file redirects are not working 2012-06-11 10:03:21 +00:00
d4ad65d441 Fixed compatibilty layer overwriting HopObject.onCodeChange() method in core preventing skin controls from showing 2012-06-04 20:37:25 +00:00
cb79ff8a4f Removed remaining references to obsolete port variable 2012-06-04 19:44:54 +00:00
d2f82bfa98 Removed redundant port number as well as slashes when building URL 2012-06-04 19:43:10 +00:00
27581de76b Reverted to URLs with http or https scheme 2012-06-04 19:02:40 +00:00
b1cc83945c Added support for text selection: selected text will be wrapped in hyperlink to source URL and used as default value for text input 2012-06-04 18:42:19 +00:00
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
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
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
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
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
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