Commit Graph

532 Commits

Author SHA1 Message Date
b47d631095 Html escape cms_search_query variable. 2017-02-10 12:16:09 +01:00
bef99dd762 Added support for sitemap.xml . 2017-02-10 12:08:33 +01:00
ca4d975715 Removed obsolete features:
- CMS_RESPONSE.add_variable (..)
 - CMS_MODULE.register_hooks (..)
And related code.
2017-02-08 23:13:56 +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
d8291e91ac Merge branch 'master' of https://github.com/EiffelWebFramework/ROC 2017-02-08 19:37:59 +01:00
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
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
f75dde457d Added SQL script to update existing ROC CMS installation. 2017-02-07 19:19:40 +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
784891705f Added possibility to change its own username. 2017-02-06 18:40:20 +01:00
1c829e16ff Fixed testing codes that were not compliant with search user by email signature. 2017-02-01 18:57:15 +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
2568e85c59 Remove %R from wikitext source, otherwise this may cause parsing issue. 2017-01-27 19:13:30 +01:00
38b4713276 Updated blog design to use ?page=123&size=456.
Use  /blog/{user} url to list blog from a specific user.
Fixed bad xhtml rendering (missing closing tag).
2017-01-27 19:12:37 +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
3bcfb0a44a Added the possibility to have feed aggregation as embedded view using "?view=embedded".
Convenient to include the feed aggregation in a page with for instance jquery load(..) function.
2017-01-02 18:10:40 +01:00
219969cae4 Use .json extension for the exported blog post data. 2017-01-02 18:10:27 +01:00
18d26a765a Made cms uploading file safer. 2016-11-30 21:50:06 +01:00
7d50973fd5 Ensure that cms page always has a non empty html page title. 2016-11-30 21:49:47 +01:00
73572a3e1c updated roc tool ecf file. 2016-11-30 21:49:02 +01:00
84e0ddf50c propagate error for taxonomy handler. 2016-11-30 21:48:49 +01:00
5e98d82934 Added category support for feed aggregation. 2016-11-30 21:48:13 +01:00
31d4c8dc5b Removed nino from launcher.
Updated ecf files.
2016-11-30 21:47:35 +01:00
3bbe6a50b7 New installation procedure for roc demo example. 2016-11-30 17:22:51 +01:00
1fb9640d9c Added feed aggregations ids.
This is used to avoid computing the whole feed aggregation to decide if a feed block is included or not.
2016-11-30 17:09:59 +01:00
41fb8d5730 Added summary and categories to recent change item. 2016-11-30 17:07:46 +01:00
ff58c6aff9 Added support for configuration to Roc.
The installer can now use a roc.cfg file to define the various needed modules.
Format:
{ "name": "demo", "location": ".",
  "modules": {
      "foo": { "location": "path-to-source-of-module-foo"; },
      "bar": { "location": "path-to-source-of-module-bar"; }
  }
}
2016-11-30 16:48:46 +01:00
76cf815477 ROC CMS libraries are SCOOP capable. 2016-11-30 15:42:02 +01:00
410903ff5c Make favicon.ico expires after 24 hours. 2016-11-30 15:41:12 +01:00
19eb5113e9 Added ssl files to allow cms SSL support (disabled by default).
Fixed typo in auth post password message.
Make sure to keep site_destination set in login form, so that the user is redirected to previous location.
Use default http client in the feel aggregator component, instead of forcing libcurl usage.
2016-11-30 10:43:09 +01:00
0c3b85bb37 Set the uploaded file path to site/temp by default. Can be set via configuration with "temp-dir" variable.
(This is important, otherwise it uses the current working directory, but for fcgi, this is not always obvious where it is.)
Allow advanced upload, and also basic html upload, in case the dropzone.js has trouble.
Split get and post handling for files module upload request.
2016-09-26 10:37:41 +02:00
b1478cfb8a Fixed typo "We have sent you .." (instead of ... send ...). 2016-09-16 20:21:24 +02:00
d1ca6eb311 Get GCSE module accepts /gcse or /gcse/ . 2016-06-01 13:48:49 +02:00
88b3ca1d2f Avoid using old path for http_authorization. 2016-05-23 21:24:09 +02:00
6a61c30689 Fixed session logout by setting expiration date in the past and empty content. es_rev98797 2016-05-18 12:13:25 +02:00
88aaf9ed4c Made compilable with version before 16.05 2016-05-18 11:58:16 +02:00
167ac563aa List user roles for each users in the admin list of users. es_rev98795 2016-05-18 11:02:16 +02:00
f4ac4be684 Fixed role changes for an user. 2016-05-18 11:01:54 +02:00
12a3898487 Decode url for redirection purpose during authentication. 2016-04-27 16:07:24 +02:00
0e3419fea0 Do not try to redirect to previous page or destination on logout! 2016-04-13 23:12:11 +02:00
816f0eb820 Improved session auth module routing. 2016-04-13 12:53:10 +02:00
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.)
es_rev98616
2016-04-13 10:56:28 +02:00
0c7d8af9d7 Added support for CMS_BLOCK.is_raw in custom block module. 2016-02-19 00:53:47 +01:00