Commit Graph

18442 Commits (b38996475dd09e5c3709397cd28fb6f69cb0b51c)

Author SHA1 Message Date
Tim Plunkett f200debb4d Issue #1760586 by tim.plunkett: Refactor and reorganize the tests. 2012-10-21 22:48:45 -04:00
alasdair86 3e354810de Issue #1748168 by ACF | tim.plunkett: Convert or document all usages of db_query(). 2012-10-21 22:48:45 -04:00
Bojan Zivanovic 9965220abd Issue #1760396 by bojanz: Clean up PrerenderList. 2012-10-21 22:48:45 -04:00
Tim Plunkett 93cbe5c43e Remove legacy code for default Views and exportables. 2012-10-21 22:48:45 -04:00
Tim Plunkett f4805c6bf5 Go through all of the Configurables code, add/update documentation, and clean-up code. 2012-10-21 22:48:44 -04:00
xjm 9345beada5 Documentation improvements. 2012-10-21 22:48:44 -04:00
Daniel Wehner 56849e2a1f some minor cleanup of some docs 2012-10-21 22:48:44 -04:00
Daniel Wehner 79629a5f48 Get rid of more CTools export code. 2012-10-21 22:48:44 -04:00
damiankloip e4abe393d5 Added docblocks for ViewStorage and ViewStorageController 2012-10-21 22:48:44 -04:00
Daniel Wehner aeabd304fe Fix notices. 2012-10-21 22:48:44 -04:00
Daniel Wehner dd333e57d6 Clear the Views cache everytime a view is created. 2012-10-21 22:48:44 -04:00
damiankloip fee13c0487 Refactored ViewStorageTest into helper functions 2012-10-21 22:48:44 -04:00
Daniel Wehner 2b5d64241d Remove and comment out unneeded tests. 2012-10-21 22:48:44 -04:00
Daniel Wehner 77038453e8 Don't use the CTools export cruds anymore but directly use the entity system. 2012-10-21 22:48:44 -04:00
damiankloip ea3e288d53 Added enabled/disabled tests. 2012-10-21 22:48:44 -04:00
Daniel Wehner 3edf19ce63 Change the status of a view in the UI 2012-10-21 22:48:43 -04:00
Daniel Wehner 74e8a3db58 Remove default views. 2012-10-21 22:48:43 -04:00
Daniel Wehner 293fa0c384 Fix the exposed form tests. 2012-10-21 22:48:43 -04:00
damiankloip 3a993a051a Removed constructor from ViewStorage 2012-10-21 22:48:43 -04:00
damiankloip b260fc135a Implement ViewStorageInterface on ViewStorage 2012-10-21 22:48:43 -04:00
damiankloip 151d7b25fb Added a ViewStorageInterface 2012-10-21 22:48:43 -04:00
Daniel Wehner cc9d0ca5c1 Add tests to check whether the right display handlers are used 2012-10-21 22:48:43 -04:00
Daniel Wehner 6b7288feb1 Use plugin_id instead of type in view::add_display 2012-10-21 22:48:43 -04:00
damiankloip 7f04b59829 Added temporary parameters to default views to avoid warnings 2012-10-21 22:48:43 -04:00
damiankloip 6aa0208070 Added default values for default display plugin 2012-10-21 22:48:43 -04:00
damiankloip 5ee195f5f3 Add a test to check creation and saving of a new display 2012-10-21 22:48:43 -04:00
Daniel Wehner 10db2c1799 Simplify the constructor of ViewDisplay. 2012-10-21 22:48:43 -04:00
Daniel Wehner b93c8e0e54 Provide a sane default for the displays. 2012-10-21 22:48:42 -04:00
Daniel Wehner 4ed293f8a5 Add tests to save and load the view and see that the config stays the same. 2012-10-21 22:48:42 -04:00
damiankloip 72c5850596 Removed db_table property from ViewStorage. 2012-10-21 22:48:42 -04:00
damiankloip 5799c9fa35 Renamed ViewsStorageTest and ViewsDisplay. 2012-10-21 22:48:42 -04:00
Daniel Wehner 4689534744 Make sure that the display object is converted into the config object as required. 2012-10-21 22:48:42 -04:00
Daniel Wehner ec2a950563 Override CTools callback to load view objects via the entity controller. 2012-10-21 22:48:42 -04:00
damiankloip aae02bde02 Removed reference in entity paramter in attachDisplays() 2012-10-21 22:48:42 -04:00
damiankloip e01e4194dc Refactored attachDisplays() method to use get/set methods 2012-10-21 22:48:42 -04:00
damiankloip 752319c127 Added delete test 2012-10-21 22:48:42 -04:00
damiankloip 1c68d776e3 Docs for attachDisplays() method 2012-10-21 22:48:42 -04:00
damiankloip d222c3f99a Moved display_option in constructor inside conditional 2012-10-21 22:48:42 -04:00
damiankloip b30d03cf4a created tests 2012-10-21 22:48:42 -04:00
damiankloip 3a169279ee Added id() method to ViewStorage 2012-10-21 22:48:42 -04:00
damiankloip b12d843679 Added initial save tests 2012-10-21 22:48:41 -04:00
damiankloip 283d9f907b Added attachDisplays() method to ViewStorageController 2012-10-21 22:48:41 -04:00
damiankloip 65b1a47c3a use format_patch instead of t, Added create tests 2012-10-21 22:48:41 -04:00
xjm 34b980b39e Improved documentation in the ViewsStorageTest. 2012-10-21 22:48:41 -04:00
damiankloip 701b0d809a Amended ViewStorageController::save for display settings 2012-10-21 22:48:41 -04:00
damiankloip 8b23810c70 Updated comments in ViewsStorageTest 2012-10-21 22:48:41 -04:00
damiankloip ff25778e1f Added ViewsStorageTest file and load assertions 2012-10-21 22:48:41 -04:00
damiankloip a3887c83d6 Added save method to controller, with static property array so all views properties aren't saved 2012-10-21 22:48:41 -04:00
damiankloip 662298a20d Fixed ViewsDisplay constructor display options location 2012-10-21 22:48:41 -04:00
damiankloip 65d6740e98 Removed some un-needed crud operations from view object 2012-10-21 22:48:41 -04:00