Commit graph

3039 commits

Author SHA1 Message Date
4071fbeee0 * Fixed some column sizes according to Antville.org's needs
* Fixed syntax error
 * Added delete statements for AV_TEXT and AV_IMAGE to reduce size of database for testing purposes
2008-04-19 20:06:28 +00:00
2e6cd1d522 Modified conversion code for AV_IMAGE and AV_TEXT still trying to gain more speed: now new tables are created and the records are copied from the old table 2008-04-18 23:05:11 +00:00
fad6d218a9 * Merged alter statements going over multiple lines into one single statement (should be faster)
* Trying out new way to drop the index keys from AV_TEXT by creating the content table with its index keys from scratch and copying data from AV_TEXT
 * Fixed bug in error handling preventing output and termination
2008-04-18 17:03:29 +00:00
d5199708a4 Added global clean() method: "I'm in ur string zapping all teh gremlinz!" 2008-04-18 13:39:44 +00:00
5de56bbaca Check skin source name before trimming 2008-04-18 13:10:05 +00:00
b9e3311486 * Moved locks on tag and tag_hub tables to corresponding SQL scripts
* Renamed write() method to msg()
2008-04-18 12:35:21 +00:00
a7b9e0b668 * Trying different arrangement of SQL statements to gain speed
* Fixed typo
2008-04-18 12:06:39 +00:00
ba68c4acf3 * Added table locks
* Rearranged order of statements to (hopefully) increase speed
2008-04-18 09:47:55 +00:00
95b0ec404b Only call finalize() if init() was called before 2008-04-18 09:46:00 +00:00
134a384ab8 Re-enabled logging of update statements 2008-04-17 20:52:14 +00:00
d27f6fe93d * Modified output: log() pipes to app.log and write() only returns short feedback over the web
* Moved blinking status indicator into separate scheduler
2008-04-17 20:35:56 +00:00
0a695bf6a0 Fixed updater to reliably output more meaningful information as well as to correctly exit on failures and when finished 2008-04-17 16:14:18 +00:00
e337cf0569 Fixed log and debug output 2008-04-17 13:51:11 +00:00
712febb8dd * Decreased size of log to requests of the current date
* Fixed conversion of AV_SYSLOG: needs auto_increment in log
2008-04-17 07:10:56 +00:00
4529ef27b2 * Removed trailing slash in archive URLs as there is one too many sometimes (now it's one too little sometimes again) 2008-04-17 06:37:21 +00:00
00c032db2d Fixed b/w compatibility for HopObject.skin_macro 2008-04-17 06:30:03 +00:00
5264ec3987 * Added call for trim() before writing a skin source to file
* Added SQL to remove obsolete indexes and add new ones
  * Finally enabled conversion of AV_ACCESSLOG table (still not finished, though)
  * Cleaned up SQL code
2008-04-16 23:14:38 +00:00
9b4a5bc10e * Updated DB mappings of File/Files getting closer to the one of Image/Images
* Disabled ip address property in LogEntry (will be removed in the long run)
 * Removed custom property from Skin (still needs some care)
 * Removed commented code
2008-04-16 23:11:47 +00:00
29ca787190 * Added RSS output for tagged stories
* Fixe paging of tagged items
 * Fixed permissions of Archive when archive mode is "closed"
 * Fixed global breadcrumbs_macro for Root
 * Fixed default value for pageSize in site preferences to reset to the stored value if available
 * Reactivated Skins.safe_action
 * Removed debugging code
2008-04-16 18:03:41 +00:00
06eed430a8 * Refactored Archive due to buggy behaviour of the calendar and general inconsistent code
* Disabled tagging of layout images
 * Disabled "days" page mode (ie. switched to counting stories only)
 * Moved Site.href skin to Site#href (subskin)
 * Fixed minor issues
 * Edited text and messages
2008-04-16 16:42:40 +00:00
d18a5b95fc * Added extra HopObject.skin_macro rendering subskins by default
* Renamed Skin.restore_action to reset_action
 * Trimmed skin sources before writing them to file
 * Slightly improved skin handling code
 * Removed obsolete code
2008-04-15 22:02:29 +00:00
a10cf6bcc9 * Relocated setting of a site's file to create() method in the Files prototype
* Refactored Poll and Polls prototypes (still not really happy)
 * Fixed sorting of sites in Root.updates_xml_action()
 * Allowed access to debug_action in Root
2008-04-15 21:16:21 +00:00
40aec129b8 Adapted modifications in Image to File prototype to achieve similar behaviour (probably Image will be an extent of File, one happy, fine day...) 2008-04-15 15:55:52 +00:00
b1b97ce864 * Removed extra file name handling for images from compatibility layer (which is very nice!)
* Improved image data conversion in updater to only create thumbnail information if there actually is a thumbnail available
 * Fixed some minor issues introduced with the latest changes
2008-04-15 15:19:42 +00:00
578fcfc03a * Replaced relic of setContent() with setMetadata() in Comment.js
* Added $Global.skin as first attempt to move certain skins in a namespace protected from customization
 * Very much improved image editor interface
 * Thoroughly fixed and tested image upload, fetching, thumbnail generation and replacement
2008-04-15 15:01:20 +00:00
fb299aacba * Fixed quotes in welcome text (Root.skin)
* Fixed RSS output and added extra ones for stories and comments
2008-04-14 16:46:39 +00:00
f1feaea3a1 Added fix for HopObject's aspects not being applied after startup (strange, indeed) 2008-04-14 16:44:18 +00:00
63b308a3ef * Excluded content of Message.skins et al. from copying to site layouts
* Added final "OK, good" message to update log
 * Removed obsolete SQL statements
2008-04-14 16:43:36 +00:00
22a1d1a458 Extra setting (var)char columns to UTF-8 is not necessary when converting a whole table's character set 2008-04-13 15:04:29 +00:00
80cff664ef Trying to fix some encoding issues by converting tables/columns to UTF-8 2008-04-13 15:01:10 +00:00
fde500c6dd Second try to fix doubled #values subskin 2008-04-13 12:20:30 +00:00
d34534d210 * Hopefully fixed bug causing #values subskin to appear twice (once empty)
* Added support for staticPath from antville's app.properties
2008-04-13 12:12:26 +00:00
98fbd6158b * Edited messages
* Removed obsolete lines from app.properties
 * Re-enabled setting of res.skinpath in HopObject.onRequest
 * Fixed images collection in Tag prototype
2008-04-12 18:55:08 +00:00
7ce90c739e Load jQuery directly from google.com for now 2008-04-12 18:39:34 +00:00
f1e89009d5 * Renamed sql.skin to convert.skin
* Renamed Updater.js to convert.js
 * Added verification of version number and running state
2008-04-12 18:06:42 +00:00
dd5a0de1ba Refactored the updater back to a stand-alone app 2008-04-12 17:31:20 +00:00
efab46c806 Removed Updater prototype due to refactoring the updater to a stand-alone app 2008-04-12 15:12:57 +00:00
3a0684640f * Re-added site property to Image for generally being able to group images by site
* Added work-around for Helma bug #607 by calling persist() on creating a story or an image before setting the tags
 * Fixed sequence of clipping/embodying and tag stripping in Story.getTitle()
2008-04-12 12:51:47 +00:00
487e4fc2b6 Fixed display of membership / subscription lists 2008-03-27 15:43:47 +00:00
84492cc922 * Modified HopObject.link_macro() to automatically capitalize the default link text
* Added global i18n.js file containing markgettext() calls
 * Wrapped messages with gettext macros wherever found missing
 * Moved contents of remaining diff skin files to Skin.skin
 * Removed Layouts prototype
 * Removed obsolete files
2008-03-27 15:10:31 +00:00
edd800e1ab * Fixed Image.getCompatibleFileName() method
* Added metadata handler for fileName property
 * Commented out Content.setTextAndTitle() aspect method for now
 * Fixed param argument in calls for Story.format_filter()
2008-03-26 16:43:23 +00:00
12556fdc2d * Improved skin editor to finally go into the right direction
* Fixed layout import/export
 * Added Root.VERSION as version reference (currently used in layout import/export)
2008-03-26 12:33:54 +00:00
739de8c972 * Fixed some annoying issues with properties written by Helma's built-in Xml object when exporting / importing layouts
* Show welcome message to privileged users in root site only
2008-03-24 16:09:56 +00:00
22f8632ae1 * Modified updater app to work as repository; thus, code from the main Antville app can be re-used
* Moved all files from Global to new Updater prototype (which is added as mountpoint from within Root)
 * Defined updater, convert and sql as global properties (hope this does not interfere with any third-party Antville installation)
2008-03-24 13:14:53 +00:00
933220031f Added missing final call for save in convert.skins method 2008-03-24 12:18:46 +00:00
e87c850462 Approached final skin/layout conversion by merging skin sources with their parents and writing them as subskin to the corresponding file 2008-03-24 11:31:56 +00:00
e72cf84ce4 * Fixed gettext call in HopObject.delete_action
* Renamed HopObject#delete skin to #confirm
 * Added client-side code for adding layout values
 * Improved skin management (compare aka diff is available again!)
2008-03-21 22:16:54 +00:00
dff9ab34c2 Removed debugging code 2008-03-17 19:47:34 +00:00
815170c2cb * Added further compatibility fixes for story editor
* Updated compatible content_macro and getRenderedContentPart methods of Story
 * Improved compatibility fixes for deprecated macros
2008-03-17 19:46:06 +00:00
1b00d4fdeb * call clearCache() after updates in Story / Comment
* Added work-arounds for tagging problem in Story, Stories, Image and Images until Helma bug #607 is fixed
 * Deprecated getData and setData methods in Metadata
2008-03-17 19:41:10 +00:00