Commit graph

4022 commits

Author SHA1 Message Date
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
8a83f406f8 Updated copyright and svn:keywords property 2011-03-23 12:28:35 +00:00
61df9ba586 Removed forced linebreak between label and creation date 2011-03-15 23:09:06 +00:00
2d0d0d2696 Fixed tiny bug when creating a file with the Api.metaWeblog.newMediaObject() method 2011-03-15 22:50:49 +00:00
f2631f8760 * Added Image.add() and File.add() methods similar to Story.add(), extending internal API
* Refactored Images.create_action(), File.create_action() and Api.metaWeblog.newMediaObject() methods using the new methods
2011-03-15 22:34:38 +00:00
08bcfdcb33 * Refactored Story.add() method to take the data struct as first and required argument, then optionally site and user
* Rewrote Importer reducing redundant code by using new Story.add() method
2011-03-15 22:07:24 +00:00
929ed609cb Rewrote Importer reducing redundant code by using new Story.add() method 2011-03-15 20:28:18 +00:00
2ca26e4f28 * Added Story.add() method as counterpart to Story.remove() and to establish kind of internal API
* Rewrote external API (Api prototype) reducing redundant code by calling Story.add() method
2011-03-15 20:22:08 +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
f511318689 Added patch to remove question marks from file, image and tag names because the objects currently are inaccessible via URL 2011-03-02 09:50:20 +00:00
d4d9c40563 Fixed wrongly encoded characters in copyright header 2011-03-01 18:43:43 +00:00
6d7904c9ff Added correct settings for short and long date format patterns when initializing virgin installation 2011-03-01 12:58:50 +00:00
1ae41a513a Fixed PostgreSQL comment symbols 2011-03-01 12:57:45 +00:00
4a9017e251 Finally introduced Helma’s uploadSoftfail property to Antville – see http://groups.google.com/group/helma/msg/4455deb2e24e5d8a 2011-02-23 18:21:43 +00:00
8a2e33329b Reverted copyright update for third-party code 2011-02-23 16:44:47 +00:00
68ec5d1a2f Updateed copyright strings to be inserted into PO files 2011-02-23 16:35:32 +00:00
73f21c0102 Added URL keyword to svn:keywords property 2011-02-23 16:30:34 +00:00
5888797569 Added URL keyword to svn:keywords property 2011-02-23 16:24:32 +00:00
3654e1c10a Fixed encoding issues 2011-02-23 16:03:33 +00:00
1d8b34a54a Trying to fix bloody file encoding... 2011-02-23 15:52:22 +00:00
7777a486de Refactored static URL handling by using static and staticMountpoint properties in apps.properties file instead of custom staticUrl and staticPath in app.properties – still experimental! 2011-02-23 15:17:52 +00:00
81e1790374 Added jsdoc comments 2011-02-23 14:43:25 +00:00
322365f59b Added Root.static_macro() method for easier construction of static URLs via macro 2011-02-23 14:42:41 +00:00
2cda27e26b Slightly edited wording of macro instruction to prevent confusion with layout images 2011-02-23 14:30:50 +00:00
e7b62aa607 * Removed invalid argument from String.isEmail() and String.isUrl() method calls in validateEmail() and validateUrl() methods
* Replaced lazy check for e-mail address in validateUrl() with call for String.isEmail()
2011-02-23 14:07:50 +00:00
66ec37f82a * Improved User.register() method by trimming name and email values before evaluating them
* Removed redundant check for an existing user in User.register()
2011-02-23 14:00:47 +00:00
7b15def263 Removed obsolete code in User.onLogout() method 2011-02-23 13:13:15 +00:00
9f855af0b0 Slightly modified Sql.SEARCH string 2011-02-20 22:08:47 +00:00
84b10afacb * Added tabindex attributes to login form
* Removed macro for testing Facebook connect feature
2011-02-20 22:07:43 +00:00
441230321d Slightly optimizd SQL statements for Archive prototype 2011-02-20 16:13:56 +00:00
98bfd954b9 Updated site search to work with new Metadata 2011-02-20 16:10:37 +00:00
02dd525e14 Improved metadata index 2011-02-20 16:09:34 +00:00
218db5dba0 Added domains.map to list of files ignored by Subversion 2011-02-20 13:31:58 +00:00
c6097affd1 Fixed metadata index containing the value to prevent exceeding the maximum size 2011-02-20 13:26:09 +00:00
0917333e2d Fixed callback URL for Facebook connect to also return a full URL starting with http:// if configured 2011-02-20 13:24:55 +00:00
9c6fa3ecc4 Added missing repository 2011-02-20 12:31:59 +00:00
a4a6737e6d * Fixed order of HopObject.handleMetadata() and disableMacro() calls – the latter have to go last
* Added User.remove() method but left it disabled until thoroughly tested
 * Added check on registration whether an IP or e-mail address is blacklisted by either botscout.com or stopforumspam.com
2011-02-20 12:12:26 +00:00
08d00dc9d8 Slightly improved output of RSS format by using the creation date as title if the story comes without one 2011-02-20 11:56:26 +00:00
7948648481 Removed obsolete code 2011-02-20 11:28:16 +00:00
b27aa3145c * Moved value normalization from HopObject to Metadata prototype
* Removed limitation to edit running polls
 * Fixed some issues in MySQL database scheme
 * Moved routine for replacing version tags from init to export target in build script
2011-02-20 11:26:41 +00:00
b499380367 Got to learn more about java.lang.String.format()... 2011-02-20 10:37:00 +00:00
e3c777abf9 Moved the log output to the very end of the while loop to show the actual number of processed objects 2011-02-20 10:11:26 +00:00
7e123c4646 Refactored patch to also work reliably with large amounts of data 2011-02-20 10:03:59 +00:00
7ebb4cc6d0 Added Douglas Crockford’s JSON2 library 2011-02-18 14:18:15 +00:00
e3d378fa40 Updated licenses 2011-02-18 14:09:36 +00:00
d4503644ca * Extended connect feature to also work with Google and Twitter using the excellent Scribe library
* Simplified Root.connection collection 
 * Added some preliminary icons to the connect skins for good
2011-02-18 14:01:17 +00:00
a7c4b8eeb6 Improved indexes of metadata table 2011-02-16 20:17:20 +00:00
b27643192e Removed obsolete code 2011-02-16 20:16:27 +00:00
b6f8dbd36a Re-added accidentally removed code 2011-02-16 20:11:19 +00:00