Commit graph

137 commits

Author SHA1 Message Date
picocms fdd60d8f98 Merge pull request #207 from raptorz/master
fix get_protocol bug.
2015-04-21 14:26:30 +01:00
picocms 78a1db490e Merge pull request #211 from dmelo/master
Improve project organization
2015-04-21 14:25:23 +01:00
Diogo Oliveira de Melo 32b179faff Minor fix 2015-03-18 06:50:54 -03:00
Diogo Oliveira de Melo 19c9696a12 Minor fix 2015-03-18 06:50:13 -03:00
Diogo Oliveira de Melo 9e8b09ae41 Add reference to composer on README 2015-03-18 06:49:27 -03:00
Diogo Oliveira de Melo e05314b671 minor fix on README 2015-03-18 06:46:41 -03:00
Diogo Oliveira de Melo 547687fed3 Add instructions about Pico on README.
- add install and run instructions on README.
2015-03-18 06:44:22 -03:00
Diogo Oliveira de Melo 196d3cf283 Move content to content-sample
- move the directory content to content-sample
- remove CONTENT_DIR as a define on index.php
- create config value "content_dir" and replace all CONTENT_DIR by it's
correspondent $config['content_dir']
- add the content_dir config on config.php.template
2015-03-18 06:32:00 -03:00
Diogo Oliveira de Melo 0f6a55baa0 Organize files on git.
- add vendor to .gitignore
- remove all vendor files
- move content to content-sample
- move config.php to config.php.template
2015-03-18 06:11:45 -03:00
raptor 8efa97accc fix get_protocol bug.
$_SERVER['HTTPS'] == '' on nginx http
2015-02-21 23:03:05 +08:00
Kay Stenschke 62a03174c9 Update Twig too recent version (from 1.12 to 1.18) 2015-02-20 11:45:17 +01:00
picocms 234c295f69 Update README.md 2014-11-07 11:04:43 +00:00
picocms b2330ad357 Merge pull request #141 from outrunthewolf/patch-1
Update index.php
2014-05-19 23:51:13 +01:00
Curtis Mattoon dfb5900835 Update pico.php
Added ignore for tmp file extensions in the get_files() method. When editing plugins with emacs, the get_files() method also grabs the temp files, which leads to a "Can't redclare class [PluginName]" error.

Side note: Would these arrays be better in a property (ala DRY)?
2014-04-22 19:44:37 -04:00
picocms 184b18383f Update index.html
Updated link
2014-03-25 15:11:56 +00:00
picocms 1e0d6ce7b6 Update pico_plugin.php
Updated link
2014-03-25 15:10:51 +00:00
picocms 364a395226 Update pico.php
Updated link
2014-03-25 15:10:19 +00:00
picocms 254d390316 Update index.md 2014-03-25 15:07:58 +00:00
picocms e2df7a2f0d Update index.md
Updated links
2014-03-25 15:07:35 +00:00
picocms 4434205c91 Update composer.json
Updated locations
2014-03-25 15:05:40 +00:00
picocms 8faa006630 Update README.md
Updated link
2014-03-25 11:23:00 +00:00
Philipp Schmitt a2331c1b53 UTF-8 encoding for date meta 2014-02-27 13:47:35 +01:00
Philipp Schmitt 553a5ea010 Localize date meta
Use strftime() instead of date() so that non-english websites can
display the date meta in their locale. The locale can be set with
setLocale(LC_ALL, 'YOURLOCALE').
Please note that this changes the date format.
More information: http://php.net/strftime
2014-02-27 12:48:56 +01:00
outrunthewolf 48a1b00f87 Update index.php
Require once on core files, to stop redeclare when composer has already done so.
2014-02-10 09:04:20 +00:00
Gilbert Pellegrom 77d8b39ff9 Merge pull request #134 from schoettl/master
Removed space character between /*
2014-01-27 08:20:47 -08:00
Gilbert Pellegrom c4991aede2 Merge pull request #126 from iheanyi/master
Fix typos within index.md
2014-01-27 08:19:19 -08:00
sergeweyland aea6779195 Update pico.php
Fixes an issue wherein the alphabetical sorting of pages did not happen, because array key was not, in fact, the page's filename.
2014-01-17 19:05:10 +01:00
Jakob Schöttl 2869a904c2 Removed space character between /* 2014-01-08 17:38:20 +01:00
Cristian 2194dd1bdb Fix comment 2014-01-05 17:42:41 +04:00
Cristian 0cdb1735bb Merge branch 'master' of https://github.com/gilbitron/Pico into devel-chris 2014-01-05 17:20:30 +04:00
Iheanyi Ekechukwu 44fb99ade3 Fix typos within index.md
direcotry --> directory
2013-12-16 14:09:04 -05:00
Ilia Kondrashov 13b1799c92 remove twig and composer files from sources, now composer install is required to run after clone 2013-11-28 21:55:44 +04:00
Gilbert Pellegrom dc663cee6d Fix. 2013-11-28 17:13:07 +00:00
Gilbert Pellegrom fd3ac9405f Merge pull request #120 from caseycs/packagist
improve composer.json so Pico would be able to publish on Packagist and ...
2013-11-28 09:02:52 -08:00
Ilia Kondrashov c8fa3398c4 improve composer.json so Pico would be able to publish on Packagist and include by adding gilbitron/Pico in composer.json 2013-11-28 20:49:07 +04:00
Snip1 395011c770 Update pico.php
Adding    				'description' => isset($page_meta['description']) ? $page_meta['description'] : '',
 to    $data=array  allows for use of the description meta in place of the excerpt.
2013-11-17 20:36:27 -05:00
Christopher b136780988 Dont remove all comments from *.md. Only first one (other may be code) 2013-11-01 01:37:20 +04:00
Gilbert Pellegrom aa59661ff8 v0.8
Added ability to set template in content meta
2013-10-23 10:39:23 +01:00
Gilbert Pellegrom b2fa0a4abe Changed Pico methods to protected. 2013-10-23 10:23:11 +01:00
Gilbert Pellegrom 022334ff13 Added before_parse_content & after_parse_content hooks. content_parsed
hook is depreciated. Updated get_protocol() method.
2013-10-23 10:19:24 +01:00
Gilbert Pellegrom 9616d902e0 Merge pull request #88 from NeoBlack/feature/moveConfigLoading
[BUGFIX] load config and call hook before the other hooks
2013-10-23 02:07:07 -07:00
Gilbert Pellegrom d35d87f3ea Merge pull request #91 from beheh/master
Change limit_words to only show ellipsis when word count exceeds max
2013-10-23 02:05:50 -07:00
Benedict Etzel f665564a79 only append ellipsis in limit_words when string was actually limited 2013-10-21 13:04:02 +02:00
Frank Nägler 3d91c03979 [BUGFIX] load config and call hook before the other hooks
this bugfix is very important, because other hooks like "after_load_content" can not use the config.
2013-10-14 20:26:02 +02:00
Gilbert Pellegrom 6acc979655 Update README.md 2013-10-02 18:23:08 +01:00
Gilbert Pellegrom 45cd4ca5b7 v0.7
* [New] Added before_read_file_meta and get_page_data plugin hooks to
customize page meta data
 * [Changed] Make get_files() ignore dotfiles
 * [Changed] Make get_pages() ignore Emacs and temp files
 * [Changed] Use composer version of Markdown
 * [Changed] Other small tweaks
 * [Fixed] Date warnings and other small bugs
2013-09-04 12:10:26 +01:00
Gilbert Pellegrom 69d67b2b71 Merge pull request #61 from cmattoon/master
Modified Pico::get_pages() to ignore Emacs (~) and (#) temp files
2013-09-04 03:33:04 -07:00
Gilbert Pellegrom 014a4df61f Merge pull request #38 from barryjmenard/copy_editing
fix minor grammatical errors
2013-09-04 03:23:53 -07:00
Gilbert Pellegrom b3c7648e3a Merge pull request #36 from ibr/master
Using composer version of Markdown
2013-09-04 03:23:16 -07:00
Gilbert Pellegrom 41bfe9ab49 Merge pull request #31 from cochrandv/master
Make get_files ignore dotfiles.
2013-09-04 03:21:19 -07:00