Commit Graph

292 Commits

Author SHA1 Message Date
Jocelyn Fiat 85ac9f7366 Cosmetic. 2017-04-10 18:30:27 +02:00
Jocelyn Fiat 09a902d469 Make user activation procedure safer. 2017-04-10 18:27:19 +02:00
Jocelyn Fiat d26fc98492 Simplified the ecf for the google search 2.0 module.
Updated the install.bat (dev tool).
2017-04-10 18:20:13 +02:00
Jocelyn Fiat f67116980d If gcse settings are not set, do not generate the gcse search form. 2017-04-07 11:27:01 +02:00
Jocelyn Fiat 5915af6a9c Added masquerade dev module and disabled it by default.
- it allows to login as a given user by passing security check.
  - it must be used only during development!
  - disabled by default!
Updated the session auth module to make it easier to be reused.
  - masquerade module is based on the session auth module.
2017-04-06 15:33:51 +02:00
Jocelyn Fiat ad2b30f52b Changed the way search modules get integrated with the theme via a new region "search".
Improved current module for google search 2.0.
2017-04-06 14:02:20 +02:00
Jocelyn Fiat e062429871 Merge remote-tracking branch 'jvelilla/roc_google_search2.0' into roc_gs2.0 2017-04-05 17:40:04 +02:00
jvelilla 1eae3b7413 Removed secret key from google search version 2.0 since is not needed. 2017-04-03 11:34:02 -03:00
jvelilla 72cfd1d652 Initial import Google Custom Search 2.0
Updated demo to use it.
2017-03-30 22:05:35 -03:00
Jocelyn Fiat 3d2c30ea5f Fixed published node access. 2017-03-30 19:15:12 +02:00
Jocelyn Fiat 9d59f37138 Change a fixme into a comment. 2017-03-30 18:17:39 +02:00
Jocelyn Fiat 5273940b82 Fixed access to non published nodes (and also for the related revisions if any)! 2017-03-30 17:32:15 +02:00
Jocelyn Fiat e547279016 Implemented save/publish/unpublish control on nodes.
Display on published blogs (except for admin, or author of the related blog).
2017-03-30 17:16:02 +02:00
Jocelyn Fiat 230ef8ed18 Fixed video filter to support STRING_GENERAL . 2017-03-30 16:48:11 +02:00
Jocelyn Fiat a01d161864 Improved video content filter to be more flexible, and allow custom template. 2017-03-30 15:41:04 +02:00
Jocelyn Fiat e3dd6cc8e8 Committed missing change for the cms formats administration. 2017-03-30 14:45:34 +02:00
Jocelyn Fiat cd48fe182a Always set the content type when it is known for node view. 2017-03-30 14:28:00 +02:00
Jocelyn Fiat 3072b99151 Fixed installation access permission using administration.installation_access instead of previous admin.installation_access. 2017-03-30 11:58:53 +02:00
Jocelyn Fiat 0ce7d11e52 Implemented custom cms format, and associated administration pages.
Applied to existing filter and format.
Added embedded_video filter (initially contribute by Javier Velilla).
2017-03-30 11:58:44 +02:00
Jocelyn Fiat 134f876e62 Display the full url for uploaded files via the CMS_FILES_MODULE.
Keep db/mails in checkout.
2017-03-28 22:26:21 +02:00
jocelyn 21e75a6492 Splitted administration and normal web site interfaces.
This optimises a bit the routing map, and make cleaner separation.
Make the base url for admin pages customizable via `administration.base_path` variable in cms.ini
   note: could be /admin, /roc-admin, or ..
It is possible to have a specific theme for administration via the variable "administration.admin"
2017-03-24 18:38:58 +01:00
jocelyn b263e4a1b9 Support http caching on sitemap.xml . 2017-03-08 20:55:28 +01:00
jocelyn 941f50e4fb Removed obsolete calls. 2017-03-08 10:43:27 +01:00
jocelyn 67f6591851 Better control on path alias.
If user has permission to edit, provide a text input, otherwise just a label if path are required.
Reviewed html generated for taxonomy field in node edit form.
Improved the blog entries list by providing (if permitted) link to blog entry creation, and link to the user entries or all entries.
2017-03-06 21:27:35 +01:00
jocelyn 7cde24a439 Protected again sql error.
Return better sql error message for sqlite3 storage.
2017-03-03 18:53:11 +01:00
jocelyn 2fc0c6f7b7 Fixed wrong initial offset. 2017-03-03 13:36:56 +01:00
jocelyn bb25a8b12e Added feed ordered by publication on /nodes/{type}/feed. 2017-03-03 13:16:04 +01:00
jocelyn 0febe3418b (Breaking change) added notion of editor vs author.
The table nodes and node_revisions have an extra "editor" field.
Update the sql table with:
  ALTER TABLE nodes ADD editor INTEGER ;
  UPDATE nodes SET editor = author;
  ALTER TABLE node_revisions ADD editor INTEGER ;
  UPDATE node_revisions SET editor = author;
2017-03-03 11:16:46 +01:00
jocelyn 6cb6dd1609 Added notion of author (owner) and editor to allow the editing of node by non owner users. 2017-03-03 11:12:51 +01:00
jocelyn 4cbdfeff06 Improved the user selection for messaging module. 2017-03-03 11:08:38 +01:00
jocelyn f5671bc190 Display associated tags in blogs listing. 2017-03-02 16:02:45 +01:00
jocelyn a611b27ad9 Fixed node preview. 2017-03-01 16:33:17 +01:00
jocelyn 8ff638d62e Fixed CMS_USER.creation_date retrieval.
Improved the admin users listing.
2017-03-01 15:36:58 +01:00
jocelyn 0ab318a43d Updated messaging ecf files. 2017-03-01 11:20:39 +01:00
jocelyn 13d0927c58 Added default path alias for node.
Fixed set path alias, when alias already exists in the history.
2017-02-28 17:35:18 +01:00
jocelyn a341bd98eb Improved node management.
- List node by node types
- fixed the trash/restore/delete workflow
Added messaging module to send message to cms users (by email for now).
Added early protection for cache, export and import functionalities.
2017-02-28 11:24:48 +01:00
jocelyn dc84e79952 Wrap with double quote only if term has a comma. 2017-02-10 19:03:34 +01:00
jocelyn ccf1040513 Added sitemap support on node module.
code cleaning.
2017-02-10 13:34:49 +01:00
jocelyn bef99dd762 Added support for sitemap.xml . 2017-02-10 12:08:33 +01:00
jocelyn b0b92c2d36 Added finer control on path_alias.
- added a permission to edit path alias.
 - added an admin handler to manage path aliases.
When path alias is changed on node, always keep previous path alias.
  (can be unset from the related admin section).
CMS_API.storage.path_aliases returns the list of path aliases (recents aliases come first).
2017-02-08 23:01:46 +01:00
jocelyn d8291e91ac Merge branch 'master' of https://github.com/EiffelWebFramework/ROC 2017-02-08 19:37:59 +01:00
jocelyn 4f4a838504 Allow user to edit its own profile name. 2017-02-08 19:36:23 +01:00
jvelilla 09b5cc752c Rename variable to cms_search_query.
Updated code to use CMS_RESPONSE.set_value, to set the value instead of
CMS_HOOK_VALUE_TABLE_ALTER
2017-02-08 15:00:00 -03:00
jocelyn a1e8cc5128 Make sure to use the user profile name whenever it is possible. 2017-02-08 18:41:17 +01:00
jvelilla bb3e2abf55 Updated google search module to keep the search input using an alter value.
Updated feature description.
2017-02-08 10:31:40 -03:00
jocelyn f75dde457d Added SQL script to update existing ROC CMS installation. 2017-02-07 19:19:40 +01:00
jocelyn d97542f797 Added CMS_CORE_MODULE which is the mandatory module for ROC CMS.
Added CMS_USER.profile_name .
Improved module managements with install vs enable.
  - enabled/disabled status can also be stored in database.
Install procedure do not install all available modules anymore.
2017-02-07 16:52:08 +01:00
jocelyn f0a3b2bd3a Collapse expanded keywords ($Date$, $Author$, ...) 2017-02-06 18:45:44 +01:00
jocelyn 784891705f Added possibility to change its own username. 2017-02-06 18:40:20 +01:00
jocelyn fae444c238 Better syntax formating for SQL query related to comments module.
Display import link from admin page.
Removed unused local variables.
2017-02-01 10:29:15 +01:00