Commit graph

81 commits

Author SHA1 Message Date
9fc91c221d chg: localize errors for accepting terms / gdpr 2020-05-24 22:28:04 +02:00
cd6fd202c7 chg: replaced google’s captcha with h-captcha 2020-05-23 09:39:14 +02:00
0cfd2abe5e del: console.log 2020-04-24 19:04:07 +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
0713ac5db7 fix: incomplete account deletion
also generally disable deletion of privileged accounts
2018-05-12 19:03:21 +02:00
922f2ed732 add: support for account deletion 2018-05-12 17:39:34 +02:00
b61940c2e1 add: display of a user’s timeline 2018-05-11 16:53:20 +02:00
5a2af525e1 chg: run account export as job 2018-05-05 11:04:17 +02:00
c388e71203 add: archive export for account (json) 2018-05-04 17:02:00 +02:00
8f83797e44 add: check and dialog for accepting updated terms and conditions 2018-04-30 13:37:21 +02:00
4d85afcf8a add: support for data privacy statement and terms & conditions 2018-04-29 20:42:42 +02:00
b31be0f3aa chg: prevent user from logging in and out again on insufficient login permission 2018-04-29 13:32:06 +02:00
9ec39eaf98 fix: user being logged in in spite of missing permission 2018-04-29 01:42:54 +02:00
d864e5e9d3 chg: refactored setup for login / registration permissions 2018-04-29 01:29:04 +02:00
f617e44d83 add: setup options for registration scope and login mode 2018-04-21 22:23:32 +02:00
a284fbd91b Changed behavior when trying to add an already existing membership; instead of throwing an exception, simply redirect to the membership editor. 2015-04-12 14:10:22 +02: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
41ccf74999 Fixed permissions for unsubscribing and editing a site owner; fixed permissions for generally un/subscribing 2015-01-04 19:14:53 +01:00
48bc9ede1b Return to the previous page after login 2015-01-04 16:50:12 +01:00
d6da64043e Increased list output to 50 items per page 2015-01-01 21:30:07 +01:00
837c3df0e0 Renamed updated_action() to updates_action() 2015-01-01 20:56:32 +01:00
a586efcc8c Refactored member search 2015-01-01 20:49:18 +01:00
e98fc57206 Refactored reset_action() 2014-12-21 17:31: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
d12e2a1d65 Refactored membership handling for UIKit support 2014-12-14 23:40:05 +01:00
b4ca0e0281 Always return to current action after submit (instead of parent action) 2014-12-14 10:16:34 +01:00
780f250d90 Renamed User Profile to Account 2014-12-10 16:51:08 +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
21ccb28f60 Fixed Members.getPermission() method to enable Features to work with restricted sites 2014-01-01 14:42:02 +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
b5947d888a Changed way to invoke Feature.getPermission() by using Function.apply() with object instance and arguments array 2011-03-29 11:18:45 +00:00
52eda0b11b Reverted rendering of login et al. pages back from root to the current site 2011-03-28 18:40:19 +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
fe159c3112 Fixed bad security hole allowing anyone to reset a user’s password if the user id and e-mail address are known 2011-03-08 17:07:08 +00:00
dacaba9b3f * Implemented next attempt of a module framework called Features
* Added type argument to global formatDate() and format_filter() methods
 * Added JSON.js module
 * Added app.data.features collection
 * Fixed routine for salting passwords (probably due to jQuery upgrade)
 * Renamed Members.salt_js_action() method to Members.salt_txt_action()
2011-02-12 17:47:30 +00:00
1570f2bcf6 Updated code according to changes in Metadata handling 2011-02-10 23:51:17 +00:00
31f249fc79 Removed spambot honeypot input fields for good. Fixes issue 131. 2011-01-20 19:01:10 +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
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
741b00c1ff Slightly modified wording 2010-04-25 20:36:43 +00:00
669f5fe550 Slightly modified wording of subscriptions views 2010-04-25 18:45:21 +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
b2be44fabf * Rewrote direct Database access in Archive.stories_macro(), Archive.getSize(), Archive.getFilter(), Members.search() and Root.mrtg_action() methods using the Sql prototype and trying to make the statements work in all MySql, PostgreSql and H2 databases
* Added default setting for root.replyTo when first setup is encountered in Root.main_action()
 * Renamed user table to account in User.properties (“user” is a reserved keyword in PostgreSql)
2010-01-20 14:28:17 +00:00
5523ab28d2 * Refactored Admin prototype by reducing interface, eliminating lenghty help texts and leaving out meaningless features
* Moved SITENOTIFICATIONPERIOD constant, health property as well as getFormOptions(), commitEntries(), commitRequests(), purgeReferrers(), invokeCallbacks(), updateHealth(), exportImport(), updateDomains(), queue() and dequeue() methods from Root to Admin prototype
 * Renamed Admin.purgeDatabase() method to Admin.purgeSites() and added code for automatic blocking/deletion of restricted/abandoned sites
 * Renamed Root.getScopes() method to Admin.getNotificationScopes()
 * Renamed User.getScopes() method to Admin.getCreationScopes()
 * Added Admin.getPhaseOutModes() method
 * Removed obsolete code
 * Fixed and renamed Admin.privateSites to Admin.restrictedSites collection
 * Finally added simple and reasonable quota implementation
 * Fixed gettext_macro() and ngettext_macro() with check for necessary arguments
 * Removed sender argument from global sendMail() method – instead, the root.replyTo property is used
 * Fixed some i18n messages
 * Moved code setting res.handlers.layout before permission check in HopObject.onRequest() to prevent broken layout in error screen
 * Completely rewrote HopObject.notify() method (hopefully fixing issue 49)
 * Check free disk space before invoking create_action() of Files and Images prototypes
 * Modified output of Membership.toString() method
 * Fixed some linebreaks in Membership.skin
 * Added option to set session.data.error for additonal information in $Root#error skin
 * Slightly modified output of $Root#health skin
 * Replaced Root.phaseOutInactiveSites and Root.phaseOutPrivateSites with Root.phaseOutMode
 * Removed qualifyingDate property from Root
 * Renamed Root.qualifyingPeriod property to Root.probationPeriod
 * Removed autoCleanupEnabled and autoCleanupStartTime properties from Root
 * Added replyTo property to Root
 * Rewrote Root.getCreationPermission() method
 * Added #notify_blocking and #notify_deletion skins to $Site.skin
 * Replaced Site.notifiedOfBlocking and Site.notifiedOfDeletion properties with Site.notified
 * Added Site.diskspace_macro() returning the free disk space in MB
 * Fixed bug in Site.main_action() causing erroneous display of deletion warning
2010-01-15 21:32:11 +00:00