Commit Graph

322 Commits (5be83ed8424a6a51ebf599688c28918cb7a469cd)

Author SHA1 Message Date
jwollert 5be83ed842 don't need #== method for reports anymore 14 years ago
Tim Felgentreff 3e6e493e3c Don't cache the settings widget, single controls may change depending on the current user 14 years ago
Tim Felgentreff 6ca903a2d3 Fix incorrect implementation for writing widgets to string canvas 14 years ago
Tim Felgentreff 83ad9014ab Calculate cache_key only once 14 years ago
Tim Felgentreff 9a560b19d9 Initialize widget @options to empty hash 14 years ago
Tim Felgentreff c04fc02b6c Add permission options to controls 14 years ago
Tim Felgentreff cda55ff979 Make rendering options part of the cache_key for widgets 14 years ago
Tim Felgentreff 3152cb7eab All reporting engine controllers must implement allowed_to? and current_user for the widgets to use 14 years ago
Tim Felgentreff 2d36ce426c Include widget name in widget caching 14 years ago
Konstantin Haase 4f5775380a replace ugly, hackish, broken cache_key with sublime, efficient and working implementation 14 years ago
Tim Felgentreff b728394938 Faster path first 14 years ago
Tim Felgentreff 86ba13175b Don't cache the Label widget - we don't regard the query name for comparison, and it won't change the result 14 years ago
jwollert 8b8cfdba6c use rails helper methods to render the table footer and headers 14 years ago
jwollert a3196802a2 don't need to include calendar files in filter widgets 14 years ago
jwollert cae5321f3b make sure we don't accidently think date widgets are cached 14 years ago
Tim Felgentreff 06dfd57c5a Hack: Send keep-alive packets to the browser while creating a table, to prevent Apache timeouts 14 years ago
jwollert df918b5e1d modal confirmation dialog for progressbar question 14 years ago
Philipp Tessenow 48629bc4fa fetch data from right database 14 years ago
Philipp Tessenow 0e8528327d fix indendation for dependent filters 14 years ago
jwollert 5b4a95f59b animated progress bar to trick the user into thinking that we know what we're doing when actually, we DON'T HAVE ANY CLUE GUYS 14 years ago
jwollert ea2fe6281f cache? dont cache 14 years ago
Tim Felgentreff 838bc8c245 use dsl method 14 years ago
jwollert d2b2d5c889 don't cache the progressbar, as we need to re-evaluate the possibility of a cached ReportTable every time 14 years ago
jwollert 987305fc23 fixes messed up size information for progressbar 14 years ago
jwollert 821a02e4d0 fix progressbar Table cache check 14 years ago
jwollert f91a60dd08 make Widget::Base#cached? public 14 years ago
jwollert d0670ecc4c adjust documentation of Report#serialize 14 years ago
jwollert cb0232479a use old Report#hash method again 14 years ago
Philipp Tessenow c2dc810b1b correctly narrow values of the labels are not equal to values 14 years ago
Philipp Tessenow 938a2a29c8 comment for narrow_values in controller.rb 14 years ago
Philipp Tessenow 7d02d35c49 correctly narrow values for dependents which dont have the name of their fields 14 years ago
Philipp Tessenow b2def1972c enable filters to know a translation for a given value depending on their available values 14 years ago
Tim Felgentreff 391a6b9583 make deactivation of progressbar available in controller through @no_progress 14 years ago
jwollert 010d885fdc don't look for a cached progressbar, but for a cached table. jeezus 14 years ago
jwollert bf29790421 progressbar checks for cached reports first 14 years ago
Tim Felgentreff 4dd424b15a fix NPE 14 years ago
jwollert adc6b5b9c6 only ask whether to render table if it is not yet cached 14 years ago
Tim Felgentreff 4ce42927bd oops, calendar header tags might be empty 14 years ago
Tim Felgentreff ea315ffd95 re-add lost '+' 14 years ago
Tim Felgentreff a23c67deff Widget::Table::Progressbar::THRESHOLD is the heuristically chosen value for 'large reports' (whatever that means) now 14 years ago
Tim Felgentreff f58eeeeb56 actually render the progressbar as response 14 years ago
Tim Felgentreff ad95133671 add progress reporting and streaming to engine 14 years ago
jwollert 1019336938 fix accidentally rendering 2 tables with progressbar 14 years ago
Tim Felgentreff 237805db5f Actually render the cache hits to the canvas, too 14 years ago
Tim Felgentreff 91e0fe7487 Allow widgets to deactivate caching. Use this for the fieldset widget 14 years ago
jwollert db650ddbb0 use streaming widget API and render table widget when we don't hit the progressbar threshhold 14 years ago
Tim Felgentreff 3838a86a2a Code documentation 14 years ago
Tim Felgentreff 1d6abbae2f Provide a @cache_output for cases, where the canvas cannot be marshalled 14 years ago
Tim Felgentreff bb21926573 make sure to set @subject in all widgets 14 years ago
Tim Felgentreff 9ce19f499c enable caching of widgets 14 years ago