Commit graph

44 commits

Author SHA1 Message Date
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
5888797569 Added URL keyword to svn:keywords property 2011-02-23 16:24:32 +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
c4fcb7ec80 * Replaced custom code in Poll.remove() and Choice.remove() with call for HopObject.remove()
* Extended HopObject.remove() to automatically remove nodes with their prototype’s remove() method if no options are given
2010-01-10 16:29:37 +00:00
32c52791fe * Refactored code and skins in respect for comprehensive i18n
* Refactored and unified remove() methods and calls for greater flexibility as well as reliability
 * Added option to remove all comments by a user to Comment.remove() method and $Comment#delete skin
 * Added global #listItemFlag skin as well as listItemFlag_macro() for rendering vertically written text of items in a list view (e.g. closed)
 * Fixed bug in gettext_macro() and ngettext_macro() causing incorrect whitespace
 * Refactored timezone and locale handling
 * Modified automatic translation of untitled links in HopObject.link_macro()
 * Added honeypot to login and registration forms
 * Fixed client-side JavaScript to be evaluated when login or registration form is submitted, not only when the submit button is clicked
 * Removed redundant filter expression from DB mapping of Membership.images collection
 * Added Membership.content collection
 * Changed terminology from open to running polls, thus renaming Polls.open_action() method and Polls.open collection
 * Moved a lot of CSS used in root or administration sections from Site#stylesheet to $Root#stylesheet skin
 * Added Root.updateDomains() method (most likely already obsolete)
 * Removed Root.processHref() method (only necessary for very advanced setup) and obsolete comments
 * Fixed Root.xgettext() method to correctly read UTF-8 encoded data
 * Fixed Site.deleted_macro() to return the date object for late formatting
 * Refactored Site.processHref() for more convenient custom domain name mapping
 * Renamed Skins.advanced_action() method to Skins.all_action()
 * Removed redundant filter from Stories.comments collection
 * Removed unnecessary filter from Story.comments collection
2010-01-10 14:40:36 +00:00
5ec14e5c06 Skin spring cleaning: unified and restructured skin parts and removed obsolete markup 2009-12-13 21:54:58 +00:00
dcc9cbcfc8 * Added basic doctags to the code
* Removed obsolete code
2009-11-02 16:16:41 +00:00
0d84e21291 Removed trailing semicolons after closing curly brackets for good (hopefully :) 2008-04-21 13:57:01 +00:00
124e6f4257 * Added protected skin files (currently prefixed with "$") that cannot be customized or overwritten by the user
* Removed obsolete skin files (ie. content moved to the protected skin file)
 * Moved contents of Messages.skins to their protected siblings
 * Prefixed notification skins (used in e-mails) with "notify_"
 * Fixed and simplified a whole bunch of issues in compatibility layer
2008-04-21 13:35:50 +00:00
0ba8805d02 * Fixed skin names according to issue #16
* Fixed rendering of values stored in res.meta.values
 * Removed obsolete code (mostly disabled by comments already)
2008-01-19 17:36:33 +00:00
ded7f5fcea Renamed type.properties according to prototype naming scheme recently introduced in Helma (s. http://helma.org/bugs/show_bug.cgi?id=533) 2007-10-11 13:38:29 +00:00
d710703965 * Merged most single skin files as subskins into one single skin named after the prototype
* Renamed some subskins to better reflect their purpose
 * Removed all obsolete skins
2007-10-09 15:09:06 +00:00
01b59957e4 Applied generic framework to Poll, Choice and Vote prototypes
* Renamed PollMgr to Polls
 * Removed graph.skin from Choice prototype
 * Improved Choice skins by replacing param with choice handlers
 * Unified output of Choice totals in choice.votes_macro
 * Moved creation of new choices to client-side JavaScript
 * Added labels for radiobuttons
 * Added HopObject.radiobutton_macro
 * Cache / reset status of story when rotating
2007-10-04 18:48:35 +00:00
aaaf55ea0a Added header to and cleaned up property files 2007-06-30 19:25:35 +00:00
1e520c248a * Merged source code files of one prototype into one single file named after the prototype
* Applied ECMAScript compliant syntax to prototype member definitions
 * Cleaned up directory structure
2007-06-23 14:53:39 +00:00
ee5a969fc2 renamed prototypes to uppercase first letter names; this implied renaming of file to Asset and of image to Picture to prevent clashes with helma's internal Image and File prototypes (including management mountpoints) 2004-03-20 18:13:50 +00:00
Robert Gaggl
4f301fb76c remove hopobjects by using their own method remove() now (the former way to call the remove() method of the parent and pass the object to delete is deprecated in helma) 2004-01-16 11:45:26 +00:00
e559f5d470 cleaned up code 2004-01-13 14:20:44 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
Robert Gaggl
f4a90271d7 removed pixel.gif 2003-12-08 20:50:32 +00:00
Robert Gaggl
b4951e7e1e replaced calls of global image_macro() with calls of layout.image_macro() (since the images are now the business of layout objects) 2003-11-23 18:06:59 +00:00
Robert Gaggl
c7d5c20578 initial check-in 2003-08-02 12:21:28 +00:00
Robert Gaggl
b1d3bb6870 modified comments 2003-08-02 12:19:11 +00:00
Robert Gaggl
1da86f939d choice text is no longer pushed to skin, instead use choice.title_macro() 2003-08-02 10:37:57 +00:00
524d7a38a3 still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout. 2003-03-07 19:27:48 +00:00
50890759ad validated almost every page (at least apart from the system management stuff) with the w3c validator at http://validator.w3.org and modified the skins where necessary. furthermore i tried to arrange some layouts (files, images, polls) to better and more consistently harmonize with the general antville appearance. 2003-03-05 18:39:37 +00:00
6c9ee44f6b some more slight enhancements in poll appearance 2003-03-03 13:57:15 +00:00
222c56a99d refurbished polls; removed title property wherever it occurred; state_macro() is deprecated (but still working) now, use closetime_macro() and appropriate prefix/suffix strings instead. 2003-03-03 13:51:54 +00:00
Robert Gaggl
bb56037bfa choice-value is now form-encoded to enable using html-code in choice-text 2003-01-05 22:28:20 +00:00
2b0b68d198 replaced <% imageurl %> macro by <% image as="url" %> 2002-08-19 16:52:19 +00:00
6dc017c009 added invisible pixel gif to correctly display the graph in most browsers 2002-07-29 11:12:11 +00:00
Robert Gaggl
f8db009bff changed type.properties according to new database-schema:
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
2002-06-26 16:03:59 +00:00
91936910ed improved for xhtml compatibilty 2002-06-14 17:48:06 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
269a461d03 switched to version 1.2 2002-03-27 10:57:17 +00:00
0f54700824 moved choiceInput.skin from poll to edit.skin in choice; removed res.data.action property 2002-02-01 17:17:46 +00:00
6ffe57d90c corrected wrong setting for _parent 2002-02-01 17:14:15 +00:00
44691ec80d refurbished html 2002-02-01 17:13:54 +00:00
d864235133 moved .bar css class from poll/results.skin to .pollResultsBar in weblog/style.skin 2002-02-01 17:13:40 +00:00
7d2b6ef776 just a little bit of polish for the appearance 2002-01-31 17:10:07 +00:00
f2bc0bd115 initial check-in 2002-01-25 17:57:44 +00:00