Started adapting the render-page controller to read from an sqlite file
- Added guide.db to .gitignore
- Added a function ensuire_sqlite_download
- Added DATA_SOURCE, API and SQLITE constants to ease checking the data source method used
- Renamed the cache_* variables to api_cache_*
- Changed to only load the api_cache requirements if data source is API
Used curl to load_db
- Realized SimpleCache could work just as well
- Experienced an error writing the downloaded db file
Changed to store the sqlite db in .cache/ directory
- Renamed .json-cache/ to .cache/
- Added a check to see if the local fopen was successful
- Succesfully got the sqlite db saved in .cache/ directory
Renamed $loader to $twig_loader
Switched to sqlite3 and modified data fetching to allow sqlite
Added sqlite3 to puppet php manifest, not working
- Missing sqlite being provisioned on the system
Enabled sqlite in vagrant
- Added the sqlite package from https://github.com/puppetlabs/puppetlabs-sqlite
- Changed the php puppet module to use php5-sqlite instead of php5-sqlite3
Fixed bug in fetching data from DB
Changed the guidebook URL to https
Removed DATA_SOURCE detection, assuming DB-only
Removed get_all_results_pages for program data
Adapted the program index page to pull data from db
Changed the session page to use the DB data
- Added a parse function to correct image urls
- Replaced the fetch_links parse function with parse_links, which converts from json to array form
- Updated the session template file to work with the new link attributes, only using http URLs
- Added is_single_object_expected flag for each type of db call to assemble the correct $data object
Added the accommodation page to work with the DB
- Added parse_links, get_correct_image_urls to all details pages templates
- Modified the image inclusion in all details page templates
- Modified the links inclusion in all details page templates
Added the accommodation list page to fetch from the DB
Added all remaining index pages to fetch from the DB
- Enforced order of results to be by rank
Added all remaining details pages to fetch from the DB
- Fixed bug with empty links object
- Fixed links list on Sponsor's details page
Removed remaining API mentions
Extracted the configs to a config file, changed to constants
Removed the submodule for simplecache