Commit graph

3711 commits

Author SHA1 Message Date
3b7d2e577b Start session by logging in user account if available in Api.getUser() 2010-12-21 14:11:15 +00:00
1d27d412c8 * Removed obsolete modSorua code
* Removed redundant setting of res.handlers.sender in Members.add_action(); will be already done in Membership.notify()
2010-12-21 14:08:47 +00:00
9410d97946 Removed redundant semicolon 2010-12-21 14:07:02 +00:00
2b35e1ddf4 * Added patch to prevent locales and timezones from being set to wrong values in modified dropdown menus.
* Commented out client-side code hiding “Etc” timezones in the preferences’ dropdown to prevent wrong settings.
 * Added localized timezone name in dropdown menu (only visible in JavaScript-disabled clients).

Fixes issue 128.
2010-12-09 01:43:26 +00:00
3f602c6d5b Display each language in its corresponding locale instead of all languages in the one currently selected. 2010-12-09 00:56:21 +00:00
4db44c389b Exclude deleted (aka hidden) comments from being displayed in list of recent updates as well as in RSS output. Fixes #125. 2010-12-08 23:51:06 +00:00
Christoph Leutner
9776619fb4 Corrected text in Site Preferences - cf. issue 127. 2010-11-30 02:43:20 +00:00
47deac6732 Prevent anyone from searching a restricted site. Fixes issue 123. 2010-08-28 17:42:43 +00:00
a053b46e21 Fixed defunct Site.robots_txt_action() method (typo in method name) 2010-06-14 06:44:53 +00:00
9125131e9f Replaced outdated exclusions in default robots.txt with commented help link and examples 2010-06-14 06:35:30 +00:00
10c5475c3f Whoops, forgot to commit this little change to prevent an error message when calling Site.backup_js_action() without backup data being present 2010-06-07 14:54:04 +00:00
f500a8d808 Reverted last change; the “Restore” buttons are fully functional in my installation 2010-06-06 06:50:36 +00:00
Christoph Leutner
860b2523f0 Removed inoperable 'restore'-buttons 2010-06-06 04:20:55 +00:00
Christoph Leutner
036aa9b521 Updated seach engine filter. 2010-06-06 04:12:27 +00:00
0bdabbad83 Fixed typo in JSDoc tag 2010-06-05 16:30:24 +00:00
55da18e8e4 Tested document tags with the new version of jsdoc-toolkit and added or modified some comments accordingly 2010-06-05 15:47:15 +00:00
1fc199e576 Removed redundant <% gettext %> macro – gettext will be called in Membership.role_macro() anyway – causing not-found messages in jala.i18n.translate() 2010-06-05 12:50:08 +00:00
7ff6bfe789 Replaced static addition of localization files with dynamic loop 2010-06-03 15:46:50 +00:00
23978a99ef Removed beta from Root.VERSION string 2010-05-31 08:05:47 +00:00
5a1cad862c Finalized Open Search Description feature (see http://www.opensearch.org for more information) 2010-05-30 13:39:09 +00:00
d163136d04 Added option to execute and traverse SQL queries in test (or debug) mode 2010-05-24 19:28:40 +00:00
280720c792 Added link elements for displaying the tiny ant as favicon 2010-05-24 16:01:52 +00:00
ae44c39d6f * Heavily edited wording of gettext() calls in notification messages
* Removed numbered, footnote-like links in most of the noficitaion messages
 * Added prefix to subjects of notification mails (like “[Antville] ...”) for convenience
 * Added markgettext() calls for most of the prototype names and their plural forms – this time in each corresponding prototype file, though
 * Added options argument to global sendMail() method, currently only to switch inclusion of generic footer in mail body
 * Fix bug in Membership.contact_action() method when an unknown (i.e. unregistered or unsubscribed) user tries to send a message via contact form
 * Unified naming of notify skins (e.g. #notify_delete instead of #notify_deletion)
 * Updated and rebuilt i18n and message files
2010-05-24 13:32:40 +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
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
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
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
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
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
bb28dba8fb Fixed bug causing exceptions in scheduler() due to undefined req.servletRequest 2010-04-24 13:58:40 +00:00