Commit Graph

153 Commits

Author SHA1 Message Date
Jocelyn Fiat
87113e2f6f Merge branch 'master' into es17.01 2017-04-11 11:56:37 +02:00
Jocelyn Fiat
1f6fce1278 Improved theming for admin vs site.
- Added $theme_path, $base_path
- Added CMS_RESPONSE.module_resource_url (...) instead of using hardcoded "/module/" + name + ...
- Use base_path rather than base_url  (note ROC CMS is not yet working with EWF standalone "base" url option)
2017-04-11 11:56:04 +02:00
Jocelyn Fiat
da25da8d91 Merge branch 'master' into es17.01 2017-03-30 19:15:47 +02: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
882922cea5 Merge branch 'master' into es17.01 2017-03-30 17:33:00 +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
7968471a54 Merge branch 'master' into es17.01 2017-03-30 14:28:28 +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
c261554a39 Merge branch 'master' into es17.01
# Conflicts:
#	examples/demo/demo.ecf
#	modules/admin/admin-safe.ecf
2017-03-30 12:03:41 +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
5ca9a0cd85 Merge branch 'master' into es17.01 2017-03-24 18:44:49 +01:00
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
82ff68c914 Merge branch 'master' into es17.01 2017-03-06 21:28:00 +01:00
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
4dcd2693e3 Merge branch 'master' into es17.01 2017-03-03 18:53:33 +01:00
7cde24a439 Protected again sql error.
Return better sql error message for sqlite3 storage.
2017-03-03 18:53:11 +01:00
c7222d5fcc Merge branch 'master' into es17.01 2017-03-03 13:37:19 +01:00
2fc0c6f7b7 Fixed wrong initial offset. 2017-03-03 13:36:56 +01:00
18424e6db7 Merge branch 'master' into es17.01
# Conflicts:
#	modules/node/node-safe.ecf
2017-03-03 13:17:31 +01:00
bb25a8b12e Added feed ordered by publication on /nodes/{type}/feed. 2017-03-03 13:16:04 +01:00
79df423c7a Merge branch 'master' into es17.01 2017-03-03 11:18:12 +01:00
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
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
099dc968fd Merge branch 'master' into es17.01 2017-03-01 16:40:57 +01:00
a611b27ad9 Fixed node preview. 2017-03-01 16:33:17 +01:00
3d2770e759 Merge branch 'master' into es_17_01
# Conflicts:
#	examples/demo/demo.ecf
#	modules/node/node-safe.ecf
2017-03-01 08:51:23 +01:00
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
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
2cea3cf261 Merge branch 'master' into es_17_01 2017-02-10 13:35:34 +01:00
ccf1040513 Added sitemap support on node module.
code cleaning.
2017-02-10 13:34:49 +01:00
b0976b1b20 Merge branch 'master' into es_17_01 2017-02-10 12:23:34 +01:00
bef99dd762 Added support for sitemap.xml . 2017-02-10 12:08:33 +01:00
8e1fa13feb Merge branch 'master' into es_17_01 2017-02-08 23:02:11 +01:00
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
932526514e Merge branch 'master' into es_17_01 2017-02-08 18:41:39 +01:00
a1e8cc5128 Make sure to use the user profile name whenever it is possible. 2017-02-08 18:41:17 +01:00
e6c709fbf0 Converted .ecf to version 1-16-0 (introduced with EiffelStudio 17.01). 2017-02-08 12:16:26 +01:00
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
f0a3b2bd3a Collapse expanded keywords ($Date$, $Author$, ...) 2017-02-06 18:45:44 +01:00
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
c10faceaf6 Better log message during import.
Fixed SQL storage for comments.
2017-01-27 23:53:27 +01:00
32a47fbba3 When importing, do not change modification date.
Display /nodes sorted by changed date.
Improved the import form, and report wrong import folder. Only import from folder inside site/import for security reason.
2017-01-27 23:12:02 +01:00
456770ca3e Remove extra argument for the creation procedure of some modules (node and wikitext) as this is useless. 2017-01-27 17:02:28 +01:00
7c398a9f33 Added support for user, user_roles, page, blog export and import.
Added basic support for comments, for now mainly viewing comments from database (no submission forms yet).
Added first simple wikitext filter (render wikitext content as xhtml).
Ensure response content type is text/html with utf-8 charset.
2017-01-27 11:57:52 +01:00
2d698f604b Extracted page support from cms_node_module, and add a proper CMS_PAGE_MODULE.
- now, the CMS_PAGE_MODULE has to be declared in the related CMS_SETUP via CMS_EXECUTION.
   (See demo for example)

Improved the export facilities.
  Implemented blog and page export.
Added import facilities.
  Implemented blog and page import.

Improved node revision web interface (allow to edit a past revision, in order to restore it as latest revisionm i.e current).
Removed specific tag from blog module, and reuse the taxonomy module for that purpose.

Added WIKITEXT module that provide a WIKITEXT_FILTER, so now we can have wikitext content.
   - for now, no support for wiki links such as [[Foobar]].
2017-01-20 16:05:40 +01:00
41fb8d5730 Added summary and categories to recent change item. 2016-11-30 17:07:46 +01:00
76cf815477 ROC CMS libraries are SCOOP capable. 2016-11-30 15:42:02 +01:00
88b3ca1d2f Avoid using old path for http_authorization. 2016-05-23 21:24:09 +02:00