Skip to content

Commit

Permalink
Merge branch master into async-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
BronyBorn committed Jul 2, 2015
1 parent f5397c9 commit b0745d7
Show file tree
Hide file tree
Showing 247 changed files with 13,404 additions and 8,234 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -4,9 +4,12 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
services: mongodb
script: phpunit
install:
- composer require phpunit/phpunit-story:dev-master
script: phpunit --coverage-text --verbose
branches:
only:
- master
Expand Down
58 changes: 29 additions & 29 deletions README.md
@@ -1,17 +1,19 @@
# Elefant CMS

[Elefant](http://www.elefantcms.com/) is a refreshingly simple PHP content management
[Elefant](https://www.elefantcms.com/) is a refreshingly simple PHP content management
system and web framework. Elefant is a fast, lean tool for building everything from
simple websites to complete web applications.

[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/jbroadway/elefant?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

<a href='http://www.pledgie.com/campaigns/16594'><img alt='Click here to lend your support to: Elefant CMS and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/16594.png?skin_name=chrome' border='0' /></a>

## Installation help & documentation

Elefant has extensive documentation including installation instructions, user manual,
designer guides, and developer tutorials here:

* http://www.elefantcms.com/documentation
* http://www.elefantcms.com/docs

You can also find help on our community forum here:

Expand All @@ -26,17 +28,17 @@ possible and also takes advantage of bytecode caching (e.g., APC).

**Dead simple, concise template tags**

[Familiar syntax](http://www.elefantcms.com/wiki/Templates) to other template
[Familiar syntax](https://www.elefantcms.com/docs/2.0/designers/template-language) to other template
languages, with some added conveniences for dynamic embeds and internationalization.

**Clean, easy to use site editor for your users**

Elefant comes out of the box with a [full-featured CMS](http://www.elefantcms.com/wiki/The-page-editor)
for your users. You can even [white label it](http://www.elefantcms.com/wiki/White-labelling-the-CMS).
Elefant comes out of the box with a [full-featured CMS](https://www.elefantcms.com/docs/2.0/user-manual)
for your users. You can even [white label it](https://www.elefantcms.com/docs/2.0/designers/white-labelling-the-cms).

**Syntax highlighted template and CSS editor**

Sophisticated [in-browser editing](http://www.elefantcms.com/wiki/Setting-up-your-custom-designs)
Sophisticated [in-browser editing](https://www.elefantcms.com/docs/2.0/designers)
with highlights and references at your finger tips.

**Live preview while editing templates and CSS**
Expand All @@ -57,19 +59,21 @@ code quickly.

**Extensively documented**

Including full [API reference](http://api.elefantcms.com/),
[cheat sheets](http://www.elefantcms.com/wiki/Cheat-sheet),
[tutorials, and much more](https://github.com/jbroadway/elefant/wiki/Developers).
Including full [API reference](https://www.elefantcms.com/visor),
[user manual](https://www.elefantcms.com/docs/2.0/user-manual),
[tutorials, and much more](https://www.elefantcms.com/docs/2.0/developers).

**Strong security by default**

[Flexible input validation](http://www.elefantcms.com/wiki/Forms-and-input-validation)
[Flexible form building](https://www.elefantcms.com/docs/2.0/developers/form-handling),
[input validation](https://www.elefantcms.com/docs/2.0/developers/input-validation),
and automatic prevention of XSS, SQL injection, CSRF, and other types of attacks.

**Very fast and low memory**

Elefant uses [less memory per request](http://www.elefantcms.com/wiki/Performance)
than any of the major frameworks, so you can serve more visitors with the same resources.
Elefant uses less memory than any of the major frameworks, so you can serve more visitors with the same resources.
Benchmarks: [MVC layer](https://github.com/jbroadway/phpmark-elefant/blob/master/php-framework-benchmark-results.md),
[database access](https://github.com/jbroadway/php-dbal-bench), and [template rendering](https://github.com/jbroadway/template-bench).

**Solid debugging tools**

Expand All @@ -78,13 +82,13 @@ help you fix bugs faster.

**Minimalist HMVC/Model2 architecture**

Elefant takes a [unique but proven approach](http://www.elefantcms.com/wiki/Elefant-architecture)
Elefant takes a [unique but proven approach](https://www.elefantcms.com/docs/2.0/developers/request-response-cycle)
that helps minimize boilerplate without sacrificing code organization as your project grows.

**Shared apps to save you time**

From blogs to user management, events to search, Elefant saves you time not reinventing
the wheel with [high quality shared apps](http://www.elefantcms.com/shared-apps).
the wheel with [high quality shared apps](https://www.elefantcms.com/listings).

**Thoroughly unit-tested**

Expand All @@ -94,7 +98,7 @@ ensuring a stable base to build on.

**Internationalization**

Elefant apps are automatically [i18n aware](http://www.elefantcms.com/wiki/Internationalization),
Elefant apps are automatically [i18n aware](https://www.elefantcms.com/docs/2.0/administration/multilingual-setup),
with built-in multilingual capabilities and locale awareness.

## More developer goodness
Expand All @@ -103,28 +107,26 @@ Elefant builds on over 12 years of PHP experience, and aims to simplify rapid PH
development again. As such, Elefant takes into consideration all the little details
to help you work faster and better:

* Really simple, [automatic URL routing](http://www.elefantcms.com/wiki/Page-routing-and-handler-basics) w/ friendly URLs
* [Minimal but secure and fast ORM](http://www.elefantcms.com/wiki/Database-API-and-models) (based on PDO)
* Really simple, [automatic URL routing](https://www.elefantcms.com/docs/2.0/developers/mapping-your-routes) w/ friendly URLs
* [Minimal but secure and fast ORM](https://www.elefantcms.com/docs/2.0/developers/modelling-your-data) (based on PDO)
* Output filtering is turned *on by default*
* Tight [memcache integration](http://www.elefantcms.com/wiki/Memcache)
* Tight [cache integration](https://www.elefantcms.com/docs/2.0/developers/caching) (supports APC/APCu, filesystem, Memcache, Redis, and XCache)
* Matching server- and client-side input validation
* Dead-simple [form handling](http://www.elefantcms.com/wiki/Forms-and-input-validation)
* Customizable [user authentication](http://www.elefantcms.com/wiki/Custom-user-authentication)
* [CLI tool](http://www.elefantcms.com/wiki/Command-line-usage) for common tasks
* Dead-simple [form handling](https://www.elefantcms.com/docs/2.0/developers/form-handling)
* Customizable [user authentication](https://www.elefantcms.com/docs/2.0/developers/users-and-access-control)
* [CLI tool](https://www.elefantcms.com/docs/2.0/developers/writing-command-line-scripts) for common tasks
* As little scaffolding as possible
* Gzip output compression
* [Assetic](http://github.com/jbroadway/assetic) integration
* [Assetic](https://github.com/jbroadway/assetic) integration

## Try it out

[Download the latest release](http://www.elefantcms.com/download) or try the
[online demo](http://www.elefantcms.com/demo).

* [Installation instructions](http://www.elefantcms.com/wiki/Getting-started)
* [Installing on PHP Fog](http://www.elefantcms.com/wiki/Installing-Elefant-on-PHP-Fog)
* [Installing on DotCloud](http://www.elefantcms.com/wiki/Installing-Elefant-on-DotCloud)
* [Requirements and compatible hosts](http://www.elefantcms.com/wiki/Requirements)
* [Support forum](http://www.elefantcms.com/forum/) and [IRC channel](http://www.elefantcms.com/elefant-irc)
* [Installation instructions](https://www.elefantcms.com/docs/2.0/getting-started)
* [Requirements](https://www.elefantcms.com/docs/2.0/getting-started/requirements)
* [Support forum](http://www.elefantcms.com/community) and [Gitter channel](https://gitter.im/jbroadway/elefant)

## FAQ

Expand All @@ -135,5 +137,3 @@ A. This was my attempt at being hip and cool. No good?
**Q. Isn't Elefant a bit of an oxymoron for a slim framework?**

A. Why, yes. Yes it is.

[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/6328ab92375adc7e82f36ed5f290ef1c "githalytics.com")](http://githalytics.com/jbroadway/elefant)
1 change: 1 addition & 0 deletions apps/admin/conf/acl.php
Expand Up @@ -6,6 +6,7 @@
admin/add = "Create new content"
admin/edit = "Update existing content"
admin/delete = "Delete content"
admin/toolbar = "Modify the admin toolbar"
settings = "Modify site settings"
; */ ?>
3 changes: 3 additions & 0 deletions apps/admin/conf/config.php
Expand Up @@ -9,6 +9,9 @@
; Whether to show "All Pages" in the tools menu.
show_all_pages = On
; Name of the column where extra apps are placed under.
autofill_column = "Extras"
[Scripts]
; The place to load jQuery from, either 'local', 'google' which uses
Expand Down
9 changes: 5 additions & 4 deletions apps/admin/conf/embed.php
Expand Up @@ -9,7 +9,7 @@
to[type] = text
to[initial] = "http://"
to[not empty] = 1
to[regex] = "|^(http:/)?/.+$|"
to[regex] = "/^(https?:\/)?\/.+$/"
to[message] = Please enter a valid URL.
code[label] = Status
Expand All @@ -19,13 +19,14 @@
code[callback] = "admin_status_codes"
[admin/conditionalforward]
label ="Pages: Conditional Redirect"
icon = /apps/admin/css/icon-conditionalforward.png
icon = external-link
to[label] = Link
to[type] = text
to[initial] = "http://"
to[regex] = "|^(http:/)?/.+$|"
to[regex] = "/^(https?:\/)?\/.+$/"
to[message] = Please enter a valid URL.
user_type[label] = User role
Expand All @@ -36,7 +37,7 @@
[admin/html]
label = "Embed HTML Code"
icon = /apps/admin/css/icon-html.png
icon = code
id[label] = HTML
id[type] = textarea
Expand Down
6 changes: 6 additions & 0 deletions apps/admin/conf/tools.php
@@ -0,0 +1,6 @@
; <?php /*
admin/pages = Web Pages
admin/versions = Versions
; */ ?>
3 changes: 3 additions & 0 deletions apps/admin/css/datewidget.css
Expand Up @@ -4,3 +4,6 @@
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }

.ui-datepicker { z-index: 9999 !important; }
.ui-timepicker { z-index: 9999 !important; }

0 comments on commit b0745d7

Please sign in to comment.