jvelilla
2fe2a7f864
Merge branch 'ewf_v1' of https://github.com/EiffelWebFramework/ROC into roc_account
2015-07-13 08:54:50 -03:00
3dec559d58
Process modules installation only for /admin/install request.
...
This makes installation process safer, and controlled.
2015-07-11 15:39:59 +02:00
jvelilla
dce3f71be9
Added account info, shows basic user info, logout based on login strategy.
...
Clean block_login.
2015-07-10 15:41:39 -03:00
3ea9e36e7c
Updated comments.
2015-07-10 19:08:29 +02:00
5da01fd576
Fixed issue with CMS_USER_STORAGE_SQL_I.update_user which was passing useless parameters.
2015-07-10 18:57:56 +02:00
7f4a7b3ab9
Implemented Module enable/disable setting from configuration.
...
Implemented dependencies checking to set CMS_MODULE.is_enabled.
Implemented the persistence of CMS_USER.roles
2015-07-10 18:46:16 +02:00
779064a505
In SQL statement use the same case for table names, i.e all lowercase.
...
Otherwise on Linux+MySQL queries may fail.
2015-07-10 12:58:05 +02:00
5477bab83c
Added error handler argument in CMS_STORAGE_BUILDER.storage (...) function.
...
Removed testing purpose code.
Update debug module.
2015-07-10 12:20:28 +02:00
d24f124e42
Fixed typo in renamed features.
2015-07-09 21:31:09 +02:00
bace9657b4
Search module configuration first in site/config/modules/$module_name/ folder to see if default is overriden,
...
and then in site/modules/$module_name/config/ folder.
2015-07-09 21:29:35 +02:00
6319d46f26
Added back CMS_FORMATS.filtered_html
2015-07-09 13:47:22 +02:00
31095b1b66
Merged formats, from CMS_NODE_API and CMS_API, into CMS_API.formats: CMS_FORMATS.
2015-07-09 13:41:42 +02:00
16cae0047d
Revisited the format, filter and content type integration.
...
Now, all formats used by CMS are instances of CMS_FORMAT, mainly to prepare the admin section in order to define format by config/database.
CMS_NODE_API provides all queries to access the content types, and formats, this way a module can easily alter the formats by adding a new filter.
TODO: see how to integrate permission checking, to control who can use a specific format (such as full HTML).
2015-07-09 12:23:20 +02:00
85cff0b139
Better implementation of CMS_API.source_of_path_alias (a_alias).
...
That now returns the path, only if the alias exists, otherwise returns Void.
Improved path alias validation.
2015-07-07 17:40:12 +02:00
cc94c59eed
Added CMS_USER.utf_8_name: STRING_8 for convenience.
...
Added a permission check for registering (TODO: by default allow visitor to register).
Cosmetic.
2015-07-07 17:25:56 +02:00
4c8af3ef66
Fixed implementation of path alias settings.
...
Now report an error if path is already aliased to another location.
2015-07-07 17:20:25 +02:00
37729f648a
Merge remote-tracking branch 'ewf/ewf_v1' into ewf_v1
2015-07-03 19:35:43 +02:00
26dc018893
Added CMS_API.new_email (..): CMS_EMAIL to help CMS_EMAIL creation.
2015-07-03 19:32:49 +02:00
jvelilla
f0eff2cb98
Updated basic_auth issue with Javascript.
2015-07-03 09:28:19 -03:00
011a6b7804
Updated auto register hook with new {CMS_HOOK_RESPONSE_ALTER}
2015-07-03 09:37:40 +02:00
83e7f95425
Fixed location of .ecf file related to ROC CMS.
2015-07-03 09:33:41 +02:00
jvelilla
4f7acc5dbd
Updated Javascript roc_basic_auth
2015-07-02 17:19:14 -03:00
jvelilla
922fca80ad
Merge branch 'jvelilla-roc_v1_option1' into ewf_v1
2015-07-02 15:10:17 -03:00
jvelilla
9d465b3d7e
Updated basic auth module, rename classes to use the prefix CMS_
...
Updated code based on comments
2015-07-02 14:49:33 -03:00
jvelilla
5288fe4d3c
Move generic code for activation, password, reset password, re-activation to
...
auth module.
Updated Basic Auth module to handle specific content.
2015-07-02 12:56:10 -03:00
jvelilla
9722347736
Fixed issue with roc_auth.js
2015-07-02 10:49:58 -03:00
jvelilla
a2598fff92
Updated clean CMS_AUTHENTICATION_MODULE
...
Updated basic_auth module to handle templates
All the auth modules depends on CMS_AUTHENTICATION_MODULE
Send mail is done using features from CMS_AUTHENTICATION_MODULE.
Update redirect in roc_auth.js after success login to home.
2015-07-02 10:29:42 -03:00
42e7763528
Added url routing for /files/... and /module/{modname}/files/...
...
Added CMS_HOOK_RESPONSE_ALTER to give a last chance to alter the response before rendering.
This hook should not be used, when there are other alternative hook that answer the need, but this is proposed for now, as a way to alter response by adding css, js url, ...
Moved blog under official modules folder.
Cleaned theme of demo example project.
Renamed NODE_MODULE as CMS_NODE_MODULE.
2015-07-01 22:50:19 +02:00
jvelilla
02fe3ba829
Merge branch 'jvelilla-roc_v1_mailer' into ewf_v1
2015-06-30 19:28:08 -03:00
jvelilla
fe3274e29a
Remove unnecessary features from email service parameters for OAuth and OpenID s
2015-06-30 19:09:39 -03:00
jvelilla
96bae9f8fb
Fixed typos
2015-06-30 18:52:44 -03:00
jvelilla
1cef32a1fb
Updated callback url
2015-06-30 18:11:56 -03:00
jvelilla
f1e8e1da58
Updated code based on review
2015-06-30 18:06:25 -03:00
jvelilla
26276dad5d
Added OpenId Module.
...
Better way to present handle authentication strategies in the view using tabs.
2015-06-30 16:54:09 -03:00
eb9ac980e6
Added integration configuration file all-safe.ecf
...
Fixed various compilation error
2015-06-30 18:18:01 +02:00
28ab4786a1
Provided a CMS_EMAIL, and CMS_API.process_email (CMS_EMAIL)
BEFORE_REST_API_EXPERIMENTAL_REMOVAL_06_2015
2015-06-30 16:11:49 +02:00
8294a47f17
Added usage of notification_email library.
...
Added CMS_SETUP.mailer
Updated implementation of email_service to use notification_email library
2015-06-30 15:53:02 +02:00
e45dac84c8
Removing unused local variables.
...
Fixed .ecf location for cms related libraries.
2015-06-29 18:42:11 +02:00
bb3e3b992f
Merge branch 'ewf_v1_roctool' into ewf_v1
2015-06-29 17:30:39 +02:00
ebc5924c01
Made CMS_MODULE.name deferred, and implemented by constant so that it can be use as static call.
...
Copied site resources on related module source folder.
Renamed "login" module as "auth" module, and updated related locations and files.
2015-06-29 16:24:17 +02:00
48b0ad5195
Merge remote-tracking branch 'jvelilla/roc_tool' into ewf_v1_roctool
2015-06-26 11:25:12 +02:00
ae9eea99dd
Integrate Authentication modules.
...
Updated code for sql that should not use parameters
to expand :table_name in table name usage,
since Eiffel Store will use quote,
and MySQL does not like them.
Merge remote-tracking branch 'jvelilla/roc_auth_v1' into ewf_v1_mod_env
Conflicts:
examples/demo/demo-safe.ecf
modules/auth/cms_authentication_module.e
2015-06-25 23:20:51 +02:00
jvelilla
268f53e53f
Fixed UUID for Oauth20 module.
2015-06-25 15:22:31 -03:00
jvelilla
e17fc570a1
Updated Demo with the new OAuth20 module
...
Added basic example to extend CMS Authentication using Smarty templates.
2015-06-25 13:20:04 -03:00
ba7ef17d34
Adapted to new layout, with module files inside site/modules/$module_name/...
2015-06-25 17:55:09 +02:00
jvelilla
c8bbac664b
Initial commit, added new module oauth20.
2015-06-25 10:07:06 -03:00
04e98dbb48
Merge remote-tracking branch 'ewf/ewf_v1' into ewf_v1
2015-06-24 18:51:33 +02:00
2886c90782
Moved all location related queries into CMS_API, instead of CMS_SETUP.
...
Note that CMS_SETUP provides locations set by default or from configuration file.
Now theme related resources can be found under site/modules/$mod_name/... or site/themes/$theme/modules/...
so only theme related resources can be overriden for now.
2015-06-24 17:15:05 +02:00
jvelilla
db6799d55b
Merge branch 'jvelilla-roc_ewf_v1_email' into ewf_v1
2015-06-24 11:21:52 -03:00
jvelilla
7c0032ada4
Updated CMS:
...
Extract email service as a library.
Updated modules to use the email library.
Fixed compilation issue with database_connection_null.e
2015-06-24 11:17:17 -03:00