Commit Graph
80 Commits
Author SHA1 Message Date
Franz Liedke f0cd43a20d Fix unit test - relationships are now properly hidden, too. 2012-11-24 22:11:30 +01:00
Franz Liedke ff4b43c72f Ignore hidden relationships in to_array(). 2012-11-23 03:23:13 +01:00
Franz Liedke 2d052a3222 Get rid of duplicate function call. 2012-10-17 18:28:42 +03:00
Franz Liedke a6c681db39 Make sure sync() always works with arrays. 2012-10-17 18:27:35 +03:00
Franz Liedke 2d13b3d504 Add a CONTRIBUTING.md file for GitHub. 2012-09-17 18:58:24 +02:00
Franz Liedke 65d4b2448b Fix closing tag in definition list helper. 2012-09-14 22:21:35 +03:00
Franz Liedke fedc9fc45e Fix hardcoded "id" column in Eloquent auth driver. 2012-09-12 14:48:07 +03:00
Franz Liedke 5942771ce9 Add documentation for definition list helper. 2012-09-12 14:42:20 +03:00
Franz Liedke c7763a23bd Add definition list helper to HTML class. 2012-09-12 14:40:55 +03:00
Franz Liedke 9348046d0e Fix dynamically generated phpunit.xml file not being deleted automatically in the test runner. 2012-09-07 14:32:37 +02:00
Franz Liedke 7e11bb7431 Delete phpunit.xml file.
Looks like that was committed accidentally.
2012-09-07 14:32:12 +02:00
Franz Liedke 8e145e6c11 Make Eloquent auth driver respect a model's custom password getter.
This fixes #1140.
2012-09-04 16:36:17 +03:00
Franz Liedke a56f0b2fb3 Merge branch 'develop' of https://github.com/laravel/laravel into develop 2012-09-03 23:14:52 +02:00
Franz Liedke e11d13ae31 Get rid of duplicate code for DROP TABLE in schema grammars. 2012-08-27 15:09:11 +02:00
Franz Liedke e46f07d436 Fix method signature and return values of insert() method. 2012-08-27 13:46:32 +03:00
Franz Liedke aa341357ec Fix insert() method for related models. 2012-08-26 01:10:31 +03:00
Franz Liedke 385b776ba8 Docs: Finish section on pull request guidelines. 2012-08-15 11:47:27 -04:00
Franz Liedke f80d694a95 Contrib docs: add section stub about pull requests. 2012-08-15 10:47:51 -04:00
Franz Liedke 67464cb0f8 Fix typo in Github page table of contents. 2012-08-15 10:45:37 -04:00
Franz Liedke 1c7297dc02 Contrib docs: Remove pointless staging branch info. 2012-08-15 17:33:22 +03:00
Franz Liedke 5359085eda Fix contribution page links in documentation. 2012-08-15 17:27:50 +03:00
Franz Liedke abd30eb338 Fix contribution page links in documentation. 2012-08-15 17:26:33 +03:00
Franz Liedke 41e3c95ed6 Add German translations for new array validator. 2012-08-13 19:03:59 +03:00
Franz Liedke 228f57226b Extract sweep method in Session payload class.
This allows for manually triggering garbage collection in session drivers.
2012-08-03 18:09:37 +03:00
Franz Liedke e86cd79b11 Make database connection protected in session driver. 2012-08-02 18:50:44 +03:00
Franz Liedke a28698ed36 Merge pull request #1 from crynobone/core-tests
Refix unit testing for Laravel
2012-08-01 06:33:26 -07:00
Franz Liedke 37dbeef2bb Use LARAVEL_START constant to calculate request time.
Suggested by @Kindari.
2012-07-30 13:48:55 +03:00
Franz Liedke 61364c553d Make sure default values in schema columns are always non-empty (especially booleans). 2012-07-17 23:47:05 +02:00
Franz Liedke 02e84eb5eb Documentation: fix menu link to "Bundle Routes" section. 2012-07-17 23:56:43 +03:00
Franz Liedke a03bcb521b Mention default value helper function in database schema documentation. 2012-07-17 23:51:00 +03:00
Franz Liedke b973c25905 Add documentation about deleting files. 2012-07-16 14:57:35 +03:00
Franz Liedke 08fce4fbf8 After running tests, exit with PHPUnit's exit status. 2012-07-14 11:47:31 +02:00
Franz Liedke e7f665b55d Don't restrict Travis CI testing to one branch. 2012-07-14 01:01:23 +03:00
Franz Liedke 9460e691d4 Update .travis.yml 2012-07-14 00:55:47 +03:00
Franz Liedke 4fd1a4fe39 Add .travis.yml file for continuous integration with Travis CI. 2012-07-13 23:33:12 +02:00
Franz Liedke 37241db646 Fix View test case still referring to the old bundle setup for tests. 2012-07-13 03:07:14 +02:00
Franz Liedke 7351845ec3 Fix PHP errors in test cases related to changed cookie data storage. 2012-07-13 03:06:31 +02:00
Franz Liedke feefa8d9c4 Fix PHP errors in test cases related to now using Symfony's HttpFoundation component. 2012-07-13 03:05:55 +02:00
Franz Liedke 86013f1b84 Fix old code in Auth test cases. 2012-07-13 03:04:36 +02:00
Franz Liedke 59e7e4a2ca Update authentication config file in testing application. 2012-07-13 03:04:13 +02:00
Franz Liedke 41ff7af213 Change inner workings of test runner to use different bootstrap file when testing the core. 2012-07-13 03:02:30 +02:00
Franz Liedke 9bd8755167 Fix wrong API usage in Auth unit test. 2012-07-13 00:14:30 +02:00
Franz Liedke a7c211339a Import testing bundle to laravel/tests directory. 2012-07-13 00:14:03 +02:00
Franz Liedke 6d23c4f5c6 Fix missing semicolon in laravel/cli/test/runner.php. 2012-07-13 00:21:18 +03:00
Franz Liedke 78920c5d27 Move automatic relationship parsing to Eloquent's query class. 2012-07-12 22:32:43 +02:00
Franz Liedke 8c2a4fba14 The Eloquent model includes can now be taken directly from the model when assembling the query. 2012-07-12 23:20:17 +03:00
Franz Liedke 71f8e4acc0 Fix a bug introduced in pull request #799 that caused eager loading constraints to stop working. 2012-07-12 23:16:22 +03:00
Franz Liedke 204a6a7980 Add a Request::time() function. 2012-07-10 15:29:26 +03:00
Franz Liedke 6b5cccc15f Move get_file_size() helper function to helpers.php. 2012-07-07 02:13:44 +02:00
Franz Liedke db9f220f57 Force UTF-8 charset on JSON responses. 2012-07-07 02:17:12 +03:00
Franz Liedke d7bbdd9735 Fix anchor name for "Retrieving a language line" section on localization page. 2012-07-05 01:52:30 +03:00
Franz Liedke f2ccc688fe Ignore NULL values when determining whether a model object is dirty. 2012-07-04 21:44:11 +03:00
Franz Liedke 94e9106b76 Display memory usage (and peak usage) in the profiler bar, too. 2012-07-02 03:42:43 +03:00
Franz Liedke 98b92185e3 Calculate memory and peak memory usage in profiler, too. 2012-07-02 03:38:58 +03:00
Franz Liedke a87bb86999 Fix a bug with Eloquent model classes and isset() when eager loading a relationship returns an empty result set. 2012-06-29 20:56:32 +03:00
Franz Liedke 39df69fdc1 Allow more than just WHERE clauses on eager load constraints. 2012-06-28 18:33:45 +03:00
Franz Liedke 5e2373817d Allow for passing variables to views with more expressive method calls.
Example: with_foo($bar) instead of with('foo', $bar)

Signed-off-by: Franz Liedke <[email protected]>
2012-06-25 21:31:54 +03:00
Franz Liedke bcd63ab5af We can be fairly sure the $time variable is set in the profiler view. 2012-06-25 14:56:42 +03:00
Franz Liedke 204a64f006 Simply use the LARAVEL_START constant for calculation page generation time in profiler. 2012-06-25 14:56:04 +03:00
Franz Liedke 0f5de55d5b Fix variable name in retrieve() method for Eloquent auth driver. 2012-06-25 14:53:15 +03:00
Franz Liedke 9572329c49 Allow Auth::login() to work with objects for the Eloquent driver. 2012-06-25 02:36:20 +03:00
Franz Liedke 52f98b7cf6 Use start_time attribute like a static attribute (as it is). 2012-06-25 01:12:31 +03:00
Franz Liedke c74123098b Render page generation time on anbu profiler console. 2012-06-24 21:27:57 +03:00
Franz Liedke 59397eb726 Calculate the total render time in the profiler. 2012-06-24 21:17:32 +03:00
Franz Liedke ed4a6973f8 Fix some bugs and inconsistencies in the German validation translation. 2012-06-23 01:22:58 +03:00
Franz Liedke 7ead1796d0 Apply prefix to foreign key's "on" attribute, too. 2012-06-06 12:33:50 +03:00
Franz Liedke 605be704ff Avoid unnecessary end() in Table::column() function. 2012-06-06 12:23:00 +03:00
Franz Liedke 8fc80c47d9 Avoid unnecessary end() in Table::command() function. 2012-06-06 12:20:30 +03:00
Franz Liedke 3ccc37bd8f Documentation: Fix typo on routing page's TOC. 2012-06-04 20:36:33 +03:00
Franz Liedke 161ea09861 Documentation: Add link to Controller Routing section to Routing submenu. 2012-06-04 20:34:04 +03:00
Franz Liedke b4f07d43f5 Add last_query() helper method to Database class, too.
Signed-off-by: Franz Liedke <[email protected]>
2012-05-30 18:44:48 +03:00
Franz Liedke 98b9898003 Add a last_query() function to Database connection class. 2012-05-30 18:37:55 +03:00
Franz Liedke df9c223ed6 Remove obsolete class import in request.php. 2012-05-11 12:30:45 +03:00
Franz Liedke 6a58e98316 Remove obsolete class import in file.php. 2012-05-11 12:29:18 +03:00
Franz Liedke 5097e9053b Remove obsolete class import in cookie.php. 2012-05-11 12:28:52 +03:00
Franz Liedke b40e13a892 Remove obsolete namespace import in config.php. 2012-05-11 12:28:12 +03:00
Franz Liedke 83f7847ccd Remove obsolete namespace import in session/payload.php. 2012-05-11 12:27:38 +03:00
Franz Liedke 09cb38fc67 Fix PHPDoc referring to Closure class. 2012-05-11 12:23:25 +03:00
Franz Liedke f6bad1e809 Remove obsolete namespace import in driver.php. 2012-05-11 12:21:43 +03:00
Franz Liedke bf172272da Remove obsolete code. 2012-05-11 12:20:18 +03:00