Commit graph

25 commits

Author SHA1 Message Date
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
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
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
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
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
47801bbfa3 * Renamed list_macro to stories_macro in Archive and Site (still undecided with the naming, obviously)
* Commented out redundant rendering of layout values
 * Added static Layout.VALUES array
 * Commented out READONLY mode of comments for now
 * Fixed custom content handling in Story (however, content_macro still needs to be fixed!)
 * Fixed rendering of date header by correcting references to Story#date skin
 * Added aspects for b/w compatible story editing
 * Cleaned up aspects
 * Fixed deprecated Story macros for b/w compatibility
 * Added missing entries to translation table of updated app
2008-03-04 17:01:31 +00:00
ce76bd48b5 Added code to replace layout.XXX macros with corresponding value macros and thus, sparing the compatibility layer some transformations 2008-01-19 18:44:44 +00:00
22308dd329 Added special hack to link from Membership back to Members in some subskins 2008-01-19 18:30:45 +00:00
5044e3610a Improved renaming algorithms to move skin sources from the database to their new places as well as replacing their macro calls with the updated prototype and skin names. (This looks like the way to go, yay!) 2008-01-19 11:18:55 +00:00
0e26b83eb5 Removed the ugly work-around to correctly render compatible skins introduced with a recent commit. Instead, the updater application takes care of already producing usable skin files (ie. all skins go as subskins in a file named after the corresponding prototype) 2008-01-18 19:39:40 +00:00
ece3bedc6d * Moved some compatibility fixes from main application code to compatibility layer (aspects)
* Moved complete navigation from Site's page.skin to Site#navigation skin
 * Fixed compatibility macros with checks for deprecated skins
 * Fixed bug preventing layout directory from being removed and overwritten with current layout files when dumping skins in updated application
2008-01-06 14:15:55 +00:00
65359c0482 * Improved HopObject.link_filter() method to fallback to main action by default - unlike HopObject.link_macro()
* Added missing cases for Tags and Root prototypes in Images.getPermission() and Images.main_action()
 * Extended Story.url_filter() to display files as link followed by the host in brackets
 * Renamed type.properties to ImageMgr.properties in compatibility layer
 * Fixed most compatibility methods of File, HopObject, Image, Members, Membership, Metadata prototypes
 * Fixed a few compatibility methods in Root, Site and Story prototypes
 * Fixed creation of Image.thumbnailName in updater
 * Added setting of Image.contentType in updater
 * Fixed creation of thumbnail information in SQL for image conversion
 * Added target to create log table in case ACCESS_LOG is too big to be dumped from original database
2008-01-05 17:57:39 +00:00
874d8c6b58 * Added fix to remove whitespace before "px" in CSS values
* Lowercased keys of basic layout information
2008-01-04 14:10:30 +00:00
bf93e608e4 Dump active skins to new (single) layout directory 2007-12-07 16:53:04 +00:00
aa11e5db88 * Replaced occurrences of User.visisted with User.modified
* Set application's charset to UTF8
 * Added Layout.getFile() method returning the layout's directory as helma.File
 * Simplified Layout.getSkinPath() method (still work in progress)
 * Replaced occurrences of Site.language with Site.locale
 * Modified some wording
 * Added slight b/w compatibility fix in Story.macro_filter() method
 * Added timex factor in Story.getDelta() method to prevent counting  edits as site updates in-beteen 10 minutes
 * Moved site-related aspect hooks to Site prototype of compatibility module
 * Removed obsolete conversion code in compatibility module (has moved to updater app)
 * Re-included spacer_macro() method in compat. module
 * Temporarily overwrote HopObject.renderSkin() method to debug skin rendering process
 * Replaced individual legacy macros of Layout prototype by appropriate code in onUnhandledMacro() method (compat.)
 * Reflect legacy macros of Layout prototype in value() method of compat. module
 * Added and improved compatibility methods
 * Implemented support for renamed prototypes in updater app (still needs to be applied for database, too)
2007-10-21 16:49:16 +00:00
1df1c87525 * Added version headers
* Renamed status_js_action() to out_action()
 * Fixed column names when setting metadata of Site objects
 * Renamed print() method to log()
 * Replaced println() method with debug() which is a wrapper for log() when debug is set to "true" in app.properties
 * Fixed SQL scripts
 * Re-arranged order of SQL rename statement (comes first now)
 * Moved update of AV_SYSLOG table to last position because it already needs the updated user table
2007-10-19 18:59:04 +00:00
2578fcd36f * Finalized user and skin conversions
* Fixed output encoding
2007-10-18 02:15:10 +00:00
00a6aa86a1 Initial commit of Updater app 2007-10-18 00:33:05 +00:00