Commit graph

217 commits

Author SHA1 Message Date
cd6fd202c7 chg: replaced google’s captcha with h-captcha 2020-05-23 09:39:14 +02:00
c36302a83f chg: refactored deletion of accounts and sites 2018-05-21 15:00:57 +02:00
3f9d03a6f6 chg: moved recaptcha from claustra to core 2018-05-19 09:56:24 +02:00
f617e44d83 add: setup options for registration scope and login mode 2018-04-21 22:23:32 +02:00
e01cecfe25 Allowed a privileged user to add, edit and delete memberships without restrictions (you know what you’re doing) 2015-04-12 14:18:30 +02:00
20e605aa7b Added accusatives for user-defined objects. Replaced user with account. Balanced out gender in german translation. 2015-03-25 16:04:47 +01:00
c3793223d6 Fixed wrapping in subscription list 2015-02-07 11:58:46 +01:00
1cbe8fde9c Refactored trails to claustra 2015-01-23 18:19:24 +01:00
6d2a296389 Added tooltips with the full date to output of created / modified values in tables 2015-01-11 13:18:11 +01:00
03ebe385bc Cleaned up CSS.
Moved content of style attributes to main.less or the stylesheet skins of Root and Site.
Adapted original Antville colors for some of UIKits elements (e.g. primary button, default alert, pagination) and the Jala calendar
2015-01-11 13:08:19 +01:00
ecaa10aa1b Moved logout link to top of navigation 2015-01-06 14:04:23 +01:00
41ccf74999 Fixed permissions for unsubscribing and editing a site owner; fixed permissions for generally un/subscribing 2015-01-04 19:14:53 +01:00
af65759912 Fixed incorrect warning about site deletion when unsubscribing from a site 2015-01-04 19:12:49 +01:00
00d645e9c8 Implemented client-side script to prevent duplicate form submits
Removed client-side click handler for cancel links and used macros or simple relative paths instead
2015-01-04 13:35:59 +01:00
837c3df0e0 Renamed updated_action() to updates_action() 2015-01-01 20:56:32 +01:00
775396cc11 Do not allow editing or removing a site’s last owner 2014-12-21 17:40:19 +01:00
17d66dd419 Added User.getMembership() method to ease display of comments by a non-member (“virtual membership”) 2014-12-21 17:24:52 +01:00
b5a7cdbcb7 Refactored remaining prototypes for UIKit support as well as unified and smoothed already refactored ones 2014-12-21 17:22:01 +01:00
777fc161ef Slightly improved membership display 2014-12-17 23:55:34 +01:00
11cd154c28 Replaced dark trash icon with lighter version 2014-12-16 23:03:58 +01:00
6382cf162a Modified redirect URL to return to the current action 2014-12-14 23:43:46 +01:00
8b619581cf Allow owners and privileged users to edit their own membership status as long as they are not the only site owner.
Fixes issue 85
2014-12-14 23:42:32 +01:00
d12e2a1d65 Refactored membership handling for UIKit support 2014-12-14 23:40:05 +01:00
ca1fb24f74 Implemented support for a virtual membership to allow batch-deletion of comments by non-members, too.
Removed restriction of preventing comment creators from deleting their own comments.

Fixes issue 101
Updates issue 88
2014-12-14 15:09:07 +01:00
780f250d90 Renamed User Profile to Account 2014-12-10 16:51:08 +01:00
e8ac80c22f Retouched navigation to make it less “boxy” 2014-12-06 23:58:24 +01:00
9bc5084ff7 Updated contact form for UIKit 2014-12-06 21:55:28 +01:00
b112395a53 Refactored code to work with trails 2014-12-01 20:45:16 +01:00
61ed3ea736 Restyled first skins for working with UIKit 2014-11-08 23:44:23 +01:00
ab8560b057 Updated license header and unified comments 2014-07-04 17:16:51 +02:00
a70d7e9029 Replaced most double ticks with single ones 2014-07-04 15:44:41 +02:00
c7d78eba65 Reduced line indent from 3 to 2 spaces 2014-07-04 15:32:18 +02:00
3e769d3d6e Cleaned up whitespace with Sublime Text 2 2014-07-04 15:30:46 +02: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
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
28808135d4 Refactored plugin handling:
* Removed “extras” code because I just forgot I already implemented a Feature prototype
 * Added global <% feature %> macro calling the main() method of the desired feature
 * Added Feature.getPermission() method which can be invoked from HopObject.getPermission()
 * Refactored connect feature to work with modified Feature prototype
2011-03-24 01:54:21 +00:00
91b45b3732 Implemented basic extra handling (ie. plug-ins in Antville):
* Added global app.data.extras collection and registerExtra() method
 * Defined res.handlers.extra in HopObject.onRequest() handler to provide extra macros
 * Implemented reCAPTCHA for anonymously contacting an Antville member as proof of concept
2011-03-23 13:35:02 +00:00
5888797569 Added URL keyword to svn:keywords property 2011-02-23 16:24:32 +00:00
e5964eb5b9 Improved soft comment deletion:
* If comment contains a child comment set its status to DELETED, erase metadata (content) and prevent macro calls to display creator or modifier
 * Otherwise – or if status already equals DELETED – completely remove it and its children from the database
2011-02-15 18:12:43 +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
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
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
285f7c1c75 Fixed security hole which allowed unauthorized users to edit memberships of a site 2010-04-25 22:29:51 +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
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
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
Christoph Leutner
314a99e2eb Changed wording of notification that JavaScript is necessary to see the referrers and backlinks - the old 'To prevent spam abuse...' led to the misconception that backlink spamming should be in fact prevented. 2010-04-03 00:56:02 +00:00
df312aa6fc Renamed macro name from creator to user in Membership.getMacroHandler() 2010-02-15 21:19:02 +00:00
747231baef Cleaned up code and doc comments 2010-02-07 13:03:04 +00:00