jvelilla
f0eff2cb98
Updated basic_auth issue with Javascript.
2015-07-03 09:28:19 -03:00
jocelyn
011a6b7804
Updated auto register hook with new {CMS_HOOK_RESPONSE_ALTER}
2015-07-03 09:37:40 +02:00
jocelyn
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
jocelyn
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
jocelyn
eb9ac980e6
Added integration configuration file all-safe.ecf
...
Fixed various compilation error
2015-06-30 18:18:01 +02:00
jocelyn
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
jocelyn
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
jocelyn
e45dac84c8
Removing unused local variables.
...
Fixed .ecf location for cms related libraries.
2015-06-29 18:42:11 +02:00
jocelyn
bb3e3b992f
Merge branch 'ewf_v1_roctool' into ewf_v1
2015-06-29 17:30:39 +02:00
jocelyn
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
jocelyn
48b0ad5195
Merge remote-tracking branch 'jvelilla/roc_tool' into ewf_v1_roctool
2015-06-26 11:25:12 +02:00
jocelyn
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
jocelyn
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
jocelyn
04e98dbb48
Merge remote-tracking branch 'ewf/ewf_v1' into ewf_v1
2015-06-24 18:51:33 +02:00
jocelyn
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
jvelilla
fa5efede2c
Merge branch 'jocelyn-roc_auth_20150619' into ewf_v1
2015-06-23 15:30:01 -03:00
jocelyn
0fca03a4d1
Improved Authentication module code.
...
Updated to match recent changes from cypress the OAuth Eiffel library.
2015-06-22 21:47:06 +02:00
jocelyn
642b901856
Make sure CMS_BLOCK knows about page variables values.
...
For now only for smarty template blocks.
2015-06-19 22:48:20 +02:00
jocelyn
4f3bcf290f
Fixing issue with index.
2015-06-19 17:58:09 +02:00
jocelyn
6ca8a9ce82
Fixed parts of SQL statements handling (mostly for SQL script execution).
2015-06-19 17:42:02 +02:00
jocelyn
2c72fe6738
Renamed login module as auth (authentication) module
2015-06-19 11:48:42 +02:00
jocelyn
149de898c0
Updated location for cypress the OAuth Eiffel lib.
...
prepare login module renaming to auth module.
2015-06-19 11:44:41 +02:00
jocelyn
c3133c65a1
Merge remote-tracking branch 'jvelilla/roc_email' into ewf_v1
...
Conflicts:
cms.ecf
examples/demo/demo-safe.ecf
examples/demo/site/scripts/user.sql
examples/demo/src/ewf_roc_server.e
2015-06-18 19:17:16 +02:00
jvelilla
9e51df1e01
Updated OAUTH consumer using STRING_8 instead of STRING_32
2015-06-18 12:35:56 -03:00
jocelyn
967871e427
Removed inheritance from obsolete classes.
2015-06-18 14:46:22 +02:00
jocelyn
73e0098c4d
Removed persistence sqlite folder which is now obsolete.
2015-06-18 14:23:30 +02:00
jocelyn
b4407378db
Fixing compilations for test suites related to persistency.
2015-06-18 14:07:41 +02:00
jocelyn
f619727997
Fixed persistency layer.
...
Now we have ODBC .. that accepts various connection string (including SQLite, MySQL,...)
And EiffelStore+MySQL.
Updated sql scripts to work with MySQL, and SQLite.
Added a sql_statement (s: STRING): STRING that converts ROC sql statement to fit the underlying database engine.
mostly to adapt incompatibilities such as AUTO_INCREMENT for MySQL and AUTOINCREMENT for SQLite
by default SQL script should be written following MySQL SQL syntax.
Warning: to use ODBC persistence driver, it has to be installed on the target machine.
2015-06-18 13:55:05 +02:00
jvelilla
a94a8857ae
Initial Import ROC tool
2015-06-17 20:45:28 -03:00
jocelyn
e37dbb0a62
Merge branch 'blog_ewf_v1' into ewf_v1
2015-06-16 21:07:40 +02:00
Jocelyn Fiat
53491274dc
Merged CMS based on concurrent EWF (i.e ewf_v1) with blog branch.
2015-06-15 11:27:44 +02:00
jvelilla
afced59b0c
Updated Login Module.
...
- Refactor raname classes and features.
- Clean code.
2015-06-11 21:50:27 -03:00
jocelyn
21800e71d3
Removed obsolete calls.
...
Updated code to make it clear what is the resource, and what is the associated module resource path.
2015-06-11 23:03:34 +02:00