b58eeeac26
Added comments.
2014-11-19 13:34:42 +01:00
jvelilla
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.
2014-11-19 09:22:31 -03:00
jvelilla
e36465f86d
Update concepts.md
...
Added references to the important classes.
2014-11-18 09:26:52 -03:00
76190de218
Fixed non void-safe compilations, and cleaned .ecf files.
...
+Cosmetic
2014-11-18 10:05:50 +01:00
jvelilla
0edff7853b
Removed default_theme.
...
Update theme and smarty theme description
2014-11-17 22:37:10 -03:00
jvelilla
e20a7af301
Merge pull request #15 from jvelilla/roc_template
...
Roc template
2014-11-17 13:08:33 -03:00
jvelilla
089b367c95
Update concepts.md
...
Updated default regions
2014-11-17 13:08:01 -03:00
jvelilla
503f2faf08
Update concepts.md
...
Updated
2014-11-17 13:03:13 -03:00
jvelilla
b887c13664
Renamed files and added tutorial document
2014-11-17 12:44:37 -03:00
jvelilla
bbfe063b5c
Update CMS_concepts.md
...
Added table of contents
2014-11-17 12:26:58 -03:00
jvelilla
1a4e2935da
Update README.md
...
Update readme file
2014-11-17 12:23:37 -03:00
jvelilla
c3a582f85c
Added cms_concepts
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
2014-11-14 19:31:40 +01:00
6aad460b11
Updated ecf files, and added non void-safe .ecf files.
2014-11-14 14:20:01 +01:00
jvelilla
0dc12b82b8
Merge pull request #14 from jvelilla/roc_template
...
Update sqlite implemenation to make it compile
2014-11-14 08:26:06 -03:00
jvelilla
8047880c2b
Update sqlite implemenation to make it compile
2014-11-13 23:46:02 -03:00
jvelilla
48283742aa
Merge pull request #13 from jocelyn/minor_changes_20141113
...
Renamed {CMS_SETUP} theme_resource_location as theme_assets_location
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 .
2014-11-13 19:25:01 +01:00
Jocelyn Fiat
44a1dd62cb
Merge pull request #12 from jvelilla/roc_template
...
Refactor directory structrue d963fd2
Fixed typo in readme.md
2014-11-13 16:10:40 +01:00
jvelilla
1f8be4e37f
Fixed typo in readme.md
2014-11-13 11:59:14 -03:00
jvelilla
d963fd218b
Refactor directory structrue
2014-11-13 11:57:36 -03:00
Jocelyn Fiat
8ab4343d5b
Merge pull request #11 from jvelilla/roc_template
...
Added README documentation.
Renamed examples/roc_api to demo.
Added contracts
2014-11-13 14:57:46 +01:00
jvelilla
9af6356f0a
Added README doc.
...
Renamed example/roc_api to demo.
Added contracts
2014-11-13 10:50:54 -03:00
jvelilla
b16048eb18
Merge pull request #10 from jocelyn/copyright_20141113
...
Added copyright, note, and minor improvements.
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.
2014-11-13 11:15:35 +01:00
9cd53c7c78
updated readme.
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.
2014-11-13 10:50:22 +01:00
jvelilla
b3c2879b07
Merge pull request #9 from jocelyn/auto_hook_20141112
...
Restored implementation for auto register hooks.
2014-11-12 22:37:30 -03:00
e1feee51f9
Restore implementation for auto register hooks.
2014-11-12 22:35:24 +01:00
Jocelyn Fiat
2aaed89417
Merge pull request #8 from jvelilla/roc_template
...
Move libraries `layout', `model', `peristence' under cms folder
2014-11-12 21:55:25 +01:00
jvelilla
789b26eafa
Move libraries layout', model', `peristence' under cms folder
...
Updated code to the new layout.
Added missing comments.
Remove /example/api
2014-11-12 17:24:34 -03:00
jvelilla
a576c38d42
Merge pull request #7 from jocelyn/cosmetic_20141112
...
Cosmetic 20141112
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.
2014-11-12 17:13:18 +01:00
48a8ac4a1c
First step toward more generic way to handle hook subscribers.
2014-11-12 16:53:42 +01:00
Jocelyn Fiat
1d4e9df917
Merge pull request #6 from jvelilla/roc_template
...
Updated Descriptions to classes and features
2014-11-12 16:51:23 +01:00
jvelilla
2d5c1a5e41
Updated Descriptions to classes and features
2014-11-12 12:30:09 -03:00
jvelilla
fba9b598f9
Merge pull request #5 from jocelyn/hook_20141112
...
name changes related to CMS HOOK and callers.
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.
Cosmetic, comments.
2014-11-12 16:12:42 +01:00
jvelilla
96ceb2481a
Merge pull request #4 from jvelilla/roc_template
...
Roc template
2014-11-12 07:07:12 -03:00
jvelilla
590bd8fc3a
Merge pull request #1 from jocelyn/roc_template_jfiat
...
Reversed dependencies between CMS_SETUP and CMS_API(_SERVICE).
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.
2014-11-10 19:22:01 +01:00
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