Commit Graph

450 Commits

Author SHA1 Message Date
b0930299fc Fixed assertion violation when DATABASE_NULL is instanciated. 2014-11-10 15:00:00 +01:00
abe9de621e Made examples/api compilable. 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.
2014-11-10 14:59:17 +01:00
jvelilla
730f6d42a4 Updated Node module and theme to use the new rendering strategy. 2014-11-08 06:10:43 -03:00
jvelilla
75d34870fa Merged Old CMS code with new CMS code.
Pending: Update code to use the new theme
2014-11-07 18:23:25 -03:00
jvelilla
2c130cf882 Update theme information defining a navigation strategy
Updated code to use a new navigation strategy.
2014-11-07 09:15:30 -03:00
jvelilla
223a5fafdb Updated page header template 2014-11-07 07:52:44 -03:00
jvelilla
f1b911b6e3 Updated block and template to render regions 2014-11-06 22:33:48 -03:00
jvelilla
b90e3b3df0 Added a CMS_ENCODER utility class.
Added a block header template: smarty engine.
Added a menu template: smarty engine.
2014-11-05 07:45:36 -03:00
jvelilla
bafdc085d9 Added refactoring helper class to add comments. 2014-11-04 11:31:43 -03:00
jvelilla
b11462105a Initial implementation with Hooks, Regions and Templates
Updated Modules to support hooks, still work in progress.
2014-11-03 12:40:54 -03:00
jvelilla
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.
2014-10-17 08:53:02 -03:00
jvelilla
3c73202a0d Initial Import Model Library 2014-10-15 19:41:47 -03:00
jvelilla
8a06dc11ac Merge branch 'roc_pe' of https://github.com/jocelyn/ROC into roc_pe
Conflicts:
	cms/cms-safe.ecf
2014-10-14 17:22:40 -03:00
jvelilla
ab76a752d7 Added nested transaction support.
Added test cases showing transaction support scenarios.
2014-10-14 17:59:45 +02:00
jvelilla
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
2014-10-14 17:59:45 +02:00
jvelilla
b8257e7bf0 Clean code: removed unused variables.
Move BASIC_AUTH module to ROC_SERVER setup, as an example
of module extension
2014-10-14 17:58:01 +02: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.
2014-10-14 15:24:24 +02:00
jvelilla
609d71a0e9 Added nested transaction support.
Added test cases showing transaction support scenarios.
2014-10-13 18:45:45 -03:00
jvelilla
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
2014-10-09 10:01:49 -03:00
jvelilla
36dc48125c Clean code: removed unused variables.
Move BASIC_AUTH module to ROC_SERVER setup, as an example
of module extension
2014-10-08 16:33:41 -03:00
jvelilla
d183ab8130 Merge pull request #3 from jocelyn/jfiat_roc_auth
Various design changes
2014-10-08 14:45:51 -03:00
6fc38272fe Merged back list of available modules in CMS_SETUP. 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.
2014-10-08 17:04:34 +02:00
jvelilla
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.
2014-10-08 14:36:16 +02: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.
2014-10-08 14:24:49 +02:00
jvelilla
b004ac8ae0 Merge branch 'jvelilla-roc_auth' 2014-10-02 21:02:06 -03:00
jvelilla
c3e23e1697 Merge branch 'roc_auth' of https://github.com/jvelilla/ROC into jvelilla-roc_auth
Conflicts:
	cms/src/service/cms_service.e
2014-10-02 21:01:32 -03:00
jvelilla
3fe166b768 Updated CMS libary:
Initial Basic Authentication Node with filters.
Updated ROC API to use the new module.
2014-10-02 20:52:14 -03:00
jvelilla
a0cb7c0ecc Added Initial Basic Auth Module 2014-10-02 15:32:30 -03:00
jvelilla
e053ffceef Fixed issue with Filters. 2014-10-02 12:00:10 -03:00
jvelilla
5525134148 Updated CMS 2014-10-01 17:47:16 -03:00
jvelilla
5a5eb0dea2 Forgot to commit the README FILE 2014-10-01 14:14:09 -03:00
jvelilla
52cc566e15 Added SQLite ODBC example under test/APPLICATION.e class.
Fixed compilation issues with SQLite implemenation. (need to be updated)
2014-10-01 14:11:17 -03:00
jvelilla
27a11f2eea Initial CMS API commmit. 2014-10-01 12:17:39 -03:00
jvelilla
588827b495 Updated Example (API) to use the new CMS_STORAGE interface. 2014-09-21 15:53:09 -03:00
jvelilla
fb9157dbb4 Updated CMS_STORAGE interface.
Added test cased for MySQL implementation.
2014-09-20 19:55:43 -03:00
jvelilla
ce05da15b5 Updated CMS_STORAGE interaface. 2014-09-19 15:31:58 -03:00
jvelilla
878daa656c Updated database script.
Database Node support versions and editor id.
Updated NODE_DATA_PROVIDER with new features.

collaborator_nodes: Possible list of nodes edited by a given user id as collaborator
author_nodes: Possible list of nodes of a given users as creator of them.

Updated test cases
2014-09-19 14:48:20 -03:00
jvelilla
feaef700be Updated MySQL database script 2014-09-19 08:19:47 -03:00
jvelilla
17ceed1c91 Added node collaborators, author.
Added test cases.
2014-09-18 21:00:08 -03:00
jvelilla
cf3c4060c8 Updated Database Query error handling.
Add support for user profiles.
Updated test case.
2014-09-18 18:05:20 -03:00
jvelilla
5d551f7fe1 Updated navigation templte to include current user.
Updated CMS_NODE, CMS_USER.
Added USER_PROFILE and USER_ROLE
Updated new USER_DATA_PROVIDER and NODE_DATA_PROVIDER to support new features.
Added ROLE_DATA_PROVIDER.
Updated test cases.
Updated MySQL database schema.
2014-09-18 00:36:50 -03:00
jvelilla
1dce893293 Update API to use CMS_STORAGE 2014-09-17 14:43:08 -03:00
jvelilla
4227b82c7e Added a common database backend implementation.
Added sqlite (proof of concept)
2014-09-17 10:33:37 -03:00
jvelilla
fbb5c57b8f Update CMS_STORAGE interface.
Added test cases.
2014-09-16 17:16:19 -03:00
jvelilla
57e2a4a484 Updating loging messages on USER and NODE provider.
Added test cases to node provider.
2014-09-16 11:29:01 -03:00
jvelilla
3a699b23a0 Refactor persistence library.
Added a persistence speficication cluster and implementation cluser,
Implementation MySQL.
Added test cases for mysql implementation.
2014-09-15 23:27:11 -03:00
jvelilla
46362731f0 Fixed typo.
Server modes.
2014-09-15 16:04:18 -03:00
jvelilla
930763e71e Initial Import Rest on CMS. 2014-09-15 14:46:34 -03:00