Commit graph

3702 commits

Author SHA1 Message Date
dd565a9880 Removed accidentally committed test file 2010-05-10 21:34:44 +00:00
c3d0344288 * Added patch build target to build.xml
* Added Root.patch() method to updater repository
 * Transformed SQL scripts into JavaScript code usable with patch build target
 * Added empty global onStop() method to get rid of annoying log message
 * Renamed Root.xgettext() method to Root.extractMessages and moved code from Root.js to Global/i18n.js
 * Renamed Root.main_action() to Root.updater_action() in updater repository
 * Removed function wrapper from patch-*.js files to make them work with patch build target
2010-05-10 21:29:40 +00:00
f9a26a9915 Check if HopObject.onCodeUpdate() method exists before calling it in onStart(). Just makes you wonder why Helma is not doing this. 2010-05-07 15:49:53 +00:00
078d6662ff Added missing title parameter in remaining link macros. Fixes issue 110. 2010-05-07 15:48:21 +00:00
Christoph Leutner
98bb544ea8 Changed site exporting dialogue - issue 104 comments 6, 7. 2010-05-06 21:48:51 +00:00
Christoph Leutner
e68a2607ef Referrers: added 'bing' as search engine instead of search.msn.tld and search.live.com 2010-05-03 22:27:20 +00:00
Christoph Leutner
3aba0fb64f Changed wording for displaying the referrer list including spam: the previous wording made some people think they had to check the box to 'include' links as 'referrer spam' to the blacklist, see e.g. the comment by arboretum http://hilfe.blogger.de/stories/1615243/comments/1623743 2010-05-03 12:24:05 +00:00
51a2078b79 Removed story title from gettext() call in Story.edit_action() 2010-04-26 11:42:49 +00:00
5504a7b7c3 Moved call for HopObject.onCodeUpate() from compatibility layer to onStart() method 2010-04-26 11:27:11 +00:00
e2588ce657 Fixes issue 105. (This time really :) 2010-04-26 11:18:31 +00:00
da9feebfff * Concatenated some messages which were too nested for reasonable translation – however, with the disadvantage of having HTML markup included now. Fixes issue 105. Fixes issue 106.
* Adapted Admin.link_macro() according to recent changes in HopObject.link_macro()
 * Slightly modified HopObject.link_macro() in the compat layer to work with changes in Admin.link_macro()
 * Updated and rebuilt i18n and message files
2010-04-26 11:12:47 +00:00
9c9f4c834d Updated and rebuilt i18n and message files 2010-04-26 00:22:53 +00:00
9917068dc7 * Modified order of actions in item list views
* Slightly modified the message informing about successful deletion of an object
 * Fixed type when calling Membership.remove() in Site.unsubscribe_action() method
 * Fixed bug causing exception when calling Membership.remove() method with no arguments
 * FIxed still incorrect permissions for editing and deleting a membership
2010-04-26 00:22:20 +00:00
c87f038fc6 * Removed unnecessary gettext() calls from compatibility layer
* Removed obsolete sys_* methods from the compatibilty layer’s Root prototype
2010-04-26 00:13:25 +00:00
cf911054a5 Slightly adjusted the sizes of some input elements 2010-04-25 22:48:33 +00:00
285f7c1c75 Fixed security hole which allowed unauthorized users to edit memberships of a site 2010-04-25 22:29:51 +00:00
f2ac352c3f Fixed case of membership.role constraints 2010-04-25 20:42:07 +00:00
741b00c1ff Slightly modified wording 2010-04-25 20:36:43 +00:00
259bd2c68b Replaced hard coded file upload element with Antville enhanced one :) 2010-04-25 20:19:32 +00:00
1b8bf37675 * Added Layout.getTitle() method to compatibility layer always returning “Layout” to prevent display of remaining title properties in older databases
* Slightly increased sizes of some input elements for convenience
 * Added SQL patch updating constraints of the membership role column (MySQL)
 * Removed obsolete title and description properties from Layout
 * Minor layout enhancements and wording edits
2010-04-25 20:11:16 +00:00
45ff61699e Fixed macro syntax in Site#navigation skin 2010-04-25 19:20:09 +00:00
2f678f2f2e Added markgettext macro to message parser 2010-04-25 18:47:29 +00:00
8e496fd6a2 Updated and rebuilt i18n and message files 2010-04-25 18:46:03 +00:00
669f5fe550 Slightly modified wording of subscriptions views 2010-04-25 18:45:21 +00:00
8eb78b4462 Slightly modified order of collection filters to start with the link to the list of the member’s items 2010-04-25 18:43:12 +00:00
2a1fd9f5ae Added optional site argument to Membership.getByName() to ease the pain of redefined res.handlers.site property running havoc 2010-04-25 18:10:17 +00:00
90eac20152 Fixed bug causing subscriptions being displayed with the corresponding site’s locale instead of the current site’s one 2010-04-25 18:01:37 +00:00
9605a3ca31 * Updated User.properties due to the modified margettext() calls 2010-04-25 17:50:54 +00:00
12309653a5 * Decentralized markgettext() calls by moving them from i18n.js to the places where the messages actually are defined
* Added markgettext_macro()
 * Readjusted Admin.dropdown_macro() and the global defineConstants() methods to work with the modified markgettext() calls
 * Updated Members.properties and added SQL patch for lowercasing all membership status due to the modified margettext() calls
 * Added Membership.role_macro() as convenience method
 * Removed syntactic sugar from HopObject.link_macro() and moved it to the compatibility layer to prevent current layouts from breaking
 * Removed obsolete permission for non-existing Image.replace_action()
2010-04-25 17:31:44 +00:00
7b4cfc6229 * Added cgettext() method for context-dependent translation (e.g. “open” as verb vs as noun)
* Moved redefined and additional i18n methods from Global.js to i18n.js
2010-04-25 11:42:21 +00:00
956f641cd1 Removed obsolete configuration and library files for running Helma/Jetty6 with XML config file 2010-04-24 17:57:14 +00:00
22670540e7 As all efforts failed to make Helma/Jetty6 run again with an XML configuration file, this is a final commit of the current changes before the corresponding files will be deleted. Bummer. 2010-04-24 17:53:00 +00:00
5e5c4e38c2 Fixed tiny bug preventing referrers from being recorded when a site URL does not start with “http” 2010-04-24 15:17:53 +00:00
2505612a37 Switched to PostgreSQL as database of choice and added compatibility files to db/my.compat 2010-04-24 14:27:31 +00:00
c81dc45fda Added some comments describing the purpose of the files 2010-04-24 14:05:13 +00:00
bb28dba8fb Fixed bug causing exceptions in scheduler() due to undefined req.servletRequest 2010-04-24 13:58:40 +00:00
2ff807e868 Fixed bug preventing story referrers from being logged; might be caused by recent changes in Helma... 2010-04-24 13:54:33 +00:00
50f43270f1 Updated and rebuilt i18n an message files 2010-04-24 12:33:58 +00:00
01b15b36f0 * Added stop button to export/import features, cancelling a previously started job
* Added some messages to the export/import features
 * Added routine to remove the corresponding file after successful import
2010-04-24 12:28:29 +00:00
081d601cea Only set site.export_id if export is successful 2010-04-23 23:07:50 +00:00
33aaf24cfe Initial commit 2010-04-23 22:55:33 +00:00
3dc7533d62 Closing the XML output file is necessary before adding it to the site, otherwise we get truncated XML data! 2010-04-23 22:52:09 +00:00
d581ceac3a Updated and rebuilt all i18n and message files 2010-04-23 20:36:51 +00:00
d6ca04c34f Replaced common date format string with equivalent constant 2010-04-23 19:52:34 +00:00
65c139bc6e * Rewrote global Importer() and Site.import_action() for compatibility with Blogger.com export format using Rome parser
* Simplified Site.export_action()
 * Wrapped run() method of Importer and Exporter in try/catch clause
2010-04-23 19:51:40 +00:00
b2d3d67886 Remove previously exported data from the files collection if available 2010-04-20 16:44:36 +00:00
4c79205e63 Rewrote Exporter for writing XML data compatible to blogger.com’s syndication format; see http://code.google.com/apis/blogger/docs/2.0/reference.html#Elements for details 2010-04-20 16:29:10 +00:00
Christoph Leutner
8389100be3 Removed obsolete lines 2010-04-20 01:20:05 +00:00
5d710ed6d7 * Added Admin.Job prototype representing objects suitable for persistent asynchronous tasks
* Refactored Admin.queue(), Admin.dequeue() and Admin.purgeSites() methods to use new Admin.Job prototype
 * Refactored Exporter and Importer objects to use new Admin.Job prototype (the way sites are im/exported still needs to be rewritten)
 * Refactored resetting and importing a layout to always backup the current layout in a temporary ZIP file
 * Moved import_action() method along with corresponding skins from Root to Site
 * Moved #create skin from $Root to $Site
 * Added the root site itself to the Root.sites collection
 * Permitted deletion of the root site by adding appropriate checks and treatment in Site.remove()
 * Moved call for Admin.dequeue() from scheduler() to nightly() method
 * Removed obsolete Admin.importExport() method
 * Removed obsolete app.data.exports and app.data.imports properties
2010-04-10 21:53:53 +00:00
Christoph Leutner
cb9cbad111 Removed site status explanation from the user interface cf revision 4059 2010-04-08 12:40:29 +00:00