Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge master #1

Open
wants to merge 2,656 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2656 commits
Select commit Hold shift + click to select a range
4531539
Missed tiny change from last commit.
Mar 15, 2011
02d676b
Missed tiny change from last commit.
Mar 15, 2011
d2c2225
release date and tag to changelog for 2.0.1
Mar 15, 2011
15b7a20
release date and tag to changelog for 2.0.1
Mar 15, 2011
2f8adf9
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Mar 15, 2011
38897a4
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Mar 15, 2011
d77bd5e
tagging v2.0.1
Mar 15, 2011
00b4cfa
tagging v2.0.1
Mar 15, 2011
5faa114
Removed migrations folder, accidentally sneaked in during a bad merge.
Mar 15, 2011
fba54e1
Removed migrations folder, accidentally sneaked in during a bad merge.
Mar 15, 2011
5e06f34
constants.php will be loaded from the environment specific config fol…
Mar 15, 2011
35f6491
constants.php will be loaded from the environment specific config fol…
Mar 15, 2011
c9d14e7
Standardized newlines even more extensively in Input class.
Mar 16, 2011
82f9b15
Standardized newlines even more extensively in Input class.
Mar 16, 2011
8fdbc91
Added form_validation_lang entries for decimal, greater_than, less_than.
Mar 17, 2011
ee8a712
Added form_validation_lang entries for decimal, greater_than, less_than.
Mar 17, 2011
97e634d
load config files from environment specific locations in core classes…
Mar 17, 2011
0ea0414
load config files from environment specific locations in core classes…
Mar 17, 2011
b7415c2
Wrong title for environments page. Fixes: #135
ericlbarnes Mar 18, 2011
bb458e3
Wrong title for environments page. Fixes: #135
ericlbarnes Mar 18, 2011
ed94110
Fixed coding to match standards from previous releases
ericlbarnes Mar 18, 2011
9280834
Fixed coding to match standards from previous releases
ericlbarnes Mar 18, 2011
e846cf2
Changed scope on parse_exec_vars. Fixes #145
ericlbarnes Mar 18, 2011
bb5d4f7
Changed scope on parse_exec_vars. Fixes #145
ericlbarnes Mar 18, 2011
de23eb6
Removed closing php in creating libraries. Fixes: #129
ericlbarnes Mar 22, 2011
a4d5926
Removed closing php in creating libraries. Fixes: #129
ericlbarnes Mar 22, 2011
fd77f1a
Fixed wording when inserting object via active record. Fixes: #143
ericlbarnes Mar 22, 2011
74089b2
Fixed wording when inserting object via active record. Fixes: #143
ericlbarnes Mar 22, 2011
0433a26
Fixed logic and removed the error supressing
ericlbarnes Mar 22, 2011
fdd5b11
Fixed logic and removed the error supressing
ericlbarnes Mar 22, 2011
0196a98
Added error logging to language. Fixes #32
ericlbarnes Mar 22, 2011
e3c41cf
Added error logging to language. Fixes #32
ericlbarnes Mar 22, 2011
11ea3b2
If you do is_really_writable() on a file that does not exist on a Win…
ericlbarnes Mar 22, 2011
1508301
If you do is_really_writable() on a file that does not exist on a Win…
ericlbarnes Mar 22, 2011
0d8d408
Updated changelog with fixes and changes performed recently
ericlbarnes Mar 22, 2011
1b6b34a
Updated changelog with fixes and changes performed recently
ericlbarnes Mar 22, 2011
79e6da7
->db->count_all_results() will now return an integer instead of a str…
Mar 22, 2011
af6f344
->db->count_all_results() will now return an integer instead of a str…
Mar 22, 2011
4aed31e
Fixed merge.
Mar 25, 2011
a955803
Fixed merge.
Mar 25, 2011
6a00729
Merged changes.
Apr 1, 2011
a36f637
Merged changes.
Apr 1, 2011
f86afb9
Fixed type in the JavaScript documentation for animate().
Apr 2, 2011
2e1f180
Fixed type in the JavaScript documentation for animate().
Apr 2, 2011
776e92d
Fixed issue #153 Escape Str Bug in MSSQL driver
Apr 2, 2011
36b0c94
Fixed issue #153 Escape Str Bug in MSSQL driver
Apr 2, 2011
1c27d1e
Updated captcha helper example in the documentation to use the correc…
Apr 2, 2011
8fd08a1
Updated captcha helper example in the documentation to use the correc…
Apr 2, 2011
d4aafc5
Removed double-spacing from ftp_lang.php sentances.
Apr 2, 2011
1974165
Removed double-spacing from ftp_lang.php sentances.
Apr 2, 2011
6bfbab6
Added is_cli_request() method to documentation for Input class.
Apr 2, 2011
9d0e617
Added is_cli_request() method to documentation for Input class.
Apr 2, 2011
a0efbee
Added CI_ Prefix to the Cache driver.
Apr 2, 2011
eb2dcda
Added CI_ Prefix to the Cache driver.
Apr 2, 2011
3c3c841
Updated .hgignore to include application/logs/ and application/cache
Apr 2, 2011
d6e580a
Updated .hgignore to include application/logs/ and application/cache
Apr 2, 2011
9703eec
Fixed loading an array of libraries.
Apr 3, 2011
08b5169
Fixed loading an array of libraries.
Apr 3, 2011
c9c045a
Improving parameter security in xss clean
Apr 5, 2011
b9e8542
Improving parameter security in xss clean
Apr 5, 2011
0ff5026
tweaking remove_invisible_characters to make urlencoded character str…
Apr 5, 2011
5e47d73
tweaking remove_invisible_characters to make urlencoded character str…
Apr 5, 2011
14a0ac6
Moving security to core.
Apr 5, 2011
e3906f1
Moving security to core.
Apr 5, 2011
6984aaf
Removing security loading calls.
Apr 5, 2011
304f60d
Removing security loading calls.
Apr 5, 2011
73598e3
Tightening up control character handling in urls
Apr 5, 2011
55cf908
Tightening up control character handling in urls
Apr 5, 2011
6b48867
Removing dohash and deprecating CI_SHA
Apr 5, 2011
b62aa47
Removing dohash and deprecating CI_SHA
Apr 5, 2011
f1bd6fa
Fixed a bug in the Javascript Library where improperly escaped charac…
Apr 5, 2011
c525473
Fixed a bug in the Javascript Library where improperly escaped charac…
Apr 5, 2011
1a73cb0
Changelogging
Apr 5, 2011
eba2d7b
Changelogging
Apr 5, 2011
014907f
Removed tag v2.0.1
Apr 5, 2011
c3ac83b
Removed tag v2.0.1
Apr 5, 2011
75f2e13
Added tag v2.0.1 for changeset f97a33039a37
Apr 5, 2011
e973d35
Added tag v2.0.1 for changeset f97a33039a37
Apr 5, 2011
3bddc95
Adding a note about security to the upgrade docs
Apr 6, 2011
2b33141
Adding a note about security to the upgrade docs
Apr 6, 2011
4dfca5e
Hat tip to the reactor team in the credits
Apr 6, 2011
cf0b0d2
Hat tip to the reactor team in the credits
Apr 6, 2011
6d49363
Removed tag v2.0.1
Apr 6, 2011
8be2bd3
Removed tag v2.0.1
Apr 6, 2011
a6a7ef1
Added tag v2.0.1 for changeset 52cd3ed4a9ea
Apr 6, 2011
17f5c3a
Added tag v2.0.1 for changeset 52cd3ed4a9ea
Apr 6, 2011
1f79128
Made Environment Support optional. Comment out or delete the constant…
Apr 6, 2011
05fa611
Made Environment Support optional. Comment out or delete the constant…
Apr 6, 2011
eda33d5
Made Environment Support optional. Comment out or delete the constant…
Apr 6, 2011
478028f
Made Environment Support optional. Comment out or delete the constant…
Apr 6, 2011
a3f1d6d
Changed the 'plural' function so that it doesn't ruin the captalizati…
Apr 6, 2011
7834a9b
Changed the 'plural' function so that it doesn't ruin the captalizati…
Apr 6, 2011
f2f4ea4
Made in Output protected again, it was only ever made public by Eric…
Apr 6, 2011
7762e2e
Made in Output protected again, it was only ever made public by Eric…
Apr 6, 2011
8d63cc6
Added CLI documentation.
Apr 7, 2011
1605de4
Added CLI documentation.
Apr 7, 2011
106bbce
Wow, I screwed that up, Reactor is going to 2.0.2 not 2.0.1
Apr 7, 2011
1f62229
Wow, I screwed that up, Reactor is going to 2.0.2 not 2.0.1
Apr 7, 2011
3830ef1
Removed tag v2.0.1, should've been 2.0.2
Apr 7, 2011
c42cbe1
Removed tag v2.0.1, should've been 2.0.2
Apr 7, 2011
3b947b8
Putting the v2.0.1 tag back to where it belongs
Apr 7, 2011
c5895ef
Putting the v2.0.1 tag back to where it belongs
Apr 7, 2011
0808d03
And now properly prepped for 2.0.2, sigh
Apr 7, 2011
fe9ac94
And now properly prepped for 2.0.2, sigh
Apr 7, 2011
4a7643f
Added tag v2.0.2 for changeset 521076012037
Apr 7, 2011
1224f19
Added tag v2.0.2 for changeset 521076012037
Apr 7, 2011
14a1f80
Fixing a bug in the form_helper where csrf_token_name and csrf_hash w…
gaker Apr 7, 2011
1f6f0ab
Fixing a bug in the form_helper where csrf_token_name and csrf_hash w…
gaker Apr 7, 2011
8363eac
Fix: #192 CI version constant incorrect in core/CodeIgniter
gaker Apr 7, 2011
bfbcf74
Fix: #192 CI version constant incorrect in core/CodeIgniter
gaker Apr 7, 2011
a439fb5
Updated Changelog to reflect "CLI usage" documentation being added.
Apr 8, 2011
e7c8f69
Updated Changelog to reflect "CLI usage" documentation being added.
Apr 8, 2011
b70e32f
Fixed bug with form_helper calling now protected variables.
Apr 8, 2011
4ad7984
Fixed bug with form_helper calling now protected variables.
Apr 8, 2011
2d065c8
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Apr 8, 2011
4efe68f
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Apr 8, 2011
48bac74
Fix: codeigniter-reactor/193 incorrect driver filepaths
patwork Apr 8, 2011
151689e
merge with codeigniter-reactor
patwork Apr 8, 2011
b070798
Deals with language errors after codeigniter-reactor commit r2307:c43…
patwork Apr 8, 2011
64e35cd
There is absolutely no need to specify class name (it will validate a…
patwork Apr 8, 2011
02404a1
Fix: codeigniter-reactor/127 Form_validation rule error logging
patwork Apr 8, 2011
ef1a55a
Fix: codeigniter-reactor/199 CSRF config in Security class is no long…
patwork Apr 9, 2011
571023b
Fix: codeigniter-reactor/32 unicorns are no longer mute
patwork Apr 11, 2011
9e26798
Fix: codeigniter-reactor/199 cookie name was overwritten with token name
patwork Apr 11, 2011
e7bdd22
update Prev/Next Topic link on user_guide/database/index.html
Apr 15, 2011
55e9d6b
update Prev/Next Topic link on user_guide/database/utilities.html
Apr 15, 2011
4c6ceb0
update Prev/Next Topic link on user_guide/helpers/array_helper.html
Apr 15, 2011
33095c2
update Prev/Next Topic link on user_guide/helpers/captcha_helper.html
Apr 15, 2011
49e3125
update Prev/Next Topic link on user_guide/helpers/cookie_helper.html
Apr 15, 2011
e63ee8e
update Prev/Next Topic link on user_guide/libraries/caching.html
Apr 15, 2011
0d3432b
fix title and update Prev/Next Topic link on user_guide/libraries/jav…
Apr 15, 2011
c0d129c
update Prev/Next Topic link on user_guide/libraries/zip.html
Apr 15, 2011
26eebdd
Changed server check to ensure SCRIPT_NAME is defined. Fixes #57
ericlbarnes Apr 18, 2011
c31b372
Added ENVIRONMENT to reserved constants. Fixes #196
ericlbarnes Apr 18, 2011
bffb776
Changed path in footer comment of cache dummy.
ericlbarnes Apr 18, 2011
826429c
Added an optional third parameter to heading() which allows adding ht…
gaker Apr 18, 2011
62df131
Added Session Class userdata to the output profiler. Additionally, a…
gaker Apr 18, 2011
3403366
changeset: 2202:06a75a1bd622
gaker Apr 18, 2011
e6e6e64
changeset: 2204:37301a84c8be
gaker Apr 18, 2011
3a74665
Removing internal references to the EXT constant. Additionally, mark…
gaker Apr 19, 2011
9ce4385
1/2 reverting a previous change to the form_helper. Wrapping hidden f…
gaker Apr 19, 2011
4488538
Removed APPPATH.'third_party' from the packages autoloader to negate …
gaker Apr 19, 2011
6ae70cc
modified MySQL and MySQLi drivers to address a potential SQL injectio…
Apr 19, 2011
f5c8402
Altering the loader to be able to load views from packages when addin…
gaker Apr 19, 2011
bab1a6a
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
Apr 20, 2011
b3e614d
Change in core/Security.php to match coding standards.
gaker Apr 20, 2011
0c9ee4a
Refactoring the loader to set protected class variables.
gaker Apr 20, 2011
79f4a39
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
gaker Apr 20, 2011
e08c527
Updating Documentation on package view loading
gaker Apr 20, 2011
1cdb0fd
Visual updates to the welcome_message view file and default error tem…
gaker Apr 20, 2011
882b76b
Fixed a bug (Reactor #231) where Sessions Library database table exam…
gaker Apr 20, 2011
50671cf
Altered Session to use a longer match against the user_agent string. …
gaker Apr 20, 2011
fc779ce
Fix #224 Error in primary index.php $routing instructions
gaker Apr 20, 2011
e5c8812
Fixing download links for reactor -- thanks kenjis for the patch
gaker Apr 20, 2011
e156c6e
Fixed a bug (Core #340) where when passing in the second parameter to…
gaker Apr 20, 2011
8807be3
Flipping around contents of a conditional in _ci_load() so the small …
gaker Apr 21, 2011
1d3021a
Fix #235 error in form_helper docs.
gaker Apr 21, 2011
d127e61
Fixed re-searching for config file even though one had been loaded ($…
Apr 22, 2011
c6d918a
Fix #233 Fixing a regression in _get_validation_object() in the form …
gaker Apr 22, 2011
27aa2cd
Automated merge with http://hg.ellislab.com/CodeIgniter-Reactor
gaker Apr 22, 2011
c0b133c
default value of $total_rows in Pagination class should be number. An…
Apr 22, 2011
ee21a0e
typo in modification to MySQLi driver. Fixes #236
Apr 22, 2011
c83bea6
Removing debug code accidentally committed.
gaker Apr 23, 2011
bf8d68a
Duplicate this->db->insert_batch in documentation. Fixes #202
ericlbarnes Apr 25, 2011
636b058
Fixed #243 - Changed php version in the style guide to match requirem…
ericlbarnes Apr 25, 2011
7a75de1
Fixed typo error in toc.html in documentation.
Apr 25, 2011
c24f49b
Fixed #60.
Apr 25, 2011
48d6d58
Fixed #74.
Apr 25, 2011
114ab09
Fixed double-space typo.
Apr 25, 2011
e70e92b
Fixing up a tabs vs spaces inconsistency in DB_Result
gaker Apr 25, 2011
db60d24
add "Using CodeIgniter Drivers" and "Creating Your Own Driver" in TOC
Apr 15, 2011
ba130b3
Added redis cache driver.
Apr 25, 2011
28bda7f
swapping out preg_replace() in the driver library where str_replace()…
gaker Apr 25, 2011
3586ffb
Adapted codeigniter coding standard.
Apr 25, 2011
d97e12c
Automatic base_url generation was missing a ending slash.
ericlbarnes Apr 26, 2011
32dbac2
Reverting last change. Don't know what I was thinking. :(
ericlbarnes Apr 27, 2011
25d495b
Removed the GET, POST, and COOKIE Data from security since we now all…
ericlbarnes Apr 27, 2011
60ef4ea
Added insert_batch() function to the PostgreSQL database driver. Tha…
gaker Apr 27, 2011
a650790
merging in changes
gaker Apr 27, 2011
02958b5
hg flow init, add .hgflow file
Apr 28, 2011
57e5336
Closed migrations branch in favour of new hg-flow branch.
Apr 28, 2011
96bd33b
Added Migration class and language file.
May 4, 2011
5ed585b
Fixed conflict with migrations merge.
May 4, 2011
168b3de
Reverted partial MySQL driver change which double-escaped some fields.
May 4, 2011
cb06c65
Made a few uniform changes to Migrations.
May 4, 2011
0cb8c59
updated application flow image. Fixes #273 - thanks @InsiteFx
May 4, 2011
2e1837a
Fix #275 -- regression in db::_compile_select(). Thanks @patwork for…
gaker May 6, 2011
3ef65bd
Wrapped all common functions to check if it already exists. This all…
dhrrgn May 8, 2011
0854d91
Merged tip.
May 8, 2011
3837ae7
Added 'is_unique' which is a brilliant feature I came up with all by …
May 9, 2011
63df37d
Removed accidental whitespace.
May 9, 2011
3b9f88d
modified the 'use_set_names' variable in the MySQL/i drivers to be a …
May 20, 2011
f828884
fixed missing closing tag in changelog
May 20, 2011
2ca826b
completed doc change for user_agent length increase
Jun 22, 2011
37f4b9c
backed out 648b42a75739, which was a NON-trivial whitespace commit. …
Jul 1, 2011
d01e4a6
hand merged remaining unresolved files following the backout of 648b4…
Jul 1, 2011
26675f6
reverted texb.ttf font which had been compromised in 982b43c3590a by …
Jul 3, 2011
9789f32
Was working on this file so PHP5ified the method visibility scopes. P…
Jul 15, 2011
8a02247
... set_dbprefix(). Programatically set the prefix, great for multi-s…
Jul 15, 2011
1b1b676
enable use of param in a callback rule, on behalf of marcoscoelho.
Jul 16, 2011
08a245f
CSRF field is only added when post method is used and action is inter…
joelcox Jul 16, 2011
3177533
Updated change log
joelcox Jul 16, 2011
866a23f
Merge pull request #24 from joelcox/issue-165c
Jul 17, 2011
3b840b6
Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor…
Jul 17, 2011
98b2126
sync total items count and total amount price; by sum of quantity of …
Jul 18, 2011
4528716
Merge pull request #26 from marcoscoelho/cart_total_items
Jul 19, 2011
eecb439
Log change on method total_items from cart library
Jul 19, 2011
7df7932
Merge pull request #28 from marcoscoelho/cart_total_items
Jul 19, 2011
499a583
Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor…
Jul 20, 2011
6d2f13a
Updated Email class to use protected instead of private: http://codei…
Jul 20, 2011
9091051
Changed Cart library to return the if inserted successfully. This wi…
Jul 20, 2011
8731f64
Added ->load->get_var() to check against ->load->_ci_cached_vars[].
Jul 22, 2011
242c258
Fixed mysql and mysqli drivers to set NOT NULL as default for creatin…
Jul 23, 2011
13f6e06
Added bug fix to changelog.
Jul 23, 2011
e611d8c
Fixed having method to insert quotes.
Jul 23, 2011
db3fada
Added having() fix to changelog.
Jul 23, 2011
03fb8dd
Merge pull request #30 from darkhouse/feature/having_fix
Aug 9, 2011
03a9599
Merge pull request #29 from darkhouse/develop
Aug 9, 2011
2e08794
Added CUBRID Database Driver
kadishmal Aug 10, 2011
ee3e594
Added field name wrappers (") in insert/update/replace/_process_field…
kadishmal Aug 10, 2011
8f5b354
Added "date" Form Validation rule to check date validity and format i…
jondavidjohn Aug 10, 2011
66a3677
Updated Form Validation set_message() to support arrays similar to se…
jondavidjohn Aug 10, 2011
664a935
404_override route now works for missing controllers in subdirectorie…
ruthlessfish Aug 10, 2011
6adfe63
Reset loaded files arrays in the Loader so the 404_override controlle…
ruthlessfish Aug 10, 2011
d33f917
Merge pull request #38 from bubbafoley/develop
Aug 11, 2011
3c0801d
Adding a note to the changelog about 404_override
ruthlessfish Aug 11, 2011
79d1631
Merge pull request #41 from bubbafoley/develop
Aug 11, 2011
2ab2b1e
Added back /application/* files (removed in previous commit accidentl…
kadishmal Aug 11, 2011
84dcf3d
Addressed naming issue and default format in line with html5 date inp…
jondavidjohn Aug 11, 2011
22dcf66
added space to conform to coding standards
jondavidjohn Aug 11, 2011
34c8f9d
Added back the /application/config/migration.php and updated the /app…
kadishmal Aug 12, 2011
6cf190d
Merge pull request #42 from CUBRID/develop
Aug 12, 2011
3696ee0
Another spacing issue.
jondavidjohn Aug 12, 2011
1d7a2a0
fixed lang whitespace mistake
jondavidjohn Aug 12, 2011
42284b6
improved date rule description
jondavidjohn Aug 12, 2011
b18725e
removed redundant wording
jondavidjohn Aug 12, 2011
050abb8
Added some docs to CI core files
Aug 14, 2011
9b5df59
Added some docs to CI core files
Aug 14, 2011
19af21d
Merge pull request #49 from waldmeister/develop
Aug 14, 2011
209b2cf
Added some docs to CI core files
Aug 14, 2011
8ddb47d
Merge pull request #50 from waldmeister/develop
Aug 14, 2011
cda768a
Added some docs to CI core files
Aug 14, 2011
2369e77
Merge pull request #51 from waldmeister/develop
Aug 14, 2011
07b5342
Added some docs to CI core files
Aug 14, 2011
08d1864
Merge pull request #52 from waldmeister/develop
Aug 14, 2011
a2f2fd6
Merge branch 'develop'
Aug 15, 2011
3b800cd
Readded redis to valid cache drivers.
Aug 15, 2011
d2fcd1d
Merge pull request #37 from jondavidjohn/develop
Aug 17, 2011
73106ba
Merge branch 'develop'
Aug 17, 2011
893aadd
Only call the error_reporting function is it's active and present.
Aug 17, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .hgflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Basic]
develop = develop
feature = feature/
version_tag =
publish = default
release = release/
hotfix = hotfix/

3 changes: 2 additions & 1 deletion .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ syntax: glob
.DS_Store

syntax: regexp
system/cache/(?!index\.html|\.htaccess)
application/cache/(?!index\.html|\.htaccess)
application/logs/(?!index\.html|\.htaccess)
15 changes: 15 additions & 0 deletions .hgtags
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,18 @@ be717c80433bd1466202ea00d40e5dae5239f952 v1.6.1
c859ee06332f440d2135b916d3a9c926708de72a v1.6.3
3b6f3beea1262d35735167ee77c1fa8ea8d78d0c v1.7.2
0000000000000000000000000000000000000000 v1.7.2
ca87887086193cf375ea30e7d4e5139dbf330783 v2.0.0
1941a814526f8aa7186112e6b9bfd868c5c4afbf v2.0.1
1941a814526f8aa7186112e6b9bfd868c5c4afbf v2.0.1
0000000000000000000000000000000000000000 v2.0.1
0000000000000000000000000000000000000000 v2.0.1
f97a33039a37fc0c3f12e48407ca08e281b6b375 v2.0.1
f97a33039a37fc0c3f12e48407ca08e281b6b375 v2.0.1
0000000000000000000000000000000000000000 v2.0.1
0000000000000000000000000000000000000000 v2.0.1
52cd3ed4a9ea5c2b0e2bdd38e9822161ef547f9a v2.0.1
52cd3ed4a9ea5c2b0e2bdd38e9822161ef547f9a v2.0.1
0000000000000000000000000000000000000000 v2.0.1
0000000000000000000000000000000000000000 v2.0.1
1941a814526f8aa7186112e6b9bfd868c5c4afbf v2.0.1
52107601203719d6149219b28ec93d1d90c748a7 v2.0.2
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion application/config/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
|
*/

$autoload['packages'] = array(APPPATH.'third_party');
$autoload['packages'] = array();


/*
Expand Down
18 changes: 13 additions & 5 deletions application/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,13 @@
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
|
*/
$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;

/*
|--------------------------------------------------------------------------
Expand All @@ -286,9 +288,15 @@
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
| checked on a submitted form. If you are accepting user data, it is strongly
| recommended CSRF protection be enabled.
|
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
*/
$config['csrf_protection'] = FALSE;

$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -351,4 +359,4 @@


/* End of file config.php */
/* Location: ./application/config/config.php */
/* Location: ./application/config/config.php */
7 changes: 7 additions & 0 deletions application/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
| NOTE: For MySQL and MySQLi databases, this setting is only used
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
| (and in table creation queries made with DB Forge).
| There is an incompatibility in PHP with mysql_real_escape_string() which
| can make your site vulnerable to SQL injection if you are using a
| multi-byte character set and are running versions lower than these.
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
| ['autoinit'] Whether or not to automatically initialize the database.
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
Expand Down
42 changes: 42 additions & 0 deletions application/config/migration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable Migrations
|--------------------------------------------------------------------------
|
| Migrations are disabled by default for security reasons.
| You should enable migrations whenever you intend to do a schema migration
| and disable it back when you're done.
|
*/
$config['migration_enabled'] = TRUE;


/*
|--------------------------------------------------------------------------
| Migrations version
|--------------------------------------------------------------------------
|
| This is used to set migration version that the file system should be on.
| If you run $this->migration->latest() this is the version that schema will
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = 0;


/*
|--------------------------------------------------------------------------
| Migrations Path
|--------------------------------------------------------------------------
|
| Path to your migrations folder.
| Typically, it will be within your application path.
| Also, writing permission is required within the migrations path.
|
*/
$config['migration_path'] = APPPATH . 'migrations/';


/* End of file migration.php */
/* Location: ./application/config/migration.php */
5 changes: 3 additions & 2 deletions application/config/mimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => array('audio/mpeg', 'audio/mpg'),
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
'aif' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
Expand Down Expand Up @@ -97,7 +97,8 @@
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822'
'eml' => 'message/rfc822',
'json' => array('application/json', 'text/json')
);


Expand Down
43 changes: 43 additions & 0 deletions application/controllers/test_redis.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
class Test_redis extends CI_Controller
{

function __construct()
{
parent::__construct();

$this->load->library('unit_test');

$this->load->driver('cache', array('adapter' => 'redis'));
}

function index()
{
$this->unit->run($this->cache->redis->is_supported(), 'is_true');

$this->unit->run($this->cache->redis->save('foo', 'bar'), 'is_true');

$this->unit->run($this->cache->redis->get('foo'), 'bar');

$this->unit->run($this->cache->redis->delete('foo'), 'is_true');

$this->unit->run($this->cache->redis->save('foo', 'bar', 1800), 'is_true');

$this->unit->run(
$this->cache->redis->get_metadata('foo'),
array(
'data' => 'bar',
'expire' => time() + 1800
)
);

$this->unit->run($this->cache->redis->clean(), 'is_true');

$this->unit->run($this->cache->redis->get('foo'), 'is_false');

$this->unit->run($this->cache->redis->cache_info(), 'is_array');

echo $this->unit->report();
}

}
22 changes: 16 additions & 6 deletions application/controllers/welcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@

class Welcome extends CI_Controller {

function __construct()
{
parent::__construct();
}

function index()
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/<method_name>
* @see http://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$this->load->view('welcome_message');
}
Expand Down
58 changes: 43 additions & 15 deletions application/errors/error_404.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,60 @@
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 Page Not Found</title>
<style type="text/css">

::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }

body {
background-color: #fff;
margin: 40px;
font-family: Lucida Grande, Verdana, Sans-serif;
font-size: 12px;
color: #000;
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}

#content {
border: #999 1px solid;
background-color: #fff;
padding: 20px 20px 12px 20px;
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}

h1 {
font-weight: normal;
font-size: 14px;
color: #990000;
margin: 0 0 4px 0;
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}

code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}

#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}

p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="content">
<div id="container">
<h1><?php echo $heading; ?></h1>
<?php echo $message; ?>
</div>
Expand Down
58 changes: 43 additions & 15 deletions application/errors/error_db.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,60 @@
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Database Error</title>
<style type="text/css">

::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }

body {
background-color: #fff;
margin: 40px;
font-family: Lucida Grande, Verdana, Sans-serif;
font-size: 12px;
color: #000;
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}

#content {
border: #999 1px solid;
background-color: #fff;
padding: 20px 20px 12px 20px;
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}

h1 {
font-weight: normal;
font-size: 14px;
color: #990000;
margin: 0 0 4px 0;
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}

code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}

#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}

p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="content">
<div id="container">
<h1><?php echo $heading; ?></h1>
<?php echo $message; ?>
</div>
Expand Down
Loading