Commit Graph

72 Commits (d877a72f13a57d666d0bd790c8745573606d66cb)

Author SHA1 Message Date
Richard c374d453ac Can now display custom field data on cards. 11 years ago
Richard ec399bc4fa WIP. config accepts custom_field property and checks model for custom fields if it's true. not tested at all. 11 years ago
Richard a533d4ae9f Changed the copyright message. 11 years ago
Richard 49e7f72fec Bold text on all labels. 11 years ago
Sebastian Schuster 6988cdebe2 Fixed copyright notice and adapted engine to use new plugins plugin 11 years ago
Richard 61d354b859 This had already been implemented in the old version. Copy and paste ftw! 11 years ago
Richard 24d28384c3 In the config file the value "indentation: true" will result in the column content being indented from the label if there is a label. 11 years ago
Richard 58669779dc Min row height is now checking all row columns. 11 years ago
Richard a64219fc22 Adjust group padding and made some adjustments to config format. 11 years ago
Richard 115d7c4a2f Introduced GroupElement class. Config syntax changed so that now rows have to be part of a group. 11 years ago
Richard 1a22dcdb35 Text size is now reduced before being truncated if min and max sizes are given in the config. 11 years ago
Richard c6686168b3 Renamed TaskboardCardConfiguration to ExportCardConfiguration. 11 years ago
Richard 3db636bcfa Row elements are now rendered inside their own bounding boxes and borders can be drawn around it by defining has_border on the row in the config. Column text can now be aligned. Removed copypasted crap from readme. 11 years ago
Richard 7ee0929d0c Made various modifications as per Jens's pr review including: aesthetic changes to the generated pdf and tightening up the ui to prevent user from doing stupid stuff like deleting the default config. Fixed tests. 11 years ago
Richard e4fc7549c8 Moved admin menu item loading into the engine file. Now everything is in the plugin and nothing is required in the openproject app (i think:/) 11 years ago
Richard b8a23f7416 Raising and catching badly formed yaml errors. 11 years ago
Richard 62e9c4d43f now have a create action for taskboard cards. we will want to move all of this into a proper admin section for taskboard cards. 11 years ago
Richard 516dde86e4 wrote some tests. really not all that much to test:/ 11 years ago
Richard 11ed6be091 option to render line underneath row. 11 years ago
Richard 1fa1a9a2f0 rending multiple cards per page, as defined in the config. 11 years ago
Richard 945079fdf4 set up specs. added orientation to config. 11 years ago
Richard 4f7712555b Basic rendering of child elements. 11 years ago
Richard aaca1dbd9c hard coded documente generator to render all pages, one per page. 11 years ago
Richard a1cf452aa7 pruning empty rows before calculating row sizes. 11 years ago
Richard bc2cafa68e column widths being calculated from config values. 11 years ago
Richard 31f39fe776 Algorithm now taking row priorities into consideration and reducing the least important first. 11 years ago
Richard 60139897d6 made the height adjusting algorithm a bit better - adjusting multiple rows now to try and fit everything in. 11 years ago
Richard 45e34ec975 First attempt at an algorithm to assign row heights based on minimum number of lines in row config. Currently not considering priorities. 11 years ago
Richard 81c5b6ab5f implemented basic column positioning. supporting non-string attributes and font sizes. 11 years ago
Richard 8ede393ea4 refactoring. modularised the page elements into models and now rendering text boxes as a heirarchy. 11 years ago
Richard 35cf6fad26 Altered config so that property id is column name. 11 years ago
Richard fb87caa903 using page size default A4. 11 years ago
Richard 6c228762ee Setup an open project plugin. Copy pasted over some of the code from the backlogs plugin to get a minimum pdf being rendered with prawn. Rigged it up to read in the config from new taskbord_card_configuration model. Just now only the page_size property is being used. This is a basic implementation of ticket 3501. 11 years ago