Commit Graph

10 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
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
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
e6c709fbf0 Converted .ecf to version 1-16-0 (introduced with EiffelStudio 17.01). 2017-02-08 12:16:26 +01:00
18d26a765a Made cms uploading file safer. 2016-11-30 21:50:06 +01:00
76cf815477 ROC CMS libraries are SCOOP capable. 2016-11-30 15:42:02 +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
75332c148d Added protection/permissions. 2016-02-17 12:24:58 +01:00
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