892f2331de
Do not set destination query parameter to any account/auth url. Set "site_sign_in_url" and "site_sign_out_url" as variables (so it could be used by template).
Jocelyn Fiat2016-02-03 23:16:05 +01:00
3496536751
Added CMS_API.request: WSF_REQUEST to ease dev of ROC CMS code. - Removed CMS_REQUEST_UTIL - centralize a few request related code into CMS_API Added CMS_API.user, CMS_API.set_user (CMS_USER), ... and user related routines.
es_rev98474
clean20160129
Jocelyn Fiat2016-01-29 21:58:49 +01:00
41ac45d07b
Fixed various CMS_MODULE.install, by not marked module installed if an error occurred! Improved Auth related module implementation by having a way to change settings like token, max age. - use CMS_SETUP.site_id and related "auth.$module.token" ... configuration values. - removed related CMS_..._CONSTANTS classes.
es_rev98448
Jocelyn Fiat2016-01-27 18:22:20 +01:00
e1d6e79f09
Now check permissions for "upload files".
Jocelyn Fiat2016-01-20 14:06:45 +01:00
53181f901d
Fixing bad library paths (using Fabian's local paths). Fixed response building for /upload/ Added /upload/{filename} . Added CMS_FILE_UPLOAD_API.
Jocelyn Fiat2016-01-20 13:43:49 +01:00
39ab19d20e
Eiffel code and ECFs update to support new agent notations. Accepts /account and /account/ .
es_rev98404
Jocelyn Fiat2016-01-19 16:15:13 +01:00
4b04e5f471
attempt to create a specific file system handler for the upload, i.e. extend it. there is an error i cannot solve
fmurer
2016-01-16 22:26:53 +01:00
e1a657a880
1. List all uploaded files (done with WSF_FILE_SYSTEM_HANDLER) 2. upload and show on same page 3. cleaned up code
fmurer
2016-01-16 20:21:59 +01:00
40fd1df648
small change in upload form
fmurer
2016-01-12 22:14:45 +01:00
ddb3f9474a
managed to upload files: -> choose multiple files -> display them -> move them to ./site/files/uploaded_files
fmurer
2016-01-12 21:36:40 +01:00
ed0d9c8d07
Use {CMS_LOG}.level_notice and related constant when using api.log(..)
Jocelyn Fiat2016-01-12 16:14:54 +01:00
67fbee737d
Keep only sqlite3 persistence as default. To include mysql and other, uncomment related code in demo-safe.ecf and demo_cms_execution.
Jocelyn Fiat2016-01-12 16:14:18 +01:00
f244e86f13
Updated user.sql added tabled auth_temp_users. Added CMS_TEMP_USER as part of the core. Moved the code from CMS_TEMP_USER_API and CMS_TEMP_USER_STORAGE_* to CMS_USER_API and CMS_USER_STORAGE_*.
jvelilla
2016-01-12 09:34:39 -03:00
56b9355f3c
Updated email messaging of Auth modules to use the CMS_API.process_email (..) system. as a consequence, removed usage of email_service library. Updated the meaning for site.email to be sender email addressed. Added notification.email to set the email address that will received system email notification.
es_rev98368
Jocelyn Fiat2016-01-08 22:24:52 +01:00
7896036165
included file_uploader in demo-cms
fmurer
2016-01-08 14:15:02 +01:00
0ca336d467
Updated templates Replaced hardcoded name "ROC CMS" for placeholder $sitename, and missing href's with $host. Renamed database script and database table for temporal users. Renamed CMS_AUTH_API AS CMS_USER_TEMP_API. Revert design to use CMS_TEMPORAL_USER and clean CMS_USER. Refactor rename cms_auth_storage_* classes to CMS_TEMPORAL_USER_STORAGE_* Added Pending Registrations to the admin menu to show the list of pending registrarions added CSS to display temporal users
jvelilla
2016-01-06 21:29:21 -03:00
5d8ea2065e
Rename script name and table name for temporary users. Updated message, after account reactivation. Updated message, post account application. Updated Form name, Registration instead of Registration Form. Updated CMS_USER to have two optional features used for temporary users. Updated CMS_AUTH_API to user CMS_USER instead of CMS_TEMPORAL_USER Removed CMS_TEMPORAL_USER Updateed CMS_AUTHENTICATION_MODULE, with new permission to enable activate, reject or reactivate a pending user registration. Updated User Storage and API to create a new user from a temporal user.
jvelilla
2016-01-04 21:14:13 -03:00
7e9c29f277
First setup of file_upload module analogous to the upload_image example
fmurer
2016-01-04 21:11:16 +01:00
090a48eb85
Updated class CMS_TOKEN_GENERATOR. Remove once in sha1 feature. Updated encoded_base_64 to base_64
jvelilla
2015-12-16 10:03:35 -03:00
e05c4dca3a
Fixed typos Renamed class CMS_SESSION_CONSTANT to CMS_SESSION_CONSTANTS Removed unneeded classes and files. Update SQL implementation.
jvelilla
2015-12-15 15:32:31 -03:00
2255fcc0f6
Added Module Session Authentication with Cookies. Updated Demo example with the Module Session (Authentication with Cookies) Fixed little issue with SQL query in OpenID module.
jvelilla
2015-12-13 18:19:25 -03:00
e50fb6959e
Moved taxonomy integration for web form inside CMS_TAXONOMY_API. Moved a few helpers routine from CMS_RESPONSE to CMS_API. Added CMS_CONTENT.identifier: detachable READABLE_STRING_32 .
Jocelyn Fiat2015-12-16 15:59:22 +01:00
068943734f
Updated class CMS_TOKEN_GENERATOR. Remove once in sha1 feature. Updated encoded_base_64 to base_64
jvelilla
2015-12-16 10:03:35 -03:00
089179e60e
Fixed typos Renamed class CMS_SESSION_CONSTANT to CMS_SESSION_CONSTANTS Removed unneeded classes and files. Update SQL implementation.
jvelilla
2015-12-15 15:32:31 -03:00
c25590c9cd
Added Module Session Authentication with Cookies. Updated Demo example with the Module Session (Authentication with Cookies) Fixed little issue with SQL query in OpenID module.
jvelilla
2015-12-13 18:19:25 -03:00
23d266497b
Made the SQL storage more flexible with INTEGER_32, by allowing to retrieve INTEGER_64 and convert to INTEGER_32 if value can be converted to integer 32.
es_rev98233
Jocelyn Fiat2015-12-10 11:26:28 +01:00
ce8de442e9
Implemented taxonomy administration pages - create term, vocabulary, add or remove term from vocabularies, ... Fixed content editing related to taxonomy (especially with multiple terms vs tags). Fixed various SQL storage issue related to taxonomy and vocabularies. Added CMS_RESPONSE.wsf_theme as helper.
Jocelyn Fiat2015-12-10 11:21:20 +01:00
276dcc6fcd
Added back CMS_MODULE.register_modules (CMS_RESPONSE) as obsolete, to avoid breaking existing modules.
Jocelyn Fiat2015-12-07 21:24:48 +01:00
6313007fbf
Refactored and update CMS hooks design. (Move from CMS_RESPONSE to CMS_API). Moved content_types and content_type_webform_managers from CMS_RESPONSE to CMS_API. Updated the way to output content (node, ...) to html page. See CMS_CONTENT_TYPE_WEBFORM_MANAGER.append_cointent_as_html_to (...). Added notion of "teaser" (short version of the content), as opposed to full content. One can use CMS_API.html_encoder ... when possible, same for `formats', ... Added bridge from CMS_MODULE_API to CMS_API's encoders. Added new CMS_TAXONOMY_HOOK used to retrieve list of content associated with a specific term. Moved up to CMS_RESPONSE a few features which was available only in specific descendants.
Jocelyn Fiat2015-12-07 18:21:40 +01:00
ecbcb6a5cb
Added notion of CMS_CONTENT as ancestor of CMS_NODE. Moved CMS_CONTENT_TYPE to core library. Added basic and limited taxonomy query /taxonomy/term/{termid} .
taxonomy_content
Jocelyn Fiat2015-12-03 23:01:31 +01:00
20dfce1396
Improved taxonomy by supporting tags, multiple terms allowed, and required kind of vocabulary for specific content type. Updated node web form, to support taxonomy editing if allowed (specific support for CMS_VOCABULARY.is_tags: BOOLEAN). Added notion of required or optional module dependencies.
Jocelyn Fiat2015-12-03 19:24:58 +01:00
a11a93c285
Update code to use CMS_API.unset_path_alias Updated CMS_NODE_STORAGE_SQL renamed sql_restore_node as sql_update_note_status, updated related code.
jvelilla
2015-12-02 16:14:54 -03:00
fade19bbee
Added precondition to NODE_FORM_RESPONSE.new_delete_form Added transaction support to CMS_NODE_STORAGE_SQL.delete_node_base
jvelilla
2015-12-02 12:10:03 -03:00
d10612f94b
Made test.ecf compilable.
jvelilla
2015-12-02 10:56:18 -03:00
9da8b8a025
Fixed: delete-trash a node. Added code to remove path_aliase when we delete a node.
jvelilla
2015-12-01 19:20:16 -03:00
f1f3c126dd
Use module site files system for the (un)install SQL scripts. Changed CMS_TERM.id type to INTEGER_64 . Removed CMS_TERM.parent_id . Implemented CMS_TERM saving.
Jocelyn Fiat2015-11-23 18:05:53 +01:00
1d4ce37ebf
Added CMS_STORAGE.as_sql_storage: detachable CMS_STORAGE_SQL_I to ease development based on SQL database.
Jocelyn Fiat2015-11-23 18:03:55 +01:00
10102e80fa
Fixed a few grammar and style errors.
Jocelyn Fiat
2015-11-23 16:57:49 +01:00
79d30ee3a7
Added export of core data, such as users, path_aliases, custom_values. Added export of node revisions.
Jocelyn Fiat2015-11-12 18:19:06 +01:00
a5973c9c8a
Added exportation solution via CMS_HOOK_EXPORT. Updated blocks settings for demo example project.
Jocelyn Fiat2015-11-10 10:30:10 +01:00
420051cd14
Redesigned hooks system (moving from CMS_RESPONSE to CMS_API). Indeed, hooks does not require RESPONSE interface, and should be setup before, at the system level (i.e CMS_API) Added exportation solution via CMS_HOOK_EXPORT. Updated blocks settings for demo example project.
export_exp
Jocelyn Fiat2015-11-09 21:07:02 +01:00
6b3ff6f980
Fixed list item computation for ini file, especially with included ini file.
Jocelyn Fiat2015-11-02 21:07:26 +01:00
360855a558
Fixed recent_changes module to allow alias of recent_changes blocks. Factorized code in CMS_RESPONSE by reusing add_block.
Jocelyn Fiat2015-11-02 18:54:30 +01:00