Commit Graph

700 Commits

Author SHA1 Message Date
Taylor Otwell
4243e721ca Return a boolean success or failure when saving Eloquent models. 2011-08-08 11:04:50 -05:00
Taylor Otwell
87a65c2032 Refactor the database query builder. 2011-08-08 10:57:37 -05:00
Taylor Otwell
d2be60205b Refactor the database query builder. 2011-08-08 10:56:06 -05:00
Taylor Otwell
73065d12c2 Refactor the database manager. 2011-08-08 10:51:46 -05:00
Taylor Otwell
a1956f016c Refactor the database connector. 2011-08-08 10:51:01 -05:00
Taylor Otwell
edae391593 Refactor the view class. 2011-08-08 10:49:15 -05:00
Taylor Otwell
4585f25092 Don't write session cookie if headers have already been sent. 2011-08-08 10:47:41 -05:00
Taylor Otwell
11ac2919f8 Refactor the auto-loader. 2011-08-08 10:44:44 -05:00
Taylor Otwell
7282954e27 refactor the lang class. 2011-08-08 10:44:03 -05:00
Taylor Otwell
afc80dd4d1 Refactor the inflector class. 2011-08-08 10:42:24 -05:00
Taylor Otwell
e39ab9a0f9 Refactor the config class. 2011-08-08 10:40:30 -05:00
Taylor Otwell
ee5212a27f Refactoring the cache class. 2011-08-08 10:38:40 -05:00
Taylor Otwell
130772ca57 Fix bug in size validation when using a string containing all numbers. 2011-08-08 10:35:28 -05:00
Taylor Otwell
f470796261 Refactor the file session driver. 2011-08-08 10:30:19 -05:00
Taylor Otwell
115bde0b23 Refactor the route loader. 2011-08-08 10:28:42 -05:00
Taylor Otwell
b25edfaf9b Refactor the route finder. 2011-08-08 10:27:19 -05:00
Taylor Otwell
2aef4de8d5 Refactoring Eloquent. 2011-08-08 10:26:34 -05:00
Taylor Otwell
db391b8090 Refactor the database query class. 2011-08-08 10:24:23 -05:00
Taylor Otwell
64fb09a870 Refactor the database manager. 2011-08-08 10:23:13 -05:00
Taylor Otwell
e78a5b0ad3 Refactor the connector class. 2011-08-08 10:22:37 -05:00
Taylor Otwell
e81dd68a94 Refactoring file cache driver. 2011-08-08 10:21:35 -05:00
Taylor Otwell
fa3ec4d796 Refactoring the view class. 2011-08-08 10:13:22 -05:00
Taylor Otwell
d8d0ddfa09 Refactoring the validator class. 2011-08-08 10:09:16 -05:00
Taylor Otwell
c145e6cbaa Refactor the URL class. 2011-08-08 10:01:00 -05:00
Taylor Otwell
04a1e44e6e Refactor the session class. 2011-08-08 09:59:50 -05:00
Taylor Otwell
a3e8d5ae26 Refactoring the session class. 2011-08-08 09:58:44 -05:00
Taylor Otwell
6f26ce6e5f Always return cache driver instance. 2011-08-08 09:58:16 -05:00
Taylor Otwell
a26efbc2e3 Even more refactoring on the request class. 2011-08-08 09:44:57 -05:00
Taylor Otwell
88ebf6125c Refactor the request class. 2011-08-08 09:44:10 -05:00
Taylor Otwell
3d684136b8 Refactor the request class. 2011-08-08 09:42:38 -05:00
Taylor Otwell
3f35bb1591 Refactoring the redirect class. 2011-08-08 09:39:51 -05:00
Taylor Otwell
bad119a48b Refactoring paginator... added paginator->append method. 2011-08-08 09:37:56 -05:00
Taylor Otwell
aba4eec83d Refactoring the package class. 2011-08-08 09:21:56 -05:00
Taylor Otwell
8a6b85175e Continue refactoring the memcache class. 2011-08-08 09:18:08 -05:00
Taylor Otwell
cb7a59711a refactor the memcached class. 2011-08-08 09:16:47 -05:00
Taylor Otwell
07d6ed5703 refactoring the auto-loader. 2011-08-08 09:14:25 -05:00
Taylor Otwell
67ef4ea865 Refactor the lang class. 2011-08-08 09:12:23 -05:00
Taylor Otwell
a7116e71f6 Refactoring the lang class. 2011-08-08 09:11:52 -05:00
Taylor Otwell
2e482d31e4 Refactoring the inflector. 2011-08-08 09:08:52 -05:00
Taylor Otwell
5862faf2c4 Refactoring the html class. 2011-08-08 09:07:32 -05:00
Taylor Otwell
d1934b731e Add ability to specify iteration count in Hash class. 2011-08-08 09:01:53 -05:00
Taylor Otwell
f28a2c5a4b Refactoring the form class. 2011-08-08 08:59:51 -05:00
Taylor Otwell
a94c6bd752 Refactoring the error class. 2011-08-08 08:55:16 -05:00
Taylor Otwell
1916e27de1 Refactoring the crypt class. 2011-08-08 08:51:58 -05:00
Taylor Otwell
bc51ec3d83 Refactoring the cookie class. 2011-08-08 08:49:29 -05:00
Taylor Otwell
5e28cd08b4 Refactoring the config class. 2011-08-08 08:48:44 -05:00
Taylor Otwell
1091bd8591 Removing comment bloat from Config class. 2011-08-08 08:47:33 -05:00
Taylor Otwell
9018d6cceb Refactoring the Config class. 2011-08-08 08:46:33 -05:00
Taylor Otwell
fe39d50783 Refactoring the Cache class. 2011-08-08 08:41:35 -05:00
Taylor Otwell
89032f8a2a Refactoring the Benchmark class. 2011-08-08 08:37:55 -05:00
Taylor Otwell
24ba87f5de Refactoring Asset class. 2011-08-08 08:31:57 -05:00
Taylor Otwell
ed52c19e05 Refactoring Arr class. 2011-08-08 08:27:12 -05:00
Taylor Otwell
8130f2da25 refactoring view class. 2011-08-07 09:08:31 -05:00
Taylor Otwell
ea3c59d6b9 trim view class comment bloat. 2011-08-06 20:52:48 -05:00
Taylor Otwell
46199478d8 refactoring validation class. 2011-08-06 20:51:39 -05:00
Taylor Otwell
6c98f5faee refactoring session class. 2011-08-06 20:49:53 -05:00
Taylor Otwell
af4403bac5 refactor messages class. 2011-08-06 20:47:20 -05:00
Taylor Otwell
8ddfdd9e7a trim comment bloat from lang class. 2011-08-06 20:46:35 -05:00
Taylor Otwell
d53ae7457a refactoring input class. 2011-08-06 20:45:45 -05:00
Taylor Otwell
5664c9dc92 adjust comments in crypt class. 2011-08-06 20:44:13 -05:00
Taylor Otwell
68e3b468cf refactoring config class. 2011-08-06 20:42:53 -05:00
Taylor Otwell
16a1f89929 refactor cache driver method. 2011-08-06 20:27:18 -05:00
Taylor Otwell
d59b3ad90a add check for session driver before using auth class. 2011-08-06 20:24:09 -05:00
Taylor Otwell
59123fdfb0 import file class for assets. 2011-08-06 20:21:15 -05:00
Taylor Otwell
fe0f4a76f6 Pass request method and uri to before and after filters. 2011-08-05 15:49:59 -05:00
Taylor Otwell
1a96696046 break if before filter returns a response. 2011-08-05 15:28:14 -05:00
Taylor Otwell
6cf69d5406 Remove Request::segments method. 2011-08-05 15:24:24 -05:00
Taylor Otwell
9827ca2cde More factoring on bootstrap. 2011-08-05 15:23:20 -05:00
Taylor Otwell
ebc736812b Refactor the laravel.php bootstrap. 2011-08-05 15:22:22 -05:00
Taylor Otwell
4326f95997 Don't throw an exception if a filter is not found. 2011-08-05 15:01:25 -05:00
Taylor Otwell
541cb90356 Refactor view class. 2011-08-05 13:21:31 -05:00
Taylor Otwell
55e8f0e330 Refactoring view class. 2011-08-05 11:52:52 -05:00
Taylor Otwell
555299c353 Check package count before loading Package class. 2011-08-05 11:52:22 -05:00
Taylor Otwell
cc9c45710b Remove auto-detection of modules to enhance performance. 2011-08-05 11:40:29 -05:00
Taylor Otwell
26bc2379c4 Fix named view data passing. 2011-08-05 11:31:12 -05:00
Taylor Otwell
fa1fa876b5 Rearranged view methods. 2011-08-05 11:12:15 -05:00
Taylor Otwell
c688eef3f2 Added back support for named views. 2011-08-05 11:11:26 -05:00
Taylor Otwell
07ca09e824 Add ACTIVE_MODULE constant. 2011-08-05 09:38:15 -05:00
Taylor Otwell
00af8c715f Added comments to $route->handler(). 2011-08-05 09:20:26 -05:00
Taylor Otwell
8affa31a02 Added shortcut syntax for route handlers on named routes. 2011-08-05 09:18:40 -05:00
Taylor Otwell
75a9591c65 Refactoring constant definition in laravel.php. 2011-08-05 09:06:55 -05:00
Taylor Otwell
69ec79c987 moved laravel framework request cycle into laravel.php, minimalized front controller. 2011-08-04 17:36:23 -05:00
Taylor Otwell
af5059a3d8 Return false when loader doesn't find class in application directory. 2011-08-04 13:22:18 -05:00
Taylor Otwell
ed0f2361fd Refactoring Request URI determination. 2011-08-04 10:59:28 -05:00
Taylor Otwell
6c9bb15a8d Don't force modules to have route files. 2011-08-04 10:48:25 -05:00
Taylor Otwell
87a022cf35 Cache the URI, and added Request::segment method. 2011-08-04 10:47:47 -05:00
Taylor Otwell
ec3e059836 fixed bug in view class module loading and made loader properties public. 2011-08-03 23:36:39 -05:00
Taylor Otwell
f0f3dffc11 added module support! 2011-08-03 22:10:07 -05:00
Taylor Otwell
927c522e67 Move view composer loading back to application directory. 2011-08-03 08:47:09 -05:00
Taylor Otwell
57e6532723 Migrating back to old routing system. 2011-08-03 08:46:38 -05:00
Taylor Otwell
30b7eebfdb added better comments to loader::register function. 2011-08-02 22:49:31 -05:00
Taylor Otwell
b4aa39ab83 added benchmarking information to splash screen. 2011-08-02 22:46:13 -05:00
Taylor Otwell
188b0c4f29 tweaks to package handling. 2011-08-02 22:40:12 -05:00
Taylor Otwell
dbf43877c6 added packages auto-load array. 2011-08-02 22:29:48 -05:00
Taylor Otwell
fb984016e8 added loader class. 2011-08-02 22:19:13 -05:00
Taylor Otwell
c70f090465 added package class. 2011-08-02 22:07:40 -05:00
Taylor Otwell
f2363b1141 return empty array when nested route directory doesnt have route file. 2011-08-02 21:26:29 -05:00
Taylor Otwell
e40faa1945 changed application file structure and routing definitions. 2011-08-02 21:23:13 -05:00
Taylor Otwell
32f383205e restructured session driver interfaces and added cookie session driver. 2011-08-02 21:05:20 -05:00
Taylor Otwell
3583bc3b09 tweaked config and lang classes. 2011-08-02 20:20:17 -05:00
Taylor Otwell
f087df9bb8 Refactor database manager. 2011-08-02 13:49:17 -05:00
Taylor Otwell
614811bb40 Use array_key_exists in Arr::get instead of isset. 2011-08-02 13:44:02 -05:00
Taylor Otwell
28c6ac93ef Scrap Arr::dot and put dot notation support in Arr::get. 2011-08-02 13:41:57 -05:00
Taylor Otwell
db5c61d50c Added code to return the entire array to Arr::dot. 2011-08-02 13:40:25 -05:00
Taylor Otwell
dfbd8e7950 Added Arr::dot method. 2011-08-02 13:38:50 -05:00
Taylor Otwell
6c149b282f Clean up database session driver. 2011-08-02 12:00:54 -05:00
Taylor Otwell
5f0ffe135d Add comment to cache file driver. 2011-08-02 11:57:01 -05:00
Taylor Otwell
7e28433a61 Refactor session class. 2011-08-02 11:49:12 -05:00
Taylor Otwell
c19ab70a0f refactor paginator for readability. 2011-08-02 11:22:59 -05:00
Taylor Otwell
be3266d255 Decomplicate the messages->format method. 2011-08-02 11:14:36 -05:00
Taylor Otwell
6ee6f7ba22 Refactor messages class. 2011-08-02 11:13:03 -05:00
Taylor Otwell
bc0e706c02 Refactoring the Lang class. 2011-08-02 11:03:48 -05:00
Taylor Otwell
530e1292d5 Refactoring error class. 2011-08-02 10:52:02 -05:00
Taylor Otwell
fc87103205 Refactoring configuration class. 2011-08-02 10:43:12 -05:00
Taylor Otwell
ecb4381d78 Refactoring Eloquent hydrator. 2011-08-02 09:02:34 -05:00
Taylor Otwell
76cf877d7e Refactoring eloquent. 2011-08-02 08:56:21 -05:00
Taylor Otwell
718d51e0b4 Refactoring eloquent model. 2011-08-02 08:50:25 -05:00
Taylor Otwell
277be84853 Added where_id and or_where_id to the query builder. 2011-08-02 08:49:19 -05:00
Taylor Otwell
320c72edbe Refactoring query class. 2011-08-02 08:27:01 -05:00
Taylor Otwell
e678b77b5b refactored wrap method for readability. 2011-08-01 20:20:32 -05:00
Taylor Otwell
82a0218011 refactored query->select. 2011-08-01 20:14:30 -05:00
Taylor Otwell
75d96c9204 slight database refactoring. 2011-08-01 19:57:48 -05:00
Taylor Otwell
fe0502ded9 use database manager in db session driver. 2011-08-01 18:10:03 -05:00
Taylor Otwell
b8e27533bd use db manager in validator. 2011-08-01 18:07:36 -05:00
Taylor Otwell
e3b6328394 fix connector conflict. 2011-08-01 17:59:31 -05:00
Taylor Otwell
badc8a6088 database refactoring. 2011-08-01 17:58:20 -05:00
Taylor Otwell
716a957e93 Refactoring. 2011-08-01 17:09:10 -05:00
Taylor Otwell
bc7df55f92 Fix call to Loader::everything. 2011-08-01 15:39:58 -05:00
Taylor Otwell
ae69149262 change Loader::everything to Loader::all. 2011-08-01 15:39:34 -05:00
Taylor Otwell
2efdef01d2 Add path to route loader. 2011-08-01 15:36:09 -05:00
Taylor Otwell
23d5742575 remove item caching from cache manager. 2011-08-01 09:15:03 -05:00
Taylor Otwell
5f3d40b76c Added support for in-memory SQLite databases. 2011-08-01 08:47:45 -05:00
Taylor Otwell
e060c3d1da added reload function to loader everything function. 2011-07-31 23:11:45 -05:00
Taylor Otwell
b55e5169f3 adjusted comments in route loader. 2011-07-31 22:15:39 -05:00
Taylor Otwell
f9f168eacb added more dependency injection to route loader and finder. 2011-07-31 22:11:49 -05:00
Taylor Otwell
0af326b636 working on routing architecture. 2011-07-31 21:51:55 -05:00
Taylor Otwell
344f49e1bf made router routes optional and fixed front controller. 2011-07-31 17:40:03 -05:00
Taylor Otwell
2bb7125127 fixed routing bug. 2011-07-31 17:24:43 -05:00
Taylor Otwell
2275c74660 moved all routing classes into routing namespace. 2011-07-31 14:48:17 -05:00
Taylor Otwell
d8eba6389c moved asset_container into asset.php 2011-07-31 14:28:24 -05:00
Taylor Otwell
83ace2de68 moved routing classes into system namespace. 2011-07-31 13:14:39 -05:00
Taylor Otwell
153d7007ac moved asset container to system directory. 2011-07-31 13:04:49 -05:00
Taylor Otwell
b504089db7 moved exception view to application views and removed system view folder. 2011-07-31 12:54:22 -05:00
Taylor Otwell
481d2aa7ec added Str::ascii method and fixed accented character problem in URL::slug. 2011-07-30 09:52:49 -05:00
Taylor Otwell
86075c2765 moved validation/errors into system/messages... not just useful for error messages. 2011-07-29 23:38:29 -05:00
Taylor Otwell
4609528d93 fixed bug in session and cache factories. 2011-07-29 23:21:54 -05:00
Taylor Otwell
dbdd45d9fc tweaked cache and session namespacing. 2011-07-29 23:17:57 -05:00
Taylor Otwell
5b2858824b tweaking router formatting. 2011-07-29 22:56:18 -05:00
Taylor Otwell
bc5299abfc tweaked router architecture to be non-static. 2011-07-29 22:48:14 -05:00
Taylor Otwell
7ecb2cf436 Deprecated Router::call method. 2011-07-28 15:32:54 -05:00