Commit Graph

  • 4dcc1b0e04 Made persistence design more flexible, and no requirement on mysql by default. storage_revisited_20150119 Jocelyn Fiat 2015-01-19 19:20:42 +01:00
  • 8c74c7a268 Updated log directory location if the argument `-d' is present. jvelilla 2015-01-14 20:55:24 -03:00
  • db9e40cec4 Updated CMS_SERVICE to make the cms library complete void-safe. Reviewed configuration related feature. Renamed JSON_CONFIGURATION as APPLICATION_JSON_CONFIGURATION_HELPER to avoid confusion. Updated CMS_DEFAULT_SETUP to use configuration from cms configuration library. Added {CMS_API}.module_configuration (a_module_name: READABLE_STRING_GENERAL; a_name: detachable READABLE_STRING_GENERAL): detachable CONFIG_READER to help getting access to configuration of a module (for now, only json and ini are supported, but in the future, this could support database layer directly) Added CMS_HOOK_BLOCK_HELPER to reuse the template_block (..): ... function. Cosmetic Removed CMS_SETUP.smtp_server since for now, there is no need for such general setting. Add header line "X-ServerEWF-App: CMS" as a simple way to know if request is processed by the CMS. Jocelyn Fiat 2015-01-14 18:25:26 +01:00
  • 792880aa7a Update Module implementation Javier Velilla 2015-01-02 10:43:17 -03:00
  • 5ad8c680a6 Add your own Module Javier Velilla 2014-12-31 08:06:54 -03:00
  • e2f02953f4 Refactor rename error_500_cms_response to internal_server_error_cms_response Added bad_request_error_cms_response Updated code example to use the new internal_server_error_cms_response instead of error_500_cms_response class. Removed class error_500_cms_response. jvelilla 2014-12-19 18:03:52 -03:00
  • bd26deb6c1 Updated cms configuration file with an smtp server property. Updated cms code to use the new property. Removed title from the home response. jvelilla 2014-12-17 09:16:19 -03:00
  • a9109ca8f7 Updated CMS_SMARTY_TEMPALTE_BLOCK, redefined out to be used by the logger. Updated CMS_API, added wrapper features to access error_handler. has_error, reset, as_string_representation, hide the actual error hanlder implementation. Updated Error Filter with better logging. jvelilla 2014-11-26 13:57:04 -03:00
  • 09e5dc4032 Removed a few obsolete calls related to JSON library. + cosmetic Jocelyn Fiat 2014-11-20 15:14:34 +01:00
  • d082326784 Removed useless CMS_CUSTOM_SETUP. Jocelyn Fiat 2014-11-20 14:57:19 +01:00
  • 51462829c7 reverted renaming to use `modules' for available modules. Added CMS_SETUP.register_module (m) to avoid extending directly to the CMS_SETUP.modules Jocelyn Fiat 2014-11-20 14:53:54 +01:00
  • ba58fcdf75 Updated cms library with comments, and removed a few JSON obsolete calls. Jocelyn Fiat 2014-11-20 14:11:28 +01:00
  • d84f164dbd Update concepts.md Javier Velilla 2014-11-19 13:20:53 -03:00
  • c3d022ce46 Refactor raname {CMS_SETUP}.modules as {CMS_SETUP}.available_modules Refactor raname {CMS_SETUP}.modules_enabled as {CMS_SETUP}.enabled_modules Updated code to use the new features names. jvelilla 2014-11-19 13:20:07 -03:00
  • aac01e093a Added {CMS_SETUP}.modules_enabled: CMS_MODULE_COLLECTION Updated {CMS_SERVIDE}.intialize_modules to use the new feature {CMS_SETUP}.modules_enabled Updated cms_hook_block description jvelilla 2014-11-19 12:13:07 -03:00
  • fb62a1bb3e Merge branch 'roc_template' of https://github.com/jvelilla/ROC into roc_template jvelilla 2014-11-19 11:50:56 -03:00
  • 6162432d52 Update concepts.md Javier Velilla 2014-11-19 11:32:59 -03:00
  • ebed52ae01 Update concepts.md Javier Velilla 2014-11-19 11:16:02 -03:00
  • b58eeeac26 Added comments. Jocelyn Fiat 2014-11-19 13:34:42 +01:00
  • 9169bdcd43 Removed shared_error from CMS_API Added Missing theme and Missing tempalte classes. Updated CMS_RESPONSE to handle missing template and send a 503 status code with a raw response. jvelilla 2014-11-19 09:22:31 -03:00
  • e36465f86d Update concepts.md jvelilla 2014-11-18 09:26:52 -03:00
  • 76190de218 Fixed non void-safe compilations, and cleaned .ecf files. +Cosmetic Jocelyn Fiat 2014-11-18 10:05:50 +01:00
  • 0edff7853b Removed default_theme. Update theme and smarty theme description jvelilla 2014-11-17 22:37:10 -03:00
  • e20a7af301 Merge pull request #15 from jvelilla/roc_template jvelilla 2014-11-17 13:08:33 -03:00
  • 089b367c95 Update concepts.md jvelilla 2014-11-17 13:08:01 -03:00
  • 503f2faf08 Update concepts.md jvelilla 2014-11-17 13:03:13 -03:00
  • b887c13664 Renamed files and added tutorial document jvelilla 2014-11-17 12:44:37 -03:00
  • bbfe063b5c Update CMS_concepts.md jvelilla 2014-11-17 12:26:58 -03:00
  • 1a4e2935da Update README.md jvelilla 2014-11-17 12:23:37 -03:00
  • c3a582f85c Added cms_concepts jvelilla 2014-11-17 12:10:51 -03:00
  • 8bfb66af30 Added cms_smarty_template_block Added CMS_RESPONSE.module_assets_location and CMS_RESPONSE.module_assets_theme_location that help locating module related assets. Added CMS_BLOCK.is_raw to abstract CMS_CONTENT_BLOCK.is_raw Jocelyn Fiat 2014-11-14 19:31:40 +01:00
  • 6aad460b11 Updated ecf files, and added non void-safe .ecf files. Jocelyn Fiat 2014-11-14 13:21:49 +01:00
  • 0dc12b82b8 Merge pull request #14 from jvelilla/roc_template jvelilla 2014-11-14 08:26:06 -03:00
  • 8047880c2b Update sqlite implemenation to make it compile jvelilla 2014-11-13 23:46:02 -03:00
  • 48283742aa Merge pull request #13 from jocelyn/minor_changes_20141113 jvelilla 2014-11-13 15:28:39 -03:00
  • 76bdbeaa2a Renamed {CMS_SETUP} theme_resource_location as theme_assets_location Added missing known hook in auto register hook. Implemented /theme/* file system response. Implemented $page.type for the smarty template. Added CMS_DEBUG_MODULE . Added NOT_FOUND_ERROR_CMS_RESPONSE . minor_changes_20141113 Jocelyn Fiat 2014-11-13 19:25:01 +01:00
  • 44a1dd62cb Merge pull request #12 from jvelilla/roc_template Jocelyn Fiat 2014-11-13 16:10:40 +01:00
  • 1f8be4e37f Fixed typo in readme.md jvelilla 2014-11-13 11:59:14 -03:00
  • d963fd218b Refactor directory structrue jvelilla 2014-11-13 11:57:36 -03:00
  • 8ab4343d5b Merge pull request #11 from jvelilla/roc_template Jocelyn Fiat 2014-11-13 14:57:46 +01:00
  • 9af6356f0a Added README doc. Renamed example/roc_api to demo. Added contracts jvelilla 2014-11-13 10:50:54 -03:00
  • b16048eb18 Merge pull request #10 from jocelyn/copyright_20141113 jvelilla 2014-11-13 09:00:21 -03:00
  • 71734a6dd7 Renamed model-safe.ecf as cms_model-safe.ecf since it is very specific to the cms. Fixed compilation issue due to recent use of STRING_TABLE. Jocelyn Fiat 2014-11-13 11:15:35 +01:00
  • 9cd53c7c78 updated readme. Jocelyn Fiat 2014-11-13 10:53:57 +01:00
  • a51d0d3c68 Added copyright, various description notes. Added CMS_EXTERNAL_LINK, and improve various link interfaces. Structured the model library with sub folder: user, link and content. Jocelyn Fiat 2014-11-13 10:50:22 +01:00
  • b3c2879b07 Merge pull request #9 from jocelyn/auto_hook_20141112 jvelilla 2014-11-12 22:37:30 -03:00
  • e1feee51f9 Restore implementation for auto register hooks. Jocelyn Fiat 2014-11-12 22:35:24 +01:00
  • 2aaed89417 Merge pull request #8 from jvelilla/roc_template Jocelyn Fiat 2014-11-12 21:55:25 +01:00
  • 789b26eafa Move libraries layout', model', `peristence' under cms folder Updated code to the new layout. Added missing comments. Remove /example/api jvelilla 2014-11-12 17:24:34 -03:00
  • a576c38d42 Merge pull request #7 from jocelyn/cosmetic_20141112 jvelilla 2014-11-12 13:19:59 -03:00
  • a524b80108 Made CMS_SETUP.site_url detachable. Cosmetic, avoid long lines of comments. Added debug ("refactor_fixme") around a few REFACTORING_HELPER.fixme (...) Better message for a few fixme(...) related to unimplemented routines. Jocelyn Fiat 2014-11-12 17:13:18 +01:00
  • 48a8ac4a1c First step toward more generic way to handle hook subscribers. Jocelyn Fiat 2014-11-12 16:50:20 +01:00
  • 1d4e9df917 Merge pull request #6 from jvelilla/roc_template Jocelyn Fiat 2014-11-12 16:51:23 +01:00
  • 2d5c1a5e41 Updated Descriptions to classes and features jvelilla 2014-11-12 12:30:09 -03:00
  • fba9b598f9 Merge pull request #5 from jocelyn/hook_20141112 jvelilla 2014-11-12 12:27:00 -03:00
  • c3d48c47cc Renamed CMS_RESPONSE.add_..hook with subscribe_to_..._hook Renamed CMS_RESPONSE.call_..hook with invoke_..._hook Renamed CMS_HOOK_VALUE_ALTER as CMS_HOOK_VALUE_TABLE_ALTER Renamed CMS_HOOK_MENU_ALTER as CMS_HOOK_MENU_SYSTEM_ALTER Added new CMS_HOOK_MENU_ALTER that acts on CMS_MENU object. hook_20141112 Jocelyn Fiat 2014-11-12 16:12:42 +01:00
  • 96ceb2481a Merge pull request #4 from jvelilla/roc_template jvelilla 2014-11-12 07:07:12 -03:00
  • 590bd8fc3a Merge pull request #1 from jocelyn/roc_template_jfiat jvelilla 2014-11-12 06:44:37 -03:00
  • 96da59c4cb Added notion of "front" page. Changed CMS_HOOK_BLOCK.get_block_view to accept only attached string for `a_block_id'. Keep simple name in CMS_MENU_SYSTEM. Module that implements a CMS_HOOK need now to redefine CMS_MODULE.register_hooks . Added simple code for NODE_MODULE, in order to see something. Added CMS_URL_UTILITIES that should be used to compute url for cms path such as "/foo/bar". Implemented get_active in CMS_RESPONSE to update the "is_active" on each link. Added NOT_IMPLEMENTED_ERROR_CMS_RESPONSE. Implemented a few hooks in DEMO module, for testing. Updated smarty template related code. Jocelyn Fiat 2014-11-10 19:22:01 +01:00
  • b0930299fc Fixed assertion violation when DATABASE_NULL is instanciated. Jocelyn Fiat 2014-11-10 15:00:00 +01:00
  • abe9de621e Made examples/api compilable. Jocelyn Fiat 2014-11-10 14:59:30 +01:00
  • 241b003542 Renamed CMS_API_SERVICE as CMS_API . Reversed the design, and break dependency CMS_SETUP => CMS_API . Now CMS_API has attribute setup: CMS_SETUP . Moved error_handler from CMS_SETUP to CMS_API. The instance of CMS_SETUP is used when instanciating modules. The instance of CMS_API is used when instanciating CMS_REPONSE and Handlers/Filters. The instance of CMS_API is passed as argument to build the CMS_MODULE.router and filter. Jocelyn Fiat 2014-11-10 14:59:17 +01:00
  • 730f6d42a4 Updated Node module and theme to use the new rendering strategy. jvelilla 2014-11-08 06:10:43 -03:00
  • 75d34870fa Merged Old CMS code with new CMS code. Pending: Update code to use the new theme jvelilla 2014-11-07 18:23:25 -03:00
  • 2c130cf882 Update theme information defining a navigation strategy Updated code to use a new navigation strategy. jvelilla 2014-11-07 09:15:30 -03:00
  • 223a5fafdb Updated page header template jvelilla 2014-11-07 07:52:44 -03:00
  • f1b911b6e3 Updated block and template to render regions jvelilla 2014-11-06 22:33:48 -03:00
  • b90e3b3df0 Added a CMS_ENCODER utility class. Added a block header template: smarty engine. Added a menu template: smarty engine. jvelilla 2014-11-05 07:45:36 -03:00
  • bafdc085d9 Added refactoring helper class to add comments. jvelilla 2014-11-04 11:31:43 -03:00
  • b11462105a Initial implementation with Hooks, Regions and Templates Updated Modules to support hooks, still work in progress. jvelilla 2014-11-03 12:40:54 -03:00
  • 5cb26f0b24 Updated Peristance layer to use the new error_hanler based on EWF error library. Remove once use from DATABASE_ERROR_HANDLER. Initial support transaction handling. jvelilla 2014-10-17 08:53:02 -03:00
  • 3c73202a0d Initial Import Model Library jvelilla 2014-10-15 19:41:47 -03:00
  • 8a06dc11ac Merge branch 'roc_pe' of https://github.com/jocelyn/ROC into roc_pe jvelilla 2014-10-14 17:22:40 -03:00
  • ab76a752d7 Added nested transaction support. Added test cases showing transaction support scenarios. jvelilla 2014-10-13 18:45:45 -03:00
  • 4b9a692c2c Initial Import: Database transaction handling. Initial Import: Error handling using ewf error library. Added a CMS_ERROR_FILTER as part of registered filters of CMS_SERVICE jvelilla 2014-10-09 10:01:49 -03:00
  • b8257e7bf0 Clean code: removed unused variables. Move BASIC_AUTH module to ROC_SERVER setup, as an example of module extension jvelilla 2014-10-08 16:33:41 -03:00
  • 4841039d4a Renamed void-safe ecf using -safe.ecf convention. Added a cms_demo_module, for now pretty empty, but it will be used to develop/test the cms core. Jocelyn Fiat 2014-10-14 15:24:24 +02:00
  • 609d71a0e9 Added nested transaction support. Added test cases showing transaction support scenarios. jvelilla 2014-10-13 18:45:45 -03:00
  • 8d79447cf8 Initial Import: Database transaction handling. Initial Import: Error handling using ewf error library. Added a CMS_ERROR_FILTER as part of registered filters of CMS_SERVICE jvelilla 2014-10-09 10:01:49 -03:00
  • 36dc48125c Clean code: removed unused variables. Move BASIC_AUTH module to ROC_SERVER setup, as an example of module extension jvelilla 2014-10-08 16:33:41 -03:00
  • d183ab8130 Merge pull request #3 from jocelyn/jfiat_roc_auth jvelilla 2014-10-08 14:45:51 -03:00
  • 6fc38272fe Merged back list of available modules in CMS_SETUP. Jocelyn Fiat 2014-10-08 19:32:30 +02:00
  • 51e1058409 Redesign part of CMS_MODULE, and implementation. Prepare the module before creating the service. Remove the possibility to add module after the creation of the service. Renamed CMS_MODULE_CONFIGURATOR as CMS_MODULE_COLLECTION. Jocelyn Fiat 2014-10-08 17:04:34 +02:00
  • 965b0e9f7d Added CMS_MODULE_CONFIGURATOR. Added a default implementation of CMS_MODULE_CONGIRATOR. Updated CMS_SERVICE, to use the new CMS_MODULE_CONFIGURATOR. Updated Example. jvelilla 2014-10-07 17:52:13 -03:00
  • c94e5391e9 Layout: got rid of onces per thread function. Renamed launch_cms' as initialize_cms' which reflects better the implementation. Minor cosmetic or warning changes. Jocelyn Fiat 2014-10-08 14:24:49 +02:00
  • b004ac8ae0 Merge branch 'jvelilla-roc_auth' jvelilla 2014-10-02 21:02:06 -03:00
  • c3e23e1697 Merge branch 'roc_auth' of https://github.com/jvelilla/ROC into jvelilla-roc_auth jvelilla 2014-10-02 21:01:32 -03:00
  • 3fe166b768 Updated CMS libary: Initial Basic Authentication Node with filters. Updated ROC API to use the new module. jvelilla 2014-10-02 20:52:14 -03:00
  • a0cb7c0ecc Added Initial Basic Auth Module jvelilla 2014-10-02 15:32:30 -03:00
  • e053ffceef Fixed issue with Filters. jvelilla 2014-10-02 12:00:10 -03:00
  • 5525134148 Updated CMS roc_service jvelilla 2014-10-01 17:47:16 -03:00
  • 5a5eb0dea2 Forgot to commit the README FILE jvelilla 2014-10-01 14:14:09 -03:00
  • 52cc566e15 Added SQLite ODBC example under test/APPLICATION.e class. Fixed compilation issues with SQLite implemenation. (need to be updated) jvelilla 2014-10-01 14:11:17 -03:00
  • 27a11f2eea Initial CMS API commmit. jvelilla 2014-10-01 12:17:39 -03:00
  • 588827b495 Updated Example (API) to use the new CMS_STORAGE interface. jvelilla 2014-09-21 15:53:09 -03:00
  • fb9157dbb4 Updated CMS_STORAGE interface. Added test cased for MySQL implementation. jvelilla 2014-09-20 19:55:43 -03:00
  • ce05da15b5 Updated CMS_STORAGE interaface. jvelilla 2014-09-19 15:31:58 -03:00
  • 878daa656c Updated database script. Database Node support versions and editor id. Updated NODE_DATA_PROVIDER with new features. jvelilla 2014-09-19 14:48:20 -03:00
  • feaef700be Updated MySQL database script jvelilla 2014-09-19 08:19:47 -03:00
  • 17ceed1c91 Added node collaborators, author. Added test cases. jvelilla 2014-09-18 21:00:08 -03:00