jocelyn
b1478cfb8a
Fixed typo "We have sent you .." (instead of ... send ...).
2016-09-16 20:21:24 +02:00
jocelyn
d1ca6eb311
Get GCSE module accepts /gcse or /gcse/ .
2016-06-01 13:48:49 +02:00
jocelyn
88b3ca1d2f
Avoid using old path for http_authorization.
2016-05-23 21:24:09 +02:00
jocelyn
6a61c30689
Fixed session logout by setting expiration date in the past and empty content.
2016-05-18 12:13:25 +02:00
jocelyn
88aaf9ed4c
Made compilable with version before 16.05
2016-05-18 11:58:16 +02:00
jocelyn
167ac563aa
List user roles for each users in the admin list of users.
2016-05-18 11:02:16 +02:00
jocelyn
f4ac4be684
Fixed role changes for an user.
2016-05-18 11:01:54 +02:00
jocelyn
12a3898487
Decode url for redirection purpose during authentication.
2016-04-27 16:07:24 +02:00
jocelyn
0e3419fea0
Do not try to redirect to previous page or destination on logout!
2016-04-13 23:12:11 +02:00
jocelyn
816f0eb820
Improved session auth module routing.
2016-04-13 12:53:10 +02:00
jocelyn
bd3fe63976
Fixed "destination" support when login.
...
(i.e when visitor click on signin from page A, one he is signed, he will be redirected to the initial page A.)
2016-04-13 10:56:28 +02:00
jocelyn
0c7d8af9d7
Added support for CMS_BLOCK.is_raw in custom block module.
2016-02-19 00:53:47 +01:00
jocelyn
f80268c1ac
Updated CMS_HOOK_BLOCK, to provide a better block_identifiers (CMS_RESPONSE): detachable ITERABLE [READABLE_STRING_8] query, to be implemented by CMS_HOOK_RESPONSE_BLOCK descendants.
...
Added CONFIG_READER.table_keys: detachable LIST [READABLE_STRING_32].
2016-02-19 00:10:09 +01:00
jocelyn
77e2c28d18
Added logs admin viewer.
...
Added CMS_SETUP.is_debug: BOOLEAN (see cms.ini site.debug setting)
2016-02-19 00:03:15 +01:00
jocelyn
af137629e0
Restored previous template_block* function signatures and made them obsolete.
...
Added smarty_template_block* functions as new recommended functions.
2016-02-18 16:26:00 +01:00
jocelyn
a7f1f14b8a
Added missing change to installed file for demo example.
2016-02-18 16:14:58 +01:00
jocelyn
fbda2c9eb2
Reuse improved CMS_HOOK_BLOCK_HELPER to help creation of block templates.
...
Fixed typo in basic auth login form.
2016-02-18 16:13:58 +01:00
jocelyn
ff58593bff
Added functions to get link from menu or link composite.
...
Improved management menu, but using sub menu.
2016-02-18 12:47:21 +01:00
jocelyn
c65f5765d6
Removed unwanted auth.json file (wrong directory).
2016-02-17 16:11:50 +01:00
jocelyn
19565b9c98
Updated registration form.
2016-02-17 16:07:20 +01:00
jocelyn
6716cb5575
Protected cache, export and feeds menu link.
2016-02-17 15:20:38 +01:00
jocelyn
75332c148d
Added protection/permissions.
2016-02-17 12:24:58 +01:00
jocelyn
b54fd85172
Added files module, with for now, a focus on upload files facility.
...
Contribution from Fabian Murer, as part of an ETH student project.
Supervised, refactorized and merged by Jocelyn Fiat.
Signed-off-by: Fabian Murer <fmurer@student.ethz.ch >
Signed-off-by: Jocelyn Fiat <git@djoce.net >
2016-02-17 12:03:24 +01:00
jocelyn
bc07aad01b
Restored iron package name to "roc"
2016-02-12 09:03:56 +01:00
jocelyn
ce4bb551d2
Updated package.iron .
2016-02-04 00:01:32 +01:00
jocelyn
5ceb9d3dd3
Fixed new account admin message.
...
- the rejection url was badly formatted in the template.
2016-02-03 23:59:55 +01:00
jocelyn
c1a5838320
Fixed auth email messages code and template.
2016-02-03 23:51:20 +01:00
jocelyn
db697cec3e
Fixed auth mail template text and code.
2016-02-03 23:33:52 +01:00
jocelyn
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).
2016-02-03 23:16:05 +01:00
jocelyn
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.
Refactored Auth related code
- added various abstractions to factorize implementation and harmonize solutions.
- revisited the logout strategy.
- updated the account info page, and remove info user should not care about.
- simplified the process, and encourage auth module to follow same design.
Added CMS_LINK helper routines to modify the related query string.
Removed CMS_USER.profile (and related routines)
- It was not used so far.
- it will probably a specific module later, if needed.
Update various module to avoid fetching user from sql directly, and let this task to CMS_USER_API.
Removed CMS_NODE_API.node_author (a_node: CMS_NODE): detachable CMS_USER,
- as the info is already in CMS_NODE.author
Added CMS_RESPONSE.redirection_delay, if ever one code want to redirect after a few seconds.
Added the request uri info to the not found cms response.
2016-01-29 21:58:49 +01:00
jocelyn
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.
For auth session module, use auth_session as table name, and use VARCHAR(64).
Extracted sql from blog module, and store it under site/scripts/install.sql .
Renamed a few $modulename.sql as install.sql
2016-01-27 18:22:20 +01:00
jocelyn
d3b485f4d3
Removed unused local variable.
2016-01-22 22:19:24 +01:00
jocelyn
2b1d5f9693
Updated to new routine type.
2016-01-22 21:41:56 +01:00
jocelyn
59c03c5f4d
Added CMS_STRING_EXPANDER.
...
For now with basic implementation.
It will be improved later
Added SEO related attribute in CMS_RESPONSE.
Added improved Contact module.
Added basic SEO module.
2016-01-22 21:33:06 +01:00
jocelyn
39ab19d20e
Eiffel code and ECFs update to support new agent notations.
...
Accepts /account and /account/ .
2016-01-19 16:15:13 +01:00
jocelyn
fd5e396b72
Code cleaning.
2016-01-15 18:35:53 +01:00
jocelyn
5bd28326c2
Added source for sql scripts.
2016-01-15 17:59:21 +01:00
jocelyn
eef2a52f48
Integrated new registration workflow.
...
Added optional "mailer.subject_prefix" configuration item.
Added CMS_SETUP.utf_8_site_name for convenience.
Fixed a few potential unicode issues.
Fixed various typos.
2016-01-15 17:46:56 +01:00
jocelyn
a6642e9f3e
Fixed location of library "http_client_extension" in recaptcha library.
2016-01-15 14:11:51 +01:00
jocelyn
affe3beb27
Merge branch 'roc_register' of https://github.com/jvelilla/ROC into roc_register
2016-01-15 13:30:58 +01:00
jocelyn
a013efd6f7
Cosmetic in DEMO_CMS_EXECUTION
...
Removed persistence/mysql which is not used.
2016-01-15 13:30:07 +01:00
jocelyn
f6885ff581
remove roc.exe
2016-01-13 22:05:49 +01:00
jocelyn
de443a2163
Do not use ODBC by default.
...
(bad for default, since it depends on odbc drivers to be installed)
2016-01-13 17:30:38 +01:00
jocelyn
a179ee3239
Reverted executable name to "demo"
2016-01-13 10:38:27 +01:00
jocelyn
ed0d9c8d07
Use {CMS_LOG}.level_notice and related constant when using api.log(..)
2016-01-12 16:14:54 +01:00
jocelyn
67fbee737d
Keep only sqlite3 persistence as default.
...
To include mysql and other, uncomment related code in demo-safe.ecf and demo_cms_execution.
2016-01-12 16:14:18 +01:00
jocelyn
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.
2016-01-08 22:24:52 +01:00
jocelyn
0813abe0bb
Fixed ROC CMS library compilation.
2015-12-18 15:29:43 +01:00
jocelyn
1094acb3ec
Removed unused local variable
2015-12-16 21:05:57 +01:00
jocelyn
e7c9a54f3f
Removed unused local.
2015-12-16 21:03:15 +01:00
jocelyn
bbbdac12c8
Moved taxonomy html generation to CMS_TAXONOMY_API.
2015-12-16 21:03:03 +01:00
jocelyn
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 .
2015-12-16 15:59:22 +01:00
jocelyn
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.
2015-12-10 11:26:28 +01:00
jocelyn
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.
2015-12-10 11:21:20 +01:00
jocelyn
e3ae564746
Removed an obsolete call to CMS_RESPONSE.hooks .
2015-12-07 22:08:37 +01:00
jocelyn
b0626d5250
Use + instead of concat(..) in javascript.
2015-12-07 21:36:24 +01:00
jocelyn
276dcc6fcd
Added back CMS_MODULE.register_modules (CMS_RESPONSE) as obsolete, to avoid breaking existing modules.
...
Note: all module SHOULD migrate to new hook setup!
2015-12-07 21:24:48 +01:00
jocelyn
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.
Added /taxonomy/term/{termid} implementation.
2015-12-07 18:21:40 +01:00
jocelyn
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} .
2015-12-03 23:01:31 +01:00
jocelyn
a5c117e46e
Merge branch 'taxonomy'
2015-12-03 19:26:43 +01:00
jocelyn
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.
2015-12-03 19:24:58 +01:00
jocelyn
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.
2015-11-23 18:05:53 +01:00
jocelyn
1d4ce37ebf
Added CMS_STORAGE.as_sql_storage: detachable CMS_STORAGE_SQL_I to ease development based on SQL database.
2015-11-23 18:03:55 +01:00
jocelyn
3791ffacdc
Added first steps toward Taxonomy module.
2015-11-23 15:27:04 +01:00
jocelyn
b8920ee8b3
Added module administration from /admin/modules/
2015-11-23 11:08:06 +01:00
jocelyn
2cf2b1da8c
Merge branch 'master' of https://github.com/EiffelWebFramework/ROC
2015-11-17 22:19:34 +01:00
jocelyn
17ae27df40
Updated ROC CMS documentation.
...
Cosmetic, comments, typo.
2015-11-17 22:18:02 +01:00
jocelyn
04df6b85f0
Removed unused local variables.
2015-11-12 18:48:37 +01:00
jocelyn
79d30ee3a7
Added export of core data, such as users, path_aliases, custom_values.
...
Added export of node revisions.
2015-11-12 18:19:06 +01:00
jocelyn
a5973c9c8a
Added exportation solution via CMS_HOOK_EXPORT.
...
Updated blocks settings for demo example project.
2015-11-10 10:30:10 +01:00
jocelyn
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.
2015-11-09 21:07:02 +01:00
jocelyn
6b3ff6f980
Fixed list item computation for ini file, especially with included ini file.
2015-11-02 21:07:26 +01:00
jocelyn
360855a558
Fixed recent_changes module to allow alias of recent_changes blocks.
...
Factorized code in CMS_RESPONSE by reusing add_block.
2015-11-02 18:54:30 +01:00
jocelyn
6aaec0be9f
Fixed table item computation for ini file, especially with included ini file.
2015-11-02 18:10:27 +01:00
jocelyn
cb6d13b5f7
Updated gcse library to use unique own uuid in ecf file.
2015-11-02 14:38:36 +01:00
jocelyn
951c977892
Use relative paths from google_search ecf files to other local cms library .ecf files.
2015-11-02 14:33:14 +01:00
jocelyn
2a4ebfa12e
Updated google search libary ecf files to have better void-safe .ecf file.
2015-11-02 14:22:41 +01:00
jocelyn
955852747a
Include google_search engine in example/demo installation script.
2015-11-02 11:18:45 +01:00
jocelyn
23fe22cad1
Google search module:
...
- cleanup unwanted file
- fixed bad indentation in html template.
2015-11-02 11:16:54 +01:00
jocelyn
da4b36869a
Include the launcher during installation (install.bat).
2015-11-02 10:50:27 +01:00
jocelyn
5624892ebc
Updated code related to cache management in CMS core and modules.
2015-11-02 10:50:05 +01:00
jocelyn
5b0ab76434
Fixed more unicode issues, or being more flexible when loading from database.
2015-10-20 19:02:04 +02:00
jocelyn
a84f86d7a2
Addressed various unicode related issues.
...
Note this is using recent changes from text_filter library.
2015-10-20 18:49:40 +02:00
jocelyn
3f4e70b98c
Updated roc tools, and associated scripts.
...
Also include Eiffel Store ODBC persistence.
2015-10-20 11:29:16 +02:00
jocelyn
782e9397a3
Added missing sql_finalize which is used to cleanup as early as possible the last statement when it is not needed anymore.
2015-10-19 23:33:17 +02:00
jocelyn
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.
2015-10-19 22:50:48 +02:00
jocelyn
a260bbc2c5
Removed obsolete usage of {TYPE}.attempt from CMS_MODULE_COLLECTION.
2015-10-19 20:50:47 +02:00
jocelyn
eb5ae32e46
Added persistence support for Eiffel sqlite3 wrapper.
...
Updated existing persistency solution to be more generic to any db solution.
2015-10-19 11:24:22 +02:00
jocelyn
7fcacad5eb
Use extended type support from EiffelStore to handle STRING_32, and other extended types.
2015-10-19 11:20:04 +02:00
jocelyn
7c99f2dc83
Added recent_changes.ecf
2015-10-18 20:47:33 +02:00
jocelyn
57430193e3
Fixed compilation of CMS_FILE_BLOCK.
2015-10-18 19:24:43 +02:00
jocelyn
62bf58ce6d
Added support for block options for the feed aggregator blocks.
...
Updated weight for primary_tabs block.
2015-10-17 00:17:59 +02:00
jocelyn
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.
2015-10-16 23:46:18 +02:00
jocelyn
d2d86ecdf2
Added notion of block options, declared in cms.ini as
...
[blocks]
{block_id}.options[name]=value
{block_id}.options[size]=123
2015-10-16 23:11:44 +02:00
jocelyn
e90f82387f
Added notion of alias block, to provide a way to include a block content in mutiple regions.
2015-10-16 23:02:47 +02:00
jocelyn
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.
2015-10-16 17:22:22 +02:00
jocelyn
788cf3738d
Fixed compilation of CMS_BLOCK_LOCATION_CONDITION (not used for now).
2015-10-14 14:20:55 +02:00
jocelyn
f6185612b2
Fixed compilation issue.
2015-10-12 19:42:09 +02:00
jocelyn
d37f45d958
Include block caches clearing during "clear_cache" hook invocation.
2015-10-12 19:39:41 +02:00
jocelyn
872f2a177d
For now, only clear feed aggregation cache if clear all cache is requested.
2015-10-12 19:22:37 +02:00