Commits

Author Commit Message Labels Comments Date
Luke Plant
Updated installation instructions.
Luke Plant
Cleaned up .hgtags file
Luke Plant
Split presentation.py module (over 1000 lines) into a set of modules. Also added tests to increase test coverage, and culled some old code that was no longer needed, updating some tests in doing so.
Luke Plant
Added CSS for the preview box for layouts with 5 - 6 columns.
Luke Plant
Fixed broken error message for incorrect command order, and added test. Also moved related assertions to the module level.
Luke Plant
Code cleanup, fixing DRY violation and fixing small frontend bug with ordering of command blocks. Layout commands now define their logical order and the layout classes used to build the corresponding layout structure. The layout classes also define whether they accept content. This allows the logic regarding building layouts to be simpler, and allows the frontend to order command blocks without hard-coding special knowledge about the commands. This fixes a bug with the ordering of 'inner ro…
Luke Plant
Fixed a variable re-naming bug.
Luke Plant
Fixed some OAOO violations. Split CSS for 'New row' etc command blocks into CSS for all commands ("secommand"), and CSS that can be defined dynamically use the verbose name of the command. Also fixed some hard coding of the CSS selectors for command blocks. Some comments also corrected.
Luke Plant
Fixed preview of 'div's that are actually part of content. These divs can be inserted by post-formatting hacks.
Luke Plant
Fixed bug with section ID being used in error message instead of friendly name.
Luke Plant
Remove error for duplicate heading names and improve 'friendly' name when content is empty
Luke Plant
Fixed an old instance of 'newinnerrow' and 'newinnercol'
Luke Plant
Added checking for max column violations for inner columns
Luke Plant
Fixed preview of inner rows/columns
Luke Plant
Added 'innerrow' and 'innercol' to help text about allowed_elements. For UI consistency, this required changing newinnerrow -> innerrow and newinnercol -> innercol in tests and in command definition.
Luke Plant
Fixed extract_presentation to work with inner row/col.
Luke Plant
Rewrote _create_layout(). This has the side effect of eliminating unneeded '<div class=row>' divs, so the tests had to be updated. Keeping the old behaviour is tricky.
Luke Plant
Simplified layout rendering by removing 'Layout' class and moving logic to LayoutRow
Luke Plant
Implemented layout of inner rows and columns. Implementation is fairly hideous, but serves as a basic working point.
Luke Plant
Removed some unused code.
Luke Plant
Restructured layout rendering in preparation for need for nested layouts.
Luke Plant
Clarified some comments.
Luke Plant
DRY violations fixed - created 'prefix' property on PresentationCommand class.
Luke Plant
Removed unnecessary _NEWROW_PREFIX and _NEWCOL_PREFIX constants
Luke Plant
Removed some code duplication.
Luke Plant
Fixed a failing test, caused by cleaning of hard spaces.
Luke Plant
Beginnings of 'Inner row' and 'Inner column' commands, and frontend changes to make them work.
Luke Plant
Removed obsolete help text.
Luke Plant
Correction to category metadata in setup.py
Luke Plant
Various updates to README information.
  1. Prev
  2. Next