5b0ab76434
Fixed more unicode issues, or being more flexible when loading from database.
es_rev98022
jocelyn2015-10-20 19:02:04 +02:00
a84f86d7a2
Addressed various unicode related issues. Note this is using recent changes from text_filter library.
es_rev_98021
jocelyn2015-10-20 18:49:40 +02:00
3f4e70b98c
Updated roc tools, and associated scripts. Also include Eiffel Store ODBC persistence.
jocelyn2015-10-20 11:29:16 +02:00
782e9397a3
Added missing sql_finalize which is used to cleanup as early as possible the last statement when it is not needed anymore.
jocelyn2015-10-19 23:33:17 +02:00
f51ddc9796
Extracted launcher code into cms/launcher/... libraries. (mostly to help new project based on ROC CMS). Renamed and simplified the roc cms server launcher, and the related cms execution. Updated cms.ini and extract blocks related management into blocks.ini. Added debug clauses for cms sqlite3 storage.
jocelyn2015-10-19 22:50:48 +02:00
a260bbc2c5
Removed obsolete usage of {TYPE}.attempt from CMS_MODULE_COLLECTION.
jocelyn2015-10-19 20:50:47 +02:00
eb5ae32e46
Added persistence support for Eiffel sqlite3 wrapper. Updated existing persistency solution to be more generic to any db solution.
jocelyn2015-10-05 16:04:10 +02:00
7fcacad5eb
Use extended type support from EiffelStore to handle STRING_32, and other extended types.
jocelyn2015-10-19 11:20:04 +02:00
57430193e3
Fixed compilation of CMS_FILE_BLOCK.
jocelyn2015-10-18 19:24:43 +02:00
62bf58ce6d
Added support for block options for the feed aggregator blocks. Updated weight for primary_tabs block.
jocelyn2015-10-17 00:17:59 +02:00
23c395513b
Fixed handling of block and optional block. - All blocks behavior can be specified and overwritten via the configuaration. - And optional block are not displayed by default.
jocelyn2015-10-16 23:46:18 +02:00
d2d86ecdf2
Added notion of block options, declared in cms.ini as [blocks] {block_id}.options[name]=value {block_id}.options[size]=123
jocelyn2015-10-16 23:11:44 +02:00
e90f82387f
Added notion of alias block, to provide a way to include a block content in mutiple regions.
jocelyn2015-10-16 23:02:47 +02:00
05472abdd7
Improved block condition "path:..." by allowing wildchar. Added weight data to CMS_BLOCK to be able to sort the block lists, and thus order the display of blocks. Set negative weight for various core block, so that they appear first as expected. The weight can be set and overwritten in cms.ini , by pref blocks.{block_id}.weight=integer_weight.
jocelyn2015-10-16 17:22:22 +02:00
9263f31521
Renamed module name to google_search (custom_search) Clean code. Updated google custom search to handle quota limit and no query submit. Updated encoding issues for input searches: like "void safe" and "void + safe".
jvelilla2015-10-14 11:51:59 -03:00
d37f45d958
Include block caches clearing during "clear_cache" hook invocation.
jocelyn2015-10-12 19:39:41 +02:00
872f2a177d
For now, only clear feed aggregation cache if clear all cache is requested.
jocelyn2015-10-12 19:22:37 +02:00
3ed2f410d9
Added feeds.json example in feed_aggregator module folder.
jocelyn2015-10-12 19:15:09 +02:00
1b451ef142
Moved the feeds.json example in associated module files.
jocelyn2015-10-12 19:12:42 +02:00
50146985de
Added CMS_HOOK_CACHE, and admin cache. Prepared evolution of feed module, by allowing json object to list feeds locations. The associated key will be used to identify the location, and have category filter by location.
jocelyn2015-10-12 19:03:12 +02:00
dffd06e331
Implemented a basic block caching system. - for block {block_id}, to have a cache with 3600 seconds of expiration, declare in the cms.ini [blocks] {block_id}.expiration=3600
jocelyn2015-10-09 19:38:57 +02:00
463105f29f
Added feed aggregation module. Redesigned the CMS_BLOCK system, - added condition attribute. It can be set via configuration file with [blocks] {blockid}.region={region_name} {blockid}.conditions[]=is_front {blockid}.conditions[]=path:location-path/foo/bar - For backward compatibility, the CMS will check only conditions for block name prefixed by "?". Improved the configuration library to support list and table properties. Updated theme for now, to include the feed examples. Added "cache" classes, to ease caching of html output for instance. (TODO: improve by providing a cache manager).
jocelyn2015-10-08 13:56:31 +02:00
abebd00a4f
Added feed aggregation module. Improved the CMS Block system to support condition.
jocelyn2015-09-09 16:47:47 +02:00
ec53a2682b
Updated notification mailer, to always store output messages. Fixed CMS_RESPONSE, and specific error response, to return expected status code.
eiffelstudio_rev97935
jocelyn2015-09-28 10:47:57 +02:00
ed614a662c
Updated CMS node and blog to remove extension data.
jvelilla2015-09-15 08:54:43 -03:00
d54ad59e5f
Added missing assertions tag names.
jvelilla2015-09-15 14:10:51 -03:00
9173ef2ded
Added precondition to delete node to accept nodes with a valid a id.
jvelilla2015-09-15 11:40:13 -03:00
ad9e908dc2
Updated CMS_NODE_STORAGE_I API. Delete a node using a node as formal parameter instead of node id. Clean code and update log information.
jvelilla2015-09-15 10:42:30 -03:00
18e159ad3c
Simplified the add child mechanism, by using a query parameter ?parent=nid (instead of specific node/{nid}/add_child/page url) Fixed implementation of `CMS_NODE_API.is_node_a_parent_of (..)', and improved parent validity checking against cycle.
v0.2
jocelyn2015-09-09 23:04:08 +02:00
438259033a
Renamed link "Trash" to "Move to trash".
jocelyn2015-09-09 22:10:13 +02:00
62e74ea6cd
Refactor notion of trash and delete. - Trash a node now does a soft delete (move to trash container). - Delete a node now remove it from the storage (no undo).
jocelyn2015-09-09 22:05:23 +02:00
32a409b7e9
Refactored add child feature, to have all the page specific code in CMS_PAGE_NODE_TYPE_WEBFORM_MANAGER (and not in the general node code). Note that ideally PAGE could be a separated page node module (as it is for blog). Added listing of children for each "page".
jocelyn2015-09-09 21:58:16 +02:00
eb70af6f19
CMS_NODE_API.available_parents_for_node - Fixed comment. - added check to know if there are potencial cycles - added postcondition to ensure the list of potencial parent will not produce a cycle.
jvelillaandjocelyn2015-09-08 18:16:18 -03:00
5f4eb2cf10
Correct implementation of node extension save operation.
jocelyn2015-09-08 20:44:00 +02:00
88bc52fffb
Updated roc script, install module for the examples, and updated demo site folder.
jocelyn2015-09-08 16:03:36 +02:00
544e6540ed
Add child page support. - Add support to create a new node as a child of an existing node. - Update or add a parent for a given node. Fix delete and trash behavior: when a node is not published only the - author or admin see it.
jvelillaandjocelyn2015-09-08 10:49:22 -03:00
2431d7af6c
Improved the recent changes modules: - extracted from populate_recent_changes, the recent_changes_sources that enables to filter early. Added author_name to the CMS_RECENT_CHANGE_ITEM to support author which is not related to any CMS_USER. Implemented the simple filtering on source and add parameters size and date.
jocelyn2015-09-03 14:47:17 +02:00
0d55bd67a2
Updated Basic Auth Module: remove the escaping from the logout message
jvelilla2015-09-01 12:56:26 -03:00
634a078282
Updated Loging form: Display invalid credentials message inside the primary-tabs div. Added support to submit the form using <Enter>.
jvelilla2015-09-01 11:41:50 -03:00
2f65a084ac
Updated logout message. Change message and added a div to make it easier style the site
jvelilla2015-09-01 11:15:25 -03:00
ad4f020d0e
The NULL storage may look into the CMS configuration file. This allows to run the CMS without any database.
v0.1
es_15_08
ewf_v1
jocelyn2015-08-21 19:16:31 +02:00
923089baa1
Better js code to apply CKEditor.replace, mainly to select only textarea.name=$name. code cleaning.
jocelyn2015-08-18 19:24:18 +02:00
cfec9dc7f8
Do not include empty blocks, this way, we avoid empty sidebars if not needed.
jocelyn2015-08-18 10:58:31 +02:00
b5e7d5d201
Require "view recent changes" permission to see the recent changes.
jocelyn2015-08-17 17:40:55 +02:00
e1bdcb965c
Added permission arguments to "trash" and "Create" links. Added blocks configuration settings via the cms.ini and "blocks" section ex: [blocks] navigation.region=sidebar_first This enables the site to change default block location, and even hides it easily, if the theme does not include associated region name.
jocelyn2015-08-13 00:44:16 +02:00
0061afcbe8
use "deleted" instead of "trashed" .
jocelyn2015-08-12 19:03:40 +02:00
1d7d79d69e
Cleaned up hooks related code, and always go via CMS_RESPONSE.hooks
jocelyn2015-08-12 17:50:23 +02:00
46014da3d8
Added recent_changes module. Revisited hooks management, and added new CMS_HOOK_MANAGER. Added admin, and other link into navigation menu that goes into first sidebar. Fixed theme info, and template for sidebar ids. Better css class name for cms node content.
jocelyn2015-08-12 17:30:07 +02:00
b6adbfec33
Added recent_changes module. Revisited hooks management, and added new CMS_HOOK_MANAGER. Added admin, and other link into navigation menu that goes into first sidebar. Fixed theme info, and template for sidebar ids.
ewf_v1_recent_changes
jocelyn2015-08-11 13:54:51 +02:00
7cb4c0e9f4
Quick fix for ROC CMS links in authentication email templates.
jocelyn2015-08-10 12:55:10 +02:00
aff6b07c80
Fixing edit node form field title and id.
jocelyn2015-08-10 12:49:40 +02:00
479194d6c5
Updated node module sql script file to support revisions.
jocelyn2015-08-10 11:21:04 +02:00
cd0c2acd87
Added revisions support to node management. Updated node extension implementation. Updated known permissions for node module. Improved code for node storage extension , in preparation to code factorization. Ensured that author is updated when saved.
jocelyn2015-08-07 19:17:25 +02:00
8efbddc8cb
Removed unused local variables.
jocelyn2015-08-06 11:52:47 +02:00
f26b81977c
Implemented CMS_LINK.is_forbidden in all descendants.
jocelyn2015-08-06 11:52:35 +02:00
bbf7456fa2
Improve permissions list display, to be sorted. Better permission names for "admin users" and "admin roles".
jocelyn2015-08-04 16:42:06 +02:00
a422dea15d
Improved message after successful role creation. Removed useless code.
jocelyn2015-08-04 14:56:55 +02:00
6fb7bf9a1d
Updated location of http_authorization library (now under library\web\authentication\..)
jocelyn2015-08-04 13:27:09 +02:00
bba1d57ce3
Fixed and improved various issue in admin module (especially the Role editing which was not working as expected.) Added CMS_MODULE.permissions to allow module to declare the potential permissions. Added support for CMS_LINK.is_forbidden, in relation with CMS_LOCAL_LINK.permission_arguments. Split link "username (Logout)" into 2 links "username" and "logout". Fixed/Changed the way auth modules alter the logout link based on "(Logout)" title, by safer solution based on `location' of the link.
jocelyn2015-08-04 12:48:14 +02:00
c271f839e2
Merge remote-tracking branch 'jvelilla/roc_admin' into ewf_v1
jocelyn2015-08-03 14:05:03 +02:00
5d81f1d195
Improve previous commit to show allowed tabs only if user has access to it.
jocelyn2015-08-03 12:56:05 +02:00
63f3ec12d0
Fixed issue with CMS_USER_STORAGE_SQL_I.save_user_role
jvelilla2015-07-31 11:58:36 -03:00
863a1e7b98
Show tabs iff a user is authenticated
jvelilla2015-07-30 17:36:14 -03:00
0fe9018ce9
Updated Admin Module, show Admin in the navigation iff the current user is administrator.
jvelilla2015-07-30 12:59:10 -03:00
1ef4025caa
Update user storage, Clean code
jvelilla2015-07-30 11:06:03 -03:00